aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-09-12 23:15:39 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-09-12 23:15:39 +0000
commita964b7dffe89d22569e96f5801886ef347d01b0a (patch)
tree43bce93fd3bd5c0371f0f0ace2ee20a5f67f5ef4 /lib/Target/ARM/ARMInstrInfo.h
parent49a9f2958dadbb1fcdc707ec003a61e9ceef8a4e (diff)
downloadexternal_llvm-a964b7dffe89d22569e96f5801886ef347d01b0a.zip
external_llvm-a964b7dffe89d22569e96f5801886ef347d01b0a.tar.gz
external_llvm-a964b7dffe89d22569e96f5801886ef347d01b0a.tar.bz2
Eliminate unnecessary instruction formats.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.h30
1 files changed, 7 insertions, 23 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h
index 0b27bfb..55f443a 100644
--- a/lib/Target/ARM/ARMInstrInfo.h
+++ b/lib/Target/ARM/ARMInstrInfo.h
@@ -82,35 +82,21 @@ namespace ARMII {
BranchMisc = 8 << FormShift,
// Data Processing instructions
- 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,
+ UnaryFrm = 9 << FormShift,
+ BinaryFrm = 10 << FormShift,
// Load and Store
- LdFrm = 22 << FormShift,
- StFrm = 23 << FormShift,
+ LdFrm = 11 << FormShift,
+ StFrm = 12 << FormShift,
// Miscellaneous arithmetic instructions
- ArithMisc = 24 << FormShift,
+ ArithMisc = 13 << FormShift,
// Thumb format
- ThumbFrm = 25 << FormShift,
+ ThumbFrm = 14 << FormShift,
// VFP format
- VPFFrm = 26 << FormShift,
+ VPFFrm = 15 << FormShift,
// Field shifts - such shifts are used to set field while generating
// machine instructions.
@@ -118,10 +104,8 @@ namespace ARMII {
RegRsShift = 8,
RegRdShift = 12,
RegRnShift = 16,
- L_BitShift = 20,
S_BitShift = 20,
U_BitShift = 23,
- IndexShift = 24,
I_BitShift = 25
};
}