Commit Graph

3232 Commits

Author SHA1 Message Date
Torbjorn Granlund
f9151c433c (TARGET_MULTM): New #define.
(TARGET_SWITCHES): Recognize "-mno-multm".

From-SVN: r8919
1995-02-13 12:52:26 +00:00
Richard Kenner
42d191605d (ASM_OUTPUT_ASCII): Don't duplicate first char.
From-SVN: r8918
1995-02-13 07:08:56 -05:00
Brendan Kehoe
fe7cdaaac6 sysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make sure DECL is non-null before trying to reference it.
Sun Feb 12 20:20:28 1995  Brendan Kehoe  (brendan@lisa.cygnus.com)

        * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Check to make
        sure DECL is non-null before trying to reference it.
        * config/mips/elf64.h (ASM_OUTPUT_SECTION_NAME): Likewise.

From-SVN: r8915
1995-02-13 01:11:50 -05:00
Richard Kenner
5788afc6aa (RETURN_IN_MEMORY): Fix error in last change.
From-SVN: r8906
1995-02-11 14:58:14 -05:00
Richard Kenner
ef0e53ce93 Replace MAX_UNITS_PER_WORD with MIN_UNITS_PER_WORD.
From-SVN: r8904
1995-02-10 19:06:12 -05:00
Richard Kenner
f13703f913 (direct_return): Can't if have outgoing args.
From-SVN: r8903
1995-02-10 17:47:39 -05:00
Michael Meissner
35c2dbf43b Remove last change.
From-SVN: r8900
1995-02-10 16:49:12 +00:00
Michael Meissner
8b236af9f9 Define RETURN_ADDR_RTX
From-SVN: r8899
1995-02-10 16:06:02 +00:00
Doug Evans
b1e74255f3 (*movsi_ccx_sp64): Fix name.
(movsicc, movdicc): Operand 3 must be a register to match define_insns.
Delete miscellaneous cmove comments.

From-SVN: r8898
1995-02-08 20:45:43 +00:00
Doug Evans
384893160c (sparc64_initialize_trampoline): Use gen_flush
instead of knowing what pattern looks like.

From-SVN: r8897
1995-02-08 20:13:02 +00:00
Doug Evans
d9d0de410b (nonlocal_goto): Use Pmode instead of SImode.
From-SVN: r8896
1995-02-08 20:09:08 +00:00
Doug Evans
cd5fb1eea7 sparc.c (v9_regcmp_p): New function.
* sparc/sparc.c (v9_regcmp_p): New function.
	(v9_regcmp_op): Call it.
	* sparc/sparc.md (movsicc): New pattern.
	(movdicc, movsfcc, movdfcc, movtfcc): Likewise.

From-SVN: r8895
1995-02-08 20:07:24 +00:00
Jeff Law
2387b8d7af pa.md (call, call_value): Emit save of the PIC register with "emit_insn" before emitting the call insn itself.
* pa.md (call, call_value): Emit save of the PIC register
	with "emit_insn" before emitting the call insn itself.

From-SVN: r8892
1995-02-08 00:53:09 -07:00
Jim Wilson
e553bfb99a (prepare_scc_operands, from_compare): Force constant 0 into
register for unsigned comparisons.

From-SVN: r8891
1995-02-07 12:57:00 -08:00
Jim Wilson
97b65a3e66 Correct errors in comments.
(CONDITIONAL_REGISTER_USAGE): Delete TARGET_NOSAVE support.
(TARGET_MAC, TARGET_TRYR0, TARGET_NOSAVE, TARGET_SMALLCALL,
TARGET_PARANOID, TARGET_RETR2, TARGET_SHORTADDR, TARGET_BSR): Delete.
(TARGET_SWITCHES): Delete above options.
(OVERRIDE_OPTIONS): Delete TARGET_BSR support.
(FUNCTION_BOUNDARY): Use 32 bit alignment when not TARGET_SMALLCODE.
(FIRST_RET_REG): Delete TARGET_RETR2 support.
(MODE_DISP_OK_[21]): Delete TARGET_TRYR0 support.
(EXTRA_CONSTRAINT_U): Delete.
(CONST_COSTS): For logical operations, give L constants cost 1.
(PRINT_OPERAND_PUNCT_VALID_P): Delete '*', '^', '!'.

