Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / r10k-cache-barrier-5.c
blob757beefc231c1f1ef65b09a3a5e542a33a17609b
1 /* { dg-options "-mr10k-cache-barrier=store -mno-abicalls -mabi=64" } */
3 /* Test that in-range stores to static objects do not get an unnecessary
4 cache barrier. */
6 int x[4];
7 void bar (void);
9 NOMIPS16 void
10 foo (int n)
12 while (n--)
14 x[3] = 1;
15 bar ();
19 /* { dg-final { scan-assembler-not "\tcache\t" } } */