This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tablejump index
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
Richard> On Tue, Jul 30, 2002 at 02:06:48PM +0300, Momchil Velikov wrote:
>> How about having a mode where the operand 0 of the tablejump expander
>> is an index into the jump table, instead of jump target address?
Richard> See casesi.
Thanks. It was a stupid proposal. The compiler does the right thing
having an expandeer where the compiler does nothing and having an
expander where the compiler does everything.
~velco