[GHC] #8791: Use new primitive bitwise operations on Int in Data.Bits
GHC
ghc-devs at haskell.org
Sat Feb 15 21:07:46 UTC 2014
#8791: Use new primitive bitwise operations on Int in Data.Bits
------------------------------------+-------------------------------------
Reporter: cdk | Owner:
Type: task | Status: new
Priority: normal | Milestone: 7.8.1
Component: libraries/base | Version: 7.6.3
Keywords: | Operating System: Unknown/Multiple
Architecture: Unknown/Multiple | Type of failure: None/Unknown
Difficulty: Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 7689 |
------------------------------------+-------------------------------------
New primitive bitwise primops have been added (`andI#`, `orI#`, etc). They
should be used in the `Int` instance of `Data.Bits` to avoid `I#
(word2Int# (int2Word# ...))` conversions.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8791>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list