[ARC] Enable code density frame option for elf targets

Programming / Compilers / GCC - claziss [138bc75d-0d04-0410-961f-82ee72b054a4] - 18 March 2019 09:28 EDT

xxxx-xx-xx Claudiu Zissulescu

- config/arc/arc.opt (mcode-density-frame): Get the inital value from TARGET_CODE_DENSITY_FRAME_DEFAULT.
- config/arc/elf.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
- config/arc/linux.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
- config/arc/arc.md (pop_multi_fp_blink): Adjust constraints to match what the ops is doing. (push_multi_fp_blink): Likewise.
- config/arc/arc.c (arc_override_options): Enable enter/leave when compiling for size and elf target. (arc_save_callee_enter): Adjust note to match what enter/leave operation does.

990179497c2 [ARC] Enable code density frame option for elf targets.
gcc/ChangeLog | 14 ++++++++++++++
gcc/config/arc/arc.c | 5 ++++-
gcc/config/arc/arc.md | 22 ++++++++++++----------
gcc/config/arc/arc.opt | 2 +-
gcc/config/arc/elf.h | 4 ++++
gcc/config/arc/linux.h | 4 ++++
6 files changed, 39 insertions(+), 12 deletions(-)

Upstream: gcc.gnu.org


  • Share