Re: [committed] amdgcn: use unsigned extend for lshiftrt

2020-06-15 Thread Andrew Stubbs
On 15/05/2020 11:37, Andrew Stubbs wrote: This patch fixes a bug in which 8 and 16-bit vector shifts used the wrong kind of extend, thus causing wrong results.  It was simply a thinko in the insn code, so easily fixed. This is now back-ported to releases/gcc-10. Andrew

[committed] amdgcn: use unsigned extend for lshiftrt

2020-05-15 Thread Andrew Stubbs
This patch fixes a bug in which 8 and 16-bit vector shifts used the wrong kind of extend, thus causing wrong results. It was simply a thinko in the insn code, so easily fixed. Andrew P.S. Apologies for the "work-in-progress" tag on the commit subject. Obviously that was meant to be removed,