riscv64: Codemotion cleanups to ISLE files (#5984)

* riscv64: Fix typo in extensions

* riscv64: Move converters to top of file

* riscv64: Group up all imm12 rules

* riscv64: Move zero_reg helpers to Physical Regs section

* riscv64: Move helpers away from `clz` lowerings

These were in the middle of the `clz` rules and are kind of distracting

* riscv64: Move `cls` rules next to `ctz`/`clz`

* cranelift: Move `u8_and` / `u32_add` to Primitive Arithmetic section

* riscv64: Mark some imm12 constructors as pure

* cranelift: Move `s32_add_fallible` next to `u32_add`

* riscv64: Fix Typo
This commit is contained in:
Afonso Bordado
2023-03-13 19:20:15 +00:00
committed by GitHub
parent b50cf9bb57
commit 5c95e6fbaf
4 changed files with 88 additions and 78 deletions

View File

@@ -36,7 +36,7 @@ fn define_settings(_shared: &SettingGroup) -> SettingGroup {
"Zbc: Carry-less multiplication",
false,
);
let _has_zbx = setting.add_bool(
let _has_zbs = setting.add_bool(
"has_zbs",
"has extension zbs?",
"Zbs: Single-bit instructions",