ph_sqrt.c 247 Bytes BlameHistoryPermalink Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ////C: '-msoft-fp-single' //A: '--has-fpack' typedef half ph __attribute__((ext_vector_type(2))); ph sqrtph(ph a); int main(void) { volatile ph a; volatile ph o; // a.x = 1.23456789; // a.y = 34.5678901; o = sqrtph(a); return 0; }