[Git][ghc/ghc][wip/T23645] Try to fix mulmayoflo on aarch64

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Thu Jul 13 09:17:38 UTC 2023



Jaro Reinders pushed to branch wip/T23645 at Glasgow Haskell Compiler / GHC


Commits:
d2bc3f84 by Jaro Reinders at 2023-07-13T11:17:32+02:00
Try to fix mulmayoflo on aarch64

- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/AArch64/CodeGen.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/AArch64/CodeGen.hs
=====================================
@@ -1039,7 +1039,7 @@ getRegister' config plat expr
             code_x `appOL`
             code_y `snocOL`
             mul (OpReg tmp_w tmp) (OpReg w reg_x) (OpReg w reg_y) `snocOL`
-            CMP (OpReg tmp_w tmp) (OpRegExt tmp_w tmp ext_mode 0) `snocOL`
+            CMP (OpReg tmp_w tmp) (OpRegExt w tmp ext_mode 0) `snocOL`
             CSET (OpReg w dst) NE)
 
 -- | Is a given number encodable as a bitmask immediate?



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d2bc3f843309101e0c4caae61a7d1b5086a1984b

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d2bc3f843309101e0c4caae61a7d1b5086a1984b
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/20230713/0e348e7c/attachment.html>


More information about the ghc-commits mailing list