blob: 031372e219ae58083d64f6b6a6e8cbc74e523b94 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-mcpu=ultrasparc -mvis" } */
typedef int vec32 __attribute__((vector_size(8)));
typedef unsigned char vec8 __attribute__((vector_size(8)));
vec8 foo (vec32 a, vec8 b) {
return __builtin_vis_fpack32 (a, b);
}
/* { dg-final { scan-assembler "fpack32\t%" } } */