[Git][ghc/ghc][wip/angerman/riscv64-ncg] 2 commits: Remove TAB character
Moritz Angermann (@angerman)
gitlab at gitlab.haskell.org
Tue May 16 07:29:15 UTC 2023
Moritz Angermann pushed to branch wip/angerman/riscv64-ncg at Glasgow Haskell Compiler / GHC
Commits:
1303b53d by Sven Tennie at 2023-05-02T15:34:16+00:00
Remove TAB character
The whitespace linter doesn't like it.
- - - - -
c5024bcb by Sven Tennie at 2023-05-03T11:32:39+00:00
Fix compiler warning about importing GHC.Utils.Panic.Plain in CodeGen.Platform.h
- - - - -
2 changed files:
- compiler/CodeGen.Platform.h
- compiler/GHC/CmmToAsm/RV64/Ppr.hs
Changes:
=====================================
compiler/CodeGen.Platform.h
=====================================
@@ -1,7 +1,8 @@
import GHC.Cmm.Expr
#if !(defined(MACHREGS_i386) || defined(MACHREGS_x86_64) \
- || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64))
+ || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64) \
+ || defined(MACHREGS_riscv64))
import GHC.Utils.Panic.Plain
#endif
import GHC.Platform.Reg
=====================================
compiler/GHC/CmmToAsm/RV64/Ppr.hs
=====================================
@@ -537,7 +537,7 @@ pprInstr platform instr = case instr of
LDR _f o1 (OpImm (ImmCLbl lbl)) ->
-- fixing this is _really_ annoyin we need to generate code like:
- -- 1: auipc x16, %pcrel_hi(<lbl>)
+ -- 1: auipc x16, %pcrel_hi(<lbl>)
-- addi x16, x16, %pcrel_lo(1b)
-- I really dislike this (refer back to label 1 syntax from the assembler.)
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/30a10abcc56166885fc457f55a66acbeddae06cd...c5024bcbe41c5cab6429185fa4d65c67f87b8aa1
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/30a10abcc56166885fc457f55a66acbeddae06cd...c5024bcbe41c5cab6429185fa4d65c67f87b8aa1
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/20230516/3c5a6100/attachment-0001.html>
More information about the ghc-commits
mailing list