Rohit Arul Raj wrote:
Hi all,

I am working on a private target where jump instruction patterns are
similiar to this

jmp <24 bit offset>
jmp <address register> for 32 bit offsets

if my offset is greater than 24 bits, then i have to move the offset
to an address register. But inside the branch instruction (in md
file), i am not able to generate a pseudo register because the
condition check for "no_new_pseudos " fails.

Can any one suggest a way to overcome this?

This is similar to how the MIPS works. Perhaps looking at its implementation would be useful.

David Daney

Reply via email to