[GHC] #14206: Add bit deposit and bit extraction primops
GHC
ghc-devs at haskell.org
Mon Jan 22 01:39:31 UTC 2018
#14206: Add bit deposit and bit extraction primops
-------------------------------------+-------------------------------------
Reporter: newhoggy | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 8.2.1
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: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"f855769690eb998ea25818ee794714957852af48/ghc"
f8557696/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="f855769690eb998ea25818ee794714957852af48"
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.
Implement x86 code generator for pdep and pext. Properly initialise
bmiVersion field.
pdep and pext test cases
Fix pattern match for pdep and pext instructions
Fix build of pdep and pext code for 32-bit architectures
Test Plan: Validate
Reviewers: austin, simonmar, bgamari, angerman
Reviewed By: bgamari
Subscribers: trommler, carter, angerman, thomie, rwbarton, newhoggy
GHC Trac Issues: #14206
Differential Revision: https://phabricator.haskell.org/D4236
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14206#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list