[Git][ghc/ghc][wip/T23645] Fix aarch64 more

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



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


Commits:
ee4fbcf8 by Jaro Reinders at 2023-07-13T11:23:04+02:00
Fix aarch64 more

- - - - -


1 changed file:

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


Changes:

=====================================
compiler/GHC/CmmToAsm/AArch64/CodeGen.hs
=====================================
@@ -1039,8 +1039,8 @@ 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 w tmp ext_mode 0) `snocOL`
-            CSET (OpReg w dst) NE)
+            CMP (OpReg tmp_w tmp) (OpRegExt W32 tmp ext_mode 0) `snocOL`
+            CSET (OpReg W32 dst) NE)
 
 -- | Is a given number encodable as a bitmask immediate?
 --



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ee4fbcf8f5a340433c057e30957628603867afe0
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/828fd345/attachment-0001.html>


More information about the ghc-commits mailing list