| 1 | #objdump: -dr --prefix-addresses --show-raw-insn |
| 2 | #name: MIPS hardware rol/ror |
| 3 | #source: rol.s |
| 4 | #as: -32 |
| 5 | |
| 6 | # Test the rol and ror macros (microMIPS). |
| 7 | |
| 8 | .*: +file format .*mips.* |
| 9 | |
| 10 | Disassembly of section \.text: |
| 11 | [0-9a-f]+ <[^>]*> 00a0 09d0 negu at,a1 |
| 12 | [0-9a-f]+ <[^>]*> 0081 20d0 rorv a0,a0,at |
| 13 | [0-9a-f]+ <[^>]*> 00c0 21d0 negu a0,a2 |
| 14 | [0-9a-f]+ <[^>]*> 00a4 20d0 rorv a0,a1,a0 |
| 15 | [0-9a-f]+ <[^>]*> 0084 f8c0 ror a0,a0,0x1f |
| 16 | [0-9a-f]+ <[^>]*> 0085 f8c0 ror a0,a1,0x1f |
| 17 | [0-9a-f]+ <[^>]*> 0085 00c0 ror a0,a1,0x0 |
| 18 | [0-9a-f]+ <[^>]*> 0085 20d0 rorv a0,a0,a1 |
| 19 | [0-9a-f]+ <[^>]*> 00a6 20d0 rorv a0,a1,a2 |
| 20 | [0-9a-f]+ <[^>]*> 0084 08c0 ror a0,a0,0x1 |
| 21 | [0-9a-f]+ <[^>]*> 0085 08c0 ror a0,a1,0x1 |
| 22 | [0-9a-f]+ <[^>]*> 0085 00c0 ror a0,a1,0x0 |
| 23 | [0-9a-f]+ <[^>]*> 0085 00c0 ror a0,a1,0x0 |
| 24 | [0-9a-f]+ <[^>]*> 0085 f8c0 ror a0,a1,0x1f |
| 25 | [0-9a-f]+ <[^>]*> 0085 08c0 ror a0,a1,0x1 |
| 26 | [0-9a-f]+ <[^>]*> 0085 00c0 ror a0,a1,0x0 |
| 27 | [0-9a-f]+ <[^>]*> 0085 08c0 ror a0,a1,0x1 |
| 28 | [0-9a-f]+ <[^>]*> 0085 f8c0 ror a0,a1,0x1f |
| 29 | \.\.\. |