Skip to content

Cranelift: ishl.i128 with i128 shift amount panics #2727

@bjorn3

Description

@bjorn3

Steps to Reproduce

Try to compile an ishl instruction with an i128 lhs and rhs using the x64 backend.

Expected Results

It compiles.

Actual Results

Panics with thread 'rustc' panicked at 'Multi-register value not expected', /home/bjorn/.cargo/git/checkouts/wasmtime-41807828cb3a7a7e/df6812b/cranelift/codegen/src/isa/x64/lower.rs:128:10

Versions and Environment

Cranelift version or commit: df6812b

Operating system: N/A

Architecture: x86_64

This is similar to #2672 except that the lhs is also i128 in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behavior in the current implementation that needs fixingcraneliftIssues related to the Cranelift code generator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions