summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMInstrFormats.td
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-03-26 01:07:59 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-03-26 01:07:59 +0000
commit5d4e917d9ffe396a5c58abb2a8e5302e43822f9c (patch)
tree9a03a093257f795c07a24a5b832d987111d99377 /llvm/lib/Target/ARM/ARMInstrFormats.td
parentbfd38abbed793bfc19da0a130af6d6ce27153554 (diff)
downloadbcm5719-llvm-5d4e917d9ffe396a5c58abb2a8e5302e43822f9c.tar.gz
bcm5719-llvm-5d4e917d9ffe396a5c58abb2a8e5302e43822f9c.zip
Add N2RegVShLFrm and N2RegVShRFrm formats so that the disassembler can easily
dispatch to the appropriate routines to handle the different interpretations of the shift amount encoded in the imm6 field. The Vd, Vm fields are interpreted the same between the two, though. See, for example, A8.6.367 VQSHL, VQSHLU (immediate) for N2RegVShLFrm format and A8.6.368 VQSHRN, VQSHRUN for N2RegVShRFrm format. llvm-svn: 99590
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrFormats.td')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrFormats.td2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrFormats.td b/llvm/lib/Target/ARM/ARMInstrFormats.td
index 0dbfaf29f17..1320bb4dca2 100644
--- a/llvm/lib/Target/ARM/ARMInstrFormats.td
+++ b/llvm/lib/Target/ARM/ARMInstrFormats.td
@@ -64,6 +64,8 @@ def N1RegModImmFrm : Format<32>;
def N2RegFrm : Format<33>;
def NVCVTFrm : Format<34>;
def NVDupLnFrm : Format<35>;
+def N2RegVShLFrm : Format<36>;
+def N2RegVShRFrm : Format<37>;
// Misc flags.
OpenPOWER on IntegriCloud