Skip to content

Conversation

@taiki-e
Copy link
Owner

@taiki-e taiki-e commented Jul 31, 2023

LLVM calls __sync_val_compare_and_swap_N/__sync_lock_test_and_set_N for them, but we can use ldr/str+__kuser_memory_barrier on Linux/Android.

This should also fix the problem that wide seqlock, which uses several acquire loads, is slower than spinlock on these targets. #82 (comment)

@taiki-e taiki-e added the O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state label Jul 31, 2023
@taiki-e taiki-e force-pushed the arm-linux branch 4 times, most recently from 0469e30 to 5b9bc15 Compare August 1, 2023 02:54
@taiki-e taiki-e force-pushed the main branch 2 times, most recently from ea83130 to 899352a Compare September 23, 2023 05:20
@taiki-e taiki-e force-pushed the arm-linux branch 2 times, most recently from 1d4e775 to 1d12abb Compare October 7, 2023 18:50
@taiki-e taiki-e force-pushed the arm-linux branch 2 times, most recently from 83b7d1c to b78d414 Compare January 3, 2024 18:13
@taiki-e taiki-e force-pushed the main branch 4 times, most recently from 5b5ecb8 to c9456c0 Compare March 9, 2024 12:29
@taiki-e taiki-e force-pushed the main branch 4 times, most recently from f16e67a to 4e66bd3 Compare April 21, 2024 10:15
@taiki-e taiki-e force-pushed the main branch 3 times, most recently from a368389 to eeb0235 Compare February 24, 2025 12:09
@taiki-e taiki-e force-pushed the main branch 5 times, most recently from 77c5d0d to 813bf8f Compare March 7, 2025 16:12
@taiki-e taiki-e force-pushed the main branch 5 times, most recently from 2ef9f6c to e5eaaac Compare March 20, 2025 09:55
@taiki-e taiki-e force-pushed the main branch 3 times, most recently from 3acead0 to 6576213 Compare April 7, 2025 14:13
@taiki-e taiki-e force-pushed the main branch 2 times, most recently from d03a536 to 22d689c Compare June 5, 2025 20:47
@taiki-e taiki-e force-pushed the main branch 2 times, most recently from 95876ed to 3d959b6 Compare August 23, 2025 09:17
@taiki-e taiki-e force-pushed the main branch 4 times, most recently from c7a51b4 to d118cf0 Compare September 7, 2025 08:08
@taiki-e taiki-e force-pushed the main branch 4 times, most recently from 5c72bf2 to 8cc76fa Compare September 14, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-arm Target: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant