Index: gcc/gcc/config/v850/v850.h |
diff --git a/gcc/gcc/config/v850/v850.h b/gcc/gcc/config/v850/v850.h |
index 65e731fef796faef8725c4c229c6ecfcd6533b17..4a288178b7aaf67b6297732b931997eeef93a61d 100644 |
--- a/gcc/gcc/config/v850/v850.h |
+++ b/gcc/gcc/config/v850/v850.h |
@@ -1,6 +1,6 @@ |
/* Definitions of target machine for GNU compiler. NEC V850 series |
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
- 2007, 2008 Free Software Foundation, Inc. |
+ 2007, 2008, 2009 Free Software Foundation, Inc. |
Contributed by Jeff Law (law@cygnus.com). |
This file is part of GCC. |
@@ -506,12 +506,6 @@ enum reg_class |
/* Register in which static-chain is passed to a function. */ |
#define STATIC_CHAIN_REGNUM 20 |
-/* Value should be nonzero if functions must have frame pointers. |
- Zero means the frame pointer need not be set up (and parms |
- may be accessed via the stack pointer) in functions that seem suitable. |
- This is computed in `reload', in reload1.c. */ |
-#define FRAME_POINTER_REQUIRED 0 |
- |
/* If defined, this macro specifies a table of register pairs used to |
eliminate unneeded registers that point into the stack frame. If |
it is not defined, the only elimination attempted by the compiler |
@@ -544,16 +538,6 @@ enum reg_class |
{ ARG_POINTER_REGNUM, STACK_POINTER_REGNUM }, \ |
{ ARG_POINTER_REGNUM, HARD_FRAME_POINTER_REGNUM }} \ |
-/* A C expression that returns nonzero if the compiler is allowed to |
- try to replace register number FROM-REG with register number |
- TO-REG. This macro need only be defined if `ELIMINABLE_REGS' is |
- defined, and will usually be the constant 1, since most of the |
- cases preventing register elimination are things that the compiler |
- already knows about. */ |
- |
-#define CAN_ELIMINATE(FROM, TO) \ |
- ((TO) == STACK_POINTER_REGNUM ? ! frame_pointer_needed : 1) |
- |
/* This macro is similar to `INITIAL_FRAME_POINTER_OFFSET'. It |
specifies the initial difference between the specified pair of |
registers. This macro must be defined if `ELIMINABLE_REGS' is |
@@ -636,14 +620,6 @@ struct cum_arg { int nbytes; int anonymous_args; }; |
#define FUNCTION_ARG_REGNO_P(N) (N >= 6 && N <= 9) |
-/* Define how to find the value returned by a function. |
- VALTYPE is the data type of the value (as a tree). |
- If the precise function being called is known, FUNC is its FUNCTION_DECL; |
- otherwise, FUNC is 0. */ |
- |
-#define FUNCTION_VALUE(VALTYPE, FUNC) \ |
- gen_rtx_REG (TYPE_MODE (VALTYPE), 10) |
- |
/* Define how to find the value returned by a library function |
assuming the value has mode MODE. */ |
@@ -674,33 +650,10 @@ struct cum_arg { int nbytes; int anonymous_args; }; |
#define FUNCTION_PROFILER(FILE, LABELNO) ; |
-#define TRAMPOLINE_TEMPLATE(FILE) \ |
- do { \ |
- fprintf (FILE, "\tjarl .+4,r12\n"); \ |
- fprintf (FILE, "\tld.w 12[r12],r20\n"); \ |
- fprintf (FILE, "\tld.w 16[r12],r12\n"); \ |
- fprintf (FILE, "\tjmp [r12]\n"); \ |
- fprintf (FILE, "\tnop\n"); \ |
- fprintf (FILE, "\t.long 0\n"); \ |
- fprintf (FILE, "\t.long 0\n"); \ |
- } while (0) |
- |
/* Length in units of the trampoline for entering a nested function. */ |
#define TRAMPOLINE_SIZE 24 |
-/* Emit RTL insns to initialize the variable parts of a trampoline. |
- FNADDR is an RTX for the address of the function's pure code. |
- CXT is an RTX for the static chain value for the function. */ |
- |
-#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \ |
-{ \ |
- emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 16)), \ |
- (CXT)); \ |
- emit_move_insn (gen_rtx_MEM (SImode, plus_constant ((TRAMP), 20)), \ |
- (FNADDR)); \ |
-} |
- |
/* Addressing modes, and classification of registers for them. */ |
@@ -829,11 +782,6 @@ do { \ |
} while (0) |
-/* Go to LABEL if ADDR (a legitimate address expression) |
- has an effect that depends on the machine mode it is used for. */ |
- |
-#define GO_IF_MODE_DEPENDENT_ADDRESS(ADDR,LABEL) {} |
- |
/* Nonzero if the constant value X is a legitimate general operand. |
It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ |