1 /* { dg-do run { target bfin-*-linux-uclibc } } */
2 /* { dg-bfin-processors bf544 bf547 bf548 bf549 bf561} */
4 #if defined(__ADSPBF544__)
5 #define L2_START 0xFEB00000
6 #define L2_LENGTH 0x10000
8 #define L2_START 0xFEB00000
9 #define L2_LENGTH 0x20000
12 int n
__attribute__ ((l2
));
14 int foo (int i
) __attribute__ ((l2
));
26 p
= (unsigned long *) foo
;
27 if (*p
< L2_START
|| *p
>= L2_START
+ L2_LENGTH
)
30 p
= (unsigned long *) &n
;
31 if ((unsigned long) p
< L2_START
|| (unsigned long) p
>= L2_START
+ L2_LENGTH
)