diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-07-08 21:09:25 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-07-10 11:28:08 +0800 |
commit | 1fa42d62140b56589771eb3d46f89c810bfc8e0a (patch) | |
tree | 951d8d8e9c1995b5e44ebb191378ca062e0b473c /libcpp | |
parent | aa2eb25c94cde4c147443a562eadc69de03b1556 (diff) | |
download | gcc-1fa42d62140b56589771eb3d46f89c810bfc8e0a.zip gcc-1fa42d62140b56589771eb3d46f89c810bfc8e0a.tar.gz gcc-1fa42d62140b56589771eb3d46f89c810bfc8e0a.tar.bz2 |
loongarch: fix mulsidi3_64bit instruction
(mult (sign_extend:DI rj:SI) (sign_extend:DI rk:SI)) should be
"mulw.d.w", not "mul.d".
gcc/ChangeLog:
* config/loongarch/loongarch.md (mulsidi3_64bit): Use mulw.d.w
instead of mul.d.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/mulw_d_w.c: New test.
* gcc.c-torture/execute/mul-sext.c: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions