OSDN Git Service

* config/i386/i386.md (UNSPECV_NOPS): Rename from UNSPEC_NOPS and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / i386 / zee.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target lp64 } */
3 /* { dg-options "-O2 -fzee" } */
4 /* { dg-final { scan-assembler-not "mov\[\\t \]+\(%\[\^,\]+\),\[\\t \]*\\1" } } */
5 int mask[100];
6 int foo(unsigned x)
7 {
8   if (x < 10)
9     x = x * 45;
10   else
11     x = x * 78;
12   return mask[x];
13 }