[Git][ghc/ghc][wip/T23576] Add SHRD to patchRegs
Jaro Reinders (@Noughtmare)
gitlab at gitlab.haskell.org
Fri Jun 30 15:11:04 UTC 2023
Jaro Reinders pushed to branch wip/T23576 at Glasgow Haskell Compiler / GHC
Commits:
d3c1c96e by Jaro Reinders at 2023-06-30T17:10:59+02:00
Add SHRD to patchRegs
- - - - -
1 changed file:
- compiler/GHC/CmmToAsm/X86/Instr.hs
Changes:
=====================================
compiler/GHC/CmmToAsm/X86/Instr.hs
=====================================
@@ -570,6 +570,7 @@ patchRegsOfInstr instr env
SHL fmt imm dst -> patch1 (SHL fmt imm) dst
SAR fmt imm dst -> patch1 (SAR fmt imm) dst
SHR fmt imm dst -> patch1 (SHR fmt imm) dst
+ SHRD fmt imm dst1 dst2 -> patch2 (SHRD fmt imm) dst1 dst2
BT fmt imm src -> patch1 (BT fmt imm) src
TEST fmt src dst -> patch2 (TEST fmt) src dst
CMP fmt src dst -> patch2 (CMP fmt) src dst
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d3c1c96ebb766c8a1dec6faa928e15d55c27f4c1
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/d3c1c96ebb766c8a1dec6faa928e15d55c27f4c1
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/d5efb4a7/attachment.html>
More information about the ghc-commits
mailing list