Re: GCN: Fix 'real_from_integer' usage (was: [committed, amdgcn] Zero-initialise masked load destinations)

2024-12-06 Thread Thomas Schwinge
Hi Andrew! On 2024-12-05T15:14:45+0100, I wrote: > On 2020-01-31T11:20:14+, Andrew Stubbs wrote: >> This is one of those things I don't know why we didn't notice sooner. > > ..., and here's another thing I don't know why we didn't notice sooner. > ;-P (Category: "don't we all love C++?!") >

GCN: Fix 'real_from_integer' usage (was: [committed, amdgcn] Zero-initialise masked load destinations)

2024-12-05 Thread Thomas Schwinge
Hi! On 2020-01-31T11:20:14+, Andrew Stubbs wrote: > This is one of those things I don't know why we didn't notice sooner. ..., and here's another thing I don't know why we didn't notice sooner. ;-P (Category: "don't we all love C++?!") > [...] > I also needed a convenient way to create 0.0

[committed, amdgcn] Zero-initialise masked load destinations

2020-01-31 Thread Andrew Stubbs
This is one of those things I don't know why we didn't notice sooner. The patch ensures that unused lanes in masked vector loads are zero-initialized, as per the internals manual. This fixes an execution failure in testcase gfortran.dg/assumed_rank_1.f90. When investigating the bug I got confu