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: fix IA-64 recip approx cse bug


Jim Wilson wrote:
The main problem here is that the recip approx insn uses DIV for the
result, which confuses CSE into thinking that we have an actual divide
result when we don't.  Changing the recip approx pattern to use UNSPEC
instead of DIV solves the problem.

I've now added this same patch to the gcc-4.3 branch. Tested by SuSE. I did a quick cross compiler build just to make sure I didn't break the build when applying the patch.


Jim


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