Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / dspr2-MULT.c
blobb668e0c6b51e592a772655256e1acba4bd2cfe46
1 /* Test MIPS32 DSP REV 2 MULT instruction. Tune for a CPU that has
2 pipelined mult. */
3 /* { dg-do compile } */
4 /* This test requires widening_mul */
5 /* { dg-options "-mgp32 -mdspr2 -mtune=74kc -fexpensive-optimizations" } */
6 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
8 /* See PR target/51729 for the reason behind the XFAILs. */
9 /* { dg-final { scan-assembler "\tmult\t" } } */
10 /* { dg-final { scan-assembler "\\\$ac1" { xfail *-*-* } } } */
11 /* { dg-final { scan-assembler "\\\$ac2" { xfail *-*-* } } } */
13 typedef long long a64;
15 NOMIPS16 a64 test (a64 *a, int *b, int *c)
17 a[0] = (a64) b[0] * c[0];
18 a[1] = (a64) b[1] * c[1];