diff options
author | Jeff Law <law@gcc.gnu.org> | 1997-12-05 15:13:17 -0700 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-12-05 15:13:17 -0700 |
commit | f2d765451e5dee21174c6ca6d4174866dbe24e00 (patch) | |
tree | d4816ec61b2c9013a45e2d0b1f5cdc7060e5a9ab /gcc/config/rs6000 | |
parent | 435bba3a39bd51688b1b6cd15c042a17259d1b8b (diff) | |
download | gcc-f2d765451e5dee21174c6ca6d4174866dbe24e00.tar.gz |
release branch changes from 11-27 snapshot to egcs-1.0.
From-SVN: r16970
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/aix41.h | 31 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 3 |
2 files changed, 31 insertions, 3 deletions
diff --git a/gcc/config/rs6000/aix41.h b/gcc/config/rs6000/aix41.h index fe4d757de79..2e9b093eaca 100644 --- a/gcc/config/rs6000/aix41.h +++ b/gcc/config/rs6000/aix41.h @@ -36,6 +36,37 @@ Boston, MA 02111-1307, USA. */ #undef ASM_SPEC #define ASM_SPEC "-u %(asm_cpu)" +/* Common ASM definitions used by ASM_SPEC amonst the various targets + for handling -mcpu=xxx switches. */ + +#undef ASM_CPU_SPEC +#define ASM_CPU_SPEC \ +"%{!mcpu*: \ + %{mpower: %{!mpower2: -mpwr}} \ + %{mpower2: -mpwr2} \ + %{mpowerpc*: -mppc} \ + %{mno-power: %{!mpowerpc*: -mcom}} \ + %{!mno-power: %{!mpower2: %(asm_default)}}} \ +%{mcpu=common: -mcom} \ +%{mcpu=power: -mpwr} \ +%{mcpu=power2: -mpwr2} \ +%{mcpu=powerpc: -mppc} \ +%{mcpu=rios: -mpwr} \ +%{mcpu=rios1: -mpwr} \ +%{mcpu=rios2: -mpwr2} \ +%{mcpu=rsc: -mpwr} \ +%{mcpu=rsc1: -mpwr} \ +%{mcpu=403: -mppc} \ +%{mcpu=505: -mppc} \ +%{mcpu=601: -m601} \ +%{mcpu=602: -mppc} \ +%{mcpu=603: -m603} \ +%{mcpu=603e: -m603} \ +%{mcpu=604: -m604} \ +%{mcpu=620: -mppc} \ +%{mcpu=821: -mppc} \ +%{mcpu=860: -mppc}" + #undef CPP_PREDEFINES #define CPP_PREDEFINES "-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_AIX41 \ -Asystem(unix) -Asystem(aix)" diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a39b94132be..464252d2005 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -1387,9 +1387,6 @@ function_arg_partial_nregs (cum, mode, type, named) return 0; } - if (GET_MODE_CLASS (mode) == MODE_FLOAT && TARGET_HARD_FLOAT) - return 0; - if (cum->words < GP_ARG_NUM_REG && GP_ARG_NUM_REG < (cum->words + RS6000_ARG_SIZE (mode, type, named))) { |