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]

Re: RFC: integer division by multiply with invariant reciprocal


On 3/25/07, Charles J. Tabony <TabonyEE@austin.rr.com> wrote:
> So I think that the easiest way to integrate this with the rest of the
> compiler is to have a target hook that emits trees to compute SHIFT, INV1
> and INV2.

I don't think target hooks to expand trees early is a good idea. RTL is not going away, and in fact GCC's model having two IR is not unique to GCC, XLC uses that model also.

Thanks,
Andrew Pinski


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