diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-06-28 16:00:14 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-06-28 19:03:04 +0800 |
commit | 020b7d98589bbc928b5a66b1ed56b42af8791355 (patch) | |
tree | 68e2389af1a27091e7b436947617d176af30f49a /libgo/go/net | |
parent | 88417d77fec57c9d15ac2864b37e84eee575a781 (diff) | |
download | gcc-020b7d98589bbc928b5a66b1ed56b42af8791355.zip gcc-020b7d98589bbc928b5a66b1ed56b42af8791355.tar.gz gcc-020b7d98589bbc928b5a66b1ed56b42af8791355.tar.bz2 |
loongarch: exclude LARCH_PROLOGUE_TEMP from SIBCALL_REGS [PR 106096]
The epilogue may clobber LARCH_PROLOGUE_TEMP ($r13/$t1), so it cannot be
used for sibcalls.
gcc/ChangeLog:
PR target/106096
* config/loongarch/loongarch.h (REG_CLASS_CONTENTS): Exclude
$r13 from SIBCALL_REGS.
* config/loongarch/loongarch.cc (loongarch_regno_to_class):
Change $r13 to JIRL_REGS.
gcc/testsuite/ChangeLog:
PR target/106096
* g++.target/loongarch/loongarch.exp: New test support file.
* g++.target/loongarch/pr106096.C: New test.
Diffstat (limited to 'libgo/go/net')
0 files changed, 0 insertions, 0 deletions