qemu-iotests: support per-format golden output files
[qemu/ar7.git] / tests / tcg / lm32 / test_cmpnei.S
blob060dd9d394ad92445248ac237d26fa2947738258
1 .include "macros.inc"
3 start
5 test_name CMPNEI_1
6 mvi r1, 0
7 cmpnei r3, r1, 0
8 check_r3 0
10 test_name CMPNEI_2
11 mvi r1, 0
12 cmpnei r3, r1, 1
13 check_r3 1
15 test_name CMPNEI_3
16 mvi r1, 1
17 cmpnei r3, r1, 0
18 check_r3 1
20 test_name CMPNEI_4
21 load r1 0xffffffff
22 cmpnei r3, r1, -1
23 check_r3 0
25 test_name CMPNEI_5
26 mvi r3, 0
27 cmpnei r3, r3, 0
28 check_r3 0
30 test_name CMPNEI_6
31 mvi r3, 0
32 cmpnei r3, r3, 1
33 check_r3 1
35 end