This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 32 bit jump instruction.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]