[GHC] #8791: Use new primitive bitwise operations on Int in Data.Bits

#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

#8791: Use new primitive bitwise operations on Int in Data.Bits -------------------------------------+------------------------------------ Reporter: cdk | Owner: Type: task | Status: patch Priority: normal | Milestone: 7.8.1 Component: libraries/base | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: 7689 -------------------------------------+------------------------------------ Changes (by cdk): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8791#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8791: Use new primitive bitwise operations for Int# in Data.Bits -------------------------------------+------------------------------------ Reporter: cdk | Owner: cdk Type: task | Status: patch Priority: normal | Milestone: 7.8.1 Component: libraries/base | Version: 7.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: 7689 -------------------------------------+------------------------------------ Changes (by cdk): * owner: => cdk -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8791#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8791: Use new primitive bitwise operations for Int# in Data.Bits
-------------------------------------+------------------------------------
Reporter: cdk | Owner: cdk
Type: task | Status: patch
Priority: normal | Milestone: 7.8.1
Component: libraries/base | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets: 7689
-------------------------------------+------------------------------------
Comment (by Herbert Valerio Riedel

#8791: Use new primitive bitwise operations for Int# in Data.Bits -------------------------------+------------------------------------------- Reporter: cdk | Owner: cdk Type: feature | Status: merge request | Milestone: 7.8.1 Priority: normal | Version: 7.6.3 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: | Difficulty: Easy (less than 1 hour) Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #7689 Type of failure: | None/Unknown | Test Case: | Blocking: | -------------------------------+------------------------------------------- Changes (by hvr): * status: patch => merge * difficulty: Unknown => Easy (less than 1 hour) * type: task => feature request * related: 7689 => #7689 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8791#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8791: Use new primitive bitwise operations for Int# in Data.Bits -------------------------------+------------------------------------------- Reporter: cdk | Owner: cdk Type: feature | Status: closed request | Milestone: 7.8.1 Priority: normal | Version: 7.6.3 Component: | Keywords: libraries/base | Architecture: Unknown/Multiple Resolution: fixed | Difficulty: Easy (less than 1 hour) Operating System: | Blocked By: Unknown/Multiple | Related Tickets: #7689 Type of failure: | None/Unknown | Test Case: | Blocking: | -------------------------------+------------------------------------------- Changes (by hvr): * status: merge => closed * resolution: => fixed Comment: Merged via [c17729feb11b7992089a8cac540dd999b76557bc/base] -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8791#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC