diff options
| author | Ivan Maidanski <ivmai@mail.ru> | 2013-02-28 23:02:07 +0400 |
|---|---|---|
| committer | Ivan Maidanski <ivmai@mail.ru> | 2013-02-28 23:02:07 +0400 |
| commit | e33326573e9019beed702bcf6bdb1ea145bdc209 (patch) | |
| tree | 28ca1ec5cc83899cef0290f09fa68d40d68b7f99 /src | |
| parent | 3ab9bf5f893a1815e3a1bef71acc2253e725a98b (diff) | |
| download | libatomic_ops-e33326573e9019beed702bcf6bdb1ea145bdc209.tar.gz | |
gcc/x86.h: Add TODO items
Diffstat (limited to 'src')
| -rw-r--r-- | src/atomic_ops/sysdeps/gcc/x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/atomic_ops/sysdeps/gcc/x86.h b/src/atomic_ops/sysdeps/gcc/x86.h index 60bdfb3..3a3e33e 100644 --- a/src/atomic_ops/sysdeps/gcc/x86.h +++ b/src/atomic_ops/sysdeps/gcc/x86.h @@ -25,6 +25,7 @@ #include "../test_and_set_t_is_char.h" +/* TODO: Test __SSE2__ macro instead of AO_USE_PENTIUM4_INSTRS. */ #if defined(__x86_64__) && !defined(AO_USE_PENTIUM4_INSTRS) /* "mfence" (SSE2) is supported on all x86_64/amd64 chips. */ # define AO_USE_PENTIUM4_INSTRS @@ -282,6 +283,9 @@ AO_fetch_compare_and_swap_full(volatile AO_t *addr, AO_t old_val, } # define AO_HAVE_int_fetch_and_add_full +/* TODO: Implement double_load/store. */ +/* TODO: Test some gcc macro to detect presence of cmpxchg16b. */ + # ifdef AO_CMPXCHG16B_AVAILABLE # include "../standard_ao_double_t.h" |
