[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr81622.c
blob4cd4528e620b3544ceee84fdea55a8cfab8f47bd
1 /* PR target/81622 */
2 /* { dg-do compile { target { powerpc*-*-linux* } } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */
6 void
7 foo (void)
9 __builtin_vec_ld (1, 2); /* { dg-error "invalid parameter combination" } */
10 __builtin_vec_cmpne (1, 2); /* { dg-error "invalid parameter combination" } */
11 __builtin_vec_st (1, 0, 5); /* { dg-error "invalid parameter combination" } */