URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [mips/] [vr-mult-1.c] - Rev 307
Go to most recent revision | Compare with Previous | Blame | View Log
/* Make sure that mul/addu is preferred over mtlo/macc and that mul/subu is preferred over mtlo/msac. */ /* { dg-do compile } */ /* { dg-mips-options "-O2 -march=vr5400" } */ int f1 (int a, int b, int c) { return a + b * c; } int f2 (int a, int b, int c) { return a - b * c; } /* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */
Go to most recent revision | Compare with Previous | Blame | View Log