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/] [mips/] [octeon2-lx-3.c] - Rev 847
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-options "-march=octeon2 -O -mgp32" } */ #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 } } */
Go to most recent revision | Compare with Previous | Blame | View Log