This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: AMD K6 support




Just a few minor points (I'm not competent to comment on the major ones :-):


@@ -301,7 +311,9 @@
 %{mno-pentium:-mcpu=i486 -march=i486} \
 %{mpentium:-mcpu=pentium} \
 %{mno-pentiumpro:-mcpu=pentium} \
-%{mpentiumpro:-mcpu=pentiumpro}}"
+%{mpentiumpro:-mcpu=pentiumpro} \
+%{mnoamdk6:-mcpu=pentium} \
   ^^^^^^^^

There should be a '-' between "no" and "amdk6".

@@ -309,6 +321,8 @@
 	-D__i586 -D__i586__ -D__pentium -D__pentium__"
 #define CPP_686_SPEC "%{!ansi:-Di686 -Dpentiumpro} \
 	-D__i686 -D__i686__ -D__pentiumpro -D__pentiumpro__"
+#define CPP_AMDK6_SPEC "%{!ansi:-Di686 -Damdk6} \
+	-D__i586 -D__i586__ -D__amd6 -D__amdk6__"
        ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^

Shouldn't this be i686, like in !ansi? Also, there's an __amd6->__amdk6
typo.
 
@@ -333,6 +351,7 @@
 %{mcpu=i486:%(cpp_486)} %{m486:%(cpp_486)} \
 %{mpentium:%(cpp_586)} %{mcpu=pentium:%(cpp_586)} \
 %{mpentiumpro:%(cpp_686)} %{mcpu=pentiumpro:%(cpp_686)} \
+%{mamdk6:%(cpp_amdk6)} %{mcpu=admk6:%(cpp_amdk6)} \
                               ^^^^^

Another typo, admk6->amdk6.

 
/ Kamil Iskra    AmigaOS  Linux/i386  Linux/m68k               \
| GeekGadgets GCC maintainer   UNIX system administrator       |
| iskra@student.uci.agh.edu.pl  kiskra@ernie.icslab.agh.edu.pl |
\ kamil@dwd.interkom.pl   http://student.uci.agh.edu.pl/~iskra /



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]