diff mbox series

[1/3] RISC-V: Rename amo testcases

Message ID 20240625211418.2322391-2-patrick@rivosinc.com
State New
Headers show
Series RISC-V: AMO testsuite cleanup | expand

Commit Message

Patrick O'Neill June 25, 2024, 9:14 p.m. UTC
Rename riscv/amo/ testcases to follow a '{ext}-{model}-{name}-{memory order}.c'
naming convention.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/amo/amo-table-a-6-load-2.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-load-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-load-1.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-load-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-load-3.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-load-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-store-compat-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-store-1.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-store-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-store-2.c: Move to...
	* gcc.target/riscv/amo/a-rvwmo-store-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-load-2.c: Move to...
	* gcc.target/riscv/amo/a-ztso-load-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-load-1.c: Move to...
	* gcc.target/riscv/amo/a-ztso-load-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-load-3.c: Move to...
	* gcc.target/riscv/amo/a-ztso-load-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-store-3.c: Move to...
	* gcc.target/riscv/amo/a-ztso-store-compat-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-store-1.c: Move to...
	* gcc.target/riscv/amo/a-ztso-store-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-store-2.c: Move to...
	* gcc.target/riscv/amo/a-ztso-store-release.c: ...here.
	* gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c: Move to...
	* gcc.target/riscv/amo/zaamo-preferred-over-zalrsc.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-6.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-3.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-2.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-consume.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-1.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-4.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-7.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-compare-exchange-5.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acq-rel.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c: Move to...
	* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-6.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-3.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-2.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-consume.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-1.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-4.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-7.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-compare-exchange-5.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acq-rel.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acquire.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-relaxed.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-release.c: ...here.
	* gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c: Move to...
	* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-seq-cst.c: ...here.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
