Skip to content

include: Fix ReadNoFence64 on i386.

Jinoh Kang requested to merge iamahuman/wine:include/i386-atomic64-fix into master

64-bit volatile accesses are not atomic on i386. Both i686-w64-mingw32-gcc and x86 MSVC splits 64-bit loads into a pair of load/store ops.

Fix this by using a FILD/FISTP pair, which is also used to implement C11 atomics by i686-w64-mingw32-gcc.

Fixes: f82b1c1f

Edited by Jinoh Kang

Merge request reports

Loading