implement missing Fabs{32,64} on i386 NCG and UNREG
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 10 Mar 2017 09:30:10 +0000 (09:30 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Fri, 10 Mar 2017 09:30:10 +0000 (09:30 +0000)
commit46246a6d57c35ebf12032d13a4cd7ff18f713770
tree96512412c2d3e52853e43fd97d9ffa61cf28441f
parenta6e06c7b6ac9d0eb54f09721dbac9b1bed4c8c32
implement missing Fabs{32,64} on i386 NCG and UNREG

Noticed breakage as build failure on i386 freebsd build bot:
  http://haskell.inf.elte.hu/builders/freebsd-i386-head/1267/10.html

  ghc-stage1: panic! (the 'impossible' happened)
    (GHC version 8.1.20170310 for i386-portbld-freebsd):
      outOfLineCmmOp: MO_F64_Fabs not supported here

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
compiler/cmm/PprC.hs
compiler/nativeGen/X86/CodeGen.hs