This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, testsuite]: Tighten gcc.target/i386/abi-1.c test
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 21 Feb 2009 10:33:34 +0100
- Subject: [PATCH, testsuite]: Tighten gcc.target/i386/abi-1.c test
Hello!
There should be exactly one move of function result value to xmm0 register.
2009-02-21 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/abi-1.c: Use scan-assembler-times "..." 1 instead of
scan-assembler to check for xmm0 register.
Patch was tested on x86_64-pc-linux-gnu {,-m32}, committed to mainline.
Uros.
Index: abi-1.c
===================================================================
--- abi-1.c (revision 144347)
+++ abi-1.c (working copy)
@@ -5,4 +5,4 @@
typedef double v2df __attribute__((vector_size (16)));
v2df foo (void) { return (v2df){ 1.0, 2.0 }; }
-/* { dg-final { scan-assembler "xmm0" } } */
+/* { dg-final { scan-assembler-times "xmm0" 1 } } */
I