diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-25 22:10:43 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-25 22:10:43 +0000 |
commit | fdd0837448d756becf88da6c6a632c03a637ba57 (patch) | |
tree | 637248406127304d5bedeaf3b3d809036fb3d48e | |
parent | 2fe1259d0ab75fdc49bc368cfa62f3260dc3a2df (diff) | |
download | external_llvm-fdd0837448d756becf88da6c6a632c03a637ba57.zip external_llvm-fdd0837448d756becf88da6c6a632c03a637ba57.tar.gz external_llvm-fdd0837448d756becf88da6c6a632c03a637ba57.tar.bz2 |
Missing load / store folding entries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42323 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/X86/X86RegisterInfo.cpp | 8 |
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 }, |