[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr96530.c
blob29bb9e3cc53eb430ee754367b4fe24c04cc209e2
1 /* PR target/96530 */
2 /* { dg-do compile } */
3 /* { dg-require-effective-target power10_ok } */
4 /* { dg-options "-mdejagnu-cpu=power10 -O2" } */
6 /* Verify we do not reject bar() below due to the typedef. */
8 typedef __vector_quad vquad_t;
10 void
11 foo (__vector_quad *dst)
13 __builtin_mma_xxsetaccz (dst);
16 void
17 bar (vquad_t *dst)
19 __builtin_mma_xxsetaccz (dst);