diff options
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.target/arm/neon/vtbx2s8.c')
-rw-r--r-- | gcc-4.8.1/gcc/testsuite/gcc.target/arm/neon/vtbx2s8.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.target/arm/neon/vtbx2s8.c b/gcc-4.8.1/gcc/testsuite/gcc.target/arm/neon/vtbx2s8.c new file mode 100644 index 000000000..96c9104a1 --- /dev/null +++ b/gcc-4.8.1/gcc/testsuite/gcc.target/arm/neon/vtbx2s8.c @@ -0,0 +1,22 @@ +/* Test the `vtbx2s8' ARM Neon intrinsic. */ +/* This file was autogenerated by neon-testgen. */ + +/* { dg-do assemble } */ +/* { dg-require-effective-target arm_neon_ok } */ +/* { dg-options "-save-temps -O0" } */ +/* { dg-add-options arm_neon } */ + +#include "arm_neon.h" + +void test_vtbx2s8 (void) +{ + int8x8_t out_int8x8_t; + int8x8_t arg0_int8x8_t; + int8x8x2_t arg1_int8x8x2_t; + int8x8_t arg2_int8x8_t; + + out_int8x8_t = vtbx2_s8 (arg0_int8x8_t, arg1_int8x8x2_t, arg2_int8x8_t); +} + +/* { dg-final { scan-assembler "vtbx\.8\[ \]+\[dD\]\[0-9\]+, \\\{((\[dD\]\[0-9\]+-\[dD\]\[0-9\]+)|(\[dD\]\[0-9\]+, \[dD\]\[0-9\]+))\\\}, \[dD\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */ +/* { dg-final { cleanup-saved-temps } } */ |