[GHC] #14746: Provide PDEP and PEXT instructions

#14746: Provide PDEP and PEXT instructions -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature | Status: new request | Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The PDEP (parallel bit deposit) and PEXT (parallel bit extract) instructions are super cool and could be very naturally expressed in GHC as: {{{ packedBitDeposit :: Word# -> Word# -> Word# packedBitExtract :: Word# -> Word# -> Word# }}} I requesting that these be added to GHC.Prim (or more accurately, I'm requesting approval for these be added to GHC.Prim, by me or by any other interested party, possibly at a more distant point in the future). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14746 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14746: Provide PDEP and PEXT instructions -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by alexbiehl): Andrew, these are already in GHC-HEAD: https://github.com/ghc/ghc/commit/f855769690eb998ea25818ee794714957852af48 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14746#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14746: Provide PDEP and PEXT instructions -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by andrewthad): My phone lacks an emoji smiling big enough to express how I feel. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14746#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14746: Provide PDEP and PEXT instructions -------------------------------------+------------------------------------- Reporter: andrewthad | Owner: (none) Type: feature request | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by andrewthad): * status: new => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14746#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC