summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 07:27:13 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-03 07:27:13 +0000
commitdd41ed5916255a0b666d3a7a5cb2fb7afcb33049 (patch)
tree9491259b0d05c2a1d5ac9632e9d177ebbae81e81 /gcc/defaults.h
parentebcc7e92dfdfee12c34282c36b82a463f9b5003d (diff)
downloadgcc-dd41ed5916255a0b666d3a7a5cb2fb7afcb33049.tar.gz
gcc/
* defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT) (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN) (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P) (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions in this file. (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P) (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to... * system.h: ...here and make it unconditional. * target.def (conditional_register_usage): Mention define_register_constraint instead of old-style constraint macros. * doc/tm.texi.in: Remove documentation for old-style constraint macros. * doc/tm.texi: Regenerate. * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code protected by !USE_MD_CONSTRAINTS. * config/frv/frv.md: Remove quote from old version of documentation. * config/frv/frv.c (frv_conditional_register_usage): Likewise. * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning CONST_DOUBLE_OK_FOR_LETTER. * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211161 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 8d89a751b75..971f373a24f 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -976,74 +976,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define DEFAULT_USE_CXA_ATEXIT 0
#endif
-/* If none of these macros are defined, the port must use the new
- technique of defining constraints in the machine description.
- tm_p.h will define those macros that machine-independent code
- still uses. */
-#if !defined CONSTRAINT_LEN \
- && !defined REG_CLASS_FROM_LETTER \
- && !defined REG_CLASS_FROM_CONSTRAINT \
- && !defined CONST_OK_FOR_LETTER_P \
- && !defined CONST_OK_FOR_CONSTRAINT_P \
- && !defined CONST_DOUBLE_OK_FOR_LETTER_P \
- && !defined CONST_DOUBLE_OK_FOR_CONSTRAINT_P \
- && !defined EXTRA_CONSTRAINT \
- && !defined EXTRA_CONSTRAINT_STR \
- && !defined EXTRA_MEMORY_CONSTRAINT \
- && !defined EXTRA_ADDRESS_CONSTRAINT
-
-#define USE_MD_CONSTRAINTS
-
#if GCC_VERSION >= 3000 && defined IN_GCC
/* These old constraint macros shouldn't appear anywhere in a
configuration using MD constraint definitions. */
-#pragma GCC poison REG_CLASS_FROM_LETTER CONST_OK_FOR_LETTER_P \
- CONST_DOUBLE_OK_FOR_LETTER_P EXTRA_CONSTRAINT
-#endif
-
-#else /* old constraint mechanism in use */
-
-/* Determine whether extra constraint letter should be handled
- via address reload (like 'o'). */
-#ifndef EXTRA_MEMORY_CONSTRAINT
-#define EXTRA_MEMORY_CONSTRAINT(C,STR) 0
-#endif
-
-/* Determine whether extra constraint letter should be handled
- as an address (like 'p'). */
-#ifndef EXTRA_ADDRESS_CONSTRAINT
-#define EXTRA_ADDRESS_CONSTRAINT(C,STR) 0
-#endif
-
-/* When a port defines CONSTRAINT_LEN, it should use DEFAULT_CONSTRAINT_LEN
- for all the characters that it does not want to change, so things like the
- 'length' of a digit in a matching constraint is an implementation detail,
- and not part of the interface. */
-#define DEFAULT_CONSTRAINT_LEN(C,STR) 1
-
-#ifndef CONSTRAINT_LEN
-#define CONSTRAINT_LEN(C,STR) DEFAULT_CONSTRAINT_LEN (C, STR)
#endif
-#if defined (CONST_OK_FOR_LETTER_P) && ! defined (CONST_OK_FOR_CONSTRAINT_P)
-#define CONST_OK_FOR_CONSTRAINT_P(VAL,C,STR) CONST_OK_FOR_LETTER_P (VAL, C)
-#endif
-
-#if defined (CONST_DOUBLE_OK_FOR_LETTER_P) && ! defined (CONST_DOUBLE_OK_FOR_CONSTRAINT_P)
-#define CONST_DOUBLE_OK_FOR_CONSTRAINT_P(OP,C,STR) \
- CONST_DOUBLE_OK_FOR_LETTER_P (OP, C)
-#endif
-
-#ifndef REG_CLASS_FROM_CONSTRAINT
-#define REG_CLASS_FROM_CONSTRAINT(C,STR) REG_CLASS_FROM_LETTER (C)
-#endif
-
-#if defined (EXTRA_CONSTRAINT) && ! defined (EXTRA_CONSTRAINT_STR)
-#define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)
-#endif
-
-#endif /* old constraint mechanism in use */
-
/* Determin whether the target runtime library is Bionic */
#ifndef TARGET_HAS_BIONIC
#define TARGET_HAS_BIONIC 0