diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/sparc/noresult.c')
-rw-r--r-- | gcc/testsuite/gcc.target/sparc/noresult.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/sparc/noresult.c b/gcc/testsuite/gcc.target/sparc/noresult.c new file mode 100644 index 000000000..1be7458d2 --- /dev/null +++ b/gcc/testsuite/gcc.target/sparc/noresult.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-mcpu=ultrasparc -mvis" } */ +typedef short vec16 __attribute__((vector_size(8))); + +void foo (vec16 a) { + __builtin_vis_fpack16 (a); +} + +/* { dg-final { scan-assembler-not "fpack16\t%" } } */ |