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