Patch to allow (v)pclmulqdq to be commuted - swaps the src registers and inverts the immediate (low/high) src mask.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rL LLVM
 
Paths 
  |  Differential  D7180  
[X86][PCLMUL] Enable commutation for PCLMUL instructions ClosedPublic Authored by RKSimon on Jan 26 2015, 10:02 AM. 
Details Summary Patch to allow (v)pclmulqdq to be commuted - swaps the src registers and inverts the immediate (low/high) src mask. 
Diff Detail 
 Event TimelineRKSimon updated this object. This revision is now accepted and ready to land.Jan 26 2015, 11:34 AM Closed by commit rL227141: [X86][PCLMUL] Enable commutation for PCLMUL instructions (authored by RKSimon).  ·  Explain WhyJan 26 2015, 2:01 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 18786 llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
 llvm/trunk/lib/Target/X86/X86InstrSSE.td
 
 llvm/trunk/test/CodeGen/X86/commute-clmul.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||