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, i386]: Disable only appropriate x87 builtins for -mfpmath=sse


Ralf Corsepius wrote:

The attached patch will disable only appropriate x87 builtins for -mfpmath=sse. There is no point to disable XFmode x87 builtins or DFmode x87 builtins for !TARGET_SSE2, as there will be no SSE<->x87 register shuffling in this case. Because this patch will revert Roger's patch from 2004-11-24, I would like to hear his opinion on this alternative approach.


Could this also be the cause of http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19379 ?



Unfortunatelly no, because -msoft-float implies -mno-fancy-math-387. Every mentioned x87 insn pattern is protected by TARGET_USE_FANCY_MATH_387 and thus disabled.

Uros.


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