r262738 - in /branches/gcc-8-branch/gcc: Change...
claziss@gcc.gnu.org
claziss@gcc.gnu.org
Mon Jul 16 16:17:00 GMT 2018
Author: claziss
Date: Mon Jul 16 16:17:02 2018
New Revision: 262738
URL: https://gcc.gnu.org/viewcvs?rev=262738&root=gcc&view=rev
Log:
[ARC] Reimplement return padding
2018-06-16 Claudiu Zissulescu <claziss@synopsys.com>
Backport from mainline
2018-06-12 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc-protos.h (arc_pad_return): Remove.
* config/arc/arc.c (machine_function): Remove force_short_suffix
and size_reason.
(arc_print_operand): Adjust printing of '&'.
(arc_verify_short): Remove conditional printing of short suffix.
(arc_final_prescan_insn): Remove reference to size_reason.
(pad_return): New function.
(arc_reorg): Call pad_return.
(arc_pad_return): Remove.
(arc_init_machine_status): Remove reference to force_short_suffix.
* config/arc/arc.md (vunspec): Add VUNSPEC_ARC_BLOCKAGE.
(attr length): When attribute iscompact is true force to 2
regardless; in the case of maybe check if we want to force the
instruction to have 4 bytes length.
(nopv): Change it to generate 4 byte long nop as well.
(blockage): New pattern.
(simple_return): Remove call to arc_pad_return.
(p_return_i): Likewise.
Added:
branches/gcc-8-branch/gcc/testsuite/gcc.target/arc/pr9001107555.c
Modified:
branches/gcc-8-branch/gcc/ChangeLog
branches/gcc-8-branch/gcc/config/arc/arc-protos.h
branches/gcc-8-branch/gcc/config/arc/arc.c
branches/gcc-8-branch/gcc/config/arc/arc.md
branches/gcc-8-branch/gcc/config/arc/t-multilib
branches/gcc-8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list