Hi,
Test gcc.target/aarch64/ldp_vec_64_1.c because we don't choose [base+offset] 
addressing mode in IVOPT
on AArch64.  Given auto-increment addressing mode is disabled in IVOPT on 
AArch64, we can't really test
 the addressing mode.  I may try to enable it only for small loops in GCC8, so 
this patch xfail the case at the
 moment.  Also I filed PR79213 for tracking.

Test result checked.  Is it OK?

Thanks,
bin

gcc/testsuite/ChangeLog
2017-01-23  Bin Cheng  <bin.ch...@arm.com>

        * gcc.target/aarch64/ldp_vec_64_1.c: Xfail.
diff --git a/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c 
b/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
index 62213f3..59cf914 100644
--- a/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/ldp_vec_64_1.c
@@ -13,4 +13,6 @@ foo (int32x2_t *foo, int32x2_t *bar)
     foo[i] = bar[i] + bar[i + 1];
 }
 
-/* { dg-final { scan-assembler "ldp\td\[0-9\]+, d\[0-9\]" } } */
+/* Xfail for now since IVOPT doesn't choose [base+offset] addressing mode.
+   See PR79213.  */
+/* { dg-final { scan-assembler "ldp\td\[0-9\]+, d\[0-9\]" { xfail *-*-* } } } 
*/

Reply via email to