Line 1... |
Line 1... |
|
2010-10-29 Joern Rennecke
|
|
|
|
* config/or32/or32.c (or32_output_mi_thunk): New function.
|
|
(or32_output_highadd, or32_output_tailcall): Likewise.
|
|
(TARGET_ASM_OUTPUT_MI_THUNK): Redefine.
|
|
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
|
|
|
|
(or32_output_mi_thunk): Don't emit add of zero delta.
|
|
|
|
* config/or32/or32.opt: Remove -maj option.
|
|
* config/or32/or32.md, config/or32/or32.c: Likewise.
|
|
|
|
* config.gcc: Add Embecosm Copyright notice.
|
|
* config/or32/predicates.md: Likewise.
|
|
* config/or32/or32.md: Likewise.
|
|
* config/or32/t-or32: Likewise.
|
|
* config/or32/or32.opt: Likewise.
|
|
* config/or32/or32-protos.h: Likewise.
|
|
* config/or32/crti.S: Likewise.
|
|
* config/or32/or32.c: Likewise.
|
|
* config/or32/constraints.md: Likewise.
|
|
* config/or32/crtn.S: Likewise.
|
|
* config/or32/default.h: Likewise.
|
|
* config/or32/or32.h: Likewise.
|
|
|
|
2010-10-28 Joern Rennecke
|
|
|
|
* config/or32/or32.md (movsi_lo_sum, movsi_high): Enable generator
|
|
function generation.
|
|
(movsi_insn_big): Now define_insn_and_split.
|
|
|
|
* config.gcc (or32-*-elf*): Change extra_parts to:
|
|
"crti.o crtbegin.o crtend.o crtn.o".
|
|
( or32-*linux*): Change tmake_file to
|
|
"${cpu_type}/t-${cpu_type} or32/t-linux"
|
|
* config/or32/t-default, config/or32/initfini.c: Delete.
|
|
* t-or32 ((T)or32-crtbegin.o, $(T)or32-crtend.o): Replace with:
|
|
((T)crti.o, $(T)crtn.o).
|
|
* config/or32/t-linux: New file.
|
|
* config/or32/crti.S, config/or32/crtn.S: Likewise.
|
|
* config/or32/or32.h (STARTFILE_SPEC): Replace or32-crtbegin.o%s with
|
|
crti.o%s crtbegin.o%s.
|
|
(ENDFILE_SPEC): Set to crtend.o%s crtn.o%s.
|
|
|
|
* config/or32/elf.h (DBX_DEBUGGING_INFO): Don't redefine.
|
|
(PREFERRED_DEBUGGING_TYPE, PUT_SDB_DEF): Likewise.
|
|
|
|
* config/or32/or32.md (tablejump): For -fpic, emit add of table base.
|
|
|
|
2010-10-26 Joern Rennecke
|
|
|
|
* config.gcc (or32-*-elf*): Rename crtinit.o / crtfini.o
|
|
to or32-crtbegin.o / or32-crtend.o.
|
|
* config/or32/t-default, config/or32/t-or32 (Entire file): Likewise.
|
|
* config/or32/initfini.c, config/or32/or32.h: Likewise.
|
|
|
|
2010-10-26 Joern Rennecke
|
|
|
|
* config/or32/or32.opt Mask(MASK_SCHED_LOGUE): Renamed to
|
|
Mask(SCHED_LOGUE). Changed all users.
|
|
(-msibcall): Delete option.
|
|
* config/or32/or32.md (sibcall, sibcall_value, sibcall_internal): Make
|
|
patterns unconditional.
|
|
(sibcall_internal): Change alternatives to handle callee-saved
|
|
registers correctly.
|
|
* config/or32/or32.c (or32_compute_frame_size): Place register save
|
|
area at bottom of frame.
|
|
(or32_expand_prologue): Initialize frame pointer from stack pointer.
|
|
For large offsets, add a REG_FRAME_RELATED_EXPR note.
|
|
(or32_expand_epilogue): Restore stack pointer from frame pointer.
|
|
sibcall is now the sibcall epilogue insn to be split.
|
|
(or32_compute_frame_size, or32_expand_prologue, or32_expand_epilogue):
|
|
Use PROLOGUE_TMP and EPILOGUE_TMP.
|
|
(or32_function_ok_for_sibcall): Retrun true.
|
|
(TARGET_DEFAULT_TARGET_FLAGS): Include MASK_SCHED_LOGUE.
|
|
(STATIC_CHAIN_REGNUM): Change to GP_ARG_RETURNH.
|
|
(PROLOGUE_TMP, EPILOGUE_TMP): Define.
|
|
* config/or32/or32.md (CC_REG): New constant. Use it to denote
|
|
register number of flags register.
|
|
Include constraints.md.
|
|
* config/or32/predicates.md (cc_reg_operand): Use CC_REG.
|
|
(input_operand): Use satisfies_constraint_[KMI].
|
|
* config/or32/or32-protos.h (or32_initial_elimination_offset): Declare.
|
|
(or32_print_jump_restore): Declare.
|
|
* config/or32/or32.h (OR32_LAST_ACTUAL_REG): Define. Use in place of
|
|
OR32_LAST_INT_REG to iterate through registers where appropriate.
|
|
(ELIMINABLE_REGS, INITIAL_ELIMINATION_OFFSET): Define.
|
|
(ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM): Define as fake hard
|
|
registers.
|
|
(FIXED_REGISTERS, CALL_USED_REGISTERS, REG_CLASS_CONTENTS): Update.
|
|
(REGNO_REG_CLASS, REGISTER_NAMES): : Likewise.
|
|
* config/or32/or32.c: Use HARD_FRAME_POINTER_REGNUM /
|
|
hard_frame_pointer_rtx to refer to the hard frame pointer.
|
|
(or32_emit_move): Now static.
|
|
(or32_print_jump_restore): New function.
|
|
(or32_compute_frame_size): Distinguish between saving the hard frame
|
|
pointer and saving the GPR with the regno of the eliminated frame
|
|
pointer.
|
|
(indexed_memory): Delete.
|
|
(stack_disp_mem): New function.
|
|
(or32_compute_frame_size): Avoid over-wide shifts.
|
|
(or32_output_function_prologue): Likewise.
|
|
(or32_output_function_epilogue): Likewise.
|
|
(or32_frame_pointer_required): Comment out.
|
|
(or32_initial_elimination_offset): New function.
|
|
(TARGET_FRAME_POINTER_REQUIRED): Don't redefine.
|
|
(PRINT_OPERAND): Handle %J.
|
|
* config/or32/constraints.md: New file.
|
|
|
|
2010-10-25 Joern Rennecke
|
|
|
|
* config/or32/or32-protos.h (get_hard_reg_initial_val): Declare.
|
|
* config/or32/or32.h (INCOMING_RETURN_ADDR_RTX): Fix register number.
|
|
* (RETURN_ADDR_RTX): Define.
|
|
|
|
2010-10-12 Joern Rennecke
|
|
|
|
* config/or32/or32.c (or32_struct_alignment): Round up alignment to
|
|
power of two.
|
|
|
|
For unions, use maximum of field size for size estimate.
|
|
|
|
2010-10-11 Joern Rennecke
|
|
|
|
* config/or32/or32.opt (mpadstruct): New option.
|
|
* config/or32/or32-protos.h (or32_struct_alignment): Declare.
|
|
(or32_data_alignment): Likewise.
|
|
* config/or32/or32.c (or32_struct_alignment): New function.
|
|
(or32_data_alignment): Likewise.
|
|
* config/or32/or32.h (STRUCTURE_SIZE_BOUNDARY): Default to 8.
|
|
(ROUND_TYPE_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMEN): Define.
|
|
|
|
* config/or32/or32.c (or32_struct_alignment): Take
|
|
maximum_field_alignment into account.
|
|
|
|
2010-09-14 Joern Rennecke
|
|
|
|
* config/or32/or32.h (ASM_OUTPUT_ADDR_DIFF_ELT): Fix typo.
|
|
(JUMP_TABLES_IN_TEXT_SECTION): Define.
|
|
* config/or32/default.h (JUMP_TABLES_IN_TEXT_SECTION): Use flag_pic.
|
|
|
|
2010-09-13 Joern Rennecke
|
|
|
|
* config/or32/or32.h (TRAMPOLINE_SIZE): Use result of
|
|
or32_trampoline_code_size rather than its address.
|
|
|
|
* config/or32/initfini.c (init): Rename to:
|
|
(__init).
|
|
* config/or32/or32.c (or32_trampoline_init): Don't clobber r12.
|
|
|
|
* config.gcc (or32-*-elf*): Add newlib-stdint.h to tm_file.
|
|
|
2010-09-05 Jeremy Bennett
|
2010-09-05 Jeremy Bennett
|
|
|
* BASE_VER: Updated for gcc-4.5.1-or32-1.0rc1.
|
* BASE_VER: Updated for gcc-4.5.1-or32-1.0rc1.
|
|
|
2010-09-05 Jeremy Bennett
|
2010-09-05 Jeremy Bennett
|