ph_ext-cmp.c 240 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ////C: '-msoft-fp-half' //A: '--has-fpack --has-fhalf' typedef half phalf __attribute__((ext_vector_type(2))); int main(void) { volatile phalf a,b; // volatile half o; if (a.x==b.x && a.y==b.y) return 1; else return 0; }