1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 R2 rotate
3 #source: rotate.s
4 #as: -march=r2
5 
6 # Test the and macro.
7 
8 .*: +file format elf32-littlenios2
9 
10 Disassembly of section .text:
11 0+0000 <[^>]*> 0c042120 	rol	r4,r4,r4
12 0+0004 <[^>]*> 0be40120 	roli	r4,r4,31
13 0+0008 <[^>]*> 2c042120 	ror	r4,r4,r4
14 0+000c <[^>]*> 4c042120 	sll	r4,r4,r4
15 0+0010 <[^>]*> 4b040120 	slli	r4,r4,24
16 0+0014 <[^>]*> ec042120 	sra	r4,r4,r4
17 0+0018 <[^>]*> e9440120 	srai	r4,r4,10
18 0+001c <[^>]*> 6c042120 	srl	r4,r4,r4
19 0+0020 <[^>]*> 68a40120 	srli	r4,r4,5
20