aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/XCoreInstrInfo.td
diff options
context:
space:
mode:
authorRichard Osborne <richard@xmos.com>2013-01-23 20:08:11 +0000
committerRichard Osborne <richard@xmos.com>2013-01-23 20:08:11 +0000
commit9e6a5a37460ff82ad4e3a7aea1c45e2c934ab25b (patch)
tree5f3a9a240ddfcaccfa821857f2872af82ffa0f3b /lib/Target/XCore/XCoreInstrInfo.td
parentb09350d9a5639f55c46659b30be12a0c938378ab (diff)
downloadexternal_llvm-9e6a5a37460ff82ad4e3a7aea1c45e2c934ab25b.zip
external_llvm-9e6a5a37460ff82ad4e3a7aea1c45e2c934ab25b.tar.gz
external_llvm-9e6a5a37460ff82ad4e3a7aea1c45e2c934ab25b.tar.bz2
Add instruction encodings / disassembly support for l6r instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreInstrInfo.td')
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.td9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/XCore/XCoreInstrInfo.td b/lib/Target/XCore/XCoreInstrInfo.td
index d193b45..65dbaef 100644
--- a/lib/Target/XCore/XCoreInstrInfo.td
+++ b/lib/Target/XCore/XCoreInstrInfo.td
@@ -502,11 +502,10 @@ def LDIV_l5r : _L5R<(outs GRRegs:$dst1, GRRegs:$dst2),
// Six operand long
-def LMUL_l6r : _L6R<(outs GRRegs:$dst1, GRRegs:$dst2),
- (ins GRRegs:$src1, GRRegs:$src2, GRRegs:$src3,
- GRRegs:$src4),
- "lmul $dst1, $dst2, $src1, $src2, $src3, $src4",
- []>;
+def LMUL_l6r : _FL6R<
+ 0b00000, (outs GRRegs:$dst1, GRRegs:$dst2),
+ (ins GRRegs:$src1, GRRegs:$src2, GRRegs:$src3, GRRegs:$src4),
+ "lmul $dst1, $dst2, $src1, $src2, $src3, $src4", []>;
// Register - U6