Optimization of conditional access to globals: thread-unsafe?

Tomash Brechko tomash.brechko@gmail.com
Fri Oct 26 17:55:00 GMT 2007


On Fri, Oct 26, 2007 at 21:45:03 +0400, Tomash Brechko wrote:
> Note that it doesn't cancel cmoves, as those are loads, not stores.

I just checked with x86 instruction reference, CMOVcc is reg->reg or
mem->reg, never reg->mem.  You know God's deed when you see it. :)


-- 
   Tomash Brechko



More information about the Gcc mailing list