]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Update testcase comments to point to PSABI rather than Table A.6
authorPatrick O'Neill <patrick@rivosinc.com>
Tue, 25 Jun 2024 21:14:18 +0000 (14:14 -0700)
committerPatrick O'Neill <patrick@rivosinc.com>
Wed, 26 Jun 2024 16:41:38 +0000 (09:41 -0700)
Table A.6 was originally the source of truth for the recommended mappings.
Point to the PSABI doc since the memory model mappings have been moved there.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/amo/a-rvwmo-fence.c: Replace A.6 reference with PSABI.
* gcc.target/riscv/amo/a-rvwmo-load-acquire.c: Ditto.
* gcc.target/riscv/amo/a-rvwmo-load-relaxed.c: Ditto.
* gcc.target/riscv/amo/a-rvwmo-load-seq-cst.c: Ditto.
* gcc.target/riscv/amo/a-rvwmo-store-compat-seq-cst.c: Ditto.
* gcc.target/riscv/amo/a-rvwmo-store-relaxed.c: Ditto.
* gcc.target/riscv/amo/a-rvwmo-store-release.c: Ditto.
* gcc.target/riscv/amo/a-ztso-fence.c: Ditto.
* gcc.target/riscv/amo/a-ztso-load-acquire.c: Ditto.
* gcc.target/riscv/amo/a-ztso-load-relaxed.c: Ditto.
* gcc.target/riscv/amo/a-ztso-load-seq-cst.c: Ditto.
* gcc.target/riscv/amo/a-ztso-store-compat-seq-cst.c: Ditto.
* gcc.target/riscv/amo/a-ztso-store-relaxed.c: Ditto.
* gcc.target/riscv/amo/a-ztso-store-release.c: Ditto.
* gcc.target/riscv/amo/zaamo-rvwmo-amo-add-int.c: Ditto.
* gcc.target/riscv/amo/zaamo-ztso-amo-add-int.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-consume.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acq-rel.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acquire.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-seq-cst.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-consume.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acq-rel.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acquire.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-relaxed.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-release.c: Ditto.
* gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-seq-cst.c: Ditto.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
40 files changed:
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-fence.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-acquire.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-load-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-compat-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/a-rvwmo-store-release.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-fence.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-acquire.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-load-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-compat-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/a-ztso-store-release.c
gcc/testsuite/gcc.target/riscv/amo/zaamo-rvwmo-amo-add-int.c
gcc/testsuite/gcc.target/riscv/amo/zaamo-ztso-amo-add-int.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-acquire.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-consume.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-compare-exchange-int-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acq-rel.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-acquire.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-rvwmo-subword-amo-add-char-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-acquire.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-consume.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-compare-exchange-int-seq-cst.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acq-rel.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-acquire.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-relaxed.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-release.c
gcc/testsuite/gcc.target/riscv/amo/zalrsc-ztso-subword-amo-add-char-seq-cst.c

index 5b9400f7da8bb12739ced25e6556ffc3e0a7fa9b..6803bf92aa32b91bad563f7cb22ed69323283e1e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that fence mappings match Table A.6's recommended mapping.  */
+/* Verify that fence mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index f9871b92c0bffb78f725586dc21a480cc4acf1b6..93a0c68ae8a92bfac187486f36969f5ca1bf4f6f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match Table A.6's recommended mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 7b99db06d750835d08e453dfb2cc6f09158d6b9a..2403d53c13128e2db0fa6cf4dd0821ca94317377 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match Table A.6's recommended mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 35f196c23c0927fedd90693eb51708ce3e04ced8..31b35cf9f6af5092a9cc971819861e704f51a997 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match Table A.6's recommended mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 43880b9734ac57e960174f1fa508e4c348fe0c75..45c9abb1425e300f17f8bd6aa648dc06fd35d4d5 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* Verify that store mapping are compatible with Table A.6 & A.7.  */
+/* Verify that store mappings match the PSABI doc's recommended compatibility
+   mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index eb67d1968e0a94468e5714b8833246e65a067fa4..4b321b2b75fdfb56af5044b613bd86688a022cd6 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that store mappings match Table A.6's recommended mapping.  */
+/* Verify that store mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 25a998b86eb0211a0f49cf0b745c9b6d15048ff9..a2a617c4d15474be3d9add26f19aa6d6e631b724 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that store mappings match Table A.6's recommended mapping.  */
+/* Verify that store mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 37daeda8354d5f44bded4f65b9a6af537c8f0228..153f6ef8a3d5a3dad65507347f879e2c54577efe 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that fence mappings match the Ztso suggested mapping.  */
+/* Verify that fence mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 4e94191812b1e6360f0dffc14aea9a04cd409412..76a12059f391f84d899d5de8628fdcdd41b2347f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match the Ztso suggested mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index ef5dee6ee60e0f9779bea58fd9c33cf5b111b2d9..c4ee56e2cc0eb36de0eabed11a63bdd28e01b369 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match the Ztso suggested mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 93cd8bb909cc246d7e4481def6fcd8e90228f235..7163311433ccd463254cfbd9672d7ab07831ccca 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that load mappings match the Ztso suggested mapping.  */
+/* Verify that load mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index e32cfb1a3cbd3cd2ae02d50c4af31b5967910192..2f4c9124aaf9f74662195f977729ea37e10328e5 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* Verify that store mappings match the Ztso suggested mapping.  */
+/* Verify that store mappings match the PSABI doc's recommended compatibility
+   mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 2f46470ae153b027f483b738ecee1f7d2d45faf5..d469bf348d986ef9f51cfeeb106eda0b4700916a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that store mappings match the Ztso suggested mapping.  */
+/* Verify that store mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index dd2db3a787867e1a25309a79d4dadd5a8032915d..3a275740401a67ec2257150e19856a074eb87ca6 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that store mappings match the Ztso suggested mapping.  */
+/* Verify that store mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-skip-if "" { *-*-* } { "-g" "-flto"} } */
index 22187243314ee1d3ca572bc17b0d8576316d6db8..ca40a49f9b5716434a288568665329fa6f74d6cd 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_zaamo } */
 /* { dg-remove-options riscv_ztso } */
