RegAllocGreedy behaves host-dependent (-mfpmath on i686)

Chandler Carruth chandlerc at google.com
Wed Feb 5 15:43:35 PST 2014


On Wed, Feb 5, 2014 at 3:42 PM, Rafael EspĂ­ndola <rafael.espindola at gmail.com
> wrote:

> On 3 February 2014 07:49, Chandler Carruth <chandlerc at google.com> wrote:
> > We should simply remove the use of floating point math from LLVM for
> > anything other than statistics. It has been a *very* long standing
> problem.
>
> Another option would be to require a host with IEEE floating point. On
> X86 this would mean using -msse2. On ARM it would mean not using Neon
> for fp math.
>
> Is there a MSVC option equivalent to -msse2?


Personally, I think it would be significantly easier to just not use host
IEEE floating point. We've worked very hard to avoid this in most parts of
the compiler. Why not just avoid it here?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140205/5d8938f0/attachment.html>


More information about the llvm-commits mailing list