OSDN Git Service

* expmed.c (store_bit_field_1): Properly truncate the paradoxical
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / mips / vr-mult-2.c
1 /* Make sure that mul/addu is preferred over mtlo/macc and that mul/subu
2    is preferred over mtlo/msac.  */
3 /* { dg-do compile } */
4 /* { dg-options "-O2 -march=vr5500" } */
5 NOMIPS16 int f1 (int a, int b, int c) { return a + b * c; }
6 NOMIPS16 int f2 (int a, int b, int c) { return a - b * c; }
7 /* { dg-final { scan-assembler "\tmul\t.*\tmul\t" } } */