#14206: Add bit deposit and bit extraction primops -------------------------------------+------------------------------------- Reporter: newhoggy | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 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 Ben Gamari <ben@…>): In [changeset:"f5dc8ccc29429d0a1d011f62b6b430f6ae50290c/ghc" f5dc8ccc/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="f5dc8ccc29429d0a1d011f62b6b430f6ae50290c" Add new mbmi and mbmi2 compiler flags This adds support for the bit deposit and extraction operations provided by the BMI and BMI2 instruction set extensions on modern amd64 machines. Test Plan: Validate Reviewers: austin, simonmar, bgamari, hvr, goldfire, erikd Reviewed By: bgamari Subscribers: goldfire, erikd, trommler, newhoggy, rwbarton, thomie GHC Trac Issues: #14206 Differential Revision: https://phabricator.haskell.org/D4063 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14206#comment:8> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler