[all-commits] [llvm/llvm-project] 2a086d: [RISCV][MC] Add support for hardcode encoding of ....
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Tue Jul 9 09:40:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a086dce691e3cc34a2fc27f4fb255bb2cbbfac9
https://github.com/llvm/llvm-project/commit/2a086dce691e3cc34a2fc27f4fb255bb2cbbfac9
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-07-10 (Wed, 10 Jul 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
M llvm/test/MC/RISCV/insn-invalid.s
M llvm/test/MC/RISCV/insn.s
M llvm/test/MC/RISCV/insn_c-invalid.s
M llvm/test/MC/RISCV/insn_c.s
Log Message:
-----------
[RISCV][MC] Add support for hardcode encoding of .insn directive (#98030)
This patch adds support for the following two hardcode encodings of
.insn directive:
```
.insn <insn-length>, <value>
.insn <value>
```
See also gas's patch
https://github.com/bminor/binutils-gdb/commit/a262b82fdbf4cda3b0648b1adc32245ca3f78b7a
NOTE: This patch doesn't support long instructions.
Closes https://github.com/llvm/llvm-project/issues/97498.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list