ps_call.c
303 Bytes
////C: '-menable-packedhalf'
////A: '--has-fpack --has-fhalf'
typedef float ps __attribute__((ext_vector_type(2)));
void func(ps arg)
{
volatile ps l = arg;
}
const ps c = {3.1415926F, 1.2345678F};
int main(void)
{
volatile ps a = {1.11223344F, 2.71828F};
func(a);
func(c);
return 0;
}