This is the mail archive of the 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: Patch gcc-4.0 should not apply mathematical associative rulesfor addition or multiplication

Hi Fariborz,

Has this issue been filed as a PR in bugzilla yet?  I've just tried
some tests on mainline and I'm shocked at the unsafe transformations
being performed by the tree-ssa optimizers.

If you've not already done so, make sure this is targeted at 4.0.0
with critical priority (a potential show stopper), then to keep RTH
and Geoff K happy, also file a low priority enhancement request that
(X * 2.0) * 2.0 gets optimized.  The first is a severe regression from
all previous GCC releases, the latter isn't and possibly may not even
be suitable for stage3.  If it makes people more comfortable, feel free
to assign the enhancement request to me.  I wouldn't want either issue
to get lost.

My concern now is how much the performance benefits of the tree-ssa
merge were exagerated by the fact that we've been performing these
unsafe mathematical transformations.  Fixing this problem may hurt
our SPECfp2000 scores   :<


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