Files
ruby/include
Hiroshi SHIBATAandClaude Opus 5.5 b732b7d9f2 Avoid locked instructions for atomic loads on x64 Windows
An aligned load is atomic on x64, and seq_cst because stores here use xchg. The fallbacks issued lock xadd or lock cmpxchg on every load, which RUBY_VM_CHECK_INTS and inline cache reads pay for. ARM64EC also defines _M_X64, so it is excluded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 10:47:16 +09:00
..
2021-09-10 20:00:06 +09:00