bjorn3 opened Issue #2121:
target x86_64 function u0:0(i8) -> i8 system_v { block0(v0: i8): v1 -> v0 @0001 v2 = icmp_imm.i8 eq v1, 0 @0001 v3 = bint.i8 v2 @0003 return v3 }
thread 'rustc' panicked at 'internal error: entered unreachable code: unexpected extension kind from types::B1 to types::I8', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/8cfff26/cranelift/codegen/src/isa/x64/lower.rs:813:22
abrown labeled Issue #2121:
target x86_64 function u0:0(i8) -> i8 system_v { block0(v0: i8): v1 -> v0 @0001 v2 = icmp_imm.i8 eq v1, 0 @0001 v3 = bint.i8 v2 @0003 return v3 }
thread 'rustc' panicked at 'internal error: entered unreachable code: unexpected extension kind from types::B1 to types::I8', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/8cfff26/cranelift/codegen/src/isa/x64/lower.rs:813:22
abrown labeled Issue #2121:
target x86_64 function u0:0(i8) -> i8 system_v { block0(v0: i8): v1 -> v0 @0001 v2 = icmp_imm.i8 eq v1, 0 @0001 v3 = bint.i8 v2 @0003 return v3 }
thread 'rustc' panicked at 'internal error: entered unreachable code: unexpected extension kind from types::B1 to types::I8', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/8cfff26/cranelift/codegen/src/isa/x64/lower.rs:813:22
github-actions[bot] commented on Issue #2121:
Subscribe to Label Action
cc @bnjbvr
<details>
This issue or pull request has been labeled: "cranelift"Thus the following users have been cc'd because of the following labels:
- bnjbvr: cranelift
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
bnjbvr commented on Issue #2121:
Not sure what the cranelift semantics expect here: should we sign-extend the value in the lowest bit to all the bits? If not, this would just require another arm in this match,
(1, 8) => None
.
bjorn3 commented on Issue #2121:
It should zero-extend.
bint
maps tofalse
to 0 andtrue
to 1.bmask
mapsfalse
to all 0s andtrue
to all 1s.
bjorn3 commented on Issue #2121:
I am currently working on this and other instructions unimplemented by the new x86_64 backend, but implemented by the AArch64 backend.
bnjbvr closed Issue #2121:
target x86_64 function u0:0(i8) -> i8 system_v { block0(v0: i8): v1 -> v0 @0001 v2 = icmp_imm.i8 eq v1, 0 @0001 v3 = bint.i8 v2 @0003 return v3 }
thread 'rustc' panicked at 'internal error: entered unreachable code: unexpected extension kind from types::B1 to types::I8', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/8cfff26/cranelift/codegen/src/isa/x64/lower.rs:813:22
Last updated: Dec 23 2024 at 13:07 UTC