From: Kevin M. <ke...@vr...> - 2003-06-30 13:13:53
|
you'll want to compare the compiled result to the compiled result of your optimized code. I'm guessing that even with optimizations the gcc compiler wouldn't be able to vectorize automatically what is currently in gmtl. you may have to rearrage the calls in gmtl so that gcc can optimize for the vector processor - or you may have to write specific platform code. as usual be sure to test for these features before implementing, so that you'll be well informed and write good stuff. :) kevin On Sun, 29 Jun 2003, Allen Bierbaum wrote: > Galen Faidley wrote: > > I was wondering what the best way to perform platform specific > > optimization on GMTL was? Apple provides a vector library for OS X that > > will use the G4 and G5's vector units. It would be nice if GMTL on OS X > > was basically just a wrapper around this library. > > > > Thanks > > Galen > > If you want to contribute some code that can allow for OSX > optimizations, we are more then happy to take them. > > That said, we have tried to keep GMTL as platform neutral as possible > and we rely upon the compilers to be smart enough to help out when > optimizing the code. So if Apple has contributed optimizers to gcc to > help make use of their hardware, you may already be getting the benefit > of it. > > -Allen > > -- *--*---*---*----*-----*------*------*-----*----*---*---*--* Kevin Meinert /_/ home - http://www.vrsource.edu/~kevin \ / music - http://www.subatomicglue.com \/ __ \/ \__ \_\ |