diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-09-13 01:35:33 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-13 01:35:33 +0000 |
commit | 05fc9664018f867b2184589e8a04cc8f056cfa16 (patch) | |
tree | 4e2421e5647825cd5fdec90ce3210ac55c19628e /lib/Target/ARM/ARMInstrInfo.h | |
parent | 55375a44f97dfb4b396d5fdc1f60f967e1553d8e (diff) | |
download | external_llvm-05fc9664018f867b2184589e8a04cc8f056cfa16.zip external_llvm-05fc9664018f867b2184589e8a04cc8f056cfa16.tar.gz external_llvm-05fc9664018f867b2184589e8a04cc8f056cfa16.tar.bz2 |
Revert 56176. All those instruction formats are still needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56180 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.h | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h index 55f443a..0b27bfb 100644 --- a/lib/Target/ARM/ARMInstrInfo.h +++ b/lib/Target/ARM/ARMInstrInfo.h @@ -82,21 +82,35 @@ namespace ARMII { BranchMisc = 8 << FormShift, // Data Processing instructions - UnaryFrm = 9 << FormShift, - BinaryFrm = 10 << FormShift, + DPRdIm = 9 << FormShift, + DPRdReg = 10 << FormShift, + DPRdSoReg = 11 << FormShift, + DPRdMisc = 12 << FormShift, + + DPRnIm = 13 << FormShift, + DPRnReg = 14 << FormShift, + DPRnSoReg = 15 << FormShift, + + DPRIm = 16 << FormShift, + DPRReg = 17 << FormShift, + DPRSoReg = 18 << FormShift, + + DPRImS = 19 << FormShift, + DPRRegS = 20 << FormShift, + DPRSoRegS = 21 << FormShift, // Load and Store - LdFrm = 11 << FormShift, - StFrm = 12 << FormShift, + LdFrm = 22 << FormShift, + StFrm = 23 << FormShift, // Miscellaneous arithmetic instructions - ArithMisc = 13 << FormShift, + ArithMisc = 24 << FormShift, // Thumb format - ThumbFrm = 14 << FormShift, + ThumbFrm = 25 << FormShift, // VFP format - VPFFrm = 15 << FormShift, + VPFFrm = 26 << FormShift, // Field shifts - such shifts are used to set field while generating // machine instructions. @@ -104,8 +118,10 @@ namespace ARMII { RegRsShift = 8, RegRdShift = 12, RegRnShift = 16, + L_BitShift = 20, S_BitShift = 20, U_BitShift = 23, + IndexShift = 24, I_BitShift = 25 }; } |