---
 .../riscv/amo/{amo-table-a-6-load-2.c => a-rvwmo-load-acquire.c}  | 0
 .../riscv/amo/{amo-table-a-6-load-1.c => a-rvwmo-load-relaxed.c}  | 0
 .../riscv/amo/{amo-table-a-6-load-3.c => a-rvwmo-load-seq-cst.c}  | 0
 ...-table-a-6-store-compat-3.c => a-rvwmo-store-compat-seq-cst.c} | 0
 .../amo/{amo-table-a-6-store-1.c => a-rvwmo-store-relaxed.c}      | 0
 .../amo/{amo-table-a-6-store-2.c => a-rvwmo-store-release.c}      | 0
 .../riscv/amo/{amo-table-ztso-load-2.c => a-ztso-load-acquire.c}  | 0
 .../riscv/amo/{amo-table-ztso-load-1.c => a-ztso-load-relaxed.c}  | 0
 .../riscv/amo/{amo-table-ztso-load-3.c => a-ztso-load-seq-cst.c}  | 0
 .../{amo-table-ztso-store-3.c => a-ztso-store-compat-seq-cst.c}   | 0
 .../amo/{amo-table-ztso-store-1.c => a-ztso-store-relaxed.c}      | 0
 .../amo/{amo-table-ztso-store-2.c => a-ztso-store-release.c}      | 0
 ...aamo-preferred-over-zalrsc.c => zaamo-preferred-over-zalrsc.c} | 0
 ...ge-6.c => zalrsc-rvwmo-compare-exchange-int-acquire-release.c} | 0
 ...e-exchange-3.c => zalrsc-rvwmo-compare-exchange-int-acquire.c} | 0
 ...e-exchange-2.c => zalrsc-rvwmo-compare-exchange-int-consume.c} | 0
 ...e-exchange-1.c => zalrsc-rvwmo-compare-exchange-int-relaxed.c} | 0
 ...e-exchange-4.c => zalrsc-rvwmo-compare-exchange-int-release.c} | 0
 ...ge-7.c => zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c} | 0
 ...e-exchange-5.c => zalrsc-rvwmo-compare-exchange-int-seq-cst.c} | 0
 ...rd-amo-add-4.c => zalrsc-rvwmo-subword-amo-add-char-acq-rel.c} | 0
 ...rd-amo-add-2.c => zalrsc-rvwmo-subword-amo-add-char-acquire.c} | 0
 ...rd-amo-add-1.c => zalrsc-rvwmo-subword-amo-add-char-relaxed.c} | 0
 ...rd-amo-add-3.c => zalrsc-rvwmo-subword-amo-add-char-release.c} | 0
 ...rd-amo-add-5.c => zalrsc-rvwmo-subword-amo-add-char-seq-cst.c} | 0
 ...nge-6.c => zalrsc-ztso-compare-exchange-int-acquire-release.c} | 0
 ...re-exchange-3.c => zalrsc-ztso-compare-exchange-int-acquire.c} | 0
 ...re-exchange-2.c => zalrsc-ztso-compare-exchange-int-consume.c} | 0
 ...re-exchange-1.c => zalrsc-ztso-compare-exchange-int-relaxed.c} | 0
 ...re-exchange-4.c => zalrsc-ztso-compare-exchange-int-release.c} | 0
 ...nge-7.c => zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c} | 0
 ...re-exchange-5.c => zalrsc-ztso-compare-exchange-int-seq-cst.c} | 0
 ...ord-amo-add-4.c => zalrsc-ztso-subword-amo-add-char-acq-rel.c} | 0
 ...ord-amo-add-2.c => zalrsc-ztso-subword-amo-add-char-acquire.c} | 0
 ...ord-amo-add-1.c => zalrsc-ztso-subword-amo-add-char-relaxed.c} | 0
 ...ord-amo-add-3.c => zalrsc-ztso-subword-amo-add-char-release.c} | 0
 ...ord-amo-add-5.c => zalrsc-ztso-subword-amo-add-char-seq-cst.c} | 0
 37 files changed, 0 insertions(+), 0 deletions(-)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-load-2.c => a-rvwmo-load-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-load-1.c => a-rvwmo-load-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-load-3.c => a-rvwmo-load-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-store-compat-3.c => a-rvwmo-store-compat-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-store-1.c => a-rvwmo-store-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-store-2.c => a-rvwmo-store-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-load-2.c => a-ztso-load-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-load-1.c => a-ztso-load-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-load-3.c => a-ztso-load-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-store-3.c => a-ztso-store-compat-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-store-1.c => a-ztso-store-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-store-2.c => a-ztso-store-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-zaamo-preferred-over-zalrsc.c => zaamo-preferred-over-zalrsc.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-6.c => zalrsc-rvwmo-compare-exchange-int-acquire-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-3.c => zalrsc-rvwmo-compare-exchange-int-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-2.c => zalrsc-rvwmo-compare-exchange-int-consume.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-1.c => zalrsc-rvwmo-compare-exchange-int-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-4.c => zalrsc-rvwmo-compare-exchange-int-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-7.c => zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-compare-exchange-5.c => zalrsc-rvwmo-compare-exchange-int-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-subword-amo-add-4.c => zalrsc-rvwmo-subword-amo-add-char-acq-rel.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-subword-amo-add-2.c => zalrsc-rvwmo-subword-amo-add-char-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-subword-amo-add-1.c => zalrsc-rvwmo-subword-amo-add-char-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-subword-amo-add-3.c => zalrsc-rvwmo-subword-amo-add-char-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-a-6-subword-amo-add-5.c => zalrsc-rvwmo-subword-amo-add-char-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-6.c => zalrsc-ztso-compare-exchange-int-acquire-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-3.c => zalrsc-ztso-compare-exchange-int-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-2.c => zalrsc-ztso-compare-exchange-int-consume.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-1.c => zalrsc-ztso-compare-exchange-int-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-4.c => zalrsc-ztso-compare-exchange-int-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-7.c => zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-compare-exchange-5.c => zalrsc-ztso-compare-exchange-int-seq-cst.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-subword-amo-add-4.c => zalrsc-ztso-subword-amo-add-char-acq-rel.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-subword-amo-add-2.c => zalrsc-ztso-subword-amo-add-char-acquire.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-subword-amo-add-1.c => zalrsc-ztso-subword-amo-add-char-relaxed.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-subword-amo-add-3.c => zalrsc-ztso-subword-amo-add-char-release.c} (100%)
 rename gcc/testsuite/gcc.target/riscv/amo/{amo-table-ztso-subword-amo-add-5.c => zalrsc-ztso-subword-amo-add-char-seq-cst.c} (100%)
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-load-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-compat-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-compat-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-compat-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c b/gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-store-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-2.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-1.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-3.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-load-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-3.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-compat-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-compat-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-1.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-2.c b/gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-store-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c b/gcc/testsuite/gcc.target/riscv/amo/zaamo-preferred-over-zalrsc.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-zaamo-preferred-over-zalrsc.c
rename to gcc/testsuite/gcc.target/riscv/amo/zaamo-preferred-over-zalrsc.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-6.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-6.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-3.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-2.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-consume.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-consume.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-1.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-4.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-4.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-7.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-7.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-5.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-compare-exchange-5.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acq-rel.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-4.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acq-rel.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-a-6-subword-amo-add-5.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-6.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-6.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-3.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-2.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-consume.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-consume.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-1.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-4.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-4.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-7.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-7.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-5.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-compare-exchange-5.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acq-rel.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-4.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acq-rel.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acquire.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-2.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acquire.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-relaxed.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-1.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-relaxed.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-release.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-3.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-release.c
diff --git a/gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c b/gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-seq-cst.c
similarity index 100%
rename from gcc/testsuite/gcc.target/riscv/amo/amo-table-ztso-subword-amo-add-5.c
rename to gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-seq-cst.c