OSDN Git Service

Index: gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vr-mult-1.c
1 /* Make sure that mul/addu is preferred over mtlo/macc on targets that
2    support both.  */
3 /* { dg-do compile { target mips*-*-* } } */
4 /* { dg-options "-O2" } */
5 #if defined (_MIPS_ARCH_VR5400) || defined (_MIPS_ARCH_VR5500)
6 int f (int a, int b, int c) { return a + b * c; }
7 #else
8 void f () { asm volatile ("mul/addu"); }
9 #endif
10 /* { dg-final { scan-assembler "mul.*addu" } } */