diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/madd-6.c')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/madd-6.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/madd-6.c b/gcc/testsuite/gcc.target/mips/madd-6.c new file mode 100644 index 000000000..4e5afadce --- /dev/null +++ b/gcc/testsuite/gcc.target/mips/madd-6.c @@ -0,0 +1,6 @@ +/* { dg-options "-O2 -march=5kc" } */ +/* { dg-final { scan-assembler-not "\tmadd\t" } } */ +/* { dg-final { scan-assembler "\tmul\t" } } */ +/* { dg-final { scan-assembler "\taddu\t" } } */ + +NOMIPS16 void f1 (int *a) { a[0] = a[0] * a[1] + a[2]; } |