aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2017-11-30 14:38:33 +0000
committerWill Schmidt <willschm@gcc.gnu.org>2017-11-30 14:38:33 +0000
commite47b37ca827cd694e17b8688205cb889751b528d (patch)
tree03b98f441c6e5e4da84e2df3d06452a86a926860 /gcc
parent5f939178ec1e667d2a05bed96a9078cc926eba9d (diff)
downloadgcc-e47b37ca827cd694e17b8688205cb889751b528d.zip
gcc-e47b37ca827cd694e17b8688205cb889751b528d.tar.gz
gcc-e47b37ca827cd694e17b8688205cb889751b528d.tar.bz2
fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output.
[testsuite] 2017-11-29 Will Schmidt <will_schmidt@vnet.ibm.com> * gcc.target/powerpc/fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output. * gcc.target/powerpc/fold-vec-abs-char.c: Add xxspltib insn to expected output. From-SVN: r255272
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c4
-rw-r--r--gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c4
3 files changed, 11 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index bda1bf5..d1425a5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2017-11-30 Will Schmidt <will_schmidt@vnet.ibm.com>
+
+ * gcc.target/powerpc/fold-vec-abs-char-fwrapv.c: Add xxspltib insn
+ to expected output.
+ * gcc.target/powerpc/fold-vec-abs-char.c: Add xxspltib insn
+ to expected output.
+
2017-11-30 Jakub Jelinek <jakub@redhat.com>
PR target/83210
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c
index 739f06e..8b9887d 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c
@@ -1,5 +1,5 @@
/* Verify that overloaded built-ins for vec_abs with char
- inputs produce the right results. */
+ inputs produce the right code. */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_altivec_ok } */
@@ -13,6 +13,6 @@ test2 (vector signed char x)
return vec_abs (x);
}
-/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */
+/* { dg-final { scan-assembler-times "vspltisw|vxor|xxspltib" 1 } } */
/* { dg-final { scan-assembler-times "vsububm" 1 } } */
/* { dg-final { scan-assembler-times "vmaxsb" 1 } } */
diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c
index 239c919..1f303b8 100644
--- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c
+++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c
@@ -1,5 +1,5 @@
/* Verify that overloaded built-ins for vec_abs with char
- inputs produce the right results. */
+ inputs produce the right code. */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_altivec_ok } */
@@ -13,6 +13,6 @@ test2 (vector signed char x)
return vec_abs (x);
}
-/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */
+/* { dg-final { scan-assembler-times "vspltisw|vxor|xxspltib" 1 } } */
/* { dg-final { scan-assembler-times "vsububm" 1 } } */
/* { dg-final { scan-assembler-times "vmaxsb" 1 } } */