1 #objdump: -d --prefix-addresses
2 #name: nds32 load-store immediate instructions
3 #as:
4 
5 # Test lsi instructions
6 
7 .*:     file format .*
8 
9 Disassembly of section .text:
10 0+0000 <[^>]*> lwi	\$r0, \[\$r1 \+ #4\]
11 0+0004 <[^>]*> lhi	\$r0, \[\$r1 \+ #2\]
12 0+0008 <[^>]*> lhsi	\$r0, \[\$r1 \+ #-2\]
13 0+000c <[^>]*> lbi	\$r0, \[\$r1 \+ #1\]
14 0+0010 <[^>]*> lbsi	\$r0, \[\$r1 \+ #-1\]
15 0+0014 <[^>]*> swi	\$r0, \[\$r1 \+ #4\]
16 0+0018 <[^>]*> shi	\$r0, \[\$r1 \+ #2\]
17 0+001c <[^>]*> sbi	\$r0, \[\$r1 \+ #1\]
18 0+0020 <[^>]*> lwi.bi	\$r0, \[\$r1\], #4
19 0+0024 <[^>]*> lhi.bi	\$r0, \[\$r1\], #2
20 0+0028 <[^>]*> lhsi.bi	\$r0, \[\$r1\], #-2
21 0+002c <[^>]*> lbi.bi	\$r0, \[\$r1\], #1
22 0+0030 <[^>]*> lbsi.bi	\$r0, \[\$r1\], #-1
23 0+0034 <[^>]*> swi.bi	\$r0, \[\$r1\], #4
24 0+0038 <[^>]*> shi.bi	\$r0, \[\$r1\], #2
25 0+003c <[^>]*> sbi.bi	\$r0, \[\$r1\], #1
26