PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / zee.c
blob920e05667147380b403a76dddf67eaf307c72700
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -fzee" } */
3 /* { dg-final { scan-assembler-not "mov\[\\t \]+\(%\[\^,\]+\),\[\\t \]*\\1" } } */
4 int mask[100];
5 int foo(unsigned x)
7 if (x < 10)
8 x = x * 45;
9 else
10 x = x * 78;
11 return mask[x];