Memory barrier for fat initialization

Torbjörn Granlund tg at gmplib.org
Tue Jan 13 17:39:43 UTC 2015


This article summarises things well.  The x86/AMD64 indeed only reorders
load before stores (except under the obscure OOStore mode).

http://www.rdrop.com/users/paulmck/scalability/paper/ordering.2007.09.19a.pdf

There is some reasoning about the weaker ordering of some SSE
instructions, as well as references to definitive Intel/AMD
documentation.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-devel mailing list