forked from OSchip/llvm-project
Renumber LdStExFrm from 28 to 11 and shift the existing format values to make
room for it. This is in preparation for another patch which is adding NEON subformats to facilitate disassembly. llvm-svn: 98967
This commit is contained in:
parent
7dc8722bd3
commit
0dab68f3d0
|
@ -93,34 +93,34 @@ namespace ARMII {
|
|||
StMiscFrm = 9 << FormShift,
|
||||
LdStMulFrm = 10 << FormShift,
|
||||
|
||||
LdStExFrm = 28 << FormShift,
|
||||
LdStExFrm = 11 << FormShift,
|
||||
|
||||
// Miscellaneous arithmetic instructions
|
||||
ArithMiscFrm = 11 << FormShift,
|
||||
ArithMiscFrm = 12 << FormShift,
|
||||
|
||||
// Extend instructions
|
||||
ExtFrm = 12 << FormShift,
|
||||
ExtFrm = 13 << FormShift,
|
||||
|
||||
// VFP formats
|
||||
VFPUnaryFrm = 13 << FormShift,
|
||||
VFPBinaryFrm = 14 << FormShift,
|
||||
VFPConv1Frm = 15 << FormShift,
|
||||
VFPConv2Frm = 16 << FormShift,
|
||||
VFPConv3Frm = 17 << FormShift,
|
||||
VFPConv4Frm = 18 << FormShift,
|
||||
VFPConv5Frm = 19 << FormShift,
|
||||
VFPLdStFrm = 20 << FormShift,
|
||||
VFPLdStMulFrm = 21 << FormShift,
|
||||
VFPMiscFrm = 22 << FormShift,
|
||||
VFPUnaryFrm = 14 << FormShift,
|
||||
VFPBinaryFrm = 15 << FormShift,
|
||||
VFPConv1Frm = 16 << FormShift,
|
||||
VFPConv2Frm = 17 << FormShift,
|
||||
VFPConv3Frm = 18 << FormShift,
|
||||
VFPConv4Frm = 19 << FormShift,
|
||||
VFPConv5Frm = 20 << FormShift,
|
||||
VFPLdStFrm = 21 << FormShift,
|
||||
VFPLdStMulFrm = 22 << FormShift,
|
||||
VFPMiscFrm = 23 << FormShift,
|
||||
|
||||
// Thumb format
|
||||
ThumbFrm = 23 << FormShift,
|
||||
ThumbFrm = 24 << FormShift,
|
||||
|
||||
// NEON format
|
||||
NEONFrm = 24 << FormShift,
|
||||
NEONGetLnFrm = 25 << FormShift,
|
||||
NEONSetLnFrm = 26 << FormShift,
|
||||
NEONDupFrm = 27 << FormShift,
|
||||
NEONFrm = 25 << FormShift,
|
||||
NEONGetLnFrm = 26 << FormShift,
|
||||
NEONSetLnFrm = 27 << FormShift,
|
||||
NEONDupFrm = 28 << FormShift,
|
||||
|
||||
//===------------------------------------------------------------------===//
|
||||
// Misc flags.
|
||||
|
|
|
@ -33,28 +33,28 @@ def LdMiscFrm : Format<8>;
|
|||
def StMiscFrm : Format<9>;
|
||||
def LdStMulFrm : Format<10>;
|
||||
|
||||
def LdStExFrm : Format<28>;
|
||||
def LdStExFrm : Format<11>;
|
||||
|
||||
def ArithMiscFrm : Format<11>;
|
||||
def ExtFrm : Format<12>;
|
||||
def ArithMiscFrm : Format<12>;
|
||||
def ExtFrm : Format<13>;
|
||||
|
||||
def VFPUnaryFrm : Format<13>;
|
||||
def VFPBinaryFrm : Format<14>;
|
||||
def VFPConv1Frm : Format<15>;
|
||||
def VFPConv2Frm : Format<16>;
|
||||
def VFPConv3Frm : Format<17>;
|
||||
def VFPConv4Frm : Format<18>;
|
||||
def VFPConv5Frm : Format<19>;
|
||||
def VFPLdStFrm : Format<20>;
|
||||
def VFPLdStMulFrm : Format<21>;
|
||||
def VFPMiscFrm : Format<22>;
|
||||
def VFPUnaryFrm : Format<14>;
|
||||
def VFPBinaryFrm : Format<15>;
|
||||
def VFPConv1Frm : Format<16>;
|
||||
def VFPConv2Frm : Format<17>;
|
||||
def VFPConv3Frm : Format<18>;
|
||||
def VFPConv4Frm : Format<19>;
|
||||
def VFPConv5Frm : Format<20>;
|
||||
def VFPLdStFrm : Format<21>;
|
||||
def VFPLdStMulFrm : Format<22>;
|
||||
def VFPMiscFrm : Format<23>;
|
||||
|
||||
def ThumbFrm : Format<23>;
|
||||
def ThumbFrm : Format<24>;
|
||||
|
||||
def NEONFrm : Format<24>;
|
||||
def NEONGetLnFrm : Format<25>;
|
||||
def NEONSetLnFrm : Format<26>;
|
||||
def NEONDupFrm : Format<27>;
|
||||
def NEONFrm : Format<25>;
|
||||
def NEONGetLnFrm : Format<26>;
|
||||
def NEONSetLnFrm : Format<27>;
|
||||
def NEONDupFrm : Format<28>;
|
||||
|
||||
def MiscFrm : Format<29>;
|
||||
def ThumbMiscFrm : Format<30>;
|
||||
|
|
Loading…
Reference in New Issue