41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
From 01517aa2397f854ffa96128a0fb23dd5542be709 Mon Sep 17 00:00:00 2001
|
|
From: Chernonog Viacheslav <chernonog.vyacheslav@huawei.com>
|
|
Date: Tue, 30 Apr 2024 18:43:32 +0800
|
|
Subject: [PATCH 1/4] [double-sized-mul][testsuite] Add march armv8.2-a for dg
|
|
tests
|
|
|
|
---
|
|
gcc/testsuite/gcc.dg/double_sized_mul-1.c | 2 +-
|
|
gcc/testsuite/gcc.dg/double_sized_mul-2.c | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/gcc/testsuite/gcc.dg/double_sized_mul-1.c b/gcc/testsuite/gcc.dg/double_sized_mul-1.c
|
|
index 4d475cc8a..d32a25223 100644
|
|
--- a/gcc/testsuite/gcc.dg/double_sized_mul-1.c
|
|
+++ b/gcc/testsuite/gcc.dg/double_sized_mul-1.c
|
|
@@ -1,7 +1,7 @@
|
|
/* { dg-do compile } */
|
|
/* fif-conversion-gimple and fuaddsub-overflow-match-all are required for
|
|
proper overflow detection in some cases. */
|
|
-/* { dg-options "-O2 -fif-conversion-gimple -fuaddsub-overflow-match-all -fdump-tree-widening_mul-stats" } */
|
|
+/* { dg-options "-O2 -fif-conversion-gimple -march=armv8.2-a -fuaddsub-overflow-match-all -fdump-tree-widening_mul-stats" } */
|
|
#include <stdint.h>
|
|
|
|
typedef unsigned __int128 uint128_t;
|
|
diff --git a/gcc/testsuite/gcc.dg/double_sized_mul-2.c b/gcc/testsuite/gcc.dg/double_sized_mul-2.c
|
|
index cc6e5af25..ff35902b7 100644
|
|
--- a/gcc/testsuite/gcc.dg/double_sized_mul-2.c
|
|
+++ b/gcc/testsuite/gcc.dg/double_sized_mul-2.c
|
|
@@ -1,7 +1,7 @@
|
|
/* { dg-do compile } */
|
|
/* fif-conversion-gimple is required for proper overflow detection
|
|
in some cases. */
|
|
-/* { dg-options "-O2 -fif-conversion-gimple -fuaddsub-overflow-match-all -fdump-tree-widening_mul-stats" } */
|
|
+/* { dg-options "-O2 -fif-conversion-gimple -march=armv8.2-a -fuaddsub-overflow-match-all -fdump-tree-widening_mul-stats" } */
|
|
#include <stdint.h>
|
|
|
|
typedef unsigned __int128 uint128_t;
|
|
--
|
|
2.33.0
|
|
|