axis-dev88: Connect the PIC upstream IRQs directly to the CPU
[qemu/ar7.git] / tests / tcg / lm32 / test_sli.S
bloba421de90143bcfd7c616e288d08a10cf82105d2b
1 .include "macros.inc"
3 start
5 test_name SLI_1
6 mvi r1, 1
7 sli r3, r1, 0
8 check_r3 1
10 test_name SLI_2
11 mvi r1, 0
12 sli r3, r1, 1
13 check_r3 0
15 test_name SLI_3
16 mvi r1, 1
17 sli r3, r1, 31
18 check_r3 0x80000000
20 test_name SLI_4
21 mvi r1, 16
22 sli r3, r1, 31
23 check_r3 0
25 test_name SLI_7
26 mvi r3, 2
27 sli r3, r3, 2
28 check_r3 8
30 end