From: Segher Boessenkool <segher@kernel.crashing.org>
To: gcc-patches@gcc.gnu.org
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Subject: [PATCH 3/3] Delete TARGET_LRA_P from those targets that set it to "true"
Date: Mon, 12 Sep 2016 22:28:00 -0000 [thread overview]
Message-ID: <0cfa43dc7973cf8e54c34392939cdd4e366d6a68.1473715747.git.segher@kernel.crashing.org> (raw)
In-Reply-To: <cover.1473715747.git.segher@kernel.crashing.org>
In-Reply-To: <cover.1473715747.git.segher@kernel.crashing.org>
A few targets aready always want LRA; those then do not need to override
the default anymore.
Segher
2016-09-12 Segher Boessenkool <segher@kernel.crashing.org>
* config/aarch64/aarch64.c (TARGET_LRA_P): Delete macro.
* config/arm/arm.c (TARGET_LRA_P): Delete macro.
* config/i386/i386.c (TARGET_LRA_P): Delete macro.
* config/nds32/nds32.c (TARGET_LRA_P): Delete macro.
---
gcc/config/aarch64/aarch64.c | 3 ---
gcc/config/arm/arm.c | 3 ---
gcc/config/i386/i386.c | 3 ---
gcc/config/nds32/nds32.c | 3 ---
4 files changed, 12 deletions(-)
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index 2be750e..04302ad 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -14170,9 +14170,6 @@ aarch64_optab_supported_p (int op, machine_mode mode1, machine_mode,
#undef TARGET_LIBGCC_CMP_RETURN_MODE
#define TARGET_LIBGCC_CMP_RETURN_MODE aarch64_libgcc_cmp_return_mode
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_MANGLE_TYPE
#define TARGET_MANGLE_TYPE aarch64_mangle_type
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 946f308..1183d45 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -355,9 +355,6 @@ static const struct attribute_spec arm_attribute_table[] =
#undef TARGET_LEGITIMIZE_ADDRESS
#define TARGET_LEGITIMIZE_ADDRESS arm_legitimize_address
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_ATTRIBUTE_TABLE
#define TARGET_ATTRIBUTE_TABLE arm_attribute_table
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 051fddb..370345e 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -50620,9 +50620,6 @@ ix86_addr_space_zero_address_valid (addr_space_t as)
#undef TARGET_LEGITIMATE_ADDRESS_P
#define TARGET_LEGITIMATE_ADDRESS_P ix86_legitimate_address_p
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY ix86_register_priority
diff --git a/gcc/config/nds32/nds32.c b/gcc/config/nds32/nds32.c
index c47c122..8dbeba5 100644
--- a/gcc/config/nds32/nds32.c
+++ b/gcc/config/nds32/nds32.c
@@ -3547,9 +3547,6 @@ nds32_target_alignment (rtx label)
#undef TARGET_CLASS_MAX_NREGS
#define TARGET_CLASS_MAX_NREGS nds32_class_max_nregs
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_true
-
#undef TARGET_REGISTER_PRIORITY
#define TARGET_REGISTER_PRIORITY nds32_register_priority
--
1.9.3
prev parent reply other threads:[~2016-09-12 22:22 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-12 22:22 [PATCH 0/3] Default LRA to "on" Segher Boessenkool
2016-09-12 22:22 ` [PATCH 2/3] Change the default of TARGET_LRA_P to true Segher Boessenkool
2016-09-12 22:22 ` [PATCH 1/3] Put a TARGET_LRA_P into every target Segher Boessenkool
2016-09-13 10:42 ` Bernd Schmidt
2016-09-13 11:11 ` Segher Boessenkool
2016-09-13 14:27 ` Andrew Pinski
2016-09-13 15:53 ` Peter Bergner
2016-09-13 16:08 ` Jeff Law
2016-09-13 17:08 ` Mike Stump
2016-09-13 16:23 ` Joseph Myers
2016-09-13 20:07 ` Segher Boessenkool
2016-09-13 16:02 ` Jeff Law
2016-09-13 20:39 ` Jeff Law
2016-09-14 11:06 ` Segher Boessenkool
2016-09-14 13:01 ` Peter Bergner
2016-09-14 14:01 ` Segher Boessenkool
2016-09-16 10:39 ` Gerald Pfeifer
2016-09-16 13:34 ` Richard Kenner
2016-09-16 14:35 ` Segher Boessenkool
2016-09-16 19:46 ` Mike Stump
2016-09-19 15:55 ` Segher Boessenkool
2016-09-12 22:28 ` Segher Boessenkool [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0cfa43dc7973cf8e54c34392939cdd4e366d6a68.1473715747.git.segher@kernel.crashing.org \
--to=segher@kernel.crashing.org \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).