blob: 8c9a9be32f44afa6ba2ea3002b4905920a2de249 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* { dg-do assemble } */
/* { dg-options "-O" } */
void test_flushd (unsigned char* p1, unsigned char* p2)
{
__builtin_flushd (p1);
__builtin_flushd (p2);
__builtin_flushd (p2 + 1);
__builtin_flushd (p2 + 2);
__builtin_flushd (p2 + 2047);
__builtin_flushd (p2 + 2048);
}
void test_flushda (unsigned char* p1, unsigned char* p2)
{
__builtin_flushda (p1);
__builtin_flushda (p2);
__builtin_flushda (p2 + 1);
__builtin_flushda (p2 + 2);
__builtin_flushda (p2 + 2047);
__builtin_flushda (p2 + 2048);
}
|