GHC

lp://staging/~ghc/ghc/packages-ghc-prim-master

Created by Edward Z. Yang and last modified
Get this branch:
bzr branch lp://staging/~ghc/ghc/packages-ghc-prim-master

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
GHC HQ
Project:
GHC
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at git://git.haskell.org/packages/ghc-prim.git.

Last successful import was .

Import started on alnitak and finished taking 2 minutes — see the log
Import started on alnitak and finished taking 15 seconds — see the log
Import started on alnitak and finished taking 2 minutes — see the log
Import started on alnitak and finished taking 2 minutes — see the log

Recent revisions

104. By Reid Barton <email address hidden>

Make argument types in popcnt.c match declared primop types

On 64-bit Mac OS, gcc 4.2 (which comes with Xcode 4.6) generates code
that assumes that an argument that is smaller than the register
it is passed in has been sign- or zero-extended. But ghc thinks
the types of the PopCnt*Op primops are Word# -> Word#, so it passes
the entire argument word to the hs_popcnt* function as though it was
declared to have an argument of type StgWord. Segfaults ensue.

The easiest fix is to sidestep all this zero-extension business
by declaring the hs_popcnt* functions to take a whole StgWord (when their
argument would fit in a register), thereby matching the list of primops.

Fixes #7684.

103. By Joachim Breitner

Export Coercible in GHC.Types (#8894)

102. By Joachim Breitner

Refer to the coercible paper in Coercible' docs

Implements parts of #8888.

101. By Joachim Breitner

Better Comment [Kind-changing of (~) and Coercible]

100. By Joachim Breitner

Note [Kind-changing of (~) and Coercible]

99. By Joachim Breitner

Update Coercible docs due to Safe Haskell adjustment

This should go with [59722295bb8da8f01d37356fbed6aef7321a8195/ghc], see
bug #8826.

98. By Herbert V. Riedel

Add Since-annotation to `Coercible`

Signed-off-by: Herbert Valerio Riedel <email address hidden>

97. By Joachim Breitner

Document Coercible in GHC.Types

It is not exported from here, but haddock still uses this documentation
(and not the one from the fake GHC/Prim.hs file). So just put the user
documentation here.

96. By Joachim Breitner

Comment typo

95. By Herbert V. Riedel

Add overlooked language extensions to `IntWord64.hs`

This was overseen in b07b88e5d5c3ccd1508b235688f751408636c49e
as the extensions are only needed when compiling for 32-bit archs.

Signed-off-by: Herbert Valerio Riedel <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers