]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/mmix/mmix.c
* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 19:18:49 +0000 (19:18 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Apr 2002 19:18:49 +0000 (19:18 +0000)
commitd68ffc6f8729c7b5c7647fb70e13e859183d7f8b
tree76037033dc08f78a09ff8e69706a3250e56c2bc0
parentc00088b6b23a440b53ec6629fcbdadb44544a0e4
* config/mmix/mmix.h (MMIX_LAST_STACK_REGISTER_REGNUM): Renamed
from MMIX_LAST_REGISTER_FILE_REGNUM.
(NO_IMPLICIT_EXTERN_C): Remove cryptic obsolete comment.
(struct machine_function): New member highest_saved_stack_register
previously static variable in mmix.c.
(MACHINE_DEPENDENT_REORG): Define.
* config/mmix/mmix.c (highest_saved_stack_register): Deleted.
(MMIX_OUTPUT_REGNO): New.
(mmix_target_asm_function_prologue): Move calculation of last used
saved-stack-register into...
(mmix_machine_dependent_reorg): New function.  Update to also handle
!TARGET_ABI_GNU.
(mmix_print_operand): Apply MMIX_OUTPUT_REGNO when emitting
register names, simplify somewhat by new variable regno.
<case 'p'>: Remove fixed FIXME.  Always emit highest used saved
register.
(mmix_print_operand_address): Apply MMIX_OUTPUT_REGNO when
emitting register names.
(mmix_asm_output_reg_push, mmix_asm_output_reg_pop): Ditto.
(mmix_dbx_register_number): Apply MMIX_OUTPUT_REGNO here too.
Remove fixed FIXME.
* config/mmix/mmix-protos.h (mmix_machine_dependent_reorg):
Declare.

* config/mmix/mmix.md ("divmoddi4"): Update head comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52966 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mmix/mmix-protos.h
gcc/config/mmix/mmix.c
gcc/config/mmix/mmix.h
gcc/config/mmix/mmix.md