[Git][ghc/ghc][wip/angerman/aarch64-ncg] :facepalm:

Moritz Angermann gitlab at gitlab.haskell.org
Fri Oct 23 15:29:54 UTC 2020



Moritz Angermann pushed to branch wip/angerman/aarch64-ncg at Glasgow Haskell Compiler / GHC


Commits:
217633b4 by Moritz Angermann at 2020-10-23T23:29:29+08:00
:facepalm:

- - - - -


1 changed file:

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


Changes:

=====================================
compiler/GHC/CmmToAsm/AArch64/Ppr.hs
=====================================
@@ -547,7 +547,7 @@ pprInstr platform instr = case instr of
 
   LDR _f o1 (OpImm (ImmIndex lbl off)) ->
     text "\tadrp" <+> pprOp o1 <> comma <+> ppr lbl $$
-    text "\tadd" <+> pprOp o1 <> comma <+> pprOp o1 <> comma <+> test ":lo12:" <> ppr lbl $$
+    text "\tadd" <+> pprOp o1 <> comma <+> pprOp o1 <> comma <+> text ":lo12:" <> ppr lbl $$
     text "\tadd" <+> pprOp o1 <> comma <+> pprOp o1 <> comma <+> char '#' <> int off -- XXX: check that off is in 12bits.
 
   LDR _f o1 (OpImm (ImmCLbl lbl')) | Just (_info, lbl) <- dynamicLinkerLabelInfo lbl' ->



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/217633b4926b024bae3c67104fd76f185480194e
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/20201023/b42807c3/attachment.html>


More information about the ghc-commits mailing list