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
bxt,
There is no guarantee that this works for CPUs other than INTEL, for instance the AMD ATHLON. Ratch

http://www.intel.com/software/products/vtune/
Posted on 2004-01-11 00:42:40 by Ratch
quexal.....mebbe.
Posted on 2004-01-11 02:49:41 by evil__donkey
bxt,

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.

Regards,
http://www.asmcommunity.net/board/cryptmail.php?tauntspiders=in.your.face@nomail.for.you&id=2f46ed9f24413347f14439b64bdc03fd
Posted on 2004-01-11 08:22:38 by hutch--