diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2025-01-10 10:27:09 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2025-01-11 11:17:48 +0800 |
commit | f30423ea8c2152dcee91056e75a4f3736cce6a6e (patch) | |
tree | 79e08f586ed389602fe54c4824175ab0e6b4768d /libphobos/src/std/socket.d | |
parent | dd3026f05111a0858ee87146ba9c37f164afa815 (diff) | |
download | gcc-f30423ea8c2152dcee91056e75a4f3736cce6a6e.zip gcc-f30423ea8c2152dcee91056e75a4f3736cce6a6e.tar.gz gcc-f30423ea8c2152dcee91056e75a4f3736cce6a6e.tar.bz2 |
LoongArch: Generate the final immediate for lu12i.w, lu32i.d and lu52i.d
Generate 0x1010 instead of 0x1010000>>12 for lu12i.w. lu32i.d and lu52i.d use
the same processing.
gcc/ChangeLog:
* config/loongarch/lasx.md: Use new loongarch_output_move.
* config/loongarch/loongarch-protos.h (loongarch_output_move):
Change parameters from (rtx, rtx) to (rtx *).
* config/loongarch/loongarch.cc (loongarch_output_move):
Generate final immediate for lu12i.w and lu52i.d.
* config/loongarch/loongarch.md:
Generate final immediate for lu32i.d and lu52i.d.
* config/loongarch/lsx.md: Use new loongarch_output_move.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/imm-load.c: Not generate ">>".
Diffstat (limited to 'libphobos/src/std/socket.d')
0 files changed, 0 insertions, 0 deletions