1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fselective-scheduling -fsel-sched-pipelining -fsel-sched-pipelining-outer-loops" } */
6 empty
= 0, pawn
= 1, knight
= 2, king
= 3, bishop
= 5, rook
= 6, queen
= 7
9 extern int p_values
[15];
12 Quiesce (int alpha
, int beta
, int wtm
, int ply
)
14 register int initial_alpha
, value
, delta
;
15 register int *goodmv
, *movep
, moves
= 0, *sortv
, temp
;
16 for (movep
= last
[ply
- 1]; movep
< last
[ply
]; movep
++)
17 if (p_values
[(((*movep
) >> 15) & 7) + 7] +
18 p_values
[(((*movep
) >> 18) & 7) + 7] >= delta
)
21 register int *end
= last
[ply
- 1] + moves
- 1;
25 movep
= last
[ply
- 1];
26 for (; movep
< end
; movep
++, sortv
++)
27 if (*sortv
< *(sortv
+ 1))