Clarify that the argument to -t is in seconds.
[dragonfly/netmp.git] / contrib / gcc-3.4 / gcc / defaults.h
blobd603547952542ad72eb9de7cda1e5146f912f435
1 /* Definitions of various defaults for tm.h macros.
2 Copyright (C) 1992, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
3 Free Software Foundation, Inc.
4 Contributed by Ron Guilmette (rfg@monkeys.com)
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2, or (at your option) any later
11 version.
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING. If not, write to the Free
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
21 02111-1307, USA. */
23 #ifndef GCC_DEFAULTS_H
24 #define GCC_DEFAULTS_H
26 #ifndef GET_ENVIRONMENT
27 #define GET_ENVIRONMENT(VALUE, NAME) do { (VALUE) = getenv (NAME); } while (0)
28 #endif
30 #define obstack_chunk_alloc ((void *(*) (long)) xmalloc)
31 #define obstack_chunk_free ((void (*) (void *)) free)
32 #define OBSTACK_CHUNK_SIZE 0
33 #define gcc_obstack_init(OBSTACK) \
34 _obstack_begin ((OBSTACK), OBSTACK_CHUNK_SIZE, 0, \
35 obstack_chunk_alloc, \
36 obstack_chunk_free)
38 /* Define default standard character escape sequences. */
39 #ifndef TARGET_BELL
40 # define TARGET_BELL 007
41 # define TARGET_BS 010
42 # define TARGET_TAB 011
43 # define TARGET_NEWLINE 012
44 # define TARGET_VT 013
45 # define TARGET_FF 014
46 # define TARGET_CR 015
47 # define TARGET_ESC 033
48 #endif
50 /* Store in OUTPUT a string (made with alloca) containing an
51 assembler-name for a local static variable or function named NAME.
52 LABELNO is an integer which is different for each call. */
54 #ifndef ASM_PN_FORMAT
55 # ifndef NO_DOT_IN_LABEL
56 # define ASM_PN_FORMAT "%s.%lu"
57 # else
58 # ifndef NO_DOLLAR_IN_LABEL
59 # define ASM_PN_FORMAT "%s$%lu"
60 # else
61 # define ASM_PN_FORMAT "__%s_%lu"
62 # endif
63 # endif
64 #endif /* ! ASM_PN_FORMAT */
66 #ifndef ASM_FORMAT_PRIVATE_NAME
67 # define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \
68 do { const char *const name_ = (NAME); \
69 char *const output_ = (OUTPUT) = alloca (strlen (name_) + 32);\
70 sprintf (output_, ASM_PN_FORMAT, name_, (unsigned long)(LABELNO)); \
71 } while (0)
72 #endif
74 #ifndef ASM_STABD_OP
75 #define ASM_STABD_OP "\t.stabd\t"
76 #endif
78 /* This is how to output an element of a case-vector that is absolute.
79 Some targets don't use this, but we have to define it anyway. */
81 #ifndef ASM_OUTPUT_ADDR_VEC_ELT
82 #define ASM_OUTPUT_ADDR_VEC_ELT(FILE, VALUE) \
83 do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
84 (*targetm.asm_out.internal_label) (FILE, "L", (VALUE)); \
85 fputc ('\n', FILE); \
86 } while (0)
87 #endif
89 /* Choose a reasonable default for ASM_OUTPUT_ASCII. */
91 #ifndef ASM_OUTPUT_ASCII
92 #define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \
93 do { \
94 FILE *_hide_asm_out_file = (MYFILE); \
95 const unsigned char *_hide_p = (const unsigned char *) (MYSTRING); \
96 int _hide_thissize = (MYLENGTH); \
97 { \
98 FILE *asm_out_file = _hide_asm_out_file; \
99 const unsigned char *p = _hide_p; \
100 int thissize = _hide_thissize; \
101 int i; \
102 fprintf (asm_out_file, "\t.ascii \""); \
104 for (i = 0; i < thissize; i++) \
106 int c = p[i]; \
107 if (c == '\"' || c == '\\') \
108 putc ('\\', asm_out_file); \
109 if (ISPRINT(c)) \
110 putc (c, asm_out_file); \
111 else \
113 fprintf (asm_out_file, "\\%o", c); \
114 /* After an octal-escape, if a digit follows, \
115 terminate one string constant and start another. \
116 The VAX assembler fails to stop reading the escape \
117 after three digits, so this is the only way we \
118 can get it to parse the data properly. */ \
119 if (i < thissize - 1 && ISDIGIT(p[i + 1])) \
120 fprintf (asm_out_file, "\"\n\t.ascii \""); \
123 fprintf (asm_out_file, "\"\n"); \
126 while (0)
127 #endif
129 /* This is how we tell the assembler to equate two values. */
130 #ifdef SET_ASM_OP
131 #ifndef ASM_OUTPUT_DEF
132 #define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \
133 do { fprintf ((FILE), "%s", SET_ASM_OP); \
134 assemble_name (FILE, LABEL1); \
135 fprintf (FILE, ","); \
136 assemble_name (FILE, LABEL2); \
137 fprintf (FILE, "\n"); \
138 } while (0)
139 #endif
140 #endif
142 /* Decide whether to defer emitting the assembler output for an equate
143 of two values. The default is to not defer output. */
144 #ifndef TARGET_DEFERRED_OUTPUT_DEFS
145 #define TARGET_DEFERRED_OUTPUT_DEFS(DECL,TARGET) false
146 #endif
148 /* This is how to output the definition of a user-level label named
149 NAME, such as the label on a static function or variable NAME. */
151 #ifndef ASM_OUTPUT_LABEL
152 #define ASM_OUTPUT_LABEL(FILE,NAME) \
153 do { assemble_name ((FILE), (NAME)); fputs (":\n", (FILE)); } while (0)
154 #endif
156 /* This is how to output a reference to a user-level label named NAME. */
158 #ifndef ASM_OUTPUT_LABELREF
159 #define ASM_OUTPUT_LABELREF(FILE,NAME) asm_fprintf ((FILE), "%U%s", (NAME))
160 #endif
162 /* Allow target to print debug info labels specially. This is useful for
163 VLIW targets, since debug info labels should go into the middle of
164 instruction bundles instead of breaking them. */
166 #ifndef ASM_OUTPUT_DEBUG_LABEL
167 #define ASM_OUTPUT_DEBUG_LABEL(FILE, PREFIX, NUM) \
168 (*targetm.asm_out.internal_label) (FILE, PREFIX, NUM)
169 #endif
171 /* This is how we tell the assembler that a symbol is weak. */
172 #ifndef ASM_OUTPUT_WEAK_ALIAS
173 #if defined (ASM_WEAKEN_LABEL) && defined (ASM_OUTPUT_DEF)
174 #define ASM_OUTPUT_WEAK_ALIAS(STREAM, NAME, VALUE) \
175 do \
177 ASM_WEAKEN_LABEL (STREAM, NAME); \
178 if (VALUE) \
179 ASM_OUTPUT_DEF (STREAM, NAME, VALUE); \
181 while (0)
182 #endif
183 #endif
185 /* How to emit a .type directive. */
186 #ifndef ASM_OUTPUT_TYPE_DIRECTIVE
187 #if defined TYPE_ASM_OP && defined TYPE_OPERAND_FMT
188 #define ASM_OUTPUT_TYPE_DIRECTIVE(STREAM, NAME, TYPE) \
189 do \
191 fputs (TYPE_ASM_OP, STREAM); \
192 assemble_name (STREAM, NAME); \
193 fputs (", ", STREAM); \
194 fprintf (STREAM, TYPE_OPERAND_FMT, TYPE); \
195 putc ('\n', STREAM); \
197 while (0)
198 #endif
199 #endif
201 /* How to emit a .size directive. */
202 #ifndef ASM_OUTPUT_SIZE_DIRECTIVE
203 #ifdef SIZE_ASM_OP
204 #define ASM_OUTPUT_SIZE_DIRECTIVE(STREAM, NAME, SIZE) \
205 do \
207 HOST_WIDE_INT size_ = (SIZE); \
208 fputs (SIZE_ASM_OP, STREAM); \
209 assemble_name (STREAM, NAME); \
210 fprintf (STREAM, ", " HOST_WIDE_INT_PRINT_DEC "\n", size_); \
212 while (0)
214 #define ASM_OUTPUT_MEASURED_SIZE(STREAM, NAME) \
215 do \
217 fputs (SIZE_ASM_OP, STREAM); \
218 assemble_name (STREAM, NAME); \
219 fputs (", .-", STREAM); \
220 assemble_name (STREAM, NAME); \
221 putc ('\n', STREAM); \
223 while (0)
225 #endif
226 #endif
228 /* This determines whether or not we support weak symbols. */
229 #ifndef SUPPORTS_WEAK
230 #if defined (ASM_WEAKEN_LABEL) || defined (ASM_WEAKEN_DECL)
231 #define SUPPORTS_WEAK 1
232 #else
233 #define SUPPORTS_WEAK 0
234 #endif
235 #endif
237 /* This determines whether or not we support link-once semantics. */
238 #ifndef SUPPORTS_ONE_ONLY
239 #ifdef MAKE_DECL_ONE_ONLY
240 #define SUPPORTS_ONE_ONLY 1
241 #else
242 #define SUPPORTS_ONE_ONLY 0
243 #endif
244 #endif
246 /* By default, there is no prefix on user-defined symbols. */
247 #ifndef USER_LABEL_PREFIX
248 #define USER_LABEL_PREFIX ""
249 #endif
251 /* If the target supports weak symbols, define TARGET_ATTRIBUTE_WEAK to
252 provide a weak attribute. Else define it to nothing.
254 This would normally belong in ansidecl.h, but SUPPORTS_WEAK is
255 not available at that time.
257 Note, this is only for use by target files which we know are to be
258 compiled by GCC. */
259 #ifndef TARGET_ATTRIBUTE_WEAK
260 # if SUPPORTS_WEAK
261 # define TARGET_ATTRIBUTE_WEAK __attribute__ ((weak))
262 # else
263 # define TARGET_ATTRIBUTE_WEAK
264 # endif
265 #endif
267 /* If the target supports init_priority C++ attribute, give
268 SUPPORTS_INIT_PRIORITY a nonzero value. */
269 #ifndef SUPPORTS_INIT_PRIORITY
270 #define SUPPORTS_INIT_PRIORITY 1
271 #endif /* SUPPORTS_INIT_PRIORITY */
273 /* If duplicate library search directories can be removed from a
274 linker command without changing the linker's semantics, give this
275 symbol a nonzero. */
276 #ifndef LINK_ELIMINATE_DUPLICATE_LDIRECTORIES
277 #define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 0
278 #endif /* LINK_ELIMINATE_DUPLICATE_LDIRECTORIES */
280 /* If we have a definition of INCOMING_RETURN_ADDR_RTX, assume that
281 the rest of the DWARF 2 frame unwind support is also provided. */
282 #if !defined (DWARF2_UNWIND_INFO) && defined (INCOMING_RETURN_ADDR_RTX)
283 #define DWARF2_UNWIND_INFO 1
284 #endif
286 /* If we have named sections, and we're using crtstuff to run ctors,
287 use them for registering eh frame information. */
288 #if defined (TARGET_ASM_NAMED_SECTION) && DWARF2_UNWIND_INFO \
289 && !defined(EH_FRAME_IN_DATA_SECTION)
290 #ifndef EH_FRAME_SECTION_NAME
291 #define EH_FRAME_SECTION_NAME ".eh_frame"
292 #endif
293 #endif
295 /* If we have named section and we support weak symbols, then use the
296 .jcr section for recording java classes which need to be registered
297 at program start-up time. */
298 #if defined (TARGET_ASM_NAMED_SECTION) && SUPPORTS_WEAK
299 #ifndef JCR_SECTION_NAME
300 #define JCR_SECTION_NAME ".jcr"
301 #endif
302 #endif
304 /* By default, we generate a label at the beginning and end of the
305 text section, and compute the size of the text section by
306 subtracting the two. However, on some platforms that doesn't
307 work, and we use the section itself, rather than a label at the
308 beginning of it, to indicate the start of the section. On such
309 platforms, define this to zero. */
310 #ifndef DWARF2_GENERATE_TEXT_SECTION_LABEL
311 #define DWARF2_GENERATE_TEXT_SECTION_LABEL 1
312 #endif
314 /* Supply a default definition for PROMOTE_PROTOTYPES. */
315 #ifndef PROMOTE_PROTOTYPES
316 #define PROMOTE_PROTOTYPES 0
317 #endif
319 /* Number of hardware registers that go into the DWARF-2 unwind info.
320 If not defined, equals FIRST_PSEUDO_REGISTER */
322 #ifndef DWARF_FRAME_REGISTERS
323 #define DWARF_FRAME_REGISTERS FIRST_PSEUDO_REGISTER
324 #endif
326 /* How to renumber registers for dbx and gdb. If not defined, assume
327 no renumbering is necessary. */
329 #ifndef DBX_REGISTER_NUMBER
330 #define DBX_REGISTER_NUMBER(REGNO) (REGNO)
331 #endif
333 /* Default sizes for base C types. If the sizes are different for
334 your target, you should override these values by defining the
335 appropriate symbols in your tm.h file. */
337 #ifndef BITS_PER_UNIT
338 #define BITS_PER_UNIT 8
339 #endif
341 #ifndef BITS_PER_WORD
342 #define BITS_PER_WORD (BITS_PER_UNIT * UNITS_PER_WORD)
343 #endif
345 #ifndef CHAR_TYPE_SIZE
346 #define CHAR_TYPE_SIZE BITS_PER_UNIT
347 #endif
349 #ifndef BOOL_TYPE_SIZE
350 /* `bool' has size and alignment `1', on almost all platforms. */
351 #define BOOL_TYPE_SIZE CHAR_TYPE_SIZE
352 #endif
354 #ifndef SHORT_TYPE_SIZE
355 #define SHORT_TYPE_SIZE (BITS_PER_UNIT * MIN ((UNITS_PER_WORD + 1) / 2, 2))
356 #endif
358 #ifndef INT_TYPE_SIZE
359 #define INT_TYPE_SIZE BITS_PER_WORD
360 #endif
362 #ifndef LONG_TYPE_SIZE
363 #define LONG_TYPE_SIZE BITS_PER_WORD
364 #endif
366 #ifndef LONG_LONG_TYPE_SIZE
367 #define LONG_LONG_TYPE_SIZE (BITS_PER_WORD * 2)
368 #endif
370 #ifndef WCHAR_TYPE_SIZE
371 #define WCHAR_TYPE_SIZE INT_TYPE_SIZE
372 #endif
374 #ifndef FLOAT_TYPE_SIZE
375 #define FLOAT_TYPE_SIZE BITS_PER_WORD
376 #endif
378 #ifndef DOUBLE_TYPE_SIZE
379 #define DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
380 #endif
382 #ifndef LONG_DOUBLE_TYPE_SIZE
383 #define LONG_DOUBLE_TYPE_SIZE (BITS_PER_WORD * 2)
384 #endif
386 /* Width in bits of a pointer. Mind the value of the macro `Pmode'. */
387 #ifndef POINTER_SIZE
388 #define POINTER_SIZE BITS_PER_WORD
389 #endif
391 #ifndef PIC_OFFSET_TABLE_REGNUM
392 #define PIC_OFFSET_TABLE_REGNUM INVALID_REGNUM
393 #endif
395 /* By default, the preprocessor should be invoked the same way in C++
396 as in C. */
397 #ifndef CPLUSPLUS_CPP_SPEC
398 #ifdef CPP_SPEC
399 #define CPLUSPLUS_CPP_SPEC CPP_SPEC
400 #endif
401 #endif
403 #ifndef ACCUMULATE_OUTGOING_ARGS
404 #define ACCUMULATE_OUTGOING_ARGS 0
405 #endif
407 /* Supply a default definition for PUSH_ARGS. */
408 #ifndef PUSH_ARGS
409 #ifdef PUSH_ROUNDING
410 #define PUSH_ARGS !ACCUMULATE_OUTGOING_ARGS
411 #else
412 #define PUSH_ARGS 0
413 #endif
414 #endif
416 /* Decide whether a function's arguments should be processed
417 from first to last or from last to first.
419 They should if the stack and args grow in opposite directions, but
420 only if we have push insns. */
422 #ifdef PUSH_ROUNDING
424 #ifndef PUSH_ARGS_REVERSED
425 #if defined (STACK_GROWS_DOWNWARD) != defined (ARGS_GROW_DOWNWARD)
426 #define PUSH_ARGS_REVERSED PUSH_ARGS
427 #endif
428 #endif
430 #endif
432 #ifndef PUSH_ARGS_REVERSED
433 #define PUSH_ARGS_REVERSED 0
434 #endif
436 /* If PREFERRED_STACK_BOUNDARY is not defined, set it to STACK_BOUNDARY.
437 STACK_BOUNDARY is required. */
438 #ifndef PREFERRED_STACK_BOUNDARY
439 #define PREFERRED_STACK_BOUNDARY STACK_BOUNDARY
440 #endif
442 /* By default, the C++ compiler will use function addresses in the
443 vtable entries. Setting this nonzero tells the compiler to use
444 function descriptors instead. The value of this macro says how
445 many words wide the descriptor is (normally 2). It is assumed
446 that the address of a function descriptor may be treated as a
447 pointer to a function. */
448 #ifndef TARGET_VTABLE_USES_DESCRIPTORS
449 #define TARGET_VTABLE_USES_DESCRIPTORS 0
450 #endif
452 /* By default, the vtable entries are void pointers, the so the alignment
453 is the same as pointer alignment. The value of this macro specifies
454 the alignment of the vtable entry in bits. It should be defined only
455 when special alignment is necessary. */
456 #ifndef TARGET_VTABLE_ENTRY_ALIGN
457 #define TARGET_VTABLE_ENTRY_ALIGN POINTER_SIZE
458 #endif
460 /* There are a few non-descriptor entries in the vtable at offsets below
461 zero. If these entries must be padded (say, to preserve the alignment
462 specified by TARGET_VTABLE_ENTRY_ALIGN), set this to the number of
463 words in each data entry. */
464 #ifndef TARGET_VTABLE_DATA_ENTRY_DISTANCE
465 #define TARGET_VTABLE_DATA_ENTRY_DISTANCE 1
466 #endif
468 /* Select a format to encode pointers in exception handling data. We
469 prefer those that result in fewer dynamic relocations. Assume no
470 special support here and encode direct references. */
471 #ifndef ASM_PREFERRED_EH_DATA_FORMAT
472 #define ASM_PREFERRED_EH_DATA_FORMAT(CODE,GLOBAL) DW_EH_PE_absptr
473 #endif
475 /* By default, the C++ compiler will use the lowest bit of the pointer
476 to function to indicate a pointer-to-member-function points to a
477 virtual member function. However, if FUNCTION_BOUNDARY indicates
478 function addresses aren't always even, the lowest bit of the delta
479 field will be used. */
480 #ifndef TARGET_PTRMEMFUNC_VBIT_LOCATION
481 #define TARGET_PTRMEMFUNC_VBIT_LOCATION \
482 (FUNCTION_BOUNDARY >= 2 * BITS_PER_UNIT \
483 ? ptrmemfunc_vbit_in_pfn : ptrmemfunc_vbit_in_delta)
484 #endif
486 #ifndef DEFAULT_GDB_EXTENSIONS
487 #define DEFAULT_GDB_EXTENSIONS 1
488 #endif
490 /* If more than one debugging type is supported, you must define
491 PREFERRED_DEBUGGING_TYPE to choose a format in a system-dependent way.
493 This is one long line cause VAXC can't handle a \-newline. */
494 #if 1 < (defined (DBX_DEBUGGING_INFO) + defined (SDB_DEBUGGING_INFO) + defined (DWARF2_DEBUGGING_INFO) + defined (XCOFF_DEBUGGING_INFO) + defined (VMS_DEBUGGING_INFO))
495 #ifndef PREFERRED_DEBUGGING_TYPE
496 You Lose! You must define PREFERRED_DEBUGGING_TYPE!
497 #endif /* no PREFERRED_DEBUGGING_TYPE */
498 #else /* Only one debugging format supported. Define PREFERRED_DEBUGGING_TYPE
499 so other code needn't care. */
500 #ifdef DBX_DEBUGGING_INFO
501 #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
502 #endif
503 #ifdef SDB_DEBUGGING_INFO
504 #define PREFERRED_DEBUGGING_TYPE SDB_DEBUG
505 #endif
506 #ifdef DWARF_DEBUGGING_INFO
507 #define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG
508 #endif
509 #ifdef DWARF2_DEBUGGING_INFO
510 #define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
511 #endif
512 #ifdef VMS_DEBUGGING_INFO
513 #define PREFERRED_DEBUGGING_TYPE VMS_AND_DWARF2_DEBUG
514 #endif
515 #ifdef XCOFF_DEBUGGING_INFO
516 #define PREFERRED_DEBUGGING_TYPE XCOFF_DEBUG
517 #endif
518 #endif /* More than one debugger format enabled. */
520 /* If still not defined, must have been because no debugging formats
521 are supported. */
522 #ifndef PREFERRED_DEBUGGING_TYPE
523 #define PREFERRED_DEBUGGING_TYPE NO_DEBUG
524 #endif
526 /* Define codes for all the float formats that we know of. */
527 #define UNKNOWN_FLOAT_FORMAT 0
528 #define IEEE_FLOAT_FORMAT 1
529 #define VAX_FLOAT_FORMAT 2
530 #define IBM_FLOAT_FORMAT 3
531 #define C4X_FLOAT_FORMAT 4
533 /* Default to IEEE float if not specified. Nearly all machines use it. */
534 #ifndef TARGET_FLOAT_FORMAT
535 #define TARGET_FLOAT_FORMAT IEEE_FLOAT_FORMAT
536 #endif
538 /* Determine the register class for registers suitable to be the base
539 address register in a MEM. Allow the choice to be dependent upon
540 the mode of the memory access. */
541 #ifndef MODE_BASE_REG_CLASS
542 #define MODE_BASE_REG_CLASS(MODE) BASE_REG_CLASS
543 #endif
545 #ifndef LARGEST_EXPONENT_IS_NORMAL
546 #define LARGEST_EXPONENT_IS_NORMAL(SIZE) 0
547 #endif
549 #ifndef ROUND_TOWARDS_ZERO
550 #define ROUND_TOWARDS_ZERO 0
551 #endif
553 #ifndef MODE_HAS_NANS
554 #define MODE_HAS_NANS(MODE) \
555 (FLOAT_MODE_P (MODE) \
556 && TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT \
557 && !LARGEST_EXPONENT_IS_NORMAL (GET_MODE_BITSIZE (MODE)))
558 #endif
560 #ifndef MODE_HAS_INFINITIES
561 #define MODE_HAS_INFINITIES(MODE) \
562 (FLOAT_MODE_P (MODE) \
563 && TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT \
564 && !LARGEST_EXPONENT_IS_NORMAL (GET_MODE_BITSIZE (MODE)))
565 #endif
567 #ifndef MODE_HAS_SIGNED_ZEROS
568 #define MODE_HAS_SIGNED_ZEROS(MODE) \
569 (FLOAT_MODE_P (MODE) && TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT)
570 #endif
572 #ifndef MODE_HAS_SIGN_DEPENDENT_ROUNDING
573 #define MODE_HAS_SIGN_DEPENDENT_ROUNDING(MODE) \
574 (FLOAT_MODE_P (MODE) \
575 && TARGET_FLOAT_FORMAT == IEEE_FLOAT_FORMAT \
576 && !ROUND_TOWARDS_ZERO)
577 #endif
579 #ifndef FLOAT_LIB_COMPARE_RETURNS_BOOL
580 #define FLOAT_LIB_COMPARE_RETURNS_BOOL(MODE, COMPARISON) false
581 #endif
583 /* If FLOAT_WORDS_BIG_ENDIAN is not defined in the header files,
584 then the word-endianness is the same as for integers. */
585 #ifndef FLOAT_WORDS_BIG_ENDIAN
586 #define FLOAT_WORDS_BIG_ENDIAN WORDS_BIG_ENDIAN
587 #endif
589 #ifndef TARGET_FLT_EVAL_METHOD
590 #define TARGET_FLT_EVAL_METHOD 0
591 #endif
593 #ifndef HOT_TEXT_SECTION_NAME
594 #define HOT_TEXT_SECTION_NAME "text.hot"
595 #endif
597 #ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME
598 #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely"
599 #endif
601 #ifndef VECTOR_MODE_SUPPORTED_P
602 #define VECTOR_MODE_SUPPORTED_P(MODE) 0
603 #endif
605 /* Determine whether __cxa_atexit, rather than atexit, is used to
606 register C++ destructors for local statics and global objects. */
607 #ifndef DEFAULT_USE_CXA_ATEXIT
608 #define DEFAULT_USE_CXA_ATEXIT 0
609 #endif
611 /* Determine whether extra constraint letter should be handled
612 via address reload (like 'o'). */
613 #ifndef EXTRA_MEMORY_CONSTRAINT
614 #define EXTRA_MEMORY_CONSTRAINT(C,STR) 0
615 #endif
617 /* Determine whether extra constraint letter should be handled
618 as an address (like 'p'). */
619 #ifndef EXTRA_ADDRESS_CONSTRAINT
620 #define EXTRA_ADDRESS_CONSTRAINT(C,STR) 0
621 #endif
623 /* When a port defines CONSTRAINT_LEN, it should use DEFAULT_CONSTRAINT_LEN
624 for all the characters that it does not want to change, so things like the
625 'length' of a digit in a matching constraint is an implementation detail,
626 and not part of the interface. */
627 #define DEFAULT_CONSTRAINT_LEN(C,STR) 1
629 #ifndef CONSTRAINT_LEN
630 #define CONSTRAINT_LEN(C,STR) DEFAULT_CONSTRAINT_LEN (C, STR)
631 #endif
633 #if defined (CONST_OK_FOR_LETTER_P) && ! defined (CONST_OK_FOR_CONSTRAINT_P)
634 #define CONST_OK_FOR_CONSTRAINT_P(VAL,C,STR) CONST_OK_FOR_LETTER_P (VAL, C)
635 #endif
637 #if defined (CONST_DOUBLE_OK_FOR_LETTER_P) && ! defined (CONST_DOUBLE_OK_FOR_CONSTRAINT_P)
638 #define CONST_DOUBLE_OK_FOR_CONSTRAINT_P(OP,C,STR) \
639 CONST_DOUBLE_OK_FOR_LETTER_P (OP, C)
640 #endif
642 #ifndef REG_CLASS_FROM_CONSTRAINT
643 #define REG_CLASS_FROM_CONSTRAINT(C,STR) REG_CLASS_FROM_LETTER (C)
644 #endif
646 #if defined (EXTRA_CONSTRAINT) && ! defined (EXTRA_CONSTRAINT_STR)
647 #define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)
648 #endif
650 #ifndef REGISTER_MOVE_COST
651 #define REGISTER_MOVE_COST(m, x, y) 2
652 #endif
654 /* Determine whether the the entire c99 runtime
655 is present in the runtime library. */
656 #ifndef TARGET_C99_FUNCTIONS
657 #define TARGET_C99_FUNCTIONS 0
658 #endif
660 /* Indicate that CLZ and CTZ are undefined at zero. */
661 #ifndef CLZ_DEFINED_VALUE_AT_ZERO
662 #define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) 0
663 #endif
664 #ifndef CTZ_DEFINED_VALUE_AT_ZERO
665 #define CTZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) 0
666 #endif
668 /* Provide a default value for STORE_FLAG_VALUE. */
669 #ifndef STORE_FLAG_VALUE
670 #define STORE_FLAG_VALUE 1
671 #endif
673 /* This macro is used to determine what the largest unit size that
674 move_by_pieces can use is. */
676 /* MOVE_MAX_PIECES is the number of bytes at a time which we can
677 move efficiently, as opposed to MOVE_MAX which is the maximum
678 number of bytes we can move with a single instruction. */
680 #ifndef MOVE_MAX_PIECES
681 #define MOVE_MAX_PIECES MOVE_MAX
682 #endif
684 #ifndef STACK_POINTER_OFFSET
685 #define STACK_POINTER_OFFSET 0
686 #endif
688 #ifndef LOCAL_REGNO
689 #define LOCAL_REGNO(REGNO) 0
690 #endif
692 /* EXIT_IGNORE_STACK should be nonzero if, when returning from a function,
693 the stack pointer does not matter. The value is tested only in
694 functions that have frame pointers. */
695 #ifndef EXIT_IGNORE_STACK
696 #define EXIT_IGNORE_STACK 0
697 #endif
699 #endif /* ! GCC_DEFAULTS_H */