Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: MMX code
Home

[Freeciv-Dev] Re: MMX code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: Rafal Bursig <bursig@xxxxxxxxx>, freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: MMX code
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Tue, 13 May 2003 13:02:41 +0200

On Tue, May 13, 2003 at 10:25:31AM +0000, Per I. Mathisen wrote:
> On Tue, 13 May 2003, Rafal Bursig wrote:
> > As you know I current use in SDLClient assembler mmx code.
> > I make it for zoom, AA font rendering , and fillrectangle with alpha
> > blending.
> > All implementation have pure C reserve functions for no-mmx cpu cases.
> > Current you can switch using those fuctions via #define HAVE_MMX1 pram.
> > but this nice work with source distribution and is problematic with
> > binary distribution. Should I leave this as it is or try add mmx
> > detection code in run time ?
> 
> One possible solution: There could be a configure check for this, and a
> configure switch like --enable-mmx to turn it on/off. Then we can make one
> binary for mmx and one without.
> 
> I don't know what a runtime detection code would be like, so I can't
> comment on that.

I think a runtime detection is more convenient. It should have no
runtime impact. because you just set some function pointers at the
start of the client.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Make it idiot-proof and someone will make a better idiot."



[Prev in Thread] Current Thread [Next in Thread]