1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Check that we can generate the immediate-offset addressing
8 int *bad_addr
[ARRSIZE
];
11 prefetch_for_read (void)
14 for (i
= 0; i
< ARRSIZE
; i
++)
15 __builtin_prefetch (bad_addr
[i
] + 2, 0, 0);
18 /* { dg-final { scan-assembler-times "prfm.*\\\[x\[0-9\]+, 8\\\]" 1 } } */