2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / madd-8.c
blob35092a8ad935e321e28b7b4cebafb03008301a3f
1 /* { dg-options "-O2 -march=5kc" } */
2 /* { dg-final { scan-assembler "\tmul\t" } } */
3 /* { dg-final { scan-assembler-not "\tmadd\t" } } */
4 /* { dg-final { scan-assembler-not "\tmtlo\t" } } */
5 /* { dg-final { scan-assembler-not "\tmflo\t" } } */
7 NOMIPS16 int
8 f2 (int x, int y, int z)
10 asm volatile ("" ::: "$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", "$9",
11 "$10", "$11", "$12", "$13", "$14", "$15", "$16", "$17",
12 "$18", "$19", "$20", "$21", "$22", "$23", "$24", "$25",
13 "$31");
14 return x * y + z;