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 | 49d665218c06e24bbb7e082f4bcf55d06e231408 (patch) | |
tree | 647c348e86b50a4c364e45ba334f706dac99e958 /llvm/lib/Target/ARM/ARMInstrInfo.h | |
parent | 11d0c4c0985fc37a844c0c3033db9f49291e2e1f (diff) | |
download | bcm5719-llvm-49d665218c06e24bbb7e082f4bcf55d06e231408.tar.gz bcm5719-llvm-49d665218c06e24bbb7e082f4bcf55d06e231408.zip |
Encode extend instructions; more clean up.
llvm-svn: 58818
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.h | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.h b/llvm/lib/Target/ARM/ARMInstrInfo.h index c2eb54c8b62..22fe3796597 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.h +++ b/llvm/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 }; } |