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

Simon Pilgrim llvm-dev at redking.me.uk
Sat Feb 14 13:23:33 PST 2015


Hi craig.topper, qcolombet, andreadb,

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.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7646

Files:
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrXOP.td
  test/CodeGen/X86/commute-xop.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7646.19972.patch
Type: text/x-patch
Size: 22491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150214/e416579f/attachment.bin>


More information about the llvm-commits mailing list