fitzgen opened PR #7093 from fitzgen:commutative-avx-instruction-encoding
to bytecodealliance:main
:
For
XmmRmiRVex
-format instructions, when the opcode is commutative, the first operand is one of xmm{0..7}, and the second operand is one of xmm{8..15}, then we can swap the operands to save a byte on instruction encoding.Note for the reviewer: it would be good to double check the opcodes that I've marked as commutative. I went through each of them, but getting a second pair of eyes on this would be very appreciated.
<!--
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
-->
fitzgen requested abrown for a review on PR #7093.
fitzgen requested wasmtime-compiler-reviewers for a review on PR #7093.
alexcrichton submitted PR review.
alexcrichton merged PR #7093.
Last updated: Dec 23 2024 at 13:07 UTC