diff options
author | Andrew Stubbs <ams@baylibre.com> | 2025-08-27 10:11:25 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2025-08-27 17:45:03 -0400 |
commit | bd409f3c12e28e1464dec7fd0d45db30280f1e56 (patch) | |
tree | ff30331873ab9c9fa7b8cec47f461e63e25f5880 /newlib/libc | |
parent | 2934367c3d8096da72cac29e3404333fc2d3152f (diff) | |
download | newlib-bd409f3c12e28e1464dec7fd0d45db30280f1e56.zip newlib-bd409f3c12e28e1464dec7fd0d45db30280f1e56.tar.gz newlib-bd409f3c12e28e1464dec7fd0d45db30280f1e56.tar.bz2 |
amdgcn, libm: fix vector ilogb bugs (bug 33272)
The vector ilogb routines, including the ones inlined into fmod, had a bug
in which the conditional masks were not properly applied, causing the value of
one lane to be affected by conditional choices of another lane. The problem
was not immediately obviously because all values were calculated correctly when
no lane contained a subnormal input.
The problem is fixed by proper use of VECTOR_COND_MOVE and VECTOR_WHILE.
Diffstat (limited to 'newlib/libc')
0 files changed, 0 insertions, 0 deletions