gtk: skip keyboard grab when hover autograb is active
[qemu.git] / tests / tcg / openrisc / test_jal.c
blob7e2da401639d5b134cf21217904eb317e14e7612
1 #include <stdio.h>
3 int main(void)
5 int a;
6 int result;
8 a = 0;
9 result = 2;
10 __asm
11 ("l.addi %0, %0, 1\n\t"
12 "l.jal jal\n\t"
13 "l.nop\n\t"
14 "l.addi %0, %0, 1\n\t"
15 "l.nop\n\t"
16 "jal:\n\t"
17 "l.addi %0, %0, 1\n\t"
18 : "+r"(a)
20 if (a != result) {
21 printf("jal error\n");
22 return -1;
25 return 0;