From-SVN: r8890
1995-02-07 12:19:15 -08:00
Jim Wilson
5325c0fa57 Correct errors in comments.
(calc_live_regs, expand_acall): Delete TARGET_SMALLCALL support.
(need_slot): Add comment.  Delete test of INSN_ANNULLED_BRANCH_P.
(print_operand_address): Delete '*', '^', '!' support.
(synth_constant): Call zero_extend* instead of and*.  Call ashlsi3_k
instead of ashlsi3_n.
(prepare_scc_operands): Abort for NE case.
(output_move_double, output_far_jump, output_branch): Delete commented
out code.  Don't output assembler comments.
(gen_ashift): Don't call addsi3.
(fixit): Delete redundant test for QImode constants.
(hi_const): Delete TARGET_SHORTADDR support.
(find_barrier): Don't put constant pool between mova and its label.
(add_function, seen_function, bsr_operand, mac_operand,
fake_shift): Delete.
(sh_expand_prologue, expand_acall): Delete TARGET_BSR support.
(general_movsrc_operand): Don't reject non-I CONST_INT.

From-SVN: r8889
1995-02-07 12:18:43 -08:00
Jim Wilson
51bd623f2b Correct errors in comments. Delete all assembler comments.
Delete commented out patterns.  Delete all peepholes but two.
Delete all define_splits but one.  Delete all `combiner' patterns.
(mpy): Correct multiply latencies.
(needs_delay_slot, hit_stack, interrupt_function, in_delay_slot,
define_delay): Correct and/or simplify all reorg related definitions.
(addsi3_real): Delete.
(addsi3): Use arith_operand for argument 1.
(mulhisi3): Use arith_reg_operand not mac_operand.
(and_ffff, and_ff): Delete.
(andsi3): Handle constant 255 specially.
(rot*): Correct and/or simplify all rotate patterns.
(ashlsi3_k): Delete clobber of T bit.  Output add for 1 bit shift.
(ashlsi3_n, lshrsi3_n): Delete use of fake_shift.
(negc): Correct pattern by adding set of T bit.
(extend*): Delete 'u' and 'U' constraint cases.
(pop): Separate 'l' and 'x' constraint cases.
(movsi-1): Better code for move to T bit case.
(bsr, bsr_value, mac): Delete.

From-SVN: r8888
1995-02-07 12:18:09 -08:00
Doug Evans
c8b3b7d665 (*): Give names to all anonymous patterns.
From-SVN: r8887
1995-02-07 19:23:24 +00:00
Stephen L Moshier
e29eead5ce (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Remove tests for host == target
format and endianness.

From-SVN: r8886
1995-02-07 04:46:41 +00:00
Jim Wilson
70ef1c9e6d (STARTFILE_SPEC): Delete explicit /usr/ccs/lib/ pathnames.
From-SVN: r8883
1995-02-06 16:18:21 -08:00
Jim Wilson
b27a0c3929 (movsf-1, movdf-1, movtf-1): Use 'F' not 'E'.
From-SVN: r8882
1995-02-06 15:31:41 -08:00
Jim Wilson
3385bb9103 (sh_function_arg): Don't reject unaligned structures.
(sh_function_arg_partial_nregs): Likewise.

From-SVN: r8881
1995-02-06 15:26:58 -08:00
Torbjorn Granlund
272627c184 (__udivsi3, __divsi3, __umodsi3, __modsi3):
Rewrite to actually work for more than a few small operands,
and to be reasonably small.
(__mulsi3): Eliminate usage of link register (i.e. a6).
(shift patterns): Delete.
(__umulsi3): Delete.

From-SVN: r8880
1995-02-06 21:57:18 +00:00
Torbjorn Granlund
d35a9101b9 (LIB1ASMFUNCS): Remove _umulsi3.
From-SVN: r8879
1995-02-06 21:56:55 +00:00
Torbjorn Granlund
1371378157 (RTX_COSTS): Rewrite.
From-SVN: r8878
1995-02-06 21:51:57 +00:00
Doug Evans
29d306d0cb (DBX_DEBUGGING_INFO): Define.
(PREFERRED_DEBUGGING_TYPE): Define.

From-SVN: r8876
1995-02-06 18:01:28 +00:00
Jeff Law
cc5c9c4857 pa.md: Replace "misc" attribute with "multi" in recentlyadded soft-float code.
* pa.md: Replace "misc" attribute with "multi" in recentlyadded
	soft-float code.

From-SVN: r8875
1995-02-06 10:00:20 -07:00
Jeff Law
7ffe5e47da * pa-osf.h (TARGET_DEFAULT): Protect definition.
From-SVN: r8874
1995-02-06 09:57:29 -07:00
Torbjorn Granlund
8919037ceb (globally): Use GEN_INT.
(emit_move_sequence): Use expand_inc instead of plus_constant
(generates less rtl).

From-SVN: r8872
1995-02-06 02:55:49 +00:00
Torbjorn Granlund
5dee33ac59 Use GEN_INT.
From-SVN: r8871
1995-02-06 02:55:24 +00:00
Torbjorn Granlund
6500b83fd2 (PREDICATE_CODES): Fix many errors. Enable.
From-SVN: r8870
1995-02-06 02:44:42 +00:00
Torbjorn Granlund
3296aff4d6 (RTX_COSTS): Add special cases for a plain 68000.
From-SVN: r8869
1995-02-06 02:42:29 +00:00
Jim Wilson
2ec6afdde7 New file.
From-SVN: r8866
1995-02-04 10:16:09 -08:00
Jim Wilson
ef012153e8 (TARGET_DEFAULT): Add #ifndef/#endif around define.
From-SVN: r8865
1995-02-04 10:07:27 -08:00
Jim Wilson
e19ff60f84 (type attribute): Add fmadd.
(cpu attribute): Add r8000.
(umaddi+1, ..., umadddi+8): Add pattern for multiply accumulate.
(movdi): Legitimize addresses, just like movsi does.
(loadgp): New pattern for 64 bit ABI.
(shift patterns): Use INTVAL instead of XINT for constants.
(jump, tablejump_interal[12]): Add 64 bit ABI support.
(movsicc-8, ..., movsicc): Add patterns for conditional moves.

From-SVN: r8864
1995-02-04 10:06:11 -08:00
Jim Wilson
3356348747 (mips_isa_string): Add mips4 to comment.
(large_int): Delete code for handling 64 bit constants.
(mips_const_double_ok): For irix6, reject all floating point constants.
(mips_move_2words): Use dli not li for 64 bit constants.
Use dla not la for 64 bit addresses.
(output_block_move): Likewise.
(function_arg): Add support for 64bit ABI.
(override_options): Add support for mips4 and R8000.
(print_operand): Handle new modifiers 'B', 'b', 'T', 't'.
Make 'X' case work for 64 bit host.
(mips_output_filename): Use ASM_OUTPUT_FILENAME.
(mips_asm_file_start): Go to text section for 64bit ABI.
(compure_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue): Add support for 64 bit ABI.
(type_dependent_reg, mips_function_value): New functions.

From-SVN: r8863
1995-02-04 10:04:15 -08:00
Jim Wilson
516a2dfd6f (__PTR_TO_INT, __INT_TO_PTR): Delete.
(enum processor_type): Add R8000.
(mips_isa_string, CC1_SPEC): Add mips4 to comment.
(CONDITIONAL_REGISTER_USAGE): Use SUBTARGET_CONDITIONAL_REGISTER_USAGE.
(SUBTARGET_CONDITIONAL_REGISTER_USAGE): New macro.
(ASM_SPEC, LINK_SPEC, CPP_SPEC): Add mips4 support.
(MIPS_TEMP[12]_REGNUM): Change to avoid clobbering 64bit abi
parameter registers.
(SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Fix for 64
bit host.
(ABI_64BIT): New macro.
(REG_PARM_STACK_SPACE): Use UNITS_PER_WORD not 4.
(GO_IF_LEGITIMATE_ADDRESS, CONSTANT_ADDRESS_P, LEGITIMATE_CONSTANT,
LEGITIMIZE_ADDRESS): Don't allow CONST addresses for Irix6.
(ASM_OUTPUT_FILENAME): New macro.
(ASM_OUTPUT_ADDR_DIFF_ELT): Add 64 bit ABI support.

From-SVN: r8862
1995-02-04 10:02:46 -08:00
Michael Meissner
911f679c13 Do not reload reg2 under V.4 or eabi.
From-SVN: r8858
1995-02-03 22:41:38 +00:00
Michael Meissner
29bd4eb3e0 Fix indirect function pointers on eABI.
From-SVN: r8857
1995-02-03 19:45:16 +00:00
Michael Meissner
31117bfb57 Eliminate building libgcc1.a
From-SVN: r8855
1995-02-02 21:29:18 +00:00
Michael Meissner
a81bd72fb2 Fix typo in smin/smax of floating point.
From-SVN: r8853
1995-02-02 17:17:47 +00:00
Michael Meissner
e3f1f2426d Add preliminary V.4 and eABI support.
From-SVN: r8851
1995-02-01 21:58:22 +00:00
Michael Meissner
4d30c36387 Add preliminary V.4 and eABI support.
From-SVN: r8850
1995-02-01 21:44:49 +00:00
Torbjorn Granlund
74356a720d (TARGET_SOFT_FLOAT): New macro.
(TARGET_SWITCHES, CPP_SPEC, CONDITIONAL_REGISTER_USAGE, FUNCTION_VALUE,
LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P,
FUNCTION_ARG, ASM_DECLARE_FUNCTION_NAME, GO_IF_LEGITIMATE_ADDRESS,
RTX_COSTS): Use TARGET_SOFT_FLOAT.
(REAL_ARITHMETIC): Define.
(ASM_OUTPUT_DOUBLE): Rewrite.
(ASM_OUTPUT_FLOAT): Rewrite.

From-SVN: r8848
1995-02-01 00:22:38 +00:00
Torbjorn Granlund
21302ab094 (singlemove_string): Make case with SFmode CONST_DOUBLE abort.
(print_operand): #ifdef out CONST_DOUBLE cases.

From-SVN: r8847
1995-02-01 00:21:49 +00:00
Torbjorn Granlund
925cf581e5 (*sf*, *df*, etc): Make all floating point patterns depend on ! TARGET_SOFT_FLOAT.
(movsi, movdi, movsf, movdf): Add patterns for TARGET_SOFT_FLOAT.
(SF and DF move): Use constraint 'E' instead of 'F'.

From-SVN: r8846
1995-02-01 00:20:45 +00:00
Doug Evans
f0ee2ebc3a (ASM_OUTPUT_SECTION_NAME): Use asm_out_text_file for functions.
From-SVN: r8843
1995-01-31 18:55:26 +00:00
Doug Evans
92d8940891 (ASM_DECLARE_FUNCTION_NAME): Ensure section is .text if no section attribute.
From-SVN: r8842
1995-01-31 18:54:47 +00:00
Roland McGrath
3587779bf8 (ASM_OUTPUT_SECTION_NAME): #undef before defining.
From-SVN: r8838
1995-01-28 21:28:10 +00:00
Jeff Law
da6f15cdef pa.md (call, call_value): Always save the PIC register before a call.
* pa.md (call, call_value): Always save the PIC register before
	a call.

From-SVN: r8836
1995-01-28 11:55:00 -07:00