bjorn3 opened PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
This doesn't match the actually emitted code. The actual code uses
sub
for large negative offsets, while this shows add. This is because I usedmem_finalize_for_show
in the printing code, but manually emitted the right instructions inemit.rs
. Also themem_finalize
code should probably optimize this to asub
of the absolute value of the offset when the offset is negative.
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Fixed
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bnjbvr requested cfallin for a review on PR #1522.
cfallin submitted PR Review.
cfallin submitted PR Review.
cfallin created PR Review Comment:
Eventually I'd like to figure out a way to factor out the shared logic between
emit()
andshow_rru()
for the pseudo-instructions that lower to real instructions, without going back to the expensive edit-in-place-to-legalize paradigm; but for now this is OK, I think.
cfallin created PR Review Comment:
This is fine, but maybe expand the comment a bit to explain (AArch64 backend uses inline constants rather than a separate constant pool for now; we don't want to show these in the disassembly).
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
we don't want to show these in the disassembly
This actually makes them show up as
.byte
directives. Before the function was truncated to just before the inline constant. I expanded the comment.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Yeah, it would be nice to share this.
cfallin submitted PR Review.
cfallin submitted PR Review.
cfallin created PR Review Comment:
spelling nit: s/inlie/inline/
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
bjorn3 submitted PR Review.
bjorn3 created PR Review Comment:
Fixed
bjorn3 updated PR #1522 from aarch64-stack_addr
to master
:
This includes both https://github.com/cfallin/wasmtime/pull/11 and https://github.com/cfallin/wasmtime/pull/12.
cfallin merged PR #1522.
Last updated: Nov 22 2024 at 16:03 UTC