[PATCH] D68025: [MC][ARM] vscclrm disassembles as vldmia
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 01:22:46 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373052: [MC][ARM] vscclrm disassembles as vldmia (authored by alelab01, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D68025?vs=221977&id=222095#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68025/new/
https://reviews.llvm.org/D68025
Files:
llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
llvm/trunk/test/MC/ARM/vscclrm-asm.s
llvm/trunk/test/MC/Disassembler/ARM/vscclrm.txt
Index: llvm/trunk/test/MC/ARM/vscclrm-asm.s
===================================================================
--- llvm/trunk/test/MC/ARM/vscclrm-asm.s
+++ llvm/trunk/test/MC/ARM/vscclrm-asm.s
@@ -1,6 +1,9 @@
// RUN: not llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext -show-encoding < %s 2>%t \
// RUN: | FileCheck --check-prefix=CHECK %s
// RUN: FileCheck --check-prefix=ERROR < %t %s
+// RUN: not llvm-mc -triple=thumbv8.1m.main-none-eabi -mattr=+mve.fp,+8msecext -show-encoding < %s 2>%t \
+// RUN: | FileCheck --check-prefix=CHECK %s
+// RUN: FileCheck --check-prefix=ERROR < %t %s
// RUN: not llvm-mc -triple=thumbv8.1m.main-arm-none-eabi -mattr=-8msecext < %s 2>%t
// RUN: FileCheck --check-prefix=NOSEC < %t %s
@@ -21,6 +24,9 @@
// CHECK: vscclrm {d0, d1, vpr} @ encoding: [0x9f,0xec,0x04,0x0b]
vscclrm {d0-d1, vpr}
+// CHECK: vscclrm {d0, d1, d2, d3, vpr} @ encoding: [0x9f,0xec,0x08,0x0b]
+vscclrm {d0-d3, vpr}
+
// CHECK: vscclrm {d5, d6, d7, vpr} @ encoding: [0x9f,0xec,0x06,0x5b]
vscclrm {d5-d7, vpr}
Index: llvm/trunk/test/MC/Disassembler/ARM/vscclrm.txt
===================================================================
--- llvm/trunk/test/MC/Disassembler/ARM/vscclrm.txt
+++ llvm/trunk/test/MC/Disassembler/ARM/vscclrm.txt
@@ -1,5 +1,5 @@
# RUN: llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -mattr=+8msecext -show-encoding %s 2>&1 | FileCheck %s
-
+# RUN: llvm-mc -disassemble -triple=thumbv8.1m.main-none-eabi -mattr=+mve.fp,+8msecext -show-encoding %s 2>&1 | FileCheck %s
[0x9f 0xec 0x04 0x0a]
# CHECK: vscclrm {s0, s1, s2, s3, vpr}
@@ -16,6 +16,9 @@
[0x9f,0xec,0x04,0x0b]
# CHECK: vscclrm {d0, d1, vpr} @ encoding: [0x9f,0xec,0x04,0x0b]
+[0x9f,0xec,0x08,0x0b]
+# CHECK: vscclrm {d0, d1, d2, d3, vpr} @ encoding: [0x9f,0xec,0x08,0x0b]
+
[0x9f,0xec,0x06,0x5b]
# CHECK: vscclrm {d5, d6, d7, vpr} @ encoding: [0x9f,0xec,0x06,0x5b]
Index: llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
===================================================================
--- llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
+++ llvm/trunk/lib/Target/ARM/ARMInstrVFP.td
@@ -2618,7 +2618,8 @@
let Inst{21-16} = 0b011111;
let Inst{15-12} = regs{11-8};
let Inst{11-8} = 0b1011;
- let Inst{7-0} = regs{7-0};
+ let Inst{7-1} = regs{7-1};
+ let Inst{0} = 0;
let DecoderMethod = "DecodeVSCCLRM";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68025.222095.patch
Type: text/x-patch
Size: 2418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190927/593b805a/attachment.bin>
More information about the llvm-commits
mailing list