summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-11 02:11:05 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-11 02:11:05 +0000
commit96581d3633edf702b14a60472a1ec5354f327c18 (patch)
tree09c417c5897f1765080629955402cc3b27ce22d9 /lib/Target/ARM/ARMInstrInfo.h
parent35275f499a95b0b7230311cee05d686310310baa (diff)
downloadllvm-96581d3633edf702b14a60472a1ec5354f327c18.tar.gz
llvm-96581d3633edf702b14a60472a1ec5354f327c18.tar.bz2
llvm-96581d3633edf702b14a60472a1ec5354f327c18.tar.xz
Encode VFP arithmetic instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h
index 0a8432ce98..323e6e742a 100644
--- a/lib/Target/ARM/ARMInstrInfo.h
+++ b/lib/Target/ARM/ARMInstrInfo.h
@@ -100,26 +100,33 @@ namespace ARMII {
// Extend instructions
ExtFrm = 14 << FormShift,
- // Thumb format
- ThumbFrm = 15 << FormShift,
+ // VFP formats
+ VPFFrm = 15 << FormShift,
+ VFPUnaryFrm = 16 << FormShift,
+ VFPBinaryFrm = 17 << FormShift,
- // VFP format
- VPFFrm = 16 << FormShift,
+ // Thumb format
+ ThumbFrm = 18 << FormShift,
//===------------------------------------------------------------------===//
// Field shifts - such shifts are used to set field while generating
// machine instructions.
+ M_BitShift = 5,
ShiftShift = 7,
+ N_BitShift = 7,
SoRotImmShift = 8,
RegRsShift = 8,
ExtRotImmShift = 10,
RegRdLoShift = 12,
RegRdShift = 12,
+ RegFdShift = 12,
RegRdHiShift = 16,
RegRnShift = 16,
+ RegFnShift = 16,
S_BitShift = 20,
W_BitShift = 21,
AM3_I_BitShift = 22,
+ D_BitShift = 22,
U_BitShift = 23,
P_BitShift = 24,
I_BitShift = 25,