ph_ret.c
277 Bytes
////C: '-menable-packedhalf'
////A: '--has-fpack --has-fhalf'
typedef half phalf __attribute__((ext_vector_type(2)));
phalf func(void)
{
volatile phalf l = {3.1415H,2.78H};
return l;
}
int main(void)
{
volatile phalf a = {1.11H, 2.78H};
a = func();
return 0;
}