summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitac2af2fdb2d7686c7ff79733604bf63772ba53b6 (patch)
tree84201b54fc787be8e0c6e4df27b557a4a803b54a /llvm/lib/Target/ARM/ARMInstrInfo.h
parentdeb7cac332635f550153eeacbf03d05fe1e086de (diff)
downloadbcm5719-llvm-ac2af2fdb2d7686c7ff79733604bf63772ba53b6.tar.gz
bcm5719-llvm-ac2af2fdb2d7686c7ff79733604bf63772ba53b6.zip
Encode VFP arithmetic instructions.
llvm-svn: 59016
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.h b/llvm/lib/Target/ARM/ARMInstrInfo.h
index 0a8432ce985..323e6e742ab 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud