afonso360 requested elliottt for a review on PR #8673.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #8673.
afonso360 opened PR #8673 from afonso360:x64-improve-cls-clz
to bytecodealliance:main
:
:wave: Hey,
This PR slightly improves the lowerings for
clz
andctz
for small types (i8
/i16
) by emitting the native{l,t}zcount
instructions for these. Previously we would never emit them even if available.The first commit just expands our compile tests for these new cases, and the second commit contains the actual lowering changes.
Additionally I've also added the
use_sse42
flag to thepopcnt
runtests since it is required to emit the popcnt instruction.
afonso360 edited PR #8673:
:wave: Hey,
This PR slightly improves the lowerings for
clz
andctz
for some types (i8
/i16
/i128
) by emitting the native{l,t}zcount
instructions for these. Previously we would never emit them even if available.The first commit just expands our compile tests for these new cases, and the second commit contains the actual lowering changes.
Additionally I've also added the
use_sse42
flag to thepopcnt
runtests since it is required to emit the popcnt instruction.
fitzgen submitted PR review:
Nice!
fitzgen has enabled auto merge for PR #8673.
fitzgen has disabled auto merge for PR #8673.
afonso360 updated PR #8673.
fitzgen submitted PR review.
fitzgen merged PR #8673.
Last updated: Dec 23 2024 at 12:05 UTC