URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [thumb2-mul-space-2.c] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
/* In Thumb-2 mode, when optimizing for size, generate a "muls" instruction and use the resulting condition flags rather than a separate compare instruction. */ /* { dg-options "-mthumb -Os" } */ /* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-final { scan-assembler "muls" } } */ /* { dg-final { scan-assembler-not "cmp" } } */ int x; void f(int i, int j) { if (i * j < 0) x = 1; }
Go to most recent revision | Compare with Previous | Blame | View Log