1 #objdump: -dr --prefix-addresses --show-raw-insn
2 #name: NIOS2 R2 mul
3 #as: -march=r2
4 #source: mul.s
5 
6 # Test the mul macro.
7 
8 .*: +file format elf32-littlenios2
9 
10 Disassembly of section .text:
11 0+0000 <[^>]*> 9c043160 	mul	r4,r5,r6
12 0+0004 <[^>]*> 00002164 	muli	r4,r5,0
13 0+0008 <[^>]*> 00012164 	muli	r4,r5,1
14 0+000c <[^>]*> 80002164 	muli	r4,r5,-32768
15 0+0010 <[^>]*> 7fff2164 	muli	r4,r5,32767
16 0+0014 <[^>]*> 00002164 	muli	r4,r5,0
17 [	]*14: R_NIOS2_S16	undefined_symbol
18 0+0018 <[^>]*> 40402164 	muli	r4,r5,16448
19 0+001c <[^>]*> 7c043160 	mulxss	r4,r5,r6
20 0+0020 <[^>]*> 5c043160 	mulxsu	r4,r5,r6
21 0+0024 <[^>]*> 1c043160 	mulxuu	r4,r5,r6
22