[Git][ghc/ghc][wip/T22010] Deleted 1 commit: Add CmmRegOff case for iselExpr64
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Tue Jun 20 09:02:54 UTC 2023
Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC
WARNING: The push did not contain any new commits, but force pushed to delete the commits and changes below.
Deleted commits:
a38146aa by Jaro Reinders at 2023-06-20T11:00:47+02:00
Add CmmRegOff case for iselExpr64
- - - - -
1 changed file:
- compiler/GHC/CmmToAsm/X86/CodeGen.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/X86/CodeGen.hs
=====================================
@@ -610,6 +610,10 @@ iselExpr64 (CmmMachOp (MO_SS_Conv W32 W64) [expr]) = do
r_dst_hi
r_dst_lo
+iselExpr64 (CmmRegOff reg i) = do
+ let rep = typeWidth (cmmRegType reg)
+ iselExpr64 (CmmMachOp (MO_Add rep) [CmmReg reg, CmmLit (CmmInt (fromIntegral i) rep)])
+
iselExpr64 expr
= do
platform <- getPlatform
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a38146aa955aa626b8c90ded6636edca91597ed5
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/a38146aa955aa626b8c90ded6636edca91597ed5
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/20230620/d10be7c5/attachment.html>
More information about the ghc-commits
mailing list