2014-07-11 Edward Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.target / nds32 / builtin-isync.c
blob3160e4ad38572a4bbef7478b35ba70d54b719c5e
1 /* Verify that we generate isync instruction with builtin function. */
3 /* { dg-do compile } */
4 /* { dg-options "-O0" } */
5 /* { dg-final { scan-assembler "\\tisync" } } */
7 void
8 test (void)
10 int *addr = (int *) 0x53000000;
11 __builtin_nds32_isync (addr);