aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authorJeff Law <jlaw@ventanamicro>2023-05-01 07:14:50 -0600
committerJeff Law <jlaw@ventanamicro>2023-05-01 07:20:43 -0600
commitfaf8bea79b62569af2891e7adc6f758141f738af (patch)
treeb1e5241684a4088996ab06ab4cec51a18f63f9a5 /gcc/config/cris
parent12de8da8961d294904d6af90b9cc27a5ba1ccfd0 (diff)
downloadgcc-faf8bea79b62569af2891e7adc6f758141f738af.zip
gcc-faf8bea79b62569af2891e7adc6f758141f738af.tar.gz
gcc-faf8bea79b62569af2891e7adc6f758141f738af.tar.bz2
Enable LRA on several ports
Spurred by Segher's RFC, I went ahead and tested several ports with LRA enabled. Not surprisingly, many failed, but a few built their full set of libraries successful and of those a few even ran their testsuites with no regressions. In fact, enabling LRA fixes a small number of failures on the iq2000 port. This patch converts the ports which built their libraries and have test results that are as good as or better than without LRA. There may be minor code quality regressions or there may be minor code quality improvements -- I'm leaving that for the port maintainers to own going forward. gcc/ * config/cris/cris.cc (TARGET_LRA_P): Remove. * config/epiphany/epiphany.cc (TARGET_LRA_P): Remove. * config/iq2000/iq2000.cc (TARGET_LRA_P): Remove. * config/m32r/m32r.cc (TARGET_LRA_P): Remove. * config/microblaze/microblaze.cc (TARGET_LRA_P): Remove. * config/mmix/mmix.cc (TARGET_LRA_P): Remove.
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/cris.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/cris/cris.cc b/gcc/config/cris/cris.cc
index 05dead9..7ce1b75 100644
--- a/gcc/config/cris/cris.cc
+++ b/gcc/config/cris/cris.cc
@@ -215,9 +215,6 @@ int cris_cpu_version = CRIS_DEFAULT_CPU_VERSION;
#undef TARGET_INIT_LIBFUNCS
#define TARGET_INIT_LIBFUNCS cris_init_libfuncs
-#undef TARGET_LRA_P
-#define TARGET_LRA_P hook_bool_void_false
-
#undef TARGET_LEGITIMATE_ADDRESS_P
#define TARGET_LEGITIMATE_ADDRESS_P cris_legitimate_address_p