This is an archive of the discontinued LLVM Phabricator instance.

[X86][XOP] Enable commutation for XOP instructions
ClosedPublic

Authored by RKSimon on Feb 14 2015, 1:23 PM.

Details

Summary

Patch to allow XOP instructions (integer comparison and integer multiply-add) to be commuted. The comparison instructions sometimes require the compare mode to be flipped but the remaining instructions can use default commutation modes.

This patch also sets the SSE domains of all the XOP instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon updated this revision to Diff 19972.Feb 14 2015, 1:23 PM
RKSimon retitled this revision from to [X86][XOP] Enable commutation for XOP instructions.
RKSimon updated this object.
RKSimon edited the test plan for this revision. (Show Details)
RKSimon set the repository for this revision to rL LLVM.
RKSimon added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.

Thanks Craig