This is an archive of the discontinued LLVM Phabricator instance.

[X86][SSE] Use bitmasks instead of shuffles where possible.
ClosedPublic

Authored by RKSimon on Jul 27 2015, 2:29 PM.

Details

Summary

Split off from D11518.

VPAND is a lot faster than VPSHUFB and VPBLENDVB - this patch ensures we attempt to lower to a basic bitmask before lowering to the slower byte shuffle/blend instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon updated this revision to Diff 30738.Jul 27 2015, 2:29 PM
RKSimon retitled this revision from to [X86][SSE] Use bitmasks instead of shuffles where possible..
RKSimon updated this object.
RKSimon added reviewers: chandlerc, qcolombet, andreadb.
RKSimon set the repository for this revision to rL LLVM.
RKSimon added a subscriber: llvm-commits.
chandlerc accepted this revision.Jul 27 2015, 4:10 PM
chandlerc edited edge metadata.

LGTM, very nice!

This revision is now accepted and ready to land.Jul 27 2015, 4:10 PM
This revision was automatically updated to reflect the committed changes.