24 lines
861 B
Diff
24 lines
861 B
Diff
|
|
From 78cf3b95d7b895cfe8d6f1c2a48ebc08a662eef0 Mon Sep 17 00:00:00 2001
|
||
|
|
From: bule <bule1@huawei.com>
|
||
|
|
Date: Sat, 17 Jul 2021 16:38:10 +0800
|
||
|
|
Subject: [PATCH 11/13] [simdmath] Enable 64-bits simd when test
|
||
|
|
simd_pcs_attribute-3
|
||
|
|
|
||
|
|
Enable 64-bits simd when test simd_pcs_attribute-3. The 64-bits simd
|
||
|
|
is default to off without specify the -msimdmath-64.
|
||
|
|
|
||
|
|
diff --git a/gcc/testsuite/gcc.target/aarch64/simd_pcs_attribute-3.c b/gcc/testsuite/gcc.target/aarch64/simd_pcs_attribute-3.c
|
||
|
|
index 95f6a6803e8..e0e0efa9d7e 100644
|
||
|
|
--- a/gcc/testsuite/gcc.target/aarch64/simd_pcs_attribute-3.c
|
||
|
|
+++ b/gcc/testsuite/gcc.target/aarch64/simd_pcs_attribute-3.c
|
||
|
|
@@ -1,5 +1,5 @@
|
||
|
|
/* { dg-do compile } */
|
||
|
|
-/* { dg-options "-Ofast" } */
|
||
|
|
+/* { dg-options "-Ofast -msimdmath-64" } */
|
||
|
|
|
||
|
|
__attribute__ ((__simd__))
|
||
|
|
__attribute__ ((__nothrow__ , __leaf__ , __const__))
|
||
|
|
--
|
||
|
|
2.21.0.windows.1
|
||
|
|
|