summaryrefslogtreecommitdiff
path: root/gcc/config/frv/frv.c
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/config/frv/frv.c
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/config/frv/frv.c')
-rw-r--r--gcc/config/frv/frv.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c
index fda2c1fd857..98992b29db8 100644
--- a/gcc/config/frv/frv.c
+++ b/gcc/config/frv/frv.c
@@ -782,25 +782,7 @@ frv_string_begins_with (const_tree name, const char *prefix)
&& strncmp (TREE_STRING_POINTER (name), prefix, prefix_len) == 0);
}
-/* Zero or more C statements that may conditionally modify two variables
- `fixed_regs' and `call_used_regs' (both of type `char []') after they have
- been initialized from the two preceding macros.
-
- This is necessary in case the fixed or call-clobbered registers depend on
- target flags.
-
- You need not define this macro if it has no work to do.
-
- If the usage of an entire class of registers depends on the target flags,
- you may indicate this to GCC by using this macro to modify `fixed_regs' and
- `call_used_regs' to 1 for each of the registers in the classes which should
- not be used by GCC. Also define the macro `REG_CLASS_FROM_LETTER' to return
- `NO_REGS' if it is called with a letter for a class that shouldn't be used.
-
- (However, if this class is not included in `GENERAL_REGS' and all of the
- insn patterns whose constraints permit this class are controlled by target
- switches, then GCC will automatically avoid using these registers when the
- target switches are opposed to them.) */
+/* Implement TARGET_CONDITIONAL_REGISTER_USAGE. */
static void
frv_conditional_register_usage (void)