URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [i386/] [pr45617.c] - Rev 749
Go to most recent revision | Compare with Previous | Blame | View Log
/* PR rtl-optimization/45617 */ /* { dg-do compile } */ /* { dg-options "-O2" } */ int f1 (int x) { return (x >> 23) > 12; } int f2 (int x) { return x > ((13 << 23) - 1); } int f3 (int x) { return (x >> 23) >= 12; } int f4 (int x) { return x >= (12 << 23); } /* { dg-final { scan-assembler-not "sarl" } } */
Go to most recent revision | Compare with Previous | Blame | View Log