On Fri, 2023-11-17 at 16:33 +0800, Lulu Cheng wrote: > > Lulu Cheng (3): > LoongArch: Add LA664 support. > LoongArch: Implement atomic operations using LoongArch1.1 > instructions. > LoongArch: atomic_load and atomic_store are implemented using dbar > grading. > > gcc/config.gcc | 10 +- > .../loongarch/genopts/loongarch-strings | 1 + > gcc/config/loongarch/genopts/loongarch.opt.in | 3 + > gcc/config/loongarch/loongarch-cpu.cc | 4 + > gcc/config/loongarch/loongarch-def.c | 21 ++ > gcc/config/loongarch/loongarch-def.h | 10 +- > gcc/config/loongarch/loongarch-opts.cc | 8 +- > gcc/config/loongarch/loongarch-opts.h | 6 +- > gcc/config/loongarch/loongarch-str.h | 1 + > gcc/config/loongarch/loongarch.cc | 7 +- > gcc/config/loongarch/loongarch.opt | 3 + > gcc/config/loongarch/sync.md | 256 ++++++++++++++--- > - > 12 files changed, 263 insertions(+), 67 deletions(-)
I'll rebase my patches for div32 and ld-seq-sa on top of this. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University