[PATCH] [X86][XOP] Add support for the matching of the VPCMOV bit select instruction

Simon Pilgrim llvm-dev at redking.me.uk
Mon Apr 6 08:06:50 PDT 2015


Hi craig.topper, andreadb, spatel,

XOP has the VPCMOV instruction that performs the common vector bit select operation OR( AND( SRC1, SRC3 ), AND( SRC2, ~SRC3 ) )

This patch adds tablegen pattern matching for this instruction.

If there is interest we could later remove much of the int_x86_xop_vpcmov intrinsic code and use this instead.

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8841

Files:
  lib/Target/X86/X86InstrXOP.td
  test/CodeGen/X86/xop-pcmov.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8841.23273.patch
Type: text/x-patch
Size: 6824 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150406/e22e7d37/attachment.bin>


More information about the llvm-commits mailing list