[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 13 commits: rts: Fix EINTR check in timerfd ticker
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sat Nov 16 11:00:09 UTC 2024
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC
Commits:
2c427cb0 by Ben Gamari at 2024-11-16T05:27:40-05:00
rts: Fix EINTR check in timerfd ticker
When `poll` failed we previously checked that `errno == -EINTR` to
silence the failure warning. However, this is wrong as `errno` values
are generally not negated error codes (in contrast to many system call
results, which is likely what the original author had in mind).
Fixes #25477.
- - - - -
a0fa4941 by Ben Gamari at 2024-11-16T05:28:16-05:00
rts: Increase gen_workspace alignment to 128 bytes on AArch64
Increase to match the 128-byte cache-line size of Apple's ARMv8
implementation.
Closes #25459.
- - - - -
e6f02c70 by Ben Gamari at 2024-11-16T05:59:38-05:00
rts/RtsFlags: Refactor size parsing
This makes a number of improvements mentioned in #20201:
* fail if the argument cannot be parsed as a number (`-Mturtles`)
* fail if an unrecognized unit is given (e.g. `-M1x`)
- - - - -
4a4b7563 by Ben Gamari at 2024-11-16T05:59:39-05:00
testsuite: Add tests for RTS flag parsing error handling
See #20201.
- - - - -
7114cce6 by Ben Gamari at 2024-11-16T05:59:39-05:00
users guide: Mention language extensions in equality constraints discussion
As suggested in #24127, mention the language extensions necessary for
usage of equality constriants in their documentation.
Closes #24127.
- - - - -
2df3955d by Ben Gamari at 2024-11-16T05:59:39-05:00
users-guide/9.14.1-notes: Fix list syntax
- - - - -
11d8e2ca by Ben Gamari at 2024-11-16T05:59:39-05:00
users-guide/debug-info: Fix duplicate flag descriptions
- - - - -
af4656c5 by Ben Gamari at 2024-11-16T05:59:39-05:00
users-guide: Fix reference to 9.14.1 release notes
- - - - -
e5f4f4ca by Ben Gamari at 2024-11-16T05:59:39-05:00
Introduce GHC.Tc.Plugin.lookupTHName
This makes it significantly more convenient (and less
GHC-version-dependent) to resolve a template-haskell name into a GHC
Name.
As proposed in #24741.
- - - - -
bf2f1d70 by Ben Gamari at 2024-11-16T05:59:40-05:00
hadrian: Bump directory bound to >=1.3.9
Earlier versions of `directory` are racy on Windows due to #24382.
Fixes #24382.
- - - - -
4aa21f7b by ARATA Mizuki at 2024-11-16T05:59:46-05:00
x86 NCG SIMD: Lower packFloatX4#, insertFloatX4# and broadcastFloatX4# to SSE1 instructions
Fixes #25441
Co-authored-by: sheaf <sam.derbyshire at gmail.com>
- - - - -
c05e2e48 by sheaf at 2024-11-16T05:59:54-05:00
X86 NCG: allow VXOR at scalar floating-point types
The NCG can emit VXOR instructions at scalar floating-point types,
but the pretty-printer would panic instead of emitting the appropriate
VXORPS/VXORPD instructions. This patch rectifies that oversight.
Fixes #25455
- - - - -
ed17b4c5 by Ben Gamari at 2024-11-16T05:59:54-05:00
rts: Fix platform-dependent pointer casts
Previously we had unnecessary (and incorrect) platform-dependent casts
to turn `OSThreadIds`s into a integer. We now just uniformly cast first
to a `uintptr_t` (which is always safe, regardless of whether
`OSThreadId` is a pointer), and then cast to the desired integral type.
This fixes a warning on musl platforms.
- - - - -
30 changed files:
- .gitlab/ci.sh
- compiler/GHC/CmmToAsm/X86/CodeGen.hs
- compiler/GHC/CmmToAsm/X86/Instr.hs
- compiler/GHC/CmmToAsm/X86/Ppr.hs
- compiler/GHC/Tc/Plugin.hs
- docs/users_guide/9.14.1-notes.rst
- docs/users_guide/debug-info.rst
- docs/users_guide/exts/equality_constraints.rst
- docs/users_guide/release-notes.rst
- hadrian/cabal.project
- hadrian/hadrian.cabal
- hadrian/stack.yaml
- rts/Capability.h
- rts/RtsFlags.c
- rts/Task.h
- rts/include/rts/Config.h
- rts/include/rts/storage/HeapAlloc.h
- rts/posix/ticker/TimerFd.c
- rts/sm/GC.c
- rts/sm/GCThread.h
- + testsuite/tests/rts/T20201a.hs
- + testsuite/tests/rts/T20201a.stderr
- + testsuite/tests/rts/T20201b.hs
- + testsuite/tests/rts/T20201b.stderr
- testsuite/tests/rts/all.T
- + testsuite/tests/simd/should_run/T25455.hs
- + testsuite/tests/simd/should_run/T25455.stdout
- testsuite/tests/simd/should_run/all.T
- + testsuite/tests/simd/should_run/simd_insert.hs
- + testsuite/tests/simd/should_run/simd_insert.stdout
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d55e1a11d401dfab3751f43c6c3a2540c4f02813...ed17b4c500665cf4db48f2600120ecca805f9765
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/d55e1a11d401dfab3751f43c6c3a2540c4f02813...ed17b4c500665cf4db48f2600120ecca805f9765
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/20241116/8149fb66/attachment.html>
More information about the ghc-commits
mailing list