[Git][ghc/ghc][wip/T23576] Allow big arith on x86
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Fri Jun 30 11:41:42 UTC 2023
Jaro Reinders pushed to branch wip/T23576 at Glasgow Haskell Compiler / GHC
Commits:
82d25cc4 by Jaro Reinders at 2023-06-30T13:41:35+02:00
Allow big arith on x86
- - - - -
1 changed file:
- compiler/GHC/Driver/Config/StgToCmm.hs
Changes:
=====================================
compiler/GHC/Driver/Config/StgToCmm.hs
=====================================
@@ -50,7 +50,7 @@ initStgToCmmConfig dflags mod = StgToCmmConfig
, stgToCmmDoBoundsCheck = gopt Opt_DoBoundsChecking dflags
, stgToCmmDoTagCheck = gopt Opt_DoTagInferenceChecks dflags
-- backend flags
- , stgToCmmAllowBigArith = not ncg || platformArch platform == ArchWasm32
+ , stgToCmmAllowBigArith = not ncg || platformArch platform == ArchWasm32 || platformArch platform == ArchX86
, stgToCmmAllowQuotRemInstr = ncg && (x86ish || ppc)
, stgToCmmAllowQuotRem2 = (ncg && (x86ish || ppc)) || llvm
, stgToCmmAllowExtendedAddSubInstrs = (ncg && (x86ish || ppc)) || llvm
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82d25cc44ea7d0e3ab21104c5f62f397814f9bad
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82d25cc44ea7d0e3ab21104c5f62f397814f9bad
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230630/1c98be45/attachment.html>
More information about the ghc-commits
mailing list