diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-06 22:15:19 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-06 22:15:19 +0000 |
commit | 97f48c39fd158ad1a701002e2d6798c4b4ae4ab8 (patch) | |
tree | 3225b4249a1ce79a2ac775706984afe172777e2b /lib/Target/ARM/ARMInstrInfo.h | |
parent | e187726208f839691afca88bce8b2d6fe4d5bcbb (diff) | |
download | external_llvm-97f48c39fd158ad1a701002e2d6798c4b4ae4ab8.zip external_llvm-97f48c39fd158ad1a701002e2d6798c4b4ae4ab8.tar.gz external_llvm-97f48c39fd158ad1a701002e2d6798c4b4ae4ab8.tar.bz2 |
Encode extend instructions; more clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58818 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.h | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h index c2eb54c..22fe379 100644 --- a/lib/Target/ARM/ARMInstrInfo.h +++ b/lib/Target/ARM/ARMInstrInfo.h @@ -95,28 +95,34 @@ namespace ARMII { StMulFrm = 12 << FormShift, // Miscellaneous arithmetic instructions - ArithMisc = 13 << FormShift, + ArithMiscFrm= 13 << FormShift, + + // Extend instructions + ExtFrm = 14 << FormShift, // Thumb format - ThumbFrm = 14 << FormShift, + ThumbFrm = 15 << FormShift, // VFP format - VPFFrm = 15 << FormShift, + VPFFrm = 16 << FormShift, //===------------------------------------------------------------------===// // Field shifts - such shifts are used to set field while generating // machine instructions. - RotImmShift = 8, - RegRsShift = 8, - RegRdLoShift = 12, - RegRdShift = 12, - RegRdHiShift = 16, - RegRnShift = 16, - L_BitShift = 20, - S_BitShift = 20, - U_BitShift = 23, - IndexShift = 24, - I_BitShift = 25 + SoRotImmShift = 8, + RegRsShift = 8, + ExtRotImmShift = 10, + RegRdLoShift = 12, + RegRdShift = 12, + RegRdHiShift = 16, + RegRnShift = 16, + S_BitShift = 20, + W_BitShift = 21, + AM3_I_BitShift = 22, + U_BitShift = 23, + P_BitShift = 24, + I_BitShift = 25, + CondShift = 28 }; } |