Skip to content

aarch64: Implement scalar ueq and one comparisons#13324

Open
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:aarch64-one-ueq
Open

aarch64: Implement scalar ueq and one comparisons#13324
alexcrichton wants to merge 1 commit intobytecodealliance:mainfrom
alexcrichton:aarch64-one-ueq

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

This fills out an unimplemented!() block in the aarch64 backed for the UnorderedOrEqual and OrderedNotEqual float comparisons. These aren't reachable from WebAssembly and are not as trivial as other orderings to implement, but with the refactoring in #13315 the implementation isn't too hairy. The lowerings are sub-optimal for brif, trapnz* and select but they should at least work now. Notes are left for where the lowerings can be improved, and disassembly/runtests were added for many pieces here.

This fills out an `unimplemented!()` block in the aarch64 backed for the
`UnorderedOrEqual` and `OrderedNotEqual` float comparisons. These aren't
reachable from WebAssembly and are not as trivial as other orderings to
implement, but with the refactoring in bytecodealliance#13315 the implementation isn't
too hairy. The lowerings are sub-optimal for `brif`, `trapnz*` and
`select` but they should at least work now. Notes are left for where the
lowerings can be improved, and disassembly/runtests were added for many
pieces here.
@alexcrichton alexcrichton requested a review from a team as a code owner May 8, 2026 03:53
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team May 8, 2026 03:53
@github-actions github-actions Bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. isle Related to the ISLE domain-specific language labels May 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Subscribe to Label Action

cc @cfallin, @fitzgen

Details This issue or pull request has been labeled: "cranelift", "cranelift:area:aarch64", "isle"

Thus the following users have been cc'd because of the following labels:

  • cfallin: isle
  • fitzgen: isle

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift:area:aarch64 Issues related to AArch64 backend. cranelift Issues related to the Cranelift code generator isle Related to the ISLE domain-specific language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant