diff options
| author | Alex Bradbury <asb@lowrisc.org> | 2018-11-30 13:39:17 +0000 |
|---|---|---|
| committer | Alex Bradbury <asb@lowrisc.org> | 2018-11-30 13:39:17 +0000 |
| commit | 26403def69f72c7938889c1902d62121095b93d7 (patch) | |
| tree | c9f4b11365acabe8cf237ff3cb83d335e0a40ad8 /llvm/lib/Analysis/IVDescriptors.cpp | |
| parent | ebf787b138841056ac1c4c2130f35420dfed22f4 (diff) | |
| download | bcm5719-llvm-26403def69f72c7938889c1902d62121095b93d7.tar.gz bcm5719-llvm-26403def69f72c7938889c1902d62121095b93d7.zip | |
[RISCV] Add UNIMP instruction (32- and 16-bit forms)
This patch adds support for UNIMP in both 32- and 16-bit forms. The 32-bit
form can be seen as a variant of the ECALL/EBREAK/etc. family of instructions.
The 16-bit form is just all zeroes, which isn't a valid RISC-V instruction,
but still follows the 16-bit instruction form (i.e. bits 0-1 != 11).
Until recently unimp was undocumented and supported just by binutils, which
printed unimp for either the 16 or 32-bit form. Both forms are now documented
<https://github.com/riscv/riscv-asm-manual/pull/20> and binutils now supports
c.unimp <https://sourceware.org/ml/binutils-cvs/2018-11/msg00179.html>.
Differential Revision: https://reviews.llvm.org/D54316
Patch by Luís Marques.
llvm-svn: 347988
Diffstat (limited to 'llvm/lib/Analysis/IVDescriptors.cpp')
0 files changed, 0 insertions, 0 deletions

