1 /* { dg-options "-O2 isa>=3" } */
6 __builtin_mips_cache (20, area
);
10 f2 (const short *area
)
12 __builtin_mips_cache (24, area
+ 10);
16 f3 (volatile unsigned int *area
, int offset
)
18 __builtin_mips_cache (0, area
+ offset
);
22 f4 (const volatile unsigned char *area
)
24 __builtin_mips_cache (4, area
- 80);
27 /* { dg-final { scan-assembler "\tcache\t0x14,0\\(\\\$4\\)" } } */
28 /* { dg-final { scan-assembler "\tcache\t0x18,20\\(\\\$4\\)" } } */
29 /* { dg-final { scan-assembler "\tcache\t0x0,0\\(\\\$.\\)" } } */
30 /* { dg-final { scan-assembler "\tcache\t0x4,-80\\(\\\$4\\)" } } */