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]

Delay slot problem


Hello,

I have some trouble dealing with delay slots. The problem is that our 
architecture can't handle branch instructions using registers which have been 
changed in the previous instruction. So a delay slot is needed.
The difficult part is, that this delay slot is only needed if the same register 
is used in the branch instruction. I have no idea how I should describe this 
using the instruction attributes which are usually used for delay slots. Is it 
somehow possible to extract the register number and store it in a const_int 
attribute?

Thanks in advance!
Eric Neumann


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