Re: [AD] docs patch msvc7

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> --- allegro._tx	2005-04-01 10:57:57.468750000 +1000
> +++ \alg420\docs\src\allegro._tx	2005-04-01 00:47:00.000000000 +1000
> @@ -13104,7 +13104,7 @@
>      compatibility with older processors.
>      Example: set TARGET_ARCH_COMPAT=i586
>   <li>
> +   TARGET_ARCH_EXCL=[cpu]<br>
> -   TARGET_ARCH_EXCL=[cpu] (GCC-based platforms only)<br>
>      This option will optimize for the given processor. Please note that
>      using it will cause the code to *NOT* run on older processors.
>      Example: set TARGET_ARCH_EXCL=i586

No, this is misleading since the actual value you can pass to
TARGET_ARCH_EXCL is different between the two compilers. I've kept the
"TARGET_ARCH_EXCL=[cpu] (GCC-based platforms only)<br>" and added the
following:

<li>
   TARGET_ARCH_EXCL=[opts] (MSVC only)<br>
   This option allows you to optimize exclusively for a given architecture.
   Pass B to optimize for a PentiumPro or 7 to optimize for Pentium 4. Note
   that the options you can pass may be different between MSVC 6 and 7.
   Example: set TARGET_ARCH_EXCL=7

I hope that's correct. Also, please take some time to add some of the other
optimization flags that are defined for GCC (TARGET_ARCH_COMPAT,
TARGET_OPTS) in so far as they make sense.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/