[Bug testsuite/58321] FAIL: gcc.target/i386/memcpy-strategy-3.c scan-assembler-times memcpy 2 on x86_64-apple-darwin*
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Sat Sep 27 13:18:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58321
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at gcc dot gnu.org
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Would the following patch be acceptable?
--- ../_clean/gcc/testsuite/gcc.target/i386/memcpy-strategy-3.c 2014-05-10
23:13:06.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/memcpy-strategy-3.c 2014-09-27
15:15:50.000000000 +0200
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -march=atom
-mmemcpy-strategy=vector_loop:2000:align,libcall:-1:align" } */
-/* { dg-final { scan-assembler-times "memcpy" 2 } } */
+/* { dg-final { scan-assembler-times "memcpy" 2 { target { ! *-*-darwin* } } }
} */
+/* { dg-final { scan-assembler-times "memcpy" 1 { target i?86-*-darwin*
x86_64-*-darwin* } } } */
char a[2048];
char b[2048];
--- ../_clean/gcc/testsuite/gcc.target/i386/memset-strategy-1.c 2014-05-10
23:13:02.000000000 +0200
+++ gcc/testsuite/gcc.target/i386/memset-strategy-1.c 2014-09-27
15:14:08.000000000 +0200
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -march=atom -mmemset-strategy=libcall:-1:align" } */
-/* { dg-final { scan-assembler-times "memset" 2 } } */
+/* { dg-final { scan-assembler-times "memset" 2 { target { ! *-*-darwin* } } }
} */
+/* { dg-final { scan-assembler-times "memset" 1 { target i?86-*-darwin*
x86_64-*-darwin* } } } */
char a[2048];
void t (void)
More information about the Gcc-bugs
mailing list