Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/stormy16/stormy16.h @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Xstormy16 cpu description. | 1 /* Xstormy16 cpu description. |
2 Copyright (C) 1997-2017 Free Software Foundation, Inc. | 2 Copyright (C) 1997-2018 Free Software Foundation, Inc. |
3 Contributed by Red Hat, Inc. | 3 Contributed by Red Hat, Inc. |
4 | 4 |
5 This file is part of GCC. | 5 This file is part of GCC. |
6 | 6 |
7 GCC is free software; you can redistribute it and/or modify | 7 GCC is free software; you can redistribute it and/or modify |
226 #define INCOMING_RETURN_ADDR_RTX \ | 226 #define INCOMING_RETURN_ADDR_RTX \ |
227 gen_rtx_MEM (SImode, gen_rtx_PLUS (Pmode, stack_pointer_rtx, GEN_INT (-4))) | 227 gen_rtx_MEM (SImode, gen_rtx_PLUS (Pmode, stack_pointer_rtx, GEN_INT (-4))) |
228 | 228 |
229 #define INCOMING_FRAME_SP_OFFSET (xstormy16_interrupt_function_p () ? -6 : -4) | 229 #define INCOMING_FRAME_SP_OFFSET (xstormy16_interrupt_function_p () ? -6 : -4) |
230 | 230 |
231 #define DEFAULT_INCOMING_FRAME_SP_OFFSET -4 | |
231 | 232 |
232 /* Register That Address the Stack Frame. */ | 233 /* Register That Address the Stack Frame. */ |
233 | 234 |
234 #define STATIC_CHAIN_REGNUM 1 | 235 #define STATIC_CHAIN_REGNUM 1 |
235 #define HARD_FRAME_POINTER_REGNUM 13 | 236 #define HARD_FRAME_POINTER_REGNUM 13 |
253 (OFFSET) = xstormy16_initial_elimination_offset (FROM, TO) | 254 (OFFSET) = xstormy16_initial_elimination_offset (FROM, TO) |
254 | 255 |
255 | 256 |
256 /* Passing Function Arguments on the Stack. */ | 257 /* Passing Function Arguments on the Stack. */ |
257 | 258 |
258 #define PUSH_ROUNDING(BYTES) (((BYTES) + 1) & ~1) | 259 #define PUSH_ROUNDING(BYTES) xstormy16_push_rounding (BYTES) |
259 | 260 |
260 | 261 |
261 /* Function Arguments in Registers. */ | 262 /* Function Arguments in Registers. */ |
262 | 263 |
263 #define NUM_ARGUMENT_REGISTERS 6 | 264 #define NUM_ARGUMENT_REGISTERS 6 |
444 | 445 |
445 #undef PREFERRED_DEBUGGING_TYPE | 446 #undef PREFERRED_DEBUGGING_TYPE |
446 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG | 447 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG |
447 | 448 |
448 | 449 |
449 /* Macros for SDB and Dwarf Output. */ | 450 /* Macros for Dwarf Output. */ |
450 | 451 |
451 /* Define this macro if addresses in Dwarf 2 debugging info should not | 452 /* Define this macro if addresses in Dwarf 2 debugging info should not |
452 be the same size as pointers on the target architecture. The | 453 be the same size as pointers on the target architecture. The |
453 macro's value should be the size, in bytes, to use for addresses in | 454 macro's value should be the size, in bytes, to use for addresses in |
454 the debugging info. | 455 the debugging info. |
473 #define SHIFT_COUNT_TRUNCATED 1 | 474 #define SHIFT_COUNT_TRUNCATED 1 |
474 | 475 |
475 #define Pmode HImode | 476 #define Pmode HImode |
476 | 477 |
477 #define FUNCTION_MODE HImode | 478 #define FUNCTION_MODE HImode |
478 | |
479 #define NO_IMPLICIT_EXTERN_C |