summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-12-26 03:48:10 +0000
committerCraig Topper <craig.topper@gmail.com>2012-12-26 03:48:10 +0000
commit8b597463907e7e41c9cde637c9e309a5128a9703 (patch)
tree441d0d5ed9afa6423d7732025c71729056a9e52a /llvm/lib/Target/X86
parent40aa3285f4de0eade5c430b5206e1eebd2becd59 (diff)
downloadbcm5719-llvm-8b597463907e7e41c9cde637c9e309a5128a9703.tar.gz
bcm5719-llvm-8b597463907e7e41c9cde637c9e309a5128a9703.zip
Mark VANDNPD/VANDNPDS as not commutable.
llvm-svn: 171085
Diffstat (limited to 'llvm/lib/Target/X86')
-rw-r--r--llvm/lib/Target/X86/X86InstrSSE.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSSE.td b/llvm/lib/Target/X86/X86InstrSSE.td
index 69e2b4390f7..330f05d34f8 100644
--- a/llvm/lib/Target/X86/X86InstrSSE.td
+++ b/llvm/lib/Target/X86/X86InstrSSE.td
@@ -2812,7 +2812,8 @@ multiclass sse12_fp_packed_logical_y<bits<8> opc, string OpcodeStr,
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>;
OpenPOWER on IntegriCloud