On Fri, Mar 11, 2022 at 01:07:29AM -0500, Michael Meissner wrote: > Fix DImode to TImode sign extend issue, PR target/104898
> When I wrote the extendditi2 pattern, I forgot that mtvsrdd had that > behavior so I used a 'r' constraint instead of 'b'. In the rare case > where the value is in GPR register 0, this split will fail. Note that the machine instructions it would generate would work fine: mtvsrdd X,0,Y can be used as a "mtvsrld" always. In fact, generating such code would be better than mtvsrdd always here. Do you want to try that? If not, this is okay for trunk. Thanks! Segher