Re: [AD] docs patch msvc7

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


Evert Glebbeek wrote:
--- 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



7 for Pentium4/AthlonXP



   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.



with only passing 7 and not -G7 doesn't make sense when trying to pass "7 -arch:SSE2" as the only place that makes sense to put the -arch:SSE2 is on the TARGET_ARCH_EXCL also.




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