[llvm-commits] [llvm-gcc-4.2] r93951 - in /llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon: vgetQ_lanes16.c vgetQ_lanes32.c vgetQ_lanes8.c vgetQ_laneu32.c vget_lanes16.c vget_lanes32.c vget_lanes8.c vget_laneu32.c
Bob Wilson
bob.wilson at apple.com
Tue Jan 19 15:55:50 PST 2010
Author: bwilson
Date: Tue Jan 19 17:55:50 2010
New Revision: 93951
URL: http://llvm.org/viewvc/llvm-project?rev=93951&view=rev
Log:
Fix the expected output for some more Neon tests to match with llvm-gcc.
Modified:
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes16.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes32.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes8.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_laneu32.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes16.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes32.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes8.c
llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_laneu32.c
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes16.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes16.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes16.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes16.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int16_t = vgetq_lane_s16 (arg0_int16x8_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s16\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL Element may be signed or unsigned if only low bits are used */
+/* { dg-final { scan-assembler "vmov\.\[su\]16\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes32.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes32.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes32.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes32.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int32_t = vgetq_lane_s32 (arg0_int32x4_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL The "s" in the opcode suffix is optional */
+/* { dg-final { scan-assembler "vmov\.s?32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes8.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes8.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes8.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_lanes8.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int8_t = vgetq_lane_s8 (arg0_int8x16_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s8\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL Element may be signed or unsigned if only low bits are used */
+/* { dg-final { scan-assembler "vmov\.\[su\]8\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_laneu32.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_laneu32.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_laneu32.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vgetQ_laneu32.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_uint32_t = vgetq_lane_u32 (arg0_uint32x4_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.u32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL The "u" in the opcode suffix is optional */
+/* { dg-final { scan-assembler "vmov\.u?32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes16.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes16.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes16.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes16.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int16_t = vget_lane_s16 (arg0_int16x4_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s16\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL Element may be signed or unsigned if only low bits are used */
+/* { dg-final { scan-assembler "vmov\.\[su\]16\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes32.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes32.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes32.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes32.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int32_t = vget_lane_s32 (arg0_int32x2_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL The "s" in the opcode suffix is optional */
+/* { dg-final { scan-assembler "vmov\.s?32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes8.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes8.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes8.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_lanes8.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_int8_t = vget_lane_s8 (arg0_int8x8_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.s8\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL Element may be signed or unsigned if only low bits are used */
+/* { dg-final { scan-assembler "vmov\.\[su\]8\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
Modified: llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_laneu32.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_laneu32.c?rev=93951&r1=93950&r2=93951&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_laneu32.c (original)
+++ llvm-gcc-4.2/trunk/gcc/testsuite/gcc.target/arm/neon/vget_laneu32.c Tue Jan 19 17:55:50 2010
@@ -16,5 +16,6 @@
out_uint32_t = vget_lane_u32 (arg0_uint32x2_t, 1);
}
-/* { dg-final { scan-assembler "vmov\.u32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
+/* LLVM LOCAL The "u" in the opcode suffix is optional */
+/* { dg-final { scan-assembler "vmov\.u?32\[ \]+\[rR\]\[0-9\]+, \[dD\]\[0-9\]+\\\[\[0-9\]+\\\]!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
/* { dg-final { cleanup-saved-temps } } */
More information about the llvm-commits
mailing list