[llvm-commits] [llvm] r171085 - /llvm/trunk/lib/Target/X86/X86InstrSSE.td

Craig Topper craig.topper at gmail.com
Tue Dec 25 19:48:10 PST 2012


Author: ctopper
Date: Tue Dec 25 21:48:10 2012
New Revision: 171085

URL: http://llvm.org/viewvc/llvm-project?rev=171085&view=rev
Log:
Mark VANDNPD/VANDNPDS as not commutable.

Modified:
    llvm/trunk/lib/Target/X86/X86InstrSSE.td

Modified: llvm/trunk/lib/Target/X86/X86InstrSSE.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrSSE.td?rev=171085&r1=171084&r2=171085&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrSSE.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrSSE.td Tue Dec 25 21:48:10 2012
@@ -2812,7 +2812,8 @@
 defm VAND  : sse12_fp_packed_logical_y<0x54, "and", and>;
 defm VOR   : sse12_fp_packed_logical_y<0x56, "or", or>;
 defm VXOR  : sse12_fp_packed_logical_y<0x57, "xor", xor>;
-defm VANDN : sse12_fp_packed_logical_y<0x55, "andn", X86andnp>;
+let isCommutable = 0 in
+  defm VANDN : sse12_fp_packed_logical_y<0x55, "andn", X86andnp>;
 
 defm AND  : sse12_fp_packed_logical<0x54, "and", and>;
 defm OR   : sse12_fp_packed_logical<0x56, "or", or>;





More information about the llvm-commits mailing list