I started to work on automating the compilation of
mesa with X86 assembly on WIN95 using 
Makefile.fx (and got it working also,
so Brian will get my update on this soon)

The assembly was compiled with Nasm 0.98.

During this process I met following problems with the 
.S files in the X86 directory. I hope the X86 people
will review these and update the CVS tree accordingly:

in 3dnow_xform_raw1.S 
.align 16 is used several times. I think the correct
thing would be using macro ALIGNTEXT16


3dnow_norm_raw.S contains sections of "gcc assembly"
(search for % sign)
I use a PPRO so I fixed this by deleting
the sections. AMD users need a better fix...


in mmx_blend I met a problem which I did 
not completly understand:

the .S source    
    LEA_L     ( REGDIS(0,EAX,2), EDX )
was preprocessed to
    lea ECX, dword [EDX * 8 + 0]

but this produced error like
X86\mmx_blend.as:1773: mismatch in operand sizes

I managed to fix this by hacking the assyntax.h and 
the mmx_blend.S files so that the input to nasm was:
    lea ECX, [EDX * 8 + 0]


but I am not 100 sure if this is the correct fix.
(nor do I have mmx processor)


                Eero


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to