OSDN Git Service

* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 May 2003 14:33:01 +0000 (14:33 +0000)
        * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66480 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a2aa93f..90ae04a 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 033d30e..58cf454 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 67c2e8c..e96d384 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                ;                             \