ISLE: Fix clif.isle InstructionData entries

Attempt to match a Jump instruction in ISLE will currently lead to the
generated files not compiling.  This is because the definition of the
InstructionData enum in clif.isle does not match the actual type used
in Rust code.

Specifically, clif.isle erroneously omits the ValueList variable-length
argument entry if the format does not use a typevar operand.  This is
the case for Jump and a few other formats.  The problem is caused by
a bug in the gen_isle routine in meta/src/gen_inst.rs.
This commit is contained in:
Ulrich Weigand
2022-01-24 12:47:58 +01:00
parent 881c19473d
commit 071d3a68d0
5 changed files with 76 additions and 80 deletions

View File

@@ -1,4 +1,4 @@
src/clif.isle f176ef3bba99365
src/clif.isle 9ea75a6f790b5c03
src/prelude.isle 51d2aef2566c1c96
src/isa/aarch64/inst.isle f946561093de4ff5
src/isa/aarch64/lower.isle 2d2e1e076a0c8a23

View File

@@ -1,4 +1,4 @@
src/clif.isle f176ef3bba99365
src/clif.isle 9ea75a6f790b5c03
src/prelude.isle 51d2aef2566c1c96
src/isa/s390x/inst.isle 63cf833b5cfd727d
src/isa/s390x/lower.isle a0e21a567040bc33

View File

@@ -1,4 +1,4 @@
src/clif.isle f176ef3bba99365
src/clif.isle 9ea75a6f790b5c03
src/prelude.isle 51d2aef2566c1c96
src/isa/x64/inst.isle 61004acbb1289816
src/isa/x64/lower.isle 82db7f7d47ac7809