blob: 4d6a9c02382ec292b56ad3ada4e5ea7efcf3219d (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile } */
/* { dg-options "-mcpu=ultrasparc -mvis" } */
typedef unsigned char pixel __attribute__((vector_size(8)));
typedef unsigned char vec8 __attribute__((vector_size(4)));
pixel foo (vec8 a, vec8 b) {
return __builtin_vis_fpmerge (a, b);
}
/* { dg-final { scan-assembler "fpmerge\t%" } } */
|