1 /* { dg-do run { target { powerpc64*-*-* && p8vector_hw } } } */ 2 /* { dg-options "-mfloat128 -mvsx" } */ 3 4 void abort (); 5 6 typedef __complex float __cfloat128 __attribute__((mode(KC))); 7 divide(__cfloat128 x,__cfloat128 y)8__cfloat128 divide (__cfloat128 x, __cfloat128 y) 9 { 10 return x / y; 11 } 12 13 __cfloat128 z, a; 14 main()15int main () 16 { 17 z = divide (5.0q + 5.0jq, 2.0q + 1.0jq); 18 a = 3.0q + 1.0jq; 19 if (z != a) 20 abort (); 21 return 0; 22 } 23