RFC: Using (set (if_then_else ...)) on IA64 for division instructions

Richard Henderson rth@redhat.com
Wed Sep 29 18:10:00 GMT 2004


On Wed, Sep 29, 2004 at 09:07:25AM -0700, Steve Ellcey wrote:
> I have been looking at how we generate code to do division on IA64 to
> see if I could get it to be scheduled better.  Currently IA64 generates
> a sequence of instructions using cond_exec, the problem with this is
> that cond_exec cannot be expanded until after reload and this results in
> the division instruction sequence being poorly scheduled.

I'm surprised you aren't getting decent results with flag_rename_registers.

> Are there any special problems with using if_then_else inside a set?

Nope.


r~



More information about the Gcc-patches mailing list