📄 relax-swap1-mips1.d
字号:
#objdump: -dr --prefix-addresses -mmips:3000#name: MIPS1 branch relaxation with swapping#as: -32 -mips1 -KPIC -relax-branch#source: relax-swap1.s#stderr: relax-swap1.l.*: +file format .*mips.*Disassembly of section \.text:0+0000 <[^>]*> b 00000000 <foo>0+0004 <[^>]*> move v0,a00+0008 <[^>]*> lw at,2\(gp\)[ ]*8: R_MIPS_GOT16 \.text0+000c <[^>]*> nop0+0010 <[^>]*> addiu at,at,992[ ]*10: R_MIPS_LO16 \.text0+0014 <[^>]*> jr at0+0018 <[^>]*> move v0,a00+001c <[^>]*> lw v0,0\(a0\)0+0020 <[^>]*> b 00000000 <foo>0+0024 <[^>]*> nop0+0028 <[^>]*> lw v0,0\(a0\)0+002c <[^>]*> lw at,2\(gp\)[ ]*2c: R_MIPS_GOT16 \.text0+0030 <[^>]*> nop0+0034 <[^>]*> addiu at,at,992[ ]*34: R_MIPS_LO16 \.text0+0038 <[^>]*> jr at0+003c <[^>]*> nop0+0040 <[^>]*> b 00000000 <foo>0+0044 <[^>]*> sw v0,0\(a0\)0+0048 <[^>]*> lw at,2\(gp\)[ ]*48: R_MIPS_GOT16 \.text0+004c <[^>]*> nop0+0050 <[^>]*> addiu at,at,992[ ]*50: R_MIPS_LO16 \.text0+0054 <[^>]*> jr at0+0058 <[^>]*> sw v0,0\(a0\)0+005c <[^>]*> move v0,a00+0060 <[^>]*> beq v0,v1,00000000 <foo>0+0064 <[^>]*> nop0+0068 <[^>]*> move v0,a00+006c <[^>]*> bne v0,v1,00000084 <foo\+0x84>0+0070 <[^>]*> nop0+0074 <[^>]*> lw at,2\(gp\)[ ]*74: R_MIPS_GOT16 \.text0+0078 <[^>]*> nop0+007c <[^>]*> addiu at,at,992[ ]*7c: R_MIPS_LO16 \.text0+0080 <[^>]*> jr at0+0084 <[^>]*> nop0+0088 <[^>]*> beq a0,a1,00000000 <foo>0+008c <[^>]*> move v0,a00+0090 <[^>]*> bne a0,a1,000000a8 <foo\+0xa8>0+0094 <[^>]*> nop0+0098 <[^>]*> lw at,2\(gp\)[ ]*98: R_MIPS_GOT16 \.text0+009c <[^>]*> nop0+00a0 <[^>]*> addiu at,at,992[ ]*a0: R_MIPS_LO16 \.text0+00a4 <[^>]*> jr at0+00a8 <[^>]*> move v0,a00+00ac <[^>]*> addiu v0,a0,10+00b0 <[^>]*> beq v0,v1,00000000 <foo>0+00b4 <[^>]*> nop0+00b8 <[^>]*> addiu v0,a0,10+00bc <[^>]*> bne v0,v1,000000d4 <foo\+0xd4>0+00c0 <[^>]*> nop0+00c4 <[^>]*> lw at,2\(gp\)[ ]*c4: R_MIPS_GOT16 \.text0+00c8 <[^>]*> nop0+00cc <[^>]*> addiu at,at,992[ ]*cc: R_MIPS_LO16 \.text0+00d0 <[^>]*> jr at0+00d4 <[^>]*> nop0+00d8 <[^>]*> beq a0,a1,00000000 <foo>0+00dc <[^>]*> addiu v0,a0,10+00e0 <[^>]*> bne a0,a1,000000f8 <foo\+0xf8>0+00e4 <[^>]*> nop0+00e8 <[^>]*> lw at,2\(gp\)[ ]*e8: R_MIPS_GOT16 \.text0+00ec <[^>]*> nop0+00f0 <[^>]*> addiu at,at,992[ ]*f0: R_MIPS_LO16 \.text0+00f4 <[^>]*> jr at0+00f8 <[^>]*> addiu v0,a0,10+00fc <[^>]*> lw v0,0\(a0\)0+0100 <[^>]*> nop0+0104 <[^>]*> beq v0,v1,00000000 <foo>0+0108 <[^>]*> nop0+010c <[^>]*> lw v0,0\(a0\)0+0110 <[^>]*> nop0+0114 <[^>]*> bne v0,v1,0000012c <foo\+0x12c>0+0118 <[^>]*> nop0+011c <[^>]*> lw at,2\(gp\)[ ]*11c: R_MIPS_GOT16 \.text0+0120 <[^>]*> nop0+0124 <[^>]*> addiu at,at,992[ ]*124: R_MIPS_LO16 \.text0+0128 <[^>]*> jr at0+012c <[^>]*> nop0+0130 <[^>]*> lw v0,0\(a0\)0+0134 <[^>]*> beq a0,a1,00000000 <foo>0+0138 <[^>]*> nop0+013c <[^>]*> lw v0,0\(a0\)0+0140 <[^>]*> bne a0,a1,00000158 <foo\+0x158>0+0144 <[^>]*> nop0+0148 <[^>]*> lw at,2\(gp\)[ ]*148: R_MIPS_GOT16 \.text0+014c <[^>]*> nop0+0150 <[^>]*> addiu at,at,992[ ]*150: R_MIPS_LO16 \.text0+0154 <[^>]*> jr at0+0158 <[^>]*> nop0+015c <[^>]*> beq v0,v1,00000000 <foo>0+0160 <[^>]*> sw v0,0\(a0\)0+0164 <[^>]*> bne v0,v1,0000017c <foo\+0x17c>0+0168 <[^>]*> nop0+016c <[^>]*> lw at,2\(gp\)[ ]*16c: R_MIPS_GOT16 \.text0+0170 <[^>]*> nop0+0174 <[^>]*> addiu at,at,992[ ]*174: R_MIPS_LO16 \.text0+0178 <[^>]*> jr at0+017c <[^>]*> sw v0,0\(a0\)0+0180 <[^>]*> beq a0,a1,00000000 <foo>0+0184 <[^>]*> sw v0,0\(a0\)0+0188 <[^>]*> bne a0,a1,000001a0 <foo\+0x1a0>0+018c <[^>]*> nop0+0190 <[^>]*> lw at,2\(gp\)[ ]*190: R_MIPS_GOT16 \.text0+0194 <[^>]*> nop0+0198 <[^>]*> addiu at,at,992[ ]*198: R_MIPS_LO16 \.text0+019c <[^>]*> jr at0+01a0 <[^>]*> sw v0,0\(a0\)0+01a4 <[^>]*> mfc1 v0,\$f00+01a8 <[^>]*> move a2,a30+01ac <[^>]*> beq v0,v1,00000000 <foo>0+01b0 <[^>]*> nop0+01b4 <[^>]*> mfc1 v0,\$f00+01b8 <[^>]*> move a2,a30+01bc <[^>]*> bne v0,v1,000001d4 <foo\+0x1d4>0+01c0 <[^>]*> nop0+01c4 <[^>]*> lw at,2\(gp\)[ ]*1c4: R_MIPS_GOT16 \.text0+01c8 <[^>]*> nop0+01cc <[^>]*> addiu at,at,992[ ]*1cc: R_MIPS_LO16 \.text0+01d0 <[^>]*> jr at0+01d4 <[^>]*> nop0+01d8 <[^>]*> mfc1 v0,\$f00+01dc <[^>]*> beq a0,a1,00000000 <foo>0+01e0 <[^>]*> move a2,a30+01e4 <[^>]*> mfc1 v0,\$f00+01e8 <[^>]*> bne a0,a1,00000200 <foo\+0x200>0+01ec <[^>]*> nop0+01f0 <[^>]*> lw at,2\(gp\)[ ]*1f0: R_MIPS_GOT16 \.text0+01f4 <[^>]*> nop0+01f8 <[^>]*> addiu at,at,992[ ]*1f8: R_MIPS_LO16 \.text0+01fc <[^>]*> jr at0+0200 <[^>]*> move a2,a30+0204 <[^>]*> bc1t 00000000 <foo>0+0208 <[^>]*> move v0,a00+020c <[^>]*> bc1f 00000224 <foo\+0x224>0+0210 <[^>]*> nop0+0214 <[^>]*> lw at,2\(gp\)[ ]*214: R_MIPS_GOT16 \.text0+0218 <[^>]*> nop0+021c <[^>]*> addiu at,at,992[ ]*21c: R_MIPS_LO16 \.text0+0220 <[^>]*> jr at0+0224 <[^>]*> move v0,a00+0228 <[^>]*> move v0,a00+022c <[^>]*> b 00000000 <foo>0+0230 <[^>]*> nop0+0234 <[^>]*> move v0,a00+0238 <[^>]*> lw at,2\(gp\)[ ]*238: R_MIPS_GOT16 \.text0+023c <[^>]*> nop0+0240 <[^>]*> addiu at,at,992[ ]*240: R_MIPS_LO16 \.text0+0244 <[^>]*> jr at0+0248 <[^>]*> nop0+024c <[^>]*> move v0,a00+0250 <[^>]*> b 00000000 <foo>0+0254 <[^>]*> nop0+0258 <[^>]*> move v0,a00+025c <[^>]*> lw at,2\(gp\)[ ]*25c: R_MIPS_GOT16 \.text0+0260 <[^>]*> nop0+0264 <[^>]*> addiu at,at,992[ ]*264: R_MIPS_LO16 \.text0+0268 <[^>]*> jr at0+026c <[^>]*> nop0+0270 <[^>]*> move a2,a30+0274 <[^>]*> move v0,a00+0278 <[^>]*> b 00000000 <foo>0+027c <[^>]*> nop0+0280 <[^>]*> move a2,a30+0284 <[^>]*> move v0,a00+0288 <[^>]*> lw at,2\(gp\)[ ]*288: R_MIPS_GOT16 \.text0+028c <[^>]*> nop0+0290 <[^>]*> addiu at,at,992[ ]*290: R_MIPS_LO16 \.text0+0294 <[^>]*> jr at0+0298 <[^>]*> nop0+029c <[^>]*> lw at,0\(gp\)[ ]*29c: R_MIPS_GOT16 \.text0+02a0 <[^>]*> nop0+02a4 <[^>]*> addiu at,at,684[ ]*2a4: R_MIPS_LO16 \.text0+02a8 <[^>]*> sw v0,0\(at\)0+02ac <[^>]*> b 00000000 <foo>0+02b0 <[^>]*> nop0+02b4 <[^>]*> lw at,0\(gp\)[ ]*2b4: R_MIPS_GOT16 \.text0+02b8 <[^>]*> nop0+02bc <[^>]*> addiu at,at,708[ ]*2bc: R_MIPS_LO16 \.text0+02c0 <[^>]*> sw v0,0\(at\)0+02c4 <[^>]*> lw at,2\(gp\)[ ]*2c4: R_MIPS_GOT16 \.text0+02c8 <[^>]*> nop0+02cc <[^>]*> addiu at,at,992[ ]*2cc: R_MIPS_LO16 \.text0+02d0 <[^>]*> jr at0+02d4 <[^>]*> nop0+02d8 <[^>]*> lwc1 \$f0,0\(a0\)0+02dc <[^>]*> b 00000000 <foo>0+02e0 <[^>]*> nop0+02e4 <[^>]*> lwc1 \$f0,0\(a0\)0+02e8 <[^>]*> lw at,2\(gp\)[ ]*2e8: R_MIPS_GOT16 \.text0+02ec <[^>]*> nop0+02f0 <[^>]*> addiu at,at,992[ ]*2f0: R_MIPS_LO16 \.text0+02f4 <[^>]*> jr at0+02f8 <[^>]*> nop0+02fc <[^>]*> cfc1 v0,\$310+0300 <[^>]*> b 00000000 <foo>0+0304 <[^>]*> nop0+0308 <[^>]*> cfc1 v0,\$310+030c <[^>]*> lw at,2\(gp\)[ ]*30c: R_MIPS_GOT16 \.text0+0310 <[^>]*> nop0+0314 <[^>]*> addiu at,at,992[ ]*314: R_MIPS_LO16 \.text0+0318 <[^>]*> jr at0+031c <[^>]*> nop0+0320 <[^>]*> ctc1 v0,\$310+0324 <[^>]*> b 00000000 <foo>0+0328 <[^>]*> nop0+032c <[^>]*> ctc1 v0,\$310+0330 <[^>]*> lw at,2\(gp\)[ ]*330: R_MIPS_GOT16 \.text0+0334 <[^>]*> nop0+0338 <[^>]*> addiu at,at,992[ ]*338: R_MIPS_LO16 \.text0+033c <[^>]*> jr at0+0340 <[^>]*> nop0+0344 <[^>]*> mtc1 v0,\$f310+0348 <[^>]*> b 00000000 <foo>0+034c <[^>]*> nop0+0350 <[^>]*> mtc1 v0,\$f310+0354 <[^>]*> lw at,2\(gp\)[ ]*354: R_MIPS_GOT16 \.text0+0358 <[^>]*> nop0+035c <[^>]*> addiu at,at,992[ ]*35c: R_MIPS_LO16 \.text0+0360 <[^>]*> jr at0+0364 <[^>]*> nop0+0368 <[^>]*> mfhi v00+036c <[^>]*> b 00000000 <foo>0+0370 <[^>]*> nop0+0374 <[^>]*> mfhi v00+0378 <[^>]*> lw at,2\(gp\)[ ]*378: R_MIPS_GOT16 \.text0+037c <[^>]*> nop0+0380 <[^>]*> addiu at,at,992[ ]*380: R_MIPS_LO16 \.text0+0384 <[^>]*> jr at0+0388 <[^>]*> nop0+038c <[^>]*> move v0,a00+0390 <[^>]*> jr v00+0394 <[^>]*> nop0+0398 <[^>]*> jr a00+039c <[^>]*> move v0,a00+03a0 <[^>]*> move v0,a00+03a4 <[^>]*> jalr v00+03a8 <[^>]*> nop0+03ac <[^>]*> jalr a00+03b0 <[^>]*> move v0,a00+03b4 <[^>]*> move v0,ra0+03b8 <[^>]*> jalr v10+03bc <[^>]*> nop0+03c0 <[^>]*> move ra,a00+03c4 <[^>]*> jalr a10+03c8 <[^>]*> nop0+03cc <[^>]*> jalr v0,v10+03d0 <[^>]*> move ra,a00+03d4 <[^>]*> move v0,ra0+03d8 <[^>]*> jalr v0,v10+03dc <[^>]*> nop \.\.\. \.\.\.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -