Mercurial > hg > CbC > CbC_gcc
diff gcc/config/pdp11/pdp11.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
line wrap: on
line diff
--- a/gcc/config/pdp11/pdp11.h Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/config/pdp11/pdp11.h Fri Feb 12 23:39:51 2010 +0900 @@ -246,14 +246,6 @@ /* Base register for access to local variables of the function. */ #define FRAME_POINTER_REGNUM 5 -/* 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 - /* Base register for access to arguments of the function. */ #define ARG_POINTER_REGNUM 5 @@ -379,7 +371,7 @@ #define EXTRA_CONSTRAINT(OP,CODE) \ ((GET_CODE (OP) != MEM) ? 0 \ - : !legitimate_address_p (GET_MODE (OP), XEXP (OP, 0)) ? 0 \ + : !memory_address_p (GET_MODE (OP), XEXP (OP, 0)) ? 0 \ : ((CODE) == 'Q') ? !simple_memory_operand (OP, GET_MODE (OP)) \ : ((CODE) == 'R') ? simple_memory_operand (OP, GET_MODE (OP)) \ : 0) @@ -602,10 +594,6 @@ #define MAX_REGS_PER_ADDRESS 1 -/* Recognize any constant value that is a valid address. */ - -#define CONSTANT_ADDRESS_P(X) CONSTANT_P (X) - /* Nonzero if the constant value X is a legitimate general operand. It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ @@ -755,14 +743,6 @@ } -/* Go to LABEL if ADDR (a legitimate address expression) - has an effect that depends on the machine mode it is used for. - On the pdp this is for predec/postinc, and this is now treated - generically in recog.c. */ - -#define GO_IF_MODE_DEPENDENT_ADDRESS(ADDR,LABEL) - - /* Specify the machine mode that this machine uses for the index in the tablejump instruction. */ #define CASE_VECTOR_MODE HImode @@ -999,42 +979,9 @@ fprintf (FILE, "\tmov (sp)+, %s\n", reg_names[REGNO]) \ ) -/* trampoline - how should i do it in separate i+d ? - have some allocate_trampoline magic??? - - the following should work for shared I/D: */ - -/* lets see whether this works as trampoline: -MV #STATIC, $4 0x940Y 0x0000 <- STATIC; Y = STATIC_CHAIN_REGNUM -JMP FUNCTION 0x0058 0x0000 <- FUNCTION -*/ - -#define TRAMPOLINE_TEMPLATE(FILE) \ -{ \ - gcc_assert (!TARGET_SPLIT); \ - \ - assemble_aligned_integer (2, GEN_INT (0x9400+STATIC_CHAIN_REGNUM)); \ - assemble_aligned_integer (2, const0_rtx); \ - assemble_aligned_integer (2, GEN_INT(0x0058)); \ - assemble_aligned_integer (2, const0_rtx); \ -} - #define TRAMPOLINE_SIZE 8 #define TRAMPOLINE_ALIGNMENT 16 -/* 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) \ -{ \ - gcc_assert (!TARGET_SPLIT); \ - \ - emit_move_insn (gen_rtx_MEM (HImode, plus_constant (TRAMP, 2)), CXT); \ - emit_move_insn (gen_rtx_MEM (HImode, plus_constant (TRAMP, 6)), FNADDR); \ -} - - /* Some machines may desire to change what optimizations are performed for various optimization levels. This macro, if defined, is executed once just after the optimization level is @@ -1047,6 +994,9 @@ #define OPTIMIZATION_OPTIONS(LEVEL,SIZE) \ { \ + flag_finite_math_only = 0; \ + flag_trapping_math = 0; \ + flag_signaling_nans = 0; \ if (LEVEL >= 3) \ { \ flag_omit_frame_pointer = 1; \