Stocks A / Advanced Micro Devices (AMD) Add This Board To Your Favorites
Message Font: Serif | Sans-Serif
UnThreaded | Threaded | Whole Thread (43) | Ignore Thread Prev | Next
Author: rmhj Big red star, 1000 posts Old School Fool Add to my Favorite Fools Ignore this person (you won't see their posts anymore)
Number: of 169777
Subject: Re: 3Leaf Systems Date: 11/5/09 5:49 PM
Post New | Post Reply | Reply Later | Create Poll Report this Post | Recommend it!
Recommendations: 1
Eachus: This tells the compiler that the value can't be kept in a register, and every change must be written to main memory.

foo1bar: It is true that the value can't be kept in a register, but that's not the same as the preceding statement.
"uncacheable" is not the same as "not kept in a register".


I want to throw a rock, dammit.

Eachus recognizes and specifies, and anyone who is familiar with the issues ought to recognize in about two seconds that Eachus knows this and makes that specifically clear by specifying 'the compiler'.

The compiler is utterly ignorant of page states, and simply ensures that (e.g., in C) "volatile" values are always "written" back to memory.

The fact that it doesn't actually get there on AMD and recent Intel CPUs immediately doesn't mean that the statement was wrong: the OS and h/w have gotten together to do what the application "really means".

On older Intel h/w, the h/w and OS had to actually send the data to memory before the lock could issue.

rj

Post New | Post Reply | Reply Later | Create Poll Report this Post | Recommend it!
Print the post    
UnThreaded | Threaded | Whole Thread (43) | Ignore Thread Prev | Next

Announcements

AMD FAQ
Section: 1, 2, 3
CPU/Chip Glossary of Terms

2009 Feste Award Nominations Opened!
Check the post to see how to nominate a worthy candidate for the 2009 Feste Awards, honoring outstanding contributors to the Fool Community!

Inside Fool HQ Blog
Keep up with the latest news and functionality releases.

Community Home
Speak Your Mind, Start Your Blog, Rate Your Stocks

Community Team Fools - who are those TMF's?

Facebook Fool Fan Club
Be a fan of the Fool over on Facebook!

Post of the Day: Macro Economics
Not Impressed with Tax Break

What was Your Dumbest Investment?
Share it with us -- and learn from others' stories of flubs.

Contact Us
Contact Customer Service and other Fool departments here.

Work for Fools?
Winner of the Washingtonian great places to work! Have access to all of TMF's online and email products for FREE, and be paid for your contributions to TMF! Click the link and start your Fool career.

Stock Folders: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z