Hello Andrew,

very nice work!
But can you please redo your patch against the real Mesa-3.5 CVS tree and not 
yours?

src/X86/3dnow_xform3.S
src/X86/3dnow_xform4.S
fail.

As I "see" that you are very good x86 asm hacker and I am not (I learned asm 
on 6502 and 68k) what do you think about working together on the outstanding 
Glide3 3DNow! bugs?

I have Glide3 for the Voodoo5 working with 3DNow! but one (?) bug still 
persists.

You can trigger it with texdown.

Reading symbols from /usr/X11R6/lib/modules/dri/tdfx_dri.so...done.
Loaded symbols for /usr/X11R6/lib/modules/dri/tdfx_dri.so
Reading symbols from /usr/lib/libglide3.so...done.
Loaded symbols for /usr/lib/libglide3.so
Reading symbols from /usr/X11R6/lib/libXxf86dga.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86dga.so.1
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
#0  0x466c0ac6 in _trisetup_3DNow_win_nocull_valid () from 
/usr/lib/libglide3.so
(gdb) bt
#0  0x466c0ac6 in _trisetup_3DNow_win_nocull_valid () from 
/usr/lib/libglide3.so
#1  0x3 in ?? ()
Cannot access memory at address 0x3

You can not build Glide3 with 3DNow! acceleration the "normal" way:

./chores.3dfx --clean --generate --configure=--enable-amd3d --build

'cause something in the build system (configuration) is broken. If you do it 
this way you will get a much bigger lib in which one 3DNow_MMX token is 
undefined.

SunWave1>cd build/h5/glide3/src/.libs/
Directory: /tmp/INSTALL/SOURCE/Glide3/build/h5/glide3/src/.libs
SunWave1>l
insgesamt 1071
drwxr-xr-x    2 nuetzel  users         248 Okt 12 23:57 .
drwxr-xr-x    4 nuetzel  users        1712 Okt 12 23:57 ..
-rw-r--r--    1 nuetzel  users      583204 Okt 12 23:57 libglide3.a
lrwxrwxrwx    1 nuetzel  users          15 Okt 12 23:57 libglide3.la -> 
../libglide3.la
-rw-r--r--    1 nuetzel  users         706 Okt 12 23:57 libglide3.lai
lrwxrwxrwx    1 nuetzel  users          19 Okt 12 23:57 libglide3.so -> 
libglide3.so.3.10.0lrwxrwxrwx    1 nuetzel  users          19 Okt 12 23:57 
libglide3.so.3 -> libglide3.so.3.10.0
-rwxr-xr-x    1 nuetzel  users      501449 Okt 12 23:57 libglide3.so.3.10.0
SunWave1>nm libglide3.so.3.10.0 |grep 3DNow
00032a40 T _grDrawTriangles_3DNow
0003353d T _grDrawVertexList_3DNow_Clip
00033180 T _grDrawVertexList_3DNow_Window
         U _grTexDownload_3DNow_MMX
00032040 T _trisetup_3DNow_clip_cull_invalid
00032040 T _trisetup_3DNow_clip_cull_valid
00032040 T _trisetup_3DNow_clip_nocull_invalid
00032040 T _trisetup_3DNow_clip_nocull_valid
00032280 T _trisetup_3DNow_win_cull_invalid
00032540 T _trisetup_3DNow_win_cull_valid
00032040 T _trisetup_3DNow_win_nocull_invalid
00032800 T _trisetup_3DNow_win_nocull_valid

You have to do it the "old" way:

setenv FX_GLIDE_HW h5
setenv GL_AMD3D 1
make -f makefile.linux

SunWave1>l /usr/lib/libglide3.so*
lrwxrwxrwx    1 root     root           16 Okt 12 04:19 /usr/lib/libglide3.so 
-> libglide3.so.3.1
lrwxrwxrwx    1 root     root           16 Okt 12 04:20 
/usr/lib/libglide3.so.3 -> libglide3.so.3.1
-rwxr-xr-x    1 root     root       354355 Sep 27 08:53 
/usr/lib/libglide3.so.3.1
SunWave1>nm /usr/lib/libglide3.so.3.1|grep 3DNow
00035d00 T _grDrawTriangles_3DNow
000367fd T _grDrawVertexList_3DNow_Clip
00036440 T _grDrawVertexList_3DNow_Window
000351c0 T _grTexDownload_3DNow_MMX
00035300 T _trisetup_3DNow_clip_cull_invalid
00035300 T _trisetup_3DNow_clip_cull_valid
00035300 T _trisetup_3DNow_clip_nocull_invalid
00035300 T _trisetup_3DNow_clip_nocull_valid
00035540 T _trisetup_3DNow_win_cull_invalid
00035800 T _trisetup_3DNow_win_cull_valid
00035300 T _trisetup_3DNow_win_nocull_invalid
00035ac0 T _trisetup_3DNow_win_nocull_valid

System here:
1 GHz Athlon II SlotA (0,18µm, mmx fxsr syscall mmxext 3dnowext 3dnow)
MSI MS-6167 Rev 1.0B (AMD Irongate C4 without bypass)
640 MB PC100-2-2-2 SDRAM
AHA-2940 UW
IBM UW/U160 disks
Voodoo5 5500 AGP

Linux 2.4.12aa1+preempt

More after the weekend 'cause I am in transition to SuSE Linux 7.3 (German 
version only at the moment, sorry) of course with an updated kernel ;-)

Please forward this to the Mesa List 'cause Geocrawler sucks.

Greetings,
        Dieter
-- 
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science

@home: [EMAIL PROTECTED]

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to