URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [pr42835.c] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-mthumb -Os -fno-tree-tail-merge" } */ /* { dg-require-effective-target arm_thumb2_ok } */ int foo(int *p, int i) { return( (i < 0 && *p == 1) || (i > 0 && *p == 2) ); } /* { dg-final { scan-assembler-times "movne\[\\t \]*r.,\[\\t \]*#" 1 } } */ /* { dg-final { scan-assembler-times "moveq\[\\t \]*r.,\[\\t \]*#" 1 } } */
Go to most recent revision | Compare with Previous | Blame | View Log