jmp_gen_exp:
la k0, gen_exp_handler # requires jump indirect
jr k0
nop
编译器生成上面的代码
000019bc: 8f9affc8 lw $26,-56($28) //lw k0,-56(gp)
000019c0: 00000000 nop
000019c4: 275a17d8 addiu $26,$26,6104=0x17d8 //addiu k0,k0,6104
000019c8: 03400008 jr $26 //jr k0
如何避免使用 gp 寄存器?