[3/3] optabs: Use {SET_,}OPTAB_HANDLER for direct optabs too

Diego Novillo dnovillo@google.com
Sun Jul 4 14:10:00 GMT 2010


On Sunday, July 4, 2010, Richard Sandiford <rdsandiford@googlemail.com> wrote:
> Richard Sandiford <rdsandiford@googlemail.com> writes:
>> All conversion optabs are in a single table (convert_optab_table)
>> and all other libcall-backed optab are in a single table (optab_table).
>> However, we also have a lot of optabs that are in their own global
>> variables.  This patch lumps them into a third table for "direct" optabs
>> (i.e. those that are only ever associated with insn patterns,
>> never with libcalls).  They can then "benefit" from the same
>> encoding as the others.
>>
>> Bootstrapped & regression-tested on x86_64-linux-gnu.  OK to install?
>
> Now updated to use inlines.  Tested as before.  OK to install?

Yes.  All 3 parts.

Diego.



More information about the Gcc-patches mailing list