index 8cfd601f12addaa1d077dda221c5914bd4d15c82..8ebdc61992ecb5512c271b582c318155e6ece352 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-options "-O3" } */
 /* { dg-add-options riscv_zaamo } */
 /* { dg-add-options riscv_ztso } */
index 0cbc89c617ce4739a388ce4dd28e09b639bb5525..49eeda9cb3383833530bea4f2c9f511133997fb0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* Mixed mappings need to be unioned.  */
index 70107c40a5322e6455634939ee3045a877bde884..b9e3adece8d6715d03062feb2ddbb84d79641c55 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aq\t" 1 } } */
index b3cffad005d3a3bc8b09b249c2bc7ae96addef75..11839d84f140de30f1a93eb2fb027b1441b9eb3e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aq\t" 1 } } */
index fd8a8bfe9c69714e0dada527ac89333f83cfe6c6..852ec99df7689f33466231a0f1720d0c28cab224 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index faab1ab728ca5634163002f04b73d5822a3b4178..9c51a082d0bab9347c34a699841b24dc8387aa89 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 957aa3c0afd5df48566da2c5133239c27b553365..d985e2cef8b4339ec93a9c6165708c04d068cf73 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
+/* Mixed mappings need to be unioned.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */
index a1435a07a21d481f581347f0002e966e2453d27a..6efd232ce21122c8941d1736674a3cea6b28f255 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match Table A.6's recommended mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */
index 3f5fa20c87cc763e1d9da2d4753dcc10bceb8671..2c2df133a2873009f738c34aaaaa7254e736b758 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aq\t" 1 } } */
index 782ffcb0a709ed43d7a04de1511c7f882028f41d..abfbf63902c58dbede918e34fa65625461aeabee 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aq\t" 1 } } */
index 50009f021dc0af7e084f1435d077b6dacd25eec0..1f61c89da880a917c9ab5f3cef1f86ef8b0c6054 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 76ec8a81d1f6ee0759d2b8369d79b6fc5366ceb4..343503ce79c19c3af55f59bb2b0bdc5984c2b72e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 7417a67f692756754b041086b2c1d73a0bd3b767..045434b2579af0a24dc96943d4568d3b5a2ca209 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match Table A.6's recommended mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-remove-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */
index 7da3b1dce48d6da5dbea092ded4e55ca4f97f262..9761a955ede53330697a72b6e7fe2edf44a6d6f1 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
+/* Mixed mappings need to be unioned.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 0a443b461f326583ebbf383a86fda4f1c7357de2..3303f8021e1e2a3a4956e38fe1634151c6364bca 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 20e325f2e7cc0eaf90c0bd9a2913819e4375b109..7474e832bb153d5c01da140a491191c306839473 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 46a9f0c918a494390b2b7bb9feb3c0d6b73229bc..e43193820f256601e3f87ecdccf0b222c1816113 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 35e01cdc8be05bc2f6fe79664d258bb19bc7cda3..a0d5872e1bd20b25e8acbd3d65e52442ff4e597f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 53f6e6ace0bede3cee95f8f65a6053d7ccb728a6..fc464ab1ff5391b579c23e8f7ea2d5eaa4a8dea5 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
+/* Mixed mappings need to be unioned.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */
index cd884931bdfb408c5044ac395552282de4877e15..152806cfde3383f204d175c0673d68335eb5acd5 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that compare exchange mappings match the Ztso suggested mapping.  */
+/* Verify that compare exchange mappings match the PSABI doc's recommended mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */
index a88e409063a0d6c64f6c4591fa6b673218de15c1..f64b10a076a41d458ca0523dac11193e05e387e4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match the Ztso suggested mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's suggested mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index 8d28569c79cb225816d413bc4fe198673ab09945..5d743f0ab830a253a204583a4f66f13c2d19d5e3 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match the Ztso suggested mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's suggested mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index a44d6980eceaa37e98d322dd8e02edfbf792e7fa..3e7dda9c8c461fee0a2d7051933e4d2a0b5c9117 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match the Ztso suggested mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's suggested mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index fb803ab9cbf3247034eb66a1949332bce235bdf8..ffd832eef78f61f37499509600c83b482559ba8a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match the Ztso suggested mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's suggested mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w\t" 1 } } */
index d851e5e59447879c57c4eac5f84186b378c73184..e9ea3f5ff3bdeb671ddc4dce4d325a1ca2e3a4e4 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* Verify that subword atomic op mappings match the Ztso suggested mapping.  */
+/* Verify that subword atomic op mappings match the PSABI doc's suggested mapping.  */
 /* { dg-add-options riscv_zalrsc } */
 /* { dg-add-options riscv_ztso } */
 /* { dg-final { scan-assembler-times "lr.w.aqrl\t" 1 } } */