Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.target / mips / movcc-2.c
blobbb578099a5b86f790602f2e09b33e92e215adb71
1 /* { dg-do compile } */
2 /* { dg-mips-options "-O2 -mips4" } */
3 /* { dg-final { scan-assembler "movz" } } */
4 /* { dg-final { scan-assembler "movn" } } */
6 void ext_long (long);
8 NOMIPS16 long
9 sub4 (long i, long j, long k)
11 ext_long (k ? i : j);
14 NOMIPS16 long
15 sub5 (long i, long j, int k)
17 ext_long (!k ? i : j);