[Git][ghc/ghc][wip/supersven/ghc-master-riscv-ncg] 14 commits: Silence x-partial in Haddock.Backends.Xhtml
Sven Tennie (@supersven)
gitlab at gitlab.haskell.org
Fri Sep 6 09:48:25 UTC 2024
Sven Tennie pushed to branch wip/supersven/ghc-master-riscv-ncg at Glasgow Haskell Compiler / GHC
Commits:
59906975 by Hécate Kleidukos at 2024-09-05T10:57:15-04:00
Silence x-partial in Haddock.Backends.Xhtml
This is an unfortunate consequence of two mechanisms:
* GHC provides (possibly-empty) lists of names
* The functions that retrieve those names are not equipped to do error
reporting, and thus accept these lists at face value. They will have
to be attached an effect for error reporting in a later refactoring
- - - - -
8afbab62 by Hécate Kleidukos at 2024-09-05T10:57:15-04:00
hadrian: Support loading haddock in ghci
There is one tricky aspect with wired-in packages where the boot package
is built with `-this-unit-id ghc` but the dependency is reported as
`-package-id ghc-9.6...`. This has never been fixed in GHC as the
situation of loading wired-in packages into the multi-repl seems like
quite a niche feature that is always just easier to workaround.
- - - - -
6cac9eb8 by Matthew Pickering at 2024-09-05T10:57:15-04:00
hadrian/multi: Load all targets when ./hadrian/ghci-multi is called
This seems to make a bit more sense than just loading `ghc` component
(and dependencies).
- - - - -
7d84df86 by Matthew Pickering at 2024-09-05T10:57:51-04:00
ci: Beef up determinism interface test
There have recently been some determinism issues with the simplifier and
documentation. We enable more things to test in the ABI test to check
that we produce interface files deterministically.
- - - - -
e3e9ef8b by Sven Tennie at 2024-09-06T11:48:02+02:00
RISCV64: Add Native Code Generator (NCG)
This architecture wasn't supported before.
Co-authored-by: Moritz Angermann <moritz.angermann at gmail.com>
- - - - -
b8136473 by Sven Tennie at 2024-09-06T11:48:02+02:00
Adjust test timings for slower computers
Increase the delays a bit to be able to run these tests on slower
computers.
The reference was a Lichee Pi 4a RISCV64 machine.
- - - - -
f47889e2 by Sven Tennie at 2024-09-06T11:48:02+02:00
RISCV64: Add RTS linker
This architecture wasn't supported before.
Co-authored-by: Moritz Angermann <moritz.angermann at gmail.com>
- - - - -
0020bf0e by Sven Tennie at 2024-09-06T11:48:02+02:00
RISCV64: Ignore divbyzero test
The architecture's behaviour differs from the test's expectations. See
comment in code why this is okay.
- - - - -
2380602c by Sven Tennie at 2024-09-06T11:48:02+02:00
RISCV64: Enable MulMayOflo_full test
It works and thus can be tested.
- - - - -
bb9bbe6a by Sven Tennie at 2024-09-06T11:48:02+02:00
RISCV64: LibffiAdjustor: Ensure code caches are flushed
RISCV64 needs a specific code flushing sequence (involving fence.i) when
new code is created/loaded.
- - - - -
257434b9 by Sven Tennie at 2024-09-06T11:48:03+02:00
RISCV64: Add additional linker symbols for builtins
We're relying on some GCC/Clang builtins. These need to be visible to
the linker (and not be stripped away.)
- - - - -
147a40c4 by Sven Tennie at 2024-09-06T11:48:03+02:00
RISCV64: Add GHCi support
As we got a RTS linker for this architecture now, we can enable GHCi for
it.
- - - - -
40722eeb by Sven Tennie at 2024-09-06T11:48:03+02:00
RISCV64: Set codeowners of the NCG
- - - - -
3149b403 by Sven Tennie at 2024-09-06T11:48:03+02:00
Add test for C calling convention
Ensure that parameters and return values are correctly processed. A
dedicated test (like this) helps to get the subtleties of calling
conventions easily right.
- - - - -
11 changed files:
- .gitlab/ci.sh
- CODEOWNERS
- compiler/CodeGen.Platform.h
- compiler/GHC/Cmm/CLabel.hs
- compiler/GHC/CmmToAsm.hs
- compiler/GHC/CmmToAsm/Dwarf/Constants.hs
- compiler/GHC/CmmToAsm/PIC.hs
- + compiler/GHC/CmmToAsm/RV64.hs
- + compiler/GHC/CmmToAsm/RV64/CodeGen.hs
- + compiler/GHC/CmmToAsm/RV64/Cond.hs
- + compiler/GHC/CmmToAsm/RV64/Instr.hs
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5856aa6ec7f5673f227558d4378aecba1b692dd0...3149b4035c6b6422f28ee03a660e3b31cf85581f
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/5856aa6ec7f5673f227558d4378aecba1b692dd0...3149b4035c6b6422f28ee03a660e3b31cf85581f
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/20240906/301ae875/attachment.html>
More information about the ghc-commits
mailing list