From: Eero P. <epa...@ko...> - 2000-06-13 09:47:00
|
Andrew Richards wrote: > > I am the head programmer at CodePlay Limited, a company that is > developing a C compiler for PCs that is able to vectorize standard C > code to take advantage of MMX, 3DNow! and Streaming SIMD Extensions. I > would like to update Mesa to help VectorC take full advantage of these > processor features. This requires adding a few "hints" and "restrict"s > in the source code. These can be done with #defines so as not to affect > other compilers. > > I would like some advice - which parts of Mesa would benefit from MMX, > 3DNow! and SSE? I have tried running VTune on Mesa and failed to get it > to work. How do other Windows developers profile Mesa? > I have used VTune (3.0 if that matters) with my application, which used Mesa (Glide version). I was able to see the performance hotspots in Mesa. The Makefile.fx (int Mesa/src) contains those options which I needed in order to compile the dll (and the .pdb and .map) files which were suitable for this use. Using the 3dfx Voodoo2 the critical components of mesa were the transformation routines (Which are already available as X86 assembly), some of the FX setup routines. (I did not use the "fastpath" because I used fog(?)). In some cases the texture conversion/downloading might have some performance efects. Eero |