rs6000.h (ASM_CPU_SPEC): Add 440 support.
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 5 May 2003 14:33:01 +0000 (10:33 -0400)
        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

From-SVN: r66480

gcc/ChangeLog
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/vxworks.h

index a2aa93f9b9dbfade8fc9c999bd9e8e4b805b76d3..90ae04a9622a70f5bcece5cac0ae8a53b4786cf9 100644 (file)
@@ -1,3 +1,8 @@
+2003-05-05  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
+       * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
+
 2003-05-05  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
 
        * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
index 033d30eceba538fdc42614dac4d9696698eb1764..58cf454d8cfd49fdb0d652776f9ea8e1e8ec2d91 100644 (file)
@@ -68,7 +68,9 @@
 %{mcpu=401: -mppc} \
 %{mcpu=403: -m403} \
 %{mcpu=405: -m405} \
-%{mcpu=405f: -m405} \
+%{mcpu=405fp: -m405} \
+%{mcpu=440: -m440} \
+%{mcpu=440fp: -m440} \
 %{mcpu=505: -mppc} \
 %{mcpu=601: -m601} \
 %{mcpu=602: -mppc} \
index 67c2e8c25c273819eb0c15b7b3368ae801398d08..e96d3840ddca5206267e3dfbacda292c60e92af2 100644 (file)
    fPIC: -D__PIC__=2 -D__pic__=2 } \
  %(cpp_cpu)"
 
-/* N.B. GCC does not currently support the 440 processor as distinct
-   from the 405 series.  */
 #define CC1_SPEC \
 "%{t403: -mcpu=403 -mstrict-align ;                            \
    t405: -mcpu=405 -mstrict-align ;                            \
-   t440: -mcpu=405 -mstrict-align ;                            \
+   t440: -mcpu=440 -mstrict-align ;                            \
    t603: -mcpu=603 -mstrict-align ;                            \
    t604: -mcpu=604 -mstrict-align ;                            \
    t860: -mcpu=860                ;                             \