https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Xi Ruoyao from comment #9)
> The test case has caught a bug on LoongArch:  

Looks like to be a similar issue.
loongarch.md contains almost the same code path too:
```
  machine_mode lsx_mode
    = <MODE>mode == SFmode ? V4SFmode : V2DFmode;
  rtx tmp = gen_reg_rtx (lsx_mode);
  rtx op1 = lowpart_subreg (lsx_mode, operands[1], <MODE>mode);
  rtx op2 = lowpart_subreg (lsx_mode, operands[2], <MODE>mode);
```

Reply via email to