Hi :
  I'm working on a fpu which cannot work fpload insns right, so I have
to use a GPR
reg as temp reg to first load mem into GPR then move GPR into fpu register.

I have handled most cases but the case gcc handling call clobbered fpu
registers.
since it is in reload pass, I have no available GPR to use here.
I'm wondering whether I could use temporary registers such as
$t0...$t9 in this case.

It's safe as far as I can see, since the save/restore operation is
around calling insn,
and there are MIPS_PROLOGUE_TEMP and MIPS_EPILOGUE_TEMP which used
in the prologue/epilogue cases.

but I am not very sure about it, Any suggestion? Thank you all.

-- 
Best Regards.

Reply via email to