Bootstrapped and regtested on loongarch64-linux-gnu. Ok for trunk? Xi Ruoyao (3): LoongArch: Fix the semantic of 16B CAS LoongArch: Fix ICE on atomic-compare-exchange-5.c testsuite: LoongArch: Enable 16B atomic tests if the test machine supports LSX and SCQ
gcc/config/loongarch/loongarch.cc | 3 +- gcc/config/loongarch/sync.md | 104 +++++++++++------- .../gcc.dg/atomic-compare-exchange-5.c | 1 + gcc/testsuite/gcc.dg/atomic-exchange-5.c | 1 + gcc/testsuite/gcc.dg/atomic-load-5.c | 1 + gcc/testsuite/gcc.dg/atomic-op-5.c | 1 + gcc/testsuite/gcc.dg/atomic-store-5.c | 1 + gcc/testsuite/gcc.dg/atomic-store-6.c | 1 + .../simulate-thread/atomic-load-int128.c | 1 + .../simulate-thread/atomic-other-int128.c | 4 + gcc/testsuite/lib/target-supports.exp | 20 +++- 11 files changed, 94 insertions(+), 44 deletions(-) -- 2.50.1