|
From: James W. W. <ja...@wr...> - 2005-01-28 22:31:47
|
Roger Holmes <rog...@mi...> wrote: >> When Shark sees often-used square root operations, it suggests >>that if you don't need full precision, you can use a special >>PowerPC instruction, frsqrte, floating reciprocal square root >>estimate. I don't know if we want to get into platform-dependent >>optimizations though. > >Do they suggest how to generate such code from a high level language ? No. I think the assumption is that if you're going to be optimizing at the machine instruction level, you should be willing to use assembly language. However, CodeWarrior has "instrinsic functions", which basically allow you to use a machine instruction as if it were a C function call. -- James W. Walker, ScriptPerfection Enterprises, Inc. <http://www.write-brain.com/> |