Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / madd-2.c
blobce0d9eb6fa06435afda8558ce5fa924768961755
1 /* { dg-do compile } */
2 /* This test requires widening_mul */
3 /* { dg-options "-march=vr5500 -mgp32 -fexpensive-optimizations" } */
4 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
5 /* { dg-final { scan-assembler-times "\tmadd\t" 3 } } */
7 NOMIPS16 long long
8 f1 (int x, int y, long long z)
10 return (long long) x * y + z;
13 NOMIPS16 long long
14 f2 (int x, int y, long long z)
16 return z + (long long) y * x;
19 NOMIPS16 long long
20 f3 (int x, int y, long long z)
22 long long t = (long long) x * y;
23 int temp = 5;
24 if (temp == 5)
25 z += t;
26 return z;