From b91d2c10412615798729eac7c9cba5912c093544 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Sat, 12 Sep 1998 08:40:02 +0000 Subject: [PATCH] Pass appropriate switches to cpp/asm if -mcpu={401,603e,604e,ec603e,823} From-SVN: r22397 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.h | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98f60c72918f..47464c38a480 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Sep 12 11:37:19 1998 Michael Meissner + + * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines + supported with -mcpu=xxx. + Fri Sep 11 23:55:54 1998 David S. Miller * flow.c (mark_set_1): Recognize multi-register structure return diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 3d9e7010be70..9856abfd6770 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -70,15 +70,19 @@ Boston, MA 02111-1307, USA. */ %{mcpu=rios2: -D_ARCH_PWR2} \ %{mcpu=rsc: -D_ARCH_PWR} \ %{mcpu=rsc1: -D_ARCH_PWR} \ +%{mcpu=401: -D_ARCH_PPC} \ %{mcpu=403: -D_ARCH_PPC} \ %{mcpu=505: -D_ARCH_PPC} \ %{mcpu=601: -D_ARCH_PPC -D_ARCH_PWR} \ %{mcpu=602: -D_ARCH_PPC} \ %{mcpu=603: -D_ARCH_PPC} \ %{mcpu=603e: -D_ARCH_PPC} \ +%{mcpu=ec603e: -D_ARCH_PPC} \ %{mcpu=604: -D_ARCH_PPC} \ +%{mcpu=604e: -D_ARCH_PPC} \ %{mcpu=620: -D_ARCH_PPC} \ %{mcpu=821: -D_ARCH_PPC} \ +%{mcpu=823: -D_ARCH_PPC} \ %{mcpu=860: -D_ARCH_PPC}" #ifndef CPP_DEFAULT_SPEC @@ -119,15 +123,19 @@ Boston, MA 02111-1307, USA. */ %{mcpu=rios2: -mpwrx} \ %{mcpu=rsc: -mpwr} \ %{mcpu=rsc1: -mpwr} \ +%{mcpu=401: -mppc} \ %{mcpu=403: -mppc} \ %{mcpu=505: -mppc} \ %{mcpu=601: -m601} \ %{mcpu=602: -mppc} \ %{mcpu=603: -mppc} \ %{mcpu=603e: -mppc} \ +%{mcpu=ec603e: -mppc} \ %{mcpu=604: -mppc} \ +%{mcpu=604e: -mppc} \ %{mcpu=620: -mppc} \ %{mcpu=821: -mppc} \ +%{mcpu=823: -mppc} \ %{mcpu=860: -mppc}" #ifndef ASM_DEFAULT_SPEC -- 2.43.5