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: Rafal Bursig <bursig@xxxxxxxxx>
Cc: freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: MMX code
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 13 May 2003 10:25:31 +0000 (GMT)

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.

  - Per



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