aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/X86RegisterInfo.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.cpp b/lib/Target/X86/X86RegisterInfo.cpp
index 08d88ac..f7cd84f 100644
--- a/lib/Target/X86/X86RegisterInfo.cpp
+++ b/lib/Target/X86/X86RegisterInfo.cpp
@@ -700,6 +700,10 @@ X86RegisterInfo::foldMemoryOperand(MachineInstr *MI, unsigned i,
{ X86::NEW_SETNSr, X86::NEW_SETNSm },
{ X86::NEW_SETPr, X86::NEW_SETPm },
{ X86::NEW_SETSr, X86::NEW_SETSm },
+ { X86::NEW_TEST16ri,X86::NEW_TEST16mi },
+ { X86::NEW_TEST32ri,X86::NEW_TEST32mi },
+ { X86::NEW_TEST64ri32, X86::NEW_TEST64mi32 },
+ { X86::NEW_TEST8ri, X86::NEW_TEST8mi },
{ X86::SETAEr, X86::SETAEm },
{ X86::SETAr, X86::SETAm },
@@ -813,6 +817,10 @@ X86RegisterInfo::foldMemoryOperand(MachineInstr *MI, unsigned i,
{ X86::MOVZX64rr8, X86::MOVZX64rm8 },
// TEMPORARY
+ { X86::NEW_CMP16rr, X86::NEW_CMP16rm },
+ { X86::NEW_CMP32rr, X86::NEW_CMP32rm },
+ { X86::NEW_CMP64rr, X86::NEW_CMP64rm },
+ { X86::NEW_CMP8rr, X86::NEW_CMP8rm },
{ X86::NEW_Int_COMISDrr, X86::NEW_Int_COMISDrm },
{ X86::NEW_Int_COMISSrr, X86::NEW_Int_COMISSrm },
{ X86::NEW_Int_UCOMISDrr, X86::NEW_Int_UCOMISDrm },