Hallo Brian,
> Add -DUSE_3DNOW_ASM to your CFLAGS to enable it.
>
Perhaps it's a good Idea to create a new target linux-3dnow-elf in the
Makefile ??
> I'm unable to test as I have a PII CPU.
>
> Holger also included a test_3dnow program to detect if your CPU
> is in fact 3DNow-capable. However, it returned true on my PII
> so there's something funny going on.
>
I'll have a look on it. Since I don't have access to a PII, you will have
to test next version too. sorry -
(On a Cyrix 6x86 MX it works correct)
If any future version of Mesa uses autoconf, the configure script could
test, if it is able to compile this test program successfully. If not,
the target architecture doesn't supports the 3Dnow-commands. Or the
binutils are too old.
Then the test program could run, and if it returns true (and works
correct ;), the -DUSE_3DNOW_ASM could be set.
> If there's any concerns about where/how the code fits into Mesa
> please discuss it here and CC Holger.
>
> Holger, would you like to be added to the Mesa-dev mailing list?
>
would be nice.
Next days I'll send you the transformation routines for 4D points.
Possibly some of the normal transforms too.
holger