I am writing some high performance video algorithms using MMX instructions. I understand the rules regarding pipelines, stalls, AGI etc. It strikes me that there must be some software out there that can examine my assembly source code and point out the problem areas (at the very least let me know whether each instruction is executing in the 'U' or 'V' pipe. Why can't I find this software?
Posted on 2004-01-10 22:00:50 by bxt
There is no guarantee that this works for CPUs other than INTEL, for instance the AMD ATHLON. Ratch

Posted on 2004-01-11 00:42:40 by Ratch
Posted on 2004-01-11 02:49:41 by evil__donkey

You can play with profilers if you like but its like trying to cut a slice of bread with an axe.

There is no substitute for isolating the code and benchmarking it in real time with a large enough sample. Do all of the sesible things like align the procedure start, any labels you can and of course the data but be willing to benchmark the code to see what actually works well.

As Ratch mentioned, you may find difference from one processor to the next so you will need to do some testing across different hardware to see what works the best across the differences.

Posted on 2004-01-11 08:22:38 by hutch--