diff options
author | Xi Ruoyao <xry111@xry111.site> | 2025-03-01 11:46:52 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2025-08-18 09:09:36 +0800 |
commit | 8735a4fecab7e4c9f3e1962dc04e03aa14207f14 (patch) | |
tree | 363f1180ab98d52fc4660a68943300f79e6be339 /libjava/classpath/lib | |
parent | 89c8638deb9ccb1f1e1a90f18f2e6b984b70fbe8 (diff) | |
download | gcc-8735a4fecab7e4c9f3e1962dc04e03aa14207f14.zip gcc-8735a4fecab7e4c9f3e1962dc04e03aa14207f14.tar.gz gcc-8735a4fecab7e4c9f3e1962dc04e03aa14207f14.tar.bz2 |
LoongArch: Implement 16-byte atomic store with LSX
If the vector is naturally aligned, it cannot cross cache lines so the
LSX store is guaranteed to be atomic. Thus we can use LSX to do the
lock-free atomic store, instead of using a lock.
gcc/ChangeLog:
* config/loongarch/sync.md (atomic_storeti_lsx): New
define_insn.
(atomic_storeti): New define_expand.
Diffstat (limited to 'libjava/classpath/lib')
0 files changed, 0 insertions, 0 deletions