Stream: git-wasmtime

Topic: wasmtime / PR #8695 riscv64: Initial support for ZiCond E...


view this post on Zulip Wasmtime GitHub notifications bot (May 27 2024 at 11:09):

afonso360 opened PR #8695 from afonso360:riscv-zicond to bytecodealliance:main:

:wave: Hey,

This PR adds support for the ZiCond: Integer Conditional Operations (Chapter 12 of the Unprivileged RISC-V ISA Manual).

This extension adds two instructions that either zero a register, or move one of the arguments, depending on a condition register.

It doesn't include a full conditional move of two registers, but that is implemented by combining both of the instructions above.

The ISA manual also suggests some interesting instruction sequences for conditional add/sub/and/or/etc... that only contain two instructions.

This PR only implements the base cases. The direct lowerings of the instructions, as well as the full conditional move of two registers. I'm planning on implementing the other sequences at a later date.

view this post on Zulip Wasmtime GitHub notifications bot (May 27 2024 at 11:09):

afonso360 requested wasmtime-default-reviewers for a review on PR #8695.

view this post on Zulip Wasmtime GitHub notifications bot (May 27 2024 at 11:09):

afonso360 requested wasmtime-compiler-reviewers for a review on PR #8695.

view this post on Zulip Wasmtime GitHub notifications bot (May 27 2024 at 11:09):

afonso360 requested fitzgen for a review on PR #8695.


Last updated: Dec 23 2024 at 13:07 UTC