#6135: Unboxed Booleans
-------------------------------------+------------------------------------
        Reporter:  benl              |            Owner:  jstolarek
            Type:  feature request   |           Status:  closed
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.4.1
      Resolution:  fixed             |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:  8103, 8103
        Blocking:                    |  Related Tickets:  #605
-------------------------------------+------------------------------------
Changes (by Jan Stolarek <jan.stolarek@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:6579a6c73082387f82b994305011f011d9d8382b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6579a6c73082387f82b994305011f011d9d8382b"
 Comparison primops return Int# (Fixes #6135)

 This patch modifies all comparison primops for Char#, Int#, Word#,
 Double#,
 Float# and Addr# to return Int# instead of Bool. A value of 1# represents
 True
 and 0# represents False. For a more detailed description of motivation for
 this
 change, discussion of implementation details and benchmarking results
 please
 visit the wiki page: http://hackage.haskell.org/trac/ghc/wiki/PrimBool

 There's also some cleanup: whitespace fixes in files that were extensively
 edited
 in this patch and constant folding rules for Integer div and mod operators
 (which
 for some reason have been left out up till now).
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/6135#comment:82>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-tickets

Reply via email to