OSDN Git Service

Scan "lea\[lq\]?\[ \t\]" instead of "lea\[ \t\]".
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / cmov3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -march=k8" } */
3 /* { dg-final { scan-assembler "cmov\[^3\]" } } */
4
5 /* This conditional move is fastest to be done using cmov.  */
6 t(int a, int b)
7 {
8   return (a<=b?5:-5);
9 }