DescriptionConvert runtime atomics functions to inline asm
This is the first step to optimizing Atomics accesses in TF.
The instruction sequences must be identical for all compilers. Since
runtime functions are shared by all compilers by default, it's a
convenient way to share the instruction sequences as well.
This CL only implements the inline assembly for ia32 and x64 on
gcc/clang and for ia32 on MSVC. MSVC does not support inline assembly
for x64, so in that case we use a separate assembly source file.
For all other architectures, we use the gcc/clang intrinsics for now.
BUG=v8:4614
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : msvc #Patch Set 4 : fix presubmit warnings #Patch Set 5 : year + include guard #Patch Set 6 : fix StoreSeqCst mangling on msvc, and 8-bit register constraints on ia32 #Patch Set 7 : update BUILD.gn, add *-inl.h and *.h to gyp as well #
Messages
Total messages: 5 (3 generated)
|