On 8/12/24 8:09 PM, Li, Pan2 wrote:
Isn't this wrong for SImode on rv64? It seems to me the right test is
mode != word_mode?
Assuming that works, it's OK for the trunk.
Thanks Jeff, Simode version of test file doesn't have this issue. Thus, only HI
and QI here.
I will add a new test for SImode in v3 to ensure this.
How specifically is it avoided for SI? ISTM it should have the exact
same problem with a constant like 0x80000000 in SImode on rv64 which is
going to be extended to 0xffffffff80000000.
Jeff