| 1 | #objdump: -dr --prefix-addresses -mmips:3000 |
| 2 | #name: MIPS trunc |
| 3 | #as: -mips1 -mcpu=r3000 |
| 4 | |
| 5 | # Test the trunc macros. |
| 6 | |
| 7 | .*: +file format .*mips.* |
| 8 | |
| 9 | Disassembly of section .text: |
| 10 | 0+0000 <[^>]*> cfc1 \$a0,\$31 |
| 11 | 0+0004 <[^>]*> cfc1 \$a0,\$31 |
| 12 | 0+0008 <[^>]*> nop |
| 13 | 0+000c <[^>]*> ori \$at,\$a0,0x3 |
| 14 | 0+0010 <[^>]*> xori \$at,\$at,0x2 |
| 15 | 0+0014 <[^>]*> ctc1 \$at,\$31 |
| 16 | 0+0018 <[^>]*> nop |
| 17 | 0+001c <[^>]*> cvt.w.d \$f4,\$f6 |
| 18 | 0+0020 <[^>]*> ctc1 \$a0,\$31 |
| 19 | 0+0024 <[^>]*> nop |
| 20 | 0+0028 <[^>]*> cfc1 \$a0,\$31 |
| 21 | 0+002c <[^>]*> cfc1 \$a0,\$31 |
| 22 | 0+0030 <[^>]*> nop |
| 23 | 0+0034 <[^>]*> ori \$at,\$a0,0x3 |
| 24 | 0+0038 <[^>]*> xori \$at,\$at,0x2 |
| 25 | 0+003c <[^>]*> ctc1 \$at,\$31 |
| 26 | 0+0040 <[^>]*> nop |
| 27 | 0+0044 <[^>]*> cvt.w.s \$f4,\$f6 |
| 28 | 0+0048 <[^>]*> ctc1 \$a0,\$31 |
| 29 | 0+004c <[^>]*> nop |