Generation support for CLOBBER_HIGH

Programming / Compilers / GCC - alahay01 [138bc75d-0d04-0410-961f-82ee72b054a4] - 6 August 2018 09:16 EDT

Ensure clobber high is a register expression. Info is passed through for the error case.

gcc/
- emit-rtl.c (verify_rtx_sharing): Check for CLOBBER_HIGH. (copy_insn_1): Likewise. (gen_hard_reg_clobber_high): New gen function.
- genconfig.c (walk_insn_part): Check for CLOBBER_HIGH.
- genemit.c (gen_exp): Likewise. (gen_emit_seq): Pass through info. (gen_insn): Check for CLOBBER_HIGH. (gen_expand): Pass through info. (gen_split): Likewise. (output_add_clobbers): Likewise.
- genrecog.c (validate_pattern): Check for CLOBBER_HIGH. (remove_clobbers): Likewise.
- rtl.h (gen_hard_reg_clobber_high): New declaration.

ccd6679faa9 Generation support for CLOBBER_HIGH
gcc/ChangeLog | 17 +++++++++++++++++
gcc/emit-rtl.c | 18 ++++++++++++++++++
gcc/genconfig.c | 1 +
gcc/genemit.c | 51 +++++++++++++++++++++++++++++++--------------------
gcc/genrecog.c | 3 ++-
gcc/rtl.h | 1 +
6 files changed, 70 insertions(+), 21 deletions(-)

Upstream: gcc.gnu.org


  • Share