abrown opened PR #10237 from abrown:assembler-alurmir-again
to bytecodealliance:main
:
This adds DSL definitions in the assembler _and_ uses the new instructions for ISLE lowering for the following instructions:
add
adc
or
sub
sbb
xor
The original
AluRmiROpcode
variants are not yet gone; perhaps in a future pass.<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
abrown requested cfallin for a review on PR #10237.
abrown requested wasmtime-compiler-reviewers for a review on PR #10237.
abrown updated PR #10237.
cfallin submitted PR review:
Looks good, thanks!
cfallin created PR review comment:
Should we
assert_eq!(rex.digit, None)
here?
abrown submitted PR review.
abrown created PR review comment:
Yeah, good point.
abrown updated PR #10237.
abrown requested dicej for a review on PR #10237.
abrown updated PR #10237.
abrown requested wasmtime-core-reviewers for a review on PR #10237.
abrown commented on PR #10237:
@cfallin, you might want to take another glance at 9b8aecb; it looks like we're emitting a slightly longer encoding somewhere? Not sure if that's ok...
abrown requested cfallin for a review on PR #10237.
abrown updated PR #10237.
abrown commented on PR #10237:
Ok, looking into this more, we had some extra 8-bit lowering rules up in
cranelift-codegen
that I hadn't ported to the new assembler--no new instructions needed, just some extra ISLE rules. This undoes any extra bytes added in prior disassembly tests and should match what we had incranelift-codegen
previously.
abrown edited a comment on PR #10237:
Ok, looking into this more, we had some extra 8-bit lowering rules up in
cranelift-codegen
that I hadn't ported to the new assembler--no new instructions needed, just some extra ISLE rules. aec34e1 undoes any extra bytes added in prior disassembly tests and should match what we had incranelift-codegen
previously.
cfallin commented on PR #10237:
Updates look good -- thanks for tracking down that divergence!
cfallin merged PR #10237.
Last updated: Feb 28 2025 at 03:10 UTC