afonso360 opened PR #7146 from afonso360:riscv-zbb-min-max to bytecodealliance:main:
:wave: Hey,
This PR is a follow up to #7145 and adds suport for the
min{,u}andmax{,u}instructions available in theZbbextension. We had these implemented in our emit layer, but they were never used in ISLE. Onlymaxas part of theiabslowering.These instructions are now implemented in
gen_select_xregwhere they have a greater chance of being selected.
afonso360 requested fitzgen for a review on PR #7146.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #7146.
alexcrichton submitted PR review:
Nice!
Oddly enough I was also poking at this last night, but I like how it fits well into
gen_select_xreghere. :+1:
afonso360 updated PR #7146.
afonso360 has enabled auto merge for PR #7146.
afonso360 merged PR #7146.
Last updated: Dec 06 2025 at 06:05 UTC