* config/mmix/mmix.md ("return"): New pattern.
* config/mmix/mmix.h (TARGET_MASK_USE_RETURN_INSN) (TARGET_USE_RETURN_INSN): New macros. (TARGET_DEFAULT): Include TARGET_MASK_USE_RETURN_INSN. (TARGET_SWITCHES): Add -msingle-exit and -mno-single-exit. * config/mmix/mmix.c (MMIX_OUTPUT_REGNO): Fix spacing. (MMIX_POP_ARGUMENT): New macro. (mmix_target_asm_function_prologue): When no epilogue is executed, just emit a blank line. Use MMIX_POP_ARGUMENT with final POP insn. (mmix_print_operand) <case '.'>: New case. (mmix_print_operand_punct_valid_p): Match '.'. (mmix_use_simple_return): New function. * config/mmix/mmix-protos.h (mmix_use_simple_return): Prototype. * doc/invoke.texi (Option Summary) <MMIX Summary>: Add -msingle-exit, -mno-single-exit. (MMIX Options): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55121 138bc75d-0d04-0410-961f-82ee72b054a4
Showing
- gcc/ChangeLog 19 additions, 0 deletionsgcc/ChangeLog
- gcc/config/mmix/mmix-protos.h 1 addition, 0 deletionsgcc/config/mmix/mmix-protos.h
- gcc/config/mmix/mmix.c 77 additions, 10 deletionsgcc/config/mmix/mmix.c
- gcc/config/mmix/mmix.h 8 additions, 1 deletiongcc/config/mmix/mmix.h
- gcc/config/mmix/mmix.md 4 additions, 2 deletionsgcc/config/mmix/mmix.md
- gcc/doc/invoke.texi 8 additions, 1 deletiongcc/doc/invoke.texi
Loading
Please register or sign in to comment