Introduce Int16# and Word16#
authorAbhiroop Sarkar <asiamgenius@gmail.com>
Mon, 5 Nov 2018 17:06:58 +0000 (12:06 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sat, 17 Nov 2018 15:03:17 +0000 (10:03 -0500)
commit36fcf9edee31513db2ddbf716ee0aa79766cbe69
tree76d3bf5734d852b53caea24c70b024f1b24204d5
parent0e7790abf7d19d19f84c86dc95e50beb65462d12
Introduce Int16# and Word16#

This builds off of D4475.

Bumps binary submodule.

Reviewers: carter, AndreasK, hvr, goldfire, bgamari, simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D5006
34 files changed:
compiler/cmm/CmmUtils.hs
compiler/codeGen/StgCmmArgRep.hs
compiler/codeGen/StgCmmPrim.hs
compiler/prelude/PrelNames.hs
compiler/prelude/TysPrim.hs
compiler/prelude/TysWiredIn.hs
compiler/prelude/TysWiredIn.hs-boot
compiler/prelude/primops.txt.pp
compiler/simplStg/RepType.hs
compiler/typecheck/TcGenDeriv.hs
compiler/types/TyCon.hs
compiler/utils/Binary.hs
libraries/base/Data/Typeable/Internal.hs
libraries/binary
libraries/ghc-prim/GHC/Types.hs
testsuite/tests/ffi/should_run/PrimFFIInt16.hs [new file with mode: 0644]
testsuite/tests/ffi/should_run/PrimFFIInt16.stdout [new file with mode: 0644]
testsuite/tests/ffi/should_run/PrimFFIInt16_c.c [new file with mode: 0644]
testsuite/tests/ffi/should_run/PrimFFIWord16.hs [new file with mode: 0644]
testsuite/tests/ffi/should_run/PrimFFIWord16.stdout [new file with mode: 0644]
testsuite/tests/ffi/should_run/PrimFFIWord16_c.c [new file with mode: 0644]
testsuite/tests/ffi/should_run/all.T
testsuite/tests/primops/should_run/ArithInt16.hs [new file with mode: 0644]
testsuite/tests/primops/should_run/ArithInt16.stdout [new file with mode: 0644]
testsuite/tests/primops/should_run/ArithWord16.hs [new file with mode: 0644]
testsuite/tests/primops/should_run/ArithWord16.stdout [new file with mode: 0644]
testsuite/tests/primops/should_run/CmpInt16.hs [new file with mode: 0644]
testsuite/tests/primops/should_run/CmpInt16.stdout [new file with mode: 0644]
testsuite/tests/primops/should_run/CmpWord16.hs [new file with mode: 0644]
testsuite/tests/primops/should_run/CmpWord16.stdout [new file with mode: 0644]
testsuite/tests/primops/should_run/ShowPrim.hs
testsuite/tests/primops/should_run/ShowPrim.stdout
testsuite/tests/primops/should_run/all.T
utils/genprimopcode/Main.hs