RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-09 Thread Thomas Tanner


On 09-Jun-99 Holger Waechtler wrote:
> I just committed some 3dnow and x86-asm related changes, which have been
> before only in the experimental-1 branch.

 I can't compile mmx_blend.S:

mmx_blend.S:140: macro `REGOFF' used with too many (4) args
mmx_blend.S:142: macro `REGIND' used with too many (2) args
mmx_blend.S:146: macro `REGOFF' used with too many (4) args
mmx_blend.S:151: macro `REGOFF' used with too many (4) args
mmx_blend.S:221: macro `REGOFF' used with too many (4) args
mmx_blend.S:233: macro `REGOFF' used with too many (4) args
mmx_blend.S:242: macro `REGOFF' used with too many (4) args
mmx_blend.S:255: macro `REGOFF' used with too many (4) args
mmx_blend.S:264: macro `REGOFF' used with too many (4) args
mmx_blend.S:277: macro `REGOFF' used with too many (4) args
mmx_blend.S:286: macro `REGOFF' used with too many (4) args
mmx_blend.S:299: macro `REGOFF' used with too many (4) args
mmx_blend.S:308: macro `REGOFF' used with too many (4) args
mmx_blend.S:321: macro `REGOFF' used with too many (4) args
mmx_blend.S:328: macro `REGOFF' used with too many (4) args
mmx_blend.S:335: macro `REGOFF' used with too many (4) args
mmx_blend.S:342: macro `REGOFF' used with too many (4) args

> There is a new cpu-detection routine, which decides, what optimized code
> should be hooked in. It still prints out some information, which processor
> capabilities it found. These printf's should be removed, before the next
> (beta ?) release. (I didn't had enough feedback to be shure, if it works
> correctly)

 It doesn't detect my MMX capable Celeron.
 
Thomas Tanner -
email: tanner@(ffii.org|gnu.org|ggi-project.org|gmx.de)
web:   http://home.pages.de/~tanner
GGI/Picasso: http://picasso.ffii.org


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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-10 Thread Holger Waechtler


On Wed, 9 Jun 1999, Thomas Tanner wrote:

> 
> On 09-Jun-99 Holger Waechtler wrote:
> > I just committed some 3dnow and x86-asm related changes, which have been
> > before only in the experimental-1 branch.
> 
>  I can't compile mmx_blend.S:
> 

fixed. GAS2assyntax does not knows all possiblitities of specifying a
adress. The generated files still need some work. 

> 
>  It doesn't detect my MMX capable Celeron.
>  

Did you specified -DUSE_MMX_ASM ??  

btw: work the (mmx/3dnow) binutil checks in the configure script ??


- Holger




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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-11 Thread Thomas Tanner


On 11-Jun-99 Holger Waechtler wrote:
>>  It doesn't detect my MMX capable Celeron.
> Did you specified -DUSE_MMX_ASM ??  

 Yes, but the latest experimental branch seems to detect it.
 
> btw: work the (mmx/3dnow) binutil checks in the configure script ??

 Not yet, but I'm working on it.

Thomas Tanner -
email: tanner@(ffii.org|gnu.org|ggi-project.org|gmx.de)
web:   http://home.pages.de/~tanner
GGI/Picasso: http://picasso.ffii.org


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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-12 Thread Holger Waechtler


Hi Thomas,

please include the x86 assembler only, if you are shure, that binutils
support the cpuid command (or you could compile common_x86asm.S).
Otherwise the compilation can fail.


- Holger




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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-12 Thread Holger Waechtler



On Fri, 11 Jun 1999, Thomas Tanner wrote:

> >>  It doesn't detect my MMX capable Celeron.
> > Did you specified -DUSE_MMX_ASM ??  
>  Yes, but the latest experimental branch seems to detect it.
> 
Fine. Then should the mainstream branch do it, too.


- Holger



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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-12 Thread Holger Waechtler



Hi Thomas, 

I would recommend, if all files would be compiled with -O3 by default.
On x86 targets you should pass the usual optimizer arguments. 
Look in the old Make-config (for example the linux-386 or the linux-3dnow
target).

It would be great, if you could enable compiler-specific optimizer-flags
or give the user a possibility to specify them.

-g / -pg / -gstabs should be defined only in debug and profiling targets.


- Holger



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



RE: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream

1999-06-12 Thread Holger Waechtler



On Fri, 11 Jun 1999, Thomas Tanner wrote:
>  
> > btw: work the (mmx/3dnow) binutil checks in the configure script ??
>  Not yet, but I'm working on it.
> 

I took a look on it - you should better use the assyntax style and use the
compiler only as preprocessor (there are a lot of strange problems with
inline assembler in egcs/pgcc. They can fail, if you declare too much
args and use registers, which the compiler rather would use itself). Why
don't you assemble one of the existing 3dnow_XXX.S or mmx_blend.S files ?


- Holger



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



Re: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream branch too.

1999-06-09 Thread Brian Paul

Holger Waechtler wrote:
> 
> Hi everybody,
> 
> I just committed some 3dnow and x86-asm related changes, which have been
> before only in the experimental-1 branch.
> 
> There is a new cpu-detection routine, which decides, what optimized code
> should be hooked in. It still prints out some information, which processor
> capabilities it found. These printf's should be removed, before the next
> (beta ?) release. (I didn't had enough feedback to be shure, if it works
> correctly)
> 
> Please try it next days that we get Mesa quiet again.
> 
> You can make linux-3dnow(-glide) now on every x86-like system; the
> optimized code will be hooked in only, if the processor can work with it.
> 
> Note, that your binutils have to know 3dnow commands.


Do you know which version of binutils introduced 3dnow support?

RedHat 5.1 has binutils 2.9.1.0.4-3 (as --version is 2.9.1) and
it does not recognize the 3Dnow instructions.

In order to accomodate people who don't have one of the latest/greatest
Linux distributions I think we'll have to keep non-3dnow configs in
the Makefiles (autoconf aside).

-Brian

--
Brian PaulAvid Technology / Softimage  [EMAIL PROTECTED]


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



Re: [Mesa-dev] 3dnow code is now in assyntax, in the mainstream branch too.

1999-06-09 Thread Josh Vanderhoof

Brian Paul <[EMAIL PROTECTED]> writes:

> Do you know which version of binutils introduced 3dnow support?

The release notes say 2.9.1.0.14.


Josh



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