Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-05 | Update copyright years. | Jakub Jelinek | 1 | -1/+1 | |
From-SVN: r219188 | |||||
2014-01-02 | Update copyright years in libitm/ | Richard Sandiford | 1 | -1/+1 | |
From-SVN: r206298 | |||||
2013-06-05 | re PR bootstrap/56714 (Bootstrap failure libitm/local_atomic:1580:3: error: ↵ | Gerald Pfeifer | 1 | -14/+13 | |
always_inline function might not be inlinable) PR bootstrap/56714 * local_atomic (__always_inline): Always define our version. (__calculate_memory_order): Mark inline. (atomic_thread_fence): Ditto. (atomic_signal_fence): Ditto. (atomic_bool::atomic_flag_test_and_set_explicit): Ditto. (atomic_bool::atomic_flag_clear_explicit): Ditto. (atomic_bool::atomic_flag_test_and_set): Ditto. (atomic_bool::atomic_flag_clear): Ditto. From-SVN: r199704 | |||||
2013-03-24 | Avoid nonconst memmodels in libitm's local outdated copy of <atomic> too | Andi Kleen | 1 | -150/+152 | |
This avoids warnings in libitm for non constant memory models, fixing the bootstrap with -Werror Passed bootstrap and test on x86_64-linux. libitm/: 2013-03-23 Andi Kleen <andi@my.domain.org> * local_atomic (__always_inline): Add. (__calculate_memory_order, atomic_thread_fence, atomic_signal_fence, test_and_set, clear, store, load, exchange, compare_exchange_weak, compare_exchange_strong, fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor): Add __always_inline to force inlining. From-SVN: r197018 | |||||
2013-02-03 | Update copyright in libitm. | Richard Sandiford | 1 | -1/+1 | |
From-SVN: r195697 | |||||
2011-12-13 | libitm: Conversion to c++11 atomics. | Richard Henderson | 1 | -0/+1903 | |
* local_atomic: New file. * libitm_i.h: Include it. (gtm_thread::shared_state): Use atomic template. * beginend.cc (GTM::gtm_clock): Use atomic template. (global_tid): Use atomic template if 64-bit atomics available. (gtm_thread::gtm_thread): Update shared_state access. (gtm_thread::trycommit): Likewise. (choose_code_path): Update global_tid access. * method-gl.cc (gl_mg::orec): Use atomic template. Update all users. * stmlock.h (GTM::gtm_clock): Use atomic template. (gtm_get_clock, gtm_inc_clock): Update accesses. * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove redundant __sync_synchronize after atomic shared_state access. * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise. (gtm_rwlock::write_lock_generic): Likewise. (gtm_rwlock::read_unlock): Likewise. * config/alpha/target.h (atomic_read_barrier): Remove. (atomic_write_barrier): Remove. * config/x86/target.h (atomic_read_barrier): Remove. (atomic_write_barrier): Remove. From-SVN: r182294 |