News for hackers. Stuff that matters.
Re:Java's Atomic and volatile, under the hood on x86 by 0x0 on Sunday November 18, 2012 @08:03AM (#4800514)
That's not valid in standard 32bit x86 assembly, is it? So in fact this is actually x86_64 / amd64 assembly, almost a different architecture.

Edit: It is not valid according to http://www.codeproject.com/Articles/45788/The-Real-Protected... - so headlining with "x86" is misleading at best.

Re:Java's Atomic and volatile, under the hood on x86 by technogeek00 on Sunday November 18, 2012 @08:16AM (#4800532)
Correct the %r8 - %r15 registers were added by the x86_64 architecture and are 64-bit in length just as the others are now. They are commonly used for passing arguments to functions.
Re:Java's Atomic and volatile, under the hood on x86 by mjb on Sunday November 18, 2012 @11:47AM (#4800880)
The memory semantics are standard x86, but you are right that the registers are from x86_64 (and 64 bit mode at that). I'll update the article to clarify that point.