[PATCH] Fix GCN SIMD libm bug
Corinna Vinschen
vinschen@redhat.com
Tue Mar 25 11:25:00 GMT 2025
On Mar 20 09:32, Andrew Stubbs wrote:
> Since January, GCC has been miscompiling Newlib libm on AMD GCN due to
> undefined behaviour in the RESIZE_VECTOR macro. It was "working" but expanding
> the size of a vector would no longer zero the additional lanes, as it expected.
>
> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119325
> ---
> newlib/libm/machine/amdgcn/amdgcn_veclib.h | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
Pushed.
Thanks,
Corinna
More information about the Newlib
mailing list