Re: [AD] patch for makefile.vc |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] patch for makefile.vc
- From: guilt <karthikkumar@xxxxxxxxxx>
- Date: Wed, 30 Mar 2005 13:45:26 +0530
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=R8mLCBcMuuXDnkcnZGCTWOtt4eN1znshdsuqq6e2mP9Li8WTzABctwMoanRJlmqjvKXzPDtOry6iYU+9OKnp4uRBU/HfqZSnWMKaVtCojhyIcA6zXnfTSQqoWhE3cA1/0wgS9/mREz2iBDTGEB9puUOv4EWH1VQA7hD6RgEmL78=
AJ,
for putting these processor specific optimizations into icl, note that
you can vary the -Qax parameters for automatic dispatch as well.. all
that is covered in the intel C++ user manual :)
ftp://download.intel.com/support/performancetools/c/windows/v8/ccug.chm
^^ user's guide.
if interproc optimizations are enabled, can consider shifting to
xilink and xilib as well :)
regards!!
karthik
On Wed, 30 Mar 2005 18:10:04 +1000, AJ <aj@xxxxxxxxxx> wrote:
> i'd like to include support for passing the -arch:sse and -arch:sse2
> to msvc7, but i'd like to hear anyones thoughts?
>
> should it be included in the debug & profiling builds also ?
>
> should the -G7 (optimz for P4/AthlonXP) also be included for the
> debug/profiling builds ?
>
> i would propose moving the TARGET_ARCH_EXCL outside the optimz build
> section and into the common section.
>
> and allowing -arch:sse -arch:sse2 to be specificed via the TARGET_ARCH_EXCL
>
> something like this: (icl stuff omitted, to be added after this idea is
> clarified).
>
> ifdef DEBUGMODE
>
> # -------- debugging build --------
>
> CFLAGS = -DDEBUGMODE=$(DEBUGMODE) $(WFLAGS) -Gd -Zi $(RUNTIME_FLAGS)d
> SFLAGS = -DDEBUGMODE=$(DEBUGMODE) -Wall
> LFLAGS = -debug -debugtype:cv
>
> else
> ifdef PROFILEMODE
>
> # -------- profiling build --------
>
> CFLAGS = $(WFLAGS) -Gd -Ox $(RUNTIME_FLAGS)
> SFLAGS = -Wall
> LFLAGS = -profile
>
> else
>
> # -------- optimised build --------
>
> CFLAGS = $(WFLAGS) -Gd -O2 $(RUNTIME_FLAGS)
> SFLAGS = -Wall
> LFLAGS = -release
> LIBPARMS =
>
> ifdef COMPILER_MSVC7
> CFLAGS += -GL
> LFLAGS += -LTCG
> LIBPARMS += -LTCG
> endif
>
> endif
> endif
>
> # ------ common options ---------
>
> ifndef DEBUGMODE
>
> ifdef TARGET_ARCH_EXCL
> CFLAGS += $(TARGET_ARCH_EXCL)
> else
> CFLAGS += -GB
> endif
>
> endif
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>