diff options
author | Xi Ruoyao <xry111@xry111.site> | 2025-03-01 11:46:43 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2025-08-18 09:09:34 +0800 |
commit | d1d7ecfbc6d86f660ec79ca272b20aea9d6c3ca7 (patch) | |
tree | 591e26d14eccb7c1c6b84d9a1299976fb76b4603 /libjava | |
parent | b8e147d46ea5e78be0a390e645600afc4cbae645 (diff) | |
download | gcc-d1d7ecfbc6d86f660ec79ca272b20aea9d6c3ca7.zip gcc-d1d7ecfbc6d86f660ec79ca272b20aea9d6c3ca7.tar.gz gcc-d1d7ecfbc6d86f660ec79ca272b20aea9d6c3ca7.tar.bz2 |
LoongArch: Don't use "+" for atomic_{load, store} "m" constraint
Atomic load does not modify the memory. Atomic store does not read the
memory, thus we can use "=" instead.
gcc/ChangeLog:
* config/loongarch/sync.md (atomic_load<mode>): Remove "+" for
the memory operand.
(atomic_store<mode>): Use "=" instead of "+" for the memory
operand.
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions