Hi,
ARM and AArch64 will still vectorize bb-slp-34.c - we're not operating
with a cost model so we vectorize to a 64-bit vector of two ints, and the
permutes are just element swaps.
So, don't mark this test xfail for arm/aarch64.
Checked on x86_64-none-linux-gnu, arm-none-eabi and aarch64-none-elf with
no issues.
OK?
Thanks,
James
---
2016-03-03 James Greenhalgh <[email protected]>
* gcc.dg/vect/bb-slp-34.c: Don't XFAIL for ARM/AArch64.
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-34.c b/gcc/testsuite/gcc.dg/vect/bb-slp-34.c
index 418f2b5..7b9511a 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-34.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-34.c
@@ -33,4 +33,4 @@ int main()
}
/* ??? XFAILed because we access "excess" elements with the permutation. */
-/* { dg-final { scan-tree-dump "basic block vectorized" "slp2" { target vect_perm xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump "basic block vectorized" "slp2" { xfail { { vect_perm } && { ! { aarch64*-*-* arm*-*-* } } } } } } */