vax: Emit prologue as rtl.
authorRichard Henderson <rth@redhat.com>
Tue, 5 Jul 2011 16:58:42 +0000 (09:58 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 5 Jul 2011 16:58:42 +0000 (09:58 -0700)
commita35156057510d1933a0dab5d8bd2837bfd28fa8c
treed26efcb3f3bb2cf3b1382dd4bc39ae8709b427a9
parent96241349e9948c61321566dbdfc77623ca2666e4
vax: Emit prologue as rtl.

Not that there's much rtl to emit, since the CALL instruction
interpreting the procedure entry mask does almost all the work.
However, it means we're no longer emitting dwarf2 via the
text-based entry points.

        * config/vax/vax.md (define_c_enum unspecv): New.  Define the
        VUNSPEC_* constants here instead of via define_constants.
        (VUNSPEC_PEM): New constant.
        (procedure_entry_mask): New insn.
        (prologue): New expander.
        * config/vax/vax.c (vax_add_reg_cfa_offset): New.
        (vax_expand_prologue): Rename from vax_output_function_prologue;
        emit rtl instead of text.
        (TARGET_ASM_FUNCTION_PROLOGUE): Remove.
        (print_operand): Add 'x' prefix.

From-SVN: r175869
gcc/ChangeLog
gcc/config/vax/vax-protos.h
gcc/config/vax/vax.c
gcc/config/vax/vax.md