summaryrefslogtreecommitdiff
path: root/0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-17 02:15:03 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-17 02:15:03 +0000
commitd82826d1a1c7ea45a761dfbf76b879712c7332ec (patch)
tree973a28470803b27c914f813f43d43f8932763ea3 /0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch
parentb868000cf68cec0c9cd45fbf89a83173dea7c5eb (diff)
automatic import of gccopeneuler22.03_LTS
Diffstat (limited to '0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch')
-rw-r--r--0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch b/0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch
new file mode 100644
index 0000000..b9f642c
--- /dev/null
+++ b/0011-simdmath-Enable-64-bits-simd-when-test-simd_pcs_attr.patch
@@ -0,0 +1,23 @@
+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
+