1 /* { dg-do compile } */
2 /* { dg-options "-mcpu=ultrasparc -mvis" } */
3 typedef int vec32
__attribute__((vector_size(8)));
4 typedef unsigned char vec8
__attribute__((vector_size(8)));
6 vec8
foo (vec32 a
, vec8 b
) {
7 return __builtin_vis_fpack32 (a
, b
);
10 /* { dg-final { scan-assembler "fpack32\t%" } } */