1 /* Test that we generate xorps instruction when pxor is not available. */ 2 /* { dg-do compile } */ 3 /* { dg-options "-O -msse -mno-sse2" } */ 4 /* { dg-final { scan-assembler "xorps\[ \t\]" } } */ 5 6 #define vector __attribute__ ((vector_size (16))) 7 i(vector int f)8vector int i(vector int f) 9 { 10 vector int g = { 0x80000000, 0, 0x80000000, 0 }; 11 vector int f_int = (vector int) f; 12 return (f_int ^ g); 13 } 14 15