This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Vector comparison
On Sun, Aug 15, 2010 at 8:38 PM, Artem Shinkarov
<artyom.shinkaroff@gmail.com> wrote:
>> Please consider using tree codes all the way through the gimple IR if
>> the target supports expansion and doing the expansion only at expand
>> time. ?Building a call expression is expensive and really you could
>> use opcodes and not worry about a target hook. ?I think opcodes it is
>> a much easier way allowing for targets to add support rather than
>> adding more and more target hooks.
>
> The hook approach was approved by Richard,
Hmm, it's unfortunate that this wasn't brought up earlier on the gcc
list. I agree with pinski that using new codes here seems like the
better approach.
> so let's wait what he is
> going to tell.
Right. Perhaps Richi had good reasons to not use new codes.
Ciao!
Steven