On 7 Jun, Holger Waechtler wrote: > > Hi Ralph, > > The asm_???.c /.h /.S files are not used at this time. Take a look into > the files in src/X86 instead (prefer the experimental-1 CVS branch, > there are the 3Dnow related things in this folder, too). Ah, I'd was curious why there'd been no cvs updates in so long! It the experimental-1 branch where development occurs, then? A note about this on the website would be helpful! Is this a reason to avoid my patch? I've only done one test, the pulsar demo from xscreensavers, but the glx module was some 20% faster in software mode including asm_mmx.c. Not so bad. OTOH, you're right: I don't see a reference to it in the mesa Makefile. We were just copying the glx module Imakefile; perhaps it's out of date. > It should work once like this: > > For a x86 target, cmopile with -DUSE_X86_ASM -DUSE_MMX_ASM > -DUSE_3DNOW_ASM. Your configure script has to test (perhaps by compiling > one of the x86/MMX/3dnow files), if the binutils know all necessairy > commands. If not, you should not define the relating USE_XXX_ASM. > > If you compiled them all into the library, void gl_init_all_x86_asm (void) > tests, which additional capabilities the cpu supports and hooks in the > right code. Yes, this makes more sense. We just weren't being so sophisticated. :) This is mostly a problem for people building binaries, IMO, which hasn't been our primary focus so far. We aneed to do something similar to support multiple hardware drivers in the same binary. > Please contact also Thomas Tanner, who is trying to write autoconf support > for Mesa. I'll take a look at what he's done. Sounds like we've got more running to do to keep up with you guys! Thanks for responding, -ralph --- Please cc me on any replies as I'm not subscribed to the list [EMAIL PROTECTED]
Index: README =================================================================== RCS file: /cvs/mesa3d/README,v retrieving revision 3.17 diff -u -r3.17 README --- README 1999/06/02 01:25:45 3.17 +++ README 1999/06/07 21:39:55 @@ -193,7 +193,7 @@ The GLUT tests, demos, examples, etc are not included, just the main library. To obtain the latest complete release of GLUT please visit -http://reality.sgi.com/employees/mjk_asd/glut3/glut3.html +http://reality.sgi.com/mjk_asd/glut3/glut3.html