diff options
| author | Craig Topper <craig.topper@sifive.com> | 2021-09-12 13:45:52 -0700 | 
|---|---|---|
| committer | Craig Topper <craig.topper@sifive.com> | 2021-09-12 15:56:12 -0700 | 
| commit | 283879793dc787225992496587581ec77b6b0610 (patch) | |
| tree | 1a56bd61f54616b2824e77cdd648c1aaa5ad3bbb /lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h | |
| parent | 66a0b3464ca8502a6a3b59800f9b31fcd7aa6e97 (diff) | |
| download | llvm-283879793dc787225992496587581ec77b6b0610.zip llvm-283879793dc787225992496587581ec77b6b0610.tar.gz llvm-283879793dc787225992496587581ec77b6b0610.tar.bz2 | |
[RISCV] Initial support .insn directive for the assembler.
This allows for a custom encoding to be emitted. It can also be
used with inline assembly to allow the custom instruction to be
register allocated like other instructions.
I initially started from SystemZ's implementation, but some of
the formats allow operands to be specified in multiple ways so I
had to add support for matching different operand class lists for
the same format. That implementation is a simplified version of
what is emitted by tablegen for regular instructions.
I've left out the compressed formats. And I haven't supported the
named opcodes like LUI or OP_IMM_32. Those can be added in future
patches.
Documentation can be found here https://sourceware.org/binutils/docs-2.37/as/RISC_002dV_002dFormats.html
Reviewed By: jrtc27, MaskRay
Differential Revision: https://reviews.llvm.org/D108602
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h')
0 files changed, 0 insertions, 0 deletions
