Maniac9127
I don't want to. But its a fact of the computer world. Your computer already relies on optimized code! I don't care if its a mac, an Athlon, a Celeron, P3, whatever, they are all optimized.
The fact of the matter is, the Athlon was designed, at least in part, due to the fact that everything was optimized for the P6 architecture. Take, for example, the fact that the Athlon has a "free" FXCH instruction (the one that "pops" a value in the register stack to the top of the stack) - that was originally on the Pentium Pro, but AMD decided, well, gee, considering ALL GOOD COMPILERS are working to fit the architecture.
I agree that it should, in general, be the compilers job to "optimize" things. But compilers, especially at this point, are only so good. I've heard it said by a developer that it is really tough to vectorize code, unless it is done by hand. That's the situation here. All the cores that are written for D.net are pretty much hand made, not just a reliance on compilers. If that were the case, then we'd all have cores that were basically P6 optimized, and nothing else, as those are the most prominant compilers out there.
I agree that the P4, from the performance standpoint, as of righgt now, is a flop. Unless AMD can ursurp Intels position, then the corporate world will make it so that they demand top performance on their Intel machines, and then people will start compiling things with P4 optimized code, instead of Ppro optimized code.
I guess my point is that we are so way beyond the point of disintertwining sophisticated compilers and new architectures, that we might as well accept it. I for one think that hand optimization should become more common place. I've heard it said by many comp sci instructors who (hopefully) know what they are talking about. In real software development, where programs are large, about 80-90 percent of the time is spent outlining the code. Only the last 10-20% is done writing it. If people were to spend TWICE as much time actually coding, and making sure that they were better optimized, things would work out better. I for one would like to see MORE optimizations for architectures, we'll get a LOT more out of our CPU's. That's what intel's been doing since the 486/pentium transition.
And if it weren't for "hand optimization", Athlons would be running over 10% slower in RC5. The guy that wrote it is quoted as saying that this is "only the first step"....he has more plans to get it to run even faster. Why not let people optimize?