summaryrefslogtreecommitdiff
path: root/gcc/config/mips
Commit message (Collapse)AuthorAgeFilesLines
* (ASM_SPEC): Change {% to %{.wilson1996-07-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12546 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1996-07-203-0/+164
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12542 138bc75d-0d04-0410-961f-82ee72b054a4
* (INITIALIZE_TRAMPOLINE): Use `_flush_cache'; flush data cache too.kenner1996-07-201-3/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12541 138bc75d-0d04-0410-961f-82ee72b054a4
* (function_prologue): Use FUNCTION_NAME_ALREADY_DECLARED.wilson1996-07-191-1/+6
| | | | | | | (function_epilogue): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12522 138bc75d-0d04-0410-961f-82ee72b054a4
* (DWARF_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):wilson1996-07-191-20/+46
| | | | | | | | | | | | | | | | | | Move after header files are included. (iris5.h): Include instead of iris5gas.h. (MACHINE_TYPE): Change 5.x to 6.x. (DEBUG_SECTION, LINE_SECTION): Add debug_ to name, fix attributes. (SFNAMES_SECTION, SRCINFO_SECTION, MACINFO_SECTION, PUBNAMES_SECTION, ARANGES_SECTION): Fix attributes. (DWARF_VERSION, MIPS_DEBUGGING_INFO, ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE, FUNCTION_NAME_ALREADY_DECLARED, FRAME_SECTION, ABBREV_SECTION): Define. (DBX_DEBUGGING_INFO, SDB_DEBUGGING_INFO, MIPS_DEBUGGING_INFO, DWARF_DEBUGGING_INFO, PREFERRED_DEBUGGING_INFO): Delete undefs at end of file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12521 138bc75d-0d04-0410-961f-82ee72b054a4
* (LINK_SPEC): Add -woff 84.wilson1996-07-151-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12446 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_SPEC): Correct typos in Jun 18 change.wilson1996-07-101-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12423 138bc75d-0d04-0410-961f-82ee72b054a4
* (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.wilson1996-07-091-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12419 138bc75d-0d04-0410-961f-82ee72b054a4
* (function_arg): Add explicit checks for FIELD_DECLs.wilson1996-07-081-11/+25
| | | | | | | | | (mips_function_value): Add explicit checks for FIELD_DECLs, and save them in the array FIELDS. When returning structure with 1 float field, enclose it in a PARALLEL and set the PARALLEL mode correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12412 138bc75d-0d04-0410-961f-82ee72b054a4
* (function_arg): Add explicit checks for FIELD_DECLs.wilson1996-07-081-1/+6
| | | | | | | | | | | | (mips_function_value): Add explicit checks for FIELD_DECLs, and save them in the array FIELDS. When returning structure with 1 float field, enclose it in a PARALLEL and set the PARALLEL mode correctly. * mips/mips.md (call_value): Call gen_call_value_multiple_internal0 only if there are multiple return values. Strip the PARALLEL off if there there is only one return value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12411 138bc75d-0d04-0410-961f-82ee72b054a4
* Put spaces between -mips* cases in CC1_SPECian1996-06-272-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12337 138bc75d-0d04-0410-961f-82ee72b054a4
* (call_internal1, call_value_internal1): Delete obsolete code.wilson1996-06-221-60/+32
| | | | | | | | | (call_internal2, call_value_internal2, call_value_multiple_internal2): Delete obsolete code. Explicitly load SYMBOL_REF into register. (call_value): Change Pmode to SImode in gen_call_value_internal0 call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12323 138bc75d-0d04-0410-961f-82ee72b054a4
* (override_options): Treat -o32 as -32 and -n64 same as -64.kenner1996-06-181-3/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12299 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_SPEC): Treat -o32 as -32 and -n64 same as -64.kenner1996-06-181-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12298 138bc75d-0d04-0410-961f-82ee72b054a4
* (memory): Change r4100/r4300 support.wilson1996-06-171-31/+105
| | | | | | | | | | | | | | | | | | | (imuldiv): Add r4300 support. (high, low): New patterns. (movsi, movdi): Add LO_SUM support. (movsi_internal1, movsi_internal2): Use move_operand instead of general_operand. (movstrsi_internal, movstrsi_internal2): Delete R constraint. (call, call_value): Pass address instead of MEM to call_insn_operand. Call gen_call_{value_}internal0 instead of internal1. (call_internal0, call_value_internal0, call_multiple_internal0): New patterns. (call_internal1, call_internal2, call_value_internal1, call_value_internal2, call_value_multiple_internal2): Add explicit MEM before target address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12287 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips_split_addresses, mips_check_split, move_operand):wilson1996-06-171-2/+28
| | | | | | | | | | | | New declarations (GO_IF_LEGITIMATE_ADDRESS): Reject constant addresses when mips_split_addresses is TRUE. Add LO_SUM support. (LEGITIMIZE_ADDRESS): Add LO_SUM support. (PREDICATE_CODES): Modify call_insn_operand support. Add move_operand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12286 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips_split_addresses): New variable.wilson1996-06-171-9/+129
| | | | | | | | | | | | | | | | (simple_memory_operand): Add comment about mode check. Add check for LO_SUM. (call_insn_operand): OP is now an addresses instead of a MEM. (move_operand, mips_check_split): New functions. (mips_count_memory_refs): Add check for LO_SUM. (mips_move_1word): Add HIGH support. (mips_address_cost): Delete check for HIGH. (output_block_move): Handle LO_SUM addresses. (override_options): Set mips_split_addresses. (print_operand_address): Add LO_SUM support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12285 138bc75d-0d04-0410-961f-82ee72b054a4
* (cpu, memory, imuldiv, adder, mult, divide): Addwilson1996-06-081-15/+144
| | | | | | | | | | vr4100 and vr4300 support. (muldf3, mulsf3): Add vr4300 support. (muldf3_internal, muldf_r4300, mulsf3_internal, mulsf_r4300): New patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12250 138bc75d-0d04-0410-961f-82ee72b054a4
* (enum processor_type): Likewise.wilson1996-06-081-1/+7
| | | | | | | | (MASK_4300_MUL_FIX, TARGET_4300_MUL_FIX): New macros. (TARGET_SWITCHES): Add -mfix4300 option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12249 138bc75d-0d04-0410-961f-82ee72b054a4
* (override_options): Add vr4100 and vr4300 support.wilson1996-06-081-0/+23
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12248 138bc75d-0d04-0410-961f-82ee72b054a4
* (call_value): Handle PARALLEL in operands[0].wilson1996-06-061-1/+51
| | | | | | | (call_value_multiple_internal2): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12196 138bc75d-0d04-0410-961f-82ee72b054a4
* (function_arg): Return PARALLEL for structure withwilson1996-06-061-41/+103
| | | | | | | | | | aligned double fields. (type_dependent_reg): Delete. (mips_function_value): Return PARALLEL for structure with two floating point fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12195 138bc75d-0d04-0410-961f-82ee72b054a4
* (TYPE_DEPENDENT_REG): Delete.wilson1996-06-061-4/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12194 138bc75d-0d04-0410-961f-82ee72b054a4
* (CPP_SPEC): Make -mabi=n32 the default.wilson1996-06-031-10/+18
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12151 138bc75d-0d04-0410-961f-82ee72b054a4
* (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT, MULTILIB_DEFAULTS,wilson1996-06-031-9/+14
| | | | | | | ASM_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12150 138bc75d-0d04-0410-961f-82ee72b054a4
* (tablejump_internal4+1): Fix typo in condition.wilson1996-06-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12149 138bc75d-0d04-0410-961f-82ee72b054a4
* (CC, OLDCC): Define to be `cc -32'.wilson1996-06-031-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12148 138bc75d-0d04-0410-961f-82ee72b054a4
* (tablejump_internal3, tablejump_internal4): New patterns.wilson1996-06-021-21/+65
| | | | | | | (tablejump): Use them for PIC code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12139 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -mabi=n32 support.wilson1996-05-311-32/+59
| | | | | | | | | | | | | (ABI_64BIT): Delete. (TARGET_LONG64, CPP_SPEC, STACK_BOUNDARY, MIPS_STACK_ALIGN, GP_ARG_LAST, FP_ARG_LAST, SUBTARGET_CONDITIONAL_REGISTER_USAGE, MAX_ARGS_IN_REGISTER, FUNCTION_ARG_PADDING, RETURN_IN_MEMORY, SETUP_INCOMING_VARARGS): Modify. (REG_PARM_STACK_SPACE): Ifdef out. (TARGET_DEFAULT, SUBTARGET_TARGET_OPTIONS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12135 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -mabi=n32 support.wilson1996-05-311-25/+27
| | | | | | | | | | | | (TARGET_DEFAULT, ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Delete. (MULTILIB_DEFAULTS, ASM_SPEC, EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_ALIGNED_LOCAL, STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Modify. (MIPS_ABI_DEFAULT, LOCAL_LABEL_PREFIX): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12134 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -mabi=n32 support.wilson1996-05-311-19/+85
| | | | | | | | | | | (mips_const_double_ok, mips_move_1word, mips_move_2words, function_arg, override_options, mips_asm_file_start, compute_frame_size, save_restore_insns, function_prologue, mips_expand_prologue, function_epilogue, mips_function_value): Modify. (mips_abi, mips_abi_string): Define git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12133 138bc75d-0d04-0410-961f-82ee72b054a4
* Add -mabi=n32 support.wilson1996-05-311-14/+30
| | | | | | | | | | | | (ABI_64BIT): Delete. (TARGET_OPTIONS, INITIAL_ELIMINATION_OFFSET, GO_IF_LEGITIMATE_ADDRESS, CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT_P, LEGITIMIZE_ADDRESS, ASM_OUTPUT_ADDR_DIFF_ELT): Modify. (enum mips_abi_type, SUBTARGET_TARGET_OPTIONS): Define. (mips_abi, mips_abi_string): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12131 138bc75d-0d04-0410-961f-82ee72b054a4
* (jump, tablejump_internal1, tablejump_internal2): Addwilson1996-05-311-3/+3
| | | | | | | -mabi=n32 support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12130 138bc75d-0d04-0410-961f-82ee72b054a4
* (MULTILIB_OPTIONS): Add -mabi=n32 support.wilson1996-05-311-1/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12129 138bc75d-0d04-0410-961f-82ee72b054a4
* (HOST_BITS_PER_LONG): Use _MIPS_SZLONG not 64.wilson1996-05-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12128 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips/mips.h (ASM_COMMENT_START): Change from "\t\t#" to " #".dje1996-05-171-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11997 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips/mips.c (target_switches, print_options): Delete.dje1996-05-171-78/+5
| | | | | | | (mips_asm_file_start): Put output of -G,Cpu,ISA here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11996 138bc75d-0d04-0410-961f-82ee72b054a4
* (block_move_call): Change modfe to mode.wilson1996-04-191-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11854 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips_expand_prologue): Add extra arg towilson1996-04-191-1/+1
| | | | | | | INIT_CUMULATIVE_ARGS call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11853 138bc75d-0d04-0410-961f-82ee72b054a4
* * calls.c (expand_call): Remove current_call_is_indirect nonsense.law1996-03-291-1/+1
| | | | | | | | | | | | | | | | | | Add additional argument to INIT_CUMULATIVE_ARGS. (emit_library_call): Likewise. (emit_library_call_value): Likewise. * expr.c (expand_builtin): Likewise. * function.c (assign_parms): Likewise. * cp/method.c (emit_thunk): Likewise. * config/pa/pa.h (hppa_args): New field "indirect". (INIT_CUMULATIVE_ARGS): Initialize "indirect" field. (FUNCTION_ARG): Check "indirect" field, rather than "current_call_is_indirect". * All other backends updated with new argument to INIT_CUMULATIVE_ARGS git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11641 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips_expand_prologue): In initialization of fnargs, deletewilson1996-03-201-3/+1
| | | | | | | special treatment of METHOD_TYPE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11584 138bc75d-0d04-0410-961f-82ee72b054a4
* (ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT andwilson1996-03-151-1/+8
| | | | | | | HOST_BITS_PER_WIDE_INT == 64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11539 138bc75d-0d04-0410-961f-82ee72b054a4
* (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING towilson1996-03-141-1/+1
| | | | | | | TREE_ADDRESSABLE; git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11529 138bc75d-0d04-0410-961f-82ee72b054a4
* (EXTRA_SECTIONS): Delete in_bss.dje1996-02-291-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11380 138bc75d-0d04-0410-961f-82ee72b054a4
* (SWITCH_TAKES_ARG): Use DEFAULT_SWITCH_TAKES_ARG.kenner1996-02-132-11/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11266 138bc75d-0d04-0410-961f-82ee72b054a4
* (probe+2, probe+4): New conditional move patterns.wilson1996-02-101-7/+32
| | | | | | | (movsicc): Don't truncate comparison if it is DImode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11191 138bc75d-0d04-0410-961f-82ee72b054a4
* (LINK_SPEC): Change nostdlib to nostartfiles.wilson1996-01-081-4/+18
| | | | | | | | (LOCAL_LABEL_PREFIX): Delete. (ASM_OUTPUT_SECTION_NAME): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10954 138bc75d-0d04-0410-961f-82ee72b054a4
* Allow large alignments on ELF systemsmeissner1996-01-072-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10951 138bc75d-0d04-0410-961f-82ee72b054a4
* (expand_block_move): Preserve MEM flags in call to movstrsi_internal.kenner1995-12-221-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10835 138bc75d-0d04-0410-961f-82ee72b054a4
* (FIRST_PSEUDO_REGISTER): Increment.wilson1995-12-191-8/+43
| | | | | | | | | | | | (FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES, DEBUG_REGISTER_NAMES): Add entry for new RAP reg. (RAP_REG_NUM, RETURN_ADDRESS_POINTER_REGNUM): New macros. (RETURN_ADDR_RTX): Define. (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Add RETURN_ADDRESS_POINTER_REGNUM support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10819 138bc75d-0d04-0410-961f-82ee72b054a4