Mercurial > hg > CbC > CbC_gcc
diff gcc/config/mmix/mmix.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
line wrap: on
line diff
--- a/gcc/config/mmix/mmix.h Tue May 25 18:58:51 2010 +0900 +++ b/gcc/config/mmix/mmix.h Tue Mar 22 17:18:12 2011 +0900 @@ -140,8 +140,6 @@ } \ while (0) -extern int target_flags; - #define TARGET_DEFAULT \ (MASK_BRANCH_PREDICT | MASK_BASE_ADDRESSES | MASK_USE_RETURN_INSN) @@ -149,25 +147,6 @@ #define TARGET_VERSION \ fprintf (stderr, " (MMIX)") -#define OVERRIDE_OPTIONS mmix_override_options () - -#define OPTIMIZATION_OPTIONS(LEVEL, SIZE) \ - do \ - { \ - if (LEVEL >= 1) \ - flag_regmove = TRUE; \ - \ - if (SIZE || LEVEL > 1) \ - { \ - flag_omit_frame_pointer = TRUE; \ - } \ - } \ - while (0) - -/* This one will have to wait a little bit; right now we can't debug - neither with or without a frame-pointer. */ -/* #define CAN_DEBUG_WITHOUT_FP */ - /* Node: Per-Function Data */ #define INIT_EXPANDERS mmix_init_expanders () @@ -296,8 +275,6 @@ 1, 1, 1, 1, 1, 1, 1 \ } -#define CONDITIONAL_REGISTER_USAGE mmix_conditional_register_usage () - #define INCOMING_REGNO(OUT) mmix_opposite_regno (OUT, 0) #define OUTGOING_REGNO(IN) mmix_opposite_regno (IN, 1) @@ -586,29 +563,14 @@ #define ACCUMULATE_OUTGOING_ARGS 1 -#define RETURN_POPS_ARGS(FUNDECL, FUNTYPE, STACKSIZE) 0 - /* Node: Register Arguments */ -#define FUNCTION_ARG(CUM, MODE, TYPE, NAMED) \ - mmix_function_arg (&(CUM), MODE, TYPE, NAMED, 0) - -#define FUNCTION_INCOMING_ARG(CUM, MODE, TYPE, NAMED) \ - mmix_function_arg (&(CUM), MODE, TYPE, NAMED, 1) typedef struct { int regs; int lib; } CUMULATIVE_ARGS; #define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, INDIRECT, N_NAMED_ARGS) \ ((CUM).regs = 0, (CUM).lib = ((LIBNAME) != 0)) -#define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ - ((CUM).regs \ - = ((targetm.calls.must_pass_in_stack (MODE, TYPE)) \ - || (MMIX_FUNCTION_ARG_SIZE (MODE, TYPE) > 8 \ - && !TARGET_LIBFUNC && !(CUM).lib)) \ - ? (MMIX_MAX_ARGS_IN_REGS) + 1 \ - : (CUM).regs + (7 + (MMIX_FUNCTION_ARG_SIZE (MODE, TYPE))) / 8) - #define FUNCTION_ARG_REGNO_P(REGNO) \ mmix_function_arg_regno_p (REGNO, 0) @@ -728,9 +690,6 @@ #define ASM_APP_ON "%APP\n" #define ASM_APP_OFF "%NO_APP\n" -#define ASM_OUTPUT_SOURCE_FILENAME(STREAM, NAME) \ - mmix_asm_output_source_filename (STREAM, NAME) - #define OUTPUT_QUOTED_STRING(STREAM, STRING) \ mmix_output_quoted_string (STREAM, STRING, strlen (STRING)) @@ -926,8 +885,6 @@ #define NO_IMPLICIT_EXTERN_C -#define HANDLE_SYSV_PRAGMA 1 - /* These are checked. */ #define DOLLARS_IN_IDENTIFIERS 0 #define NO_DOLLAR_IN_LABEL