[commit: ghc] master: Add unaligned bytearray access primops. Fixes #4442. (efd70cf)
git at git.haskell.org
git at git.haskell.org
Mon Mar 26 03:17:36 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/efd70cfb4b0b9932a880ab417d75eaf95da3d5e6/ghc
>---------------------------------------------------------------
commit efd70cfb4b0b9932a880ab417d75eaf95da3d5e6
Author: Reiner Pope <reinerp at google.com>
Date: Sun Mar 25 23:16:03 2018 -0400
Add unaligned bytearray access primops. Fixes #4442.
Reviewers: bgamari, simonmar
Reviewed By: bgamari
Subscribers: dfeuer, rwbarton, thomie, carter
GHC Trac Issues: #4442
Differential Revision: https://phabricator.haskell.org/D4488
>---------------------------------------------------------------
efd70cfb4b0b9932a880ab417d75eaf95da3d5e6
compiler/codeGen/StgCmmPrim.hs | 53 +++++
compiler/prelude/primops.txt.pp | 210 +++++++++++++++++++
testsuite/tests/primops/should_run/T4442.hs | 257 ++++++++++++++++++++++++
testsuite/tests/primops/should_run/T4442.stdout | 21 ++
testsuite/tests/primops/should_run/all.T | 3 +-
5 files changed, 543 insertions(+), 1 deletion(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc efd70cfb4b0b9932a880ab417d75eaf95da3d5e6
More information about the ghc-commits
mailing list