diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2019-09-27 08:22:24 +0000 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2019-09-27 08:22:24 +0000 |
commit | c006b6f4cb802310dcece066e324091e80d080a4 (patch) | |
tree | b769372dd8be6bd6f516b8e5581d3f702d0f28f7 /lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables | |
parent | a8d04651ce779d1eb2fe02b3bec2298185971725 (diff) | |
download | bcm5719-llvm-c006b6f4cb802310dcece066e324091e80d080a4.tar.gz bcm5719-llvm-c006b6f4cb802310dcece066e324091e80d080a4.zip |
[MC][ARM] vscclrm disassembles as vldmia
Happens only when the mve.fp subtarget feature is enabled:
$ llvm-mc -triple thumbv8.1m.main -mattr=+mve.fp,+8msecext -disassemble <<< "0x9f,0xec,0x08,0x0b"
.text
vldmia pc, {d0, d1, d2, d3}
$ llvm-mc -triple thumbv8.1m.main -mattr=+8msecext -disassemble <<< "0x9f,0xec,0x08,0x0b"
.text
vscclrm {d0, d1, d2, d3, vpr}
Assembling returns the correct encoding with or without mve.fp:
$ llvm-mc -triple thumbv8.1m.main -mattr=+mve.fp,+8msecext -show-encoding <<< "vscclrm {d0-d3, vpr}"
.text
vscclrm {d0, d1, d2, d3, vpr} @ encoding: [0x9f,0xec,0x08,0x0b]
$ llvm-mc -triple thumbv8.1m.main -mattr=+8msecext -show-encoding <<< "vscclrm {d0-d3, vpr}"
.text
vscclrm {d0, d1, d2, d3, vpr} @ encoding: [0x9f,0xec,0x08,0x0b]
The problem seems to be in the TableGen description of VSCCLRMD.
The least significant bit should be set to zero.
Differential Revision: https://reviews.llvm.org/D68025
llvm-svn: 373052
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/get-variables')
0 files changed, 0 insertions, 0 deletions