blob: 89dd33bf4b8f3983c88e7f8187fb8eade28c5370 [file] [log] [blame]
Elliott Hughesa0664b92017-04-18 17:46:52 -07001//file: _insn_test_flushwb_X1.c
2//op=100
3#include <stdio.h>
4#include <stdlib.h>
5
6void func_exit(void) {
7 printf("%s\n", __func__);
8 exit(0);
9}
10
11void func_call(void) {
12 printf("%s\n", __func__);
13 exit(0);
14}
15
16unsigned long mem[2] = { 0xd85a80d7b6245b44, 0x4035b9e3ec473fc4 };
17
18int main(void) {
19 unsigned long a[4] = { 0, 0 };
20 asm __volatile__ (
21 "{ fnop ; flushwb }\n"
22 );
23 return 0;
24}