diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-03 19:37:45 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-07-03 19:37:45 +0000 |
commit | fdbb505aea5c2eea599afbee5ef7ed75295349e9 (patch) | |
tree | 7d48228cbb9088d528c307ebedf07fc11c96c8e8 /gcc/libgcc-std.ver | |
parent | 310c48f2f6ad1ae1b60db8acd72e8ac59ed6e8b4 (diff) | |
download | gcc-fdbb505aea5c2eea599afbee5ef7ed75295349e9.tar.gz |
gcc/
* Makefile.in (libgcc.mvars): Add LIBGCC_SYNC and LIBGCC_SYNC_CFLAGS.
* libgcc-std.ver (GCC_4.4.0): New version, inherited from GCC_4.3.0.
Add synchronization functions.
* config/sync.c: New file.
* config/mips/t-libgcc-mips16 (LIBGCC_SYNC): Define.
(LIBGCC_SYNC_CFLAGS): Likewise.
libgcc/
* Makefile.in: Add support for __sync_* libgcc functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137431 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc-std.ver')
-rw-r--r-- | gcc/libgcc-std.ver | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/gcc/libgcc-std.ver b/gcc/libgcc-std.ver index 1df9ab1b3f9..b19871d1b0b 100644 --- a/gcc/libgcc-std.ver +++ b/gcc/libgcc-std.ver @@ -1804,3 +1804,88 @@ GCC_4.3.0 { %inherit GCC_4.4.0 GCC_4.3.0 GCC_4.4.0 { } + +%inherit GCC_4.4.0 GCC_4.3.0 +GCC_4.4.0 { + __sync_fetch_and_add_1 + __sync_fetch_and_sub_1 + __sync_fetch_and_or_1 + __sync_fetch_and_and_1 + __sync_fetch_and_xor_1 + __sync_fetch_and_nand_1 + __sync_add_and_fetch_1 + __sync_sub_and_fetch_1 + __sync_or_and_fetch_1 + __sync_and_and_fetch_1 + __sync_xor_and_fetch_1 + __sync_nand_and_fetch_1 + __sync_bool_compare_and_swap_1 + __sync_val_compare_and_swap_1 + __sync_lock_test_and_set_1 + + __sync_fetch_and_add_2 + __sync_fetch_and_sub_2 + __sync_fetch_and_or_2 + __sync_fetch_and_and_2 + __sync_fetch_and_xor_2 + __sync_fetch_and_nand_2 + __sync_add_and_fetch_2 + __sync_sub_and_fetch_2 + __sync_or_and_fetch_2 + __sync_and_and_fetch_2 + __sync_xor_and_fetch_2 + __sync_nand_and_fetch_2 + __sync_bool_compare_and_swap_2 + __sync_val_compare_and_swap_2 + __sync_lock_test_and_set_2 + + __sync_fetch_and_add_4 + __sync_fetch_and_sub_4 + __sync_fetch_and_or_4 + __sync_fetch_and_and_4 + __sync_fetch_and_xor_4 + __sync_fetch_and_nand_4 + __sync_add_and_fetch_4 + __sync_sub_and_fetch_4 + __sync_or_and_fetch_4 + __sync_and_and_fetch_4 + __sync_xor_and_fetch_4 + __sync_nand_and_fetch_4 + __sync_bool_compare_and_swap_4 + __sync_val_compare_and_swap_4 + __sync_lock_test_and_set_4 + + __sync_fetch_and_add_8 + __sync_fetch_and_sub_8 + __sync_fetch_and_or_8 + __sync_fetch_and_and_8 + __sync_fetch_and_xor_8 + __sync_fetch_and_nand_8 + __sync_add_and_fetch_8 + __sync_sub_and_fetch_8 + __sync_or_and_fetch_8 + __sync_and_and_fetch_8 + __sync_xor_and_fetch_8 + __sync_nand_and_fetch_8 + __sync_bool_compare_and_swap_8 + __sync_val_compare_and_swap_8 + __sync_lock_test_and_set_8 + + __sync_fetch_and_add_16 + __sync_fetch_and_sub_16 + __sync_fetch_and_or_16 + __sync_fetch_and_and_16 + __sync_fetch_and_xor_16 + __sync_fetch_and_nand_16 + __sync_add_and_fetch_16 + __sync_sub_and_fetch_16 + __sync_or_and_fetch_16 + __sync_and_and_fetch_16 + __sync_xor_and_fetch_16 + __sync_nand_and_fetch_16 + __sync_bool_compare_and_swap_16 + __sync_val_compare_and_swap_16 + __sync_lock_test_and_set_16 + + __sync_synchronize +} |