diff options
| author | Craig Topper <craig.topper@sifive.com> | 2024-06-27 09:31:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-27 09:31:26 -0700 |
| commit | cad72632eb0d612fe18c38ac4526d80a6b800f96 (patch) | |
| tree | ef332f1e60cb17fb72452654c078ab4a4dbaadc0 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h | |
| parent | 8d237190ecc4ac90865d80dbb11a34c6719b406d (diff) | |
[RISCV] Support zext.h mnemonic with Zbkb. (#96821)
Zbkb adds generic pack insructions. The zext.h encodings from Zbb are
subsets of the generic encodings with rs2=x0. zext.h is pack on RV32 and
packw on RV64.
Previously we only supported zext.h as a single instruction mnemonic in
the assembler when Zbb was enabled. Otherwise we would emit it as 2
shifts. This patches recognizes it when either Zbkb or Zbb is enabled.
This patch also enables the zext.h isel patterns when Zbkb is enabled
without Zbb.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
