1 /* { dg-do compile } */
2 /* { dg-options "-O -mcpu=ultrasparc -mvis" } */
3 typedef short vec16 __attribute__((vector_size(8)));
4 
foo(vec16 a,vec16 b)5 vec16 foo(vec16 a, vec16 b)
6 {
7   return a - b;
8 }
9 
10 /* { dg-final { scan-assembler "fpsub16\t%" } } */
11