
#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