diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2018-03-06 12:50:16 +0100 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2018-03-06 12:50:16 +0100 |
commit | b51addd6e1470a4b481e839a595fde32286a9dc3 (patch) | |
tree | 345e89c02f5cfeff909ea94dd3547fd831264fb4 /gcc/config/arc/arc.h | |
parent | 155958ddfeaf5b657357440bf3127243c61cc951 (diff) | |
download | gcc-b51addd6e1470a4b481e839a595fde32286a9dc3.zip gcc-b51addd6e1470a4b481e839a595fde32286a9dc3.tar.gz gcc-b51addd6e1470a4b481e839a595fde32286a9dc3.tar.bz2 |
[ARC] Cleanup unused functions.
Remove unused pieces of code.
gcc/
2018-03-06 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc.c (arc_finalize_pic): Remove function.
(arc_must_save_register): We use single base PIC register, remove
checks to save/restore the PIC register.
(arc_expand_prologue): Likewise.
* config/arc/arc-protos.h (arc_set_default_type_attributes):
Remove.
(arc_verify_short): Likewise.
(arc_attr_type): Likewise.
* config/arc/arc.c (arc_set_default_type_attributes): Remove.
(walk_stores): Likewise.
(arc_address_cost): Make it static.
(arc_verify_short): Likewise.
(branch_dest): Likewise.
(arc_attr_type): Likewise.
* config/arc/arc.c (TARGET_ADJUST_INSN_LENGTH): Remove.
(TARGET_INSN_LENGTH_PARAMETERS): Likewise.
(arc_final_prescan_insn): Remove inserting the nops due to
hardware hazards. It is done in reorg step.
(insn_length_variant_t): Remove.
(insn_length_parameters_t): Likewise.
(arc_insn_length_parameters): Likewise.
(arc_get_insn_variants): Likewise.
* config/arc/arc.h (TARGET_UPSIZE_DBR): Remove.
From-SVN: r258275
Diffstat (limited to 'gcc/config/arc/arc.h')
-rw-r--r-- | gcc/config/arc/arc.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 1f3ed44..a8d03ce 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -141,9 +141,6 @@ extern const char *arc_cpu_to_as (int argc, const char **argv); /* Should we try to unalign likely taken branches without a delay slot. */ #define TARGET_UNALIGN_BRANCH (TARGET_ARC700 && !optimize_size) -/* Should we upsize short delayed branches with a short delay insn? */ -#define TARGET_UPSIZE_DBR (TARGET_ARC700 && !optimize_size) - /* Should we add padding before a return insn to avoid mispredict? */ #define TARGET_PAD_RETURN (TARGET_ARC700 && !optimize_size) |