This is the mail archive of the
mailing list for the GCC project.
Re: SH2A: "RTV/N Rn" implementation
On Wed, Jul 18, 2007 at 12:11:28PM +0530, Naveen H.S. wrote:
> We had implemented an insn as:-
> (define_insn "return_rtv"
> [(parallel [
> (set (reg:SI R0_REG)
> (match_operand:SI "register_operand" "r"))
This is actually what I had in mind. You just need to also modify the
epilogue expander to use that insn:
emit_jump_insn (gen_return_rtv (gen_rtx_REG (SImode, R0_REG)));
emit_jump_insn (gen_return ());
Rask Ingemann Lambertsen