diff options
author | DJ Delorie <dj@redhat.com> | 2009-07-09 21:31:45 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2009-07-09 21:31:45 -0400 |
commit | b9263ae5900c9881553383d8c66ea25a2b02e52c (patch) | |
tree | de64ed83a4f3d333204288e9b7adf74e7c22e463 /gcc | |
parent | 9eb5c65cfbff59804fe170075466ae5f00496198 (diff) | |
download | gcc-b9263ae5900c9881553383d8c66ea25a2b02e52c.zip gcc-b9263ae5900c9881553383d8c66ea25a2b02e52c.tar.gz gcc-b9263ae5900c9881553383d8c66ea25a2b02e52c.tar.bz2 |
mep.h (FUNCTION_ARG_REGNO_P): Add coprocessor registers used to pass vectors.
* config/mep/mep.h (FUNCTION_ARG_REGNO_P): Add coprocessor
registers used to pass vectors.
From-SVN: r149455
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/mep/mep.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 230aab6..6ec87f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2009-07-09 DJ Delorie <dj@redhat.com> + * config/mep/mep.h (FUNCTION_ARG_REGNO_P): Add coprocessor + registers used to pass vectors. + * config/mep/mep.c (mep_option_can_inline_p): Remove error call. 2009-07-09 Tom Tromey <tromey@redhat.com> diff --git a/gcc/config/mep/mep.h b/gcc/config/mep/mep.h index 7c69a5d..4f58f70 100644 --- a/gcc/config/mep/mep.h +++ b/gcc/config/mep/mep.h @@ -534,7 +534,9 @@ typedef struct #define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ mep_arg_advance (& (CUM), MODE, TYPE, NAMED) -#define FUNCTION_ARG_REGNO_P(REGNO) ((REGNO) >= 1 && (REGNO) <= 4) +#define FUNCTION_ARG_REGNO_P(REGNO) \ + (((REGNO) >= 1 && (REGNO) <= 4) \ + || ((REGNO) >= FIRST_CR_REGNO + 1 && (REGNO) <= FIRST_CR_REGNO + 4)) #define RETURN_VALUE_REGNUM 0 |