[AArch64] Limit simd-abi-9.c function body test to LP64
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 8 Oct 2019 08:24:40 +0000 (08:24 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 8 Oct 2019 08:24:40 +0000 (08:24 +0000)
On ILP32 targets, there's an extra UXTW instruction to extend
the incoming pointer before the load.  It doesn't seem worth
complicating the test for that, since all we're checking is
that an optimisation takes place, and that optimisation isn't
related to pointer size.

2019-10-08  Richard Sandiford  <richard.sandiford@arm.com>

gcc/testsuite/
* gcc.target/aarch64/torture/simd-abi-9.c: Require LP64 for
the function body test.

From-SVN: r276688

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/torture/simd-abi-9.c

index 4555fc8..a7c5bc7 100644 (file)
@@ -1,3 +1,8 @@
+2019-10-08  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * gcc.target/aarch64/torture/simd-abi-9.c: Require LP64 for
+       the function body test.
+
 2019-10-08  Joseph Myers  <joseph@codesourcery.com>
 
        * gcc.dg/torture/builtin-fp-int-inexact-c2x.c: New test.
index aaa0316..1119d00 100644 (file)
@@ -6,7 +6,7 @@
 int callee (void);
 
 /*
-** caller:
+** caller:     { target lp64 }
 **     ldr     (w[0-9]+), \[x0\]
 **     cbn?z   \1, [^\n]*
 **     ...