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
This commit is contained in:
DJ Delorie 2009-07-09 21:31:45 -04:00 committed by DJ Delorie
parent 9eb5c65cfb
commit b9263ae590
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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