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


On Tue, Oct 05, 2004 at 04:02:33PM -0400, Andrew Pinski wrote:
> Also this is a valid transformation only if the constants will generate
> a power of 2.

No, it's valid any time the product of the constants is directly
representable.  We have the information to determine that in real.c.


r~


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