Originally posted by ddtlm
Anyway I've had my fun here for now. I think it is settled that the G4 does poorly at this particular float test. I've done everything I can think of and gone though all sorts of variations of the loop trying to increase the IPC but I could never make significant headway on either the PC or the Mac.
That said, this test is essentialy a test where we do 400000000 double precision square roots which we don't even store and nothing else. There are no memory access, only very predictable branches. I have radically changed the loop and compiler flags and essentially nothing besides the sqrt() makes any difference.
I do not regard this test as important in the overall picture. It does not illustrate anything important to anyone, unless someone sits around doing square roots all day.
I might also add that designing a meaningful benchmark is very hard. I think SPEC is about as good as it gets, and yes the G4 looses in floats there too.
I'm in the process of figuring out vMathLib. I'm a Java guy, so all this Altivec stuff looks totally foreign to me
Never the less, once I get it working, I'll share the results with you folks.
Also: If anyone here wants me to try something, G3 vs G4, or whatever, aside from the square root and integer mult, let me know. I'd actually like to make full featured cocoa app full of test suites.