diff options
author | Brendan Dahl <brendan.dahl@gmail.com> | 2024-09-06 15:37:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-06 15:37:39 -0700 |
commit | 4d58e2770b121e319025196c0cc2622864c47098 (patch) | |
tree | f162c96e1063742cfd154734e87023595164dea2 /.clang-tidy | |
parent | 655eab84019236d02032ceb61570f4f34ee8ac0d (diff) | |
download | binaryen-4d58e2770b121e319025196c0cc2622864c47098.tar.gz binaryen-4d58e2770b121e319025196c0cc2622864c47098.tar.bz2 binaryen-4d58e2770b121e319025196c0cc2622864c47098.zip |
[FP16] Fix replace lane for F16x8. (#6906)
Before this change, replace lane was converting all the F16 lanes to F32
and then replacing one lane with the F16 (I32 representation) value, but
it did not then convert all the other lanes back to F16 (I32). To fix
this we can just leave the lanes as I32 and replace the one lane.
Note: Previous replace lane tests didn't catch this since they started
with vectors with all zeros so the F32->I32 didn't matter. Also, other
operations don't run into this issue since they iterate over all lanes
and convert the F32's back to F16 (I32).
---------
Co-authored-by: Alon Zakai <alonzakai@gmail.com>
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions