Adhemerval Zanella
70ee250fb8
atomic: Consolidate atomic_full_barrier implementation
...
All ABIs save for sparcv9 and s390 defines it to __sync_synchronize,
which can be mapped to __atomic_thread_fence (__ATOMIC_SEQ_CST).
For Sparc, it uses a stricter #StoreStore|#LoadStore|#StoreLoad|#LoadLoad
instead of the #StoreLoad generated by __sync_synchronize.
For s390x, it defaults to a memory barrier where __sync_synchronize
emits a 'bcr 15,0' (which the manual describes as pipeline synchronization).
The barrier is used only in one place (pthread_mutex_setprioceiling),
and using a stricter barrier for s390 is ok performance-wise.
Co-authored-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com >
Reviewed-by: Wilco Dijkstra <Wilco.Dijkstra@arm.com >
2025-11-04 04:14:01 -03:00
..
2025-01-01 11:22:09 -08:00
2025-09-11 14:46:07 -03:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-03-12 13:40:07 -03:00
2025-03-12 13:40:07 -03:00
2018-08-02 15:53:29 +00:00
2025-01-01 11:22:09 -08:00
2025-11-04 04:14:01 -03:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-11-04 04:14:01 -03:00
2025-01-01 11:22:09 -08:00
2025-09-23 10:29:24 -03:00
2024-06-17 21:15:28 +02:00
2022-04-26 09:26:22 -07:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-09-03 16:04:49 +00:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-10 19:02:47 +01:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2018-02-01 21:01:00 +00:00
2025-01-01 11:22:09 -08:00
2025-01-02 13:45:27 +01:00
2019-08-29 20:11:42 +00:00
2016-11-04 16:40:54 +00:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-09-23 10:29:24 -03:00
2025-01-01 11:22:09 -08:00
2024-02-14 12:20:49 -03:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2023-07-17 10:08:10 -04:00
2022-05-13 17:07:23 +01:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-08-27 10:45:45 -03:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2025-01-01 11:22:09 -08:00
2024-04-19 14:38:17 +02:00