[Web] Analysis: x86 Vs PPC | ANN.lu |
Posted on 09-Jul-2003 21:21 GMT by Hagge | 38 comments View flat View list |
It's up, created by Nicholas Blachford, read it all on osnews.
|
|
List of all comments to this article |
Analysis: x86 Vs PPC : Comment 34 of 38 | ANN.lu |
Posted by Chain|Q on 11-Jul-2003 15:31 GMT | In reply to Comment 25 (Megol): "The overhead is not that great in practice as (using Athlon as an example) the swap instruction is treated as a FNOP(==Floating point No OPeration)"
Yes, on Athlon it takes zero clocks to execute this in the ideal case. Just like on Pentium/PPro/PII/PIII. But it's not the case on older x86's, and other x86-clone CPU's like the K6 & co, and also not true for Intel Pentium 4!!! And i just think this is still a good example of the hack&patches made on the terrible ISA to be somewhat more effective...
"and the x86 can use memory operands to replace register accesses.
So your code above would translate to (if 'fp2's value is first on the stack):"
_IF_ it's there... In most cases it doesn't so you've to swap, which makes code less readable, and results in slowdowns. Also using memory operands generate more load on the bus -> reduces efficiency, since in most cases you'll do more operations on a single value... Also if the required value is not in the cache, you might got some nasty pipe stalls and like that. Simply too much limitations, it's a PITA as you said... :]
"Well the x86 FPUs still are among the most effective for microprocessors."
In fact, i'd rather call them fast, than effective. Since they're fast that's unquestionable, but not effective, because they waste more resources to archieve the same speed levels of other CPU's, just because the ugly architecture and brain-damaged design of the ISA... This is why they produce more heat, and stuff like that, already discussed in the quoted articles. |
|
List of all comments to this article (continued) |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|