URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [mips/] [octeon2-lx-2.c] - Rev 697
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-march=octeon2 -O -mgp64" } */ #define TEST(N, T) \ T f##N (T *p, int i) { return p[i]; } \ unsigned T g##N (unsigned T *p, int i) { return p[i]; } TEST (1, char) /* { dg-final { scan-assembler-times "\tlbu?x\t" 2 } } */ TEST (2, short) /* { dg-final { scan-assembler-times "\tlhu?x\t" 2 } } */ TEST (3, int) /* { dg-final { scan-assembler-times "\tlwx\t" 2 } } */ TEST (4, long long) /* { dg-final { scan-assembler-times "\tldx\t" 2 } } */
Go to most recent revision | Compare with Previous | Blame | View Log