1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_p8vector_ok } */
4 /* { dg-options "-mdejagnu-cpu=power8 -O3 -mno-vsx" } */
5 
6 /* target/60137, compiler got a 'could not split insn error'.  */
7 
8 extern int target_flags;
9 extern char fixed_regs[53];
10 extern char call_used_regs[53];
11 
init_reg_sets_1(void)12 void init_reg_sets_1(void)
13 {
14   int i;
15   for (i = 0; i < 53; i++)
16     fixed_regs[i] = call_used_regs[i] = (call_used_regs[i] &((target_flags & 0x02000000) ? 2 : 1)) != 0;
17 }
18