1 #objdump: -dr --prefix-addresses -mmips:5400
2 #as: -march=vr5400 -mtune=vr5400
3 #name: MIPS hardware rol (vr5400)
7 # Test the rol and ror macros.
9 .*: +file format .*mips.*
11 Disassembly of section .text:
12 0+0000 <[^>]*> negu at,a1
13 0+0004 <[^>]*> rorv a0,a0,at
14 0+0008 <[^>]*> negu a0,a2
15 0+000c <[^>]*> rorv a0,a1,a0
16 0+0010 <[^>]*> ror a0,a0,0x1f
17 0+0014 <[^>]*> ror a0,a1,0x1f
18 0+0018 <[^>]*> ror a0,a1,0x0
19 0+001c <[^>]*> rorv a0,a0,a1
20 0+0020 <[^>]*> rorv a0,a1,a2
21 0+0024 <[^>]*> ror a0,a0,0x1
22 0+0028 <[^>]*> ror a0,a1,0x1
23 0+002c <[^>]*> ror a0,a1,0x0
24 0+0030 <[^>]*> ror a0,a1,0x0
25 0+0034 <[^>]*> ror a0,a1,0x1f
26 0+0038 <[^>]*> ror a0,a1,0x1
27 0+003c <[^>]*> ror a0,a1,0x0
28 0+0040 <[^>]*> ror a0,a1,0x1
29 0+0044 <[^>]*> ror a0,a1,0x1f