]> granicus.if.org Git - libatomic_ops/commitdiff
Group all X_acquire_release_volatile.h and X_[aligned_]atomic_load_store.h
authorIvan Maidanski <ivmai@mail.ru>
Fri, 4 Jan 2013 11:49:45 +0000 (15:49 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 4 Jan 2013 19:37:44 +0000 (23:37 +0400)
in separate folder

* src/Makefile.am (nobase_private_HEADERS): Update path to
acquire_release_volatile.h, aligned_atomic_load_store.h,
atomic_load_store.h, char_acquire_release_volatile.h,
char_atomic_load_store.h, int_acquire_release_volatile.h,
int_aligned_atomic_load_store.h, int_atomic_load_store.h,
short_acquire_release_volatile.h, short_aligned_atomic_load_store.h,
short_atomic_load_store.h entries (add "loadstore" to prefix).
* src/atomic_ops/sysdeps/all_acquire_release_volatile.h: Likewise.
* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/all_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/gcc/alpha.h: Likewise.
* src/atomic_ops/sysdeps/gcc/mips.h: Likewise.
* src/atomic_ops/sysdeps/hpc/hppa.h: Likewise.
* src/atomic_ops/sysdeps/acquire_release_volatile.h: Move file to
src/atomic_ops/sysdeps/loadstore folder.
* src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/loadstore/char_acquire_release_volatile.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/char_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/loadstore/int_acquire_release_volatile.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/int_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/loadstore/short_acquire_release_volatile.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/loadstore/short_atomic_load_store.h:
Likewise.
* src/atomic_ops/sysdeps/all_acquire_release_volatile.h: Reformat
comment.
* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Likewise.
* src/atomic_ops/sysdeps/all_atomic_load_store.h: Likewise.

18 files changed:
src/Makefile.am
src/atomic_ops/sysdeps/all_acquire_release_volatile.h
src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h
src/atomic_ops/sysdeps/all_atomic_load_store.h
src/atomic_ops/sysdeps/gcc/alpha.h
src/atomic_ops/sysdeps/gcc/mips.h
src/atomic_ops/sysdeps/hpc/hppa.h
src/atomic_ops/sysdeps/loadstore/acquire_release_volatile.h [moved from src/atomic_ops/sysdeps/acquire_release_volatile.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h [moved from src/atomic_ops/sysdeps/aligned_atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/atomic_load_store.h [moved from src/atomic_ops/sysdeps/atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/char_acquire_release_volatile.h [moved from src/atomic_ops/sysdeps/char_acquire_release_volatile.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/char_atomic_load_store.h [moved from src/atomic_ops/sysdeps/char_atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/int_acquire_release_volatile.h [moved from src/atomic_ops/sysdeps/int_acquire_release_volatile.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h [moved from src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/int_atomic_load_store.h [moved from src/atomic_ops/sysdeps/int_atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/short_acquire_release_volatile.h [moved from src/atomic_ops/sysdeps/short_acquire_release_volatile.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h [moved from src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h with 100% similarity]
src/atomic_ops/sysdeps/loadstore/short_atomic_load_store.h [moved from src/atomic_ops/sysdeps/short_atomic_load_store.h with 100% similarity]

index c67949b78f7e30cf0b3737fa94b76f6d1ade0ff3..9ff8e73c05d1134ce456209366cd3d2936fd215d 100644 (file)
@@ -27,29 +27,30 @@ nobase_private_HEADERS = atomic_ops/ao_version.h \
           atomic_ops/generalize-arithm.h \
           atomic_ops/generalize-small.h \
         \
-          atomic_ops/sysdeps/acquire_release_volatile.h \
-          atomic_ops/sysdeps/aligned_atomic_load_store.h \
           atomic_ops/sysdeps/all_acquire_release_volatile.h \
           atomic_ops/sysdeps/all_aligned_atomic_load_store.h \
           atomic_ops/sysdeps/all_atomic_load_store.h \
           atomic_ops/sysdeps/ao_t_is_int.h \
-          atomic_ops/sysdeps/atomic_load_store.h \
-          atomic_ops/sysdeps/char_acquire_release_volatile.h \
-          atomic_ops/sysdeps/char_atomic_load_store.h \
           atomic_ops/sysdeps/emul_cas.h \
           atomic_ops/sysdeps/generic_pthread.h \
-          atomic_ops/sysdeps/int_acquire_release_volatile.h \
-          atomic_ops/sysdeps/int_aligned_atomic_load_store.h \
-          atomic_ops/sysdeps/int_atomic_load_store.h \
           atomic_ops/sysdeps/ordered.h \
           atomic_ops/sysdeps/ordered_except_wr.h \
           atomic_ops/sysdeps/read_ordered.h \
-          atomic_ops/sysdeps/short_acquire_release_volatile.h \
-          atomic_ops/sysdeps/short_aligned_atomic_load_store.h \
-          atomic_ops/sysdeps/short_atomic_load_store.h \
           atomic_ops/sysdeps/standard_ao_double_t.h \
           atomic_ops/sysdeps/test_and_set_t_is_ao_t.h \
           atomic_ops/sysdeps/test_and_set_t_is_char.h \
+        \
+          atomic_ops/sysdeps/loadstore/acquire_release_volatile.h \
+          atomic_ops/sysdeps/loadstore/aligned_atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/char_acquire_release_volatile.h \
+          atomic_ops/sysdeps/loadstore/char_atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/int_acquire_release_volatile.h \
+          atomic_ops/sysdeps/loadstore/int_aligned_atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/int_atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/short_acquire_release_volatile.h \
+          atomic_ops/sysdeps/loadstore/short_aligned_atomic_load_store.h \
+          atomic_ops/sysdeps/loadstore/short_atomic_load_store.h \
         \
           atomic_ops/sysdeps/armcc/arm_v6.h \
         \
index 94bb502d3e37d26822424b744acb4c9ed31257d1..f0240e4e67974d5226ff20c8df4e0afac6e01a67 100644 (file)
  * SOFTWARE.
  */
 
-/*
- * Describes architectures on which volatile AO_t, unsigned char, unsigned
- * short, and unsigned int loads and stores have acquire/release semantics for
- * all normally legal alignments.
- */
-#include "acquire_release_volatile.h"
-#include "char_acquire_release_volatile.h"
-#include "short_acquire_release_volatile.h"
-#include "int_acquire_release_volatile.h"
+/* Describes architectures on which volatile AO_t, unsigned char,       */
+/* unsigned short, and unsigned int loads and stores have               */
+/* acquire/release semantics for all normally legal alignments.         */
+
+#include "loadstore/acquire_release_volatile.h"
+#include "loadstore/char_acquire_release_volatile.h"
+#include "loadstore/short_acquire_release_volatile.h"
+#include "loadstore/int_acquire_release_volatile.h"
index db258df06a9a1bcedcfcbcb6ed715a180a4f24e5..4fb9b020a7b19b494c40d019e2f4fc49aaec2afd 100644 (file)
  * SOFTWARE.
  */
 
-/*
- * Describes architectures on which AO_t, unsigned char, unsigned short,
- * and unsigned int loads and stores are atomic for all normally legal
- * alignments.
- */
-#include "aligned_atomic_load_store.h"
-#include "char_atomic_load_store.h"
-#include "short_aligned_atomic_load_store.h"
-#include "int_aligned_atomic_load_store.h"
+/* Describes architectures on which AO_t, unsigned char, unsigned       */
+/* short, and unsigned int loads and stores are atomic for all normally */
+/* legal alignments.                                                    */
+
+#include "loadstore/aligned_atomic_load_store.h"
+#include "loadstore/char_atomic_load_store.h"
+#include "loadstore/short_aligned_atomic_load_store.h"
+#include "loadstore/int_aligned_atomic_load_store.h"
index 248d9a6508c9433eb508d319d9a5771fdd4633de..76487642e92b910d3a70369355fa1fd6b6370673 100644 (file)
  * SOFTWARE.
  */
 
-/*
- * Describes architectures on which AO_t, unsigned char, unsigned short,
- * and unsigned int loads and stores are atomic for all normally legal
- * alignments.
- */
-#include "atomic_load_store.h"
-#include "char_atomic_load_store.h"
-#include "short_atomic_load_store.h"
-#include "int_atomic_load_store.h"
+/* Describes architectures on which AO_t, unsigned char, unsigned       */
+/* short, and unsigned int loads and stores are atomic for all normally */
+/* legal alignments.                                                    */
+
+#include "loadstore/atomic_load_store.h"
+#include "loadstore/char_atomic_load_store.h"
+#include "loadstore/short_atomic_load_store.h"
+#include "loadstore/int_atomic_load_store.h"
index b8e3389b1d18a643344b42a18d41dbdee579043d..a595ce33e1b353086633d0b66edb7f2680664103 100644 (file)
@@ -15,7 +15,7 @@
  *
  */
 
-#include "../atomic_load_store.h"
+#include "../loadstore/atomic_load_store.h"
 
 #include "../test_and_set_t_is_ao_t.h"
 
index 9373c1d2019e11f80d0050b35b53b581d0575dc2..a0afb95badfe0e52753e230a0137c70cc40852cb 100644 (file)
@@ -19,7 +19,9 @@
  */
 
 #include "../all_aligned_atomic_load_store.h"
-#include "../acquire_release_volatile.h"
+
+#include "../loadstore/acquire_release_volatile.h"
+
 #include "../test_and_set_t_is_ao_t.h"
 
 /* Data dependence does not imply read ordering.  */
index a7de05214e9e4c27b5e617741c906ba112ab8489..6a65d5ee819240334a3109d87d1d4b0acf60e9b5 100644 (file)
@@ -22,7 +22,7 @@
  * Derived from the corresponding header file for gcc.
  */
 
-#include "../atomic_load_store.h"
+#include "../loadstore/atomic_load_store.h"
 
 /* Some architecture set descriptions include special "ordered" memory  */
 /* operations.  As far as we can tell, no existing processors actually  */