Add CMOVcc insns to x86 NCG

Authored by hvr on Aug 11 2014, 5:38 AM.

Description

Add CMOVcc insns to x86 NCG

This is a pre-requisite for implementing count-{leading,trailing}-zero
prim-ops (re Trac #9340) and may be useful to NCG to help turn some code into
branch-less code sequences.

Test Plan: Compiles and validates in combination with clz/ctz primop impl

Reviewers: ezyang, rwbarton, simonmar, austin

Subscribers: simonmar, relrod, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D141

Details

Committed
hvrAug 12 2014, 8:57 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Differential Revision
D141: Add bit scan {forward,reverse} & CMOVcc insns to x86 NCG
Parents
rGHCDIFF3669b60cb0b2: Add bit scan {forward,reverse} insns to x86 NCG
Branches
Unknown
Tags
Unknown