This is the mail archive of the
mailing list for the GCC project.
Re: arm/thumb bugs
> Now this does indeed look strange - it expects the jump table to be
> the list of offsets you have mentioned in your mail. But in fact
> it's the same series of relative jumps as in the 32bit ARM case.
Hmm, not good! :-)
> I would probably have the time to do this adaption, but I have - as
> I said previously - no idea where to start.
Have a look in the arm.md file. Find "casesi" and "casesi_internal".
These are the patterns used for switch table generation for the ARM.
You will porobably want to define similar patterns for the THUMB.