summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/nds32/builtin-isync.c
blob: 3160e4ad38572a4bbef7478b35ba70d54b719c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Verify that we generate isync instruction with builtin function.  */

/* { dg-do compile }  */
/* { dg-options "-O0" }  */
/* { dg-final { scan-assembler "\\tisync" } }  */

void
test (void)
{
  int *addr = (int *) 0x53000000;
  __builtin_nds32_isync (addr);
}