Skip to content

Conversation

@theotherjimmy
Copy link

@theotherjimmy theotherjimmy commented Dec 30, 2025

cranelift requires that bitwise operations work across all data types, including floating point. The prior implementation of bitwise operations, xor in this example, would cause a panic with the message:
no rule matched for term aluop_xor

This patch adds lowerings for bitwise operations on floating point registers using the vector instructions and the vector register overlay property of the s390x register file.

Partially addresses Issue #12197

cranelift requires that bitwise operations work across all
data types, including floating point. The prior implementation
of bitwise operations, xor in this example, would cause a panic
 with the message:
    no rule matched for term aluop_xor

This patch adds lowerings for bitwise operations on floating
point registers using the vector instructions and the vector
register overlay property of the s390x register file.
@theotherjimmy theotherjimmy requested a review from a team as a code owner December 30, 2025 15:49
@theotherjimmy theotherjimmy requested review from alexcrichton and removed request for a team December 30, 2025 15:49
@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant