aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2025-03-01 11:46:49 +0800
committerLulu Cheng <chenglulu@loongson.cn>2025-08-18 09:09:35 +0800
commit6d67bbce340351cfe7f30f1b17cba7635f18c8d5 (patch)
treea6771f49ded911abf0d60a0a44e93fa48247cd51 /libjava
parentcff7790016b2d9c00b8675dc5428fc47d03aa9f2 (diff)
downloadgcc-6d67bbce340351cfe7f30f1b17cba7635f18c8d5.zip
gcc-6d67bbce340351cfe7f30f1b17cba7635f18c8d5.tar.gz
gcc-6d67bbce340351cfe7f30f1b17cba7635f18c8d5.tar.bz2
LoongArch: Don't expand atomic_fetch_sub_{hi, qi} to LL-SC loop if -mlam-bh
With -mlam-bh, we should negate the addend first, and use an amadd instruction. Disabling the expander makes the compiler do it correctly. gcc/ChangeLog: * config/loongarch/sync.md (atomic_fetch_sub<SHORT:mode>): Disable if ISA_HAS_LAM_BH.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions