Whilst viewing the generated code in release for ref and unref, I noticed that these ...
12 years, 10 months ago
(2012-02-17 21:36:05 UTC)
#1
Whilst viewing the generated code in release for ref and unref, I noticed that
these turned into calls (not inlined). It appears that to get the intrinsics one
must ask "pretty please". With this change ref goes from a call, several movs,
and a lock xadd to just an xadd.
Issue 5677080: Use intrinsics for atomic inc and dec on Windows.
(Closed)
Created 12 years, 10 months ago by bungeman
Modified 12 years, 10 months ago
Reviewers: bsalomon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0