aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/lob.h
blob: feaae7cc89959b3147368980120700bbc3e85ecb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <string.h>

/* Common code for lob tests.  */

#define NO_LOB asm volatile ("@ clobber lr" : : : "lr" )

#define N 10000

static void
reset_data (int *a, int *b, int *c)
{
  memset (a, -1, N * sizeof (*a));
  memset (b, -1, N * sizeof (*b));
  memset (c, -1, N * sizeof (*c));
}