Jim Wilson [Sat, 4 Feb 1995 18:04:15 +0000 (10:04 -0800)]
(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
Jim Wilson [Sat, 4 Feb 1995 18:02:46 +0000 (10:02 -0800)]
(__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
Jim Wilson [Sat, 4 Feb 1995 17:59:47 +0000 (09:59 -0800)]
(IRIX): Sed - to _.
From-SVN: r8861
Jim Wilson [Sat, 4 Feb 1995 17:53:44 +0000 (09:53 -0800)]
(*): Change __mips==3 to __mips>=3.
(sgidefs.h): Include if _MIPS_SIM is defined.
(va_start): Add support for 64 bit ABI.
From-SVN: r8860
Doug Evans [Sat, 4 Feb 1995 15:31:23 +0000 (15:31 +0000)]
(dbxout_source_file): Don't switch to text section if in function with section attribute.
(dbxout_source_file): Don't switch to text section if
in function with section attribute. Print Ltext label to correct
file (important on mips).
From-SVN: r8859
Michael Meissner [Fri, 3 Feb 1995 22:41:38 +0000 (22:41 +0000)]
Do not reload reg2 under V.4 or eabi.
From-SVN: r8858
Michael Meissner [Fri, 3 Feb 1995 19:45:16 +0000 (19:45 +0000)]
Fix indirect function pointers on eABI.
From-SVN: r8857
Jason Merrill [Fri, 3 Feb 1995 03:45:07 +0000 (03:45 +0000)]
Fix MI conversions
From-SVN: r8856
Michael Meissner [Thu, 2 Feb 1995 21:29:18 +0000 (21:29 +0000)]
Eliminate building libgcc1.a
From-SVN: r8855
Ian Lance Taylor [Thu, 2 Feb 1995 20:49:40 +0000 (20:49 +0000)]
Fix bool test to permit spaces before the semicolon
From-SVN: r8854
Michael Meissner [Thu, 2 Feb 1995 17:17:47 +0000 (17:17 +0000)]
Fix typo in smin/smax of floating point.
From-SVN: r8853
Michael Meissner [Wed, 1 Feb 1995 22:06:34 +0000 (22:06 +0000)]
Add preliminary PowerPC eABI support.
From-SVN: r8852
Michael Meissner [Wed, 1 Feb 1995 21:58:22 +0000 (21:58 +0000)]
Add preliminary V.4 and eABI support.
From-SVN: r8851
Michael Meissner [Wed, 1 Feb 1995 21:44:49 +0000 (21:44 +0000)]
Add preliminary V.4 and eABI support.
From-SVN: r8850
Mike Stump [Wed, 1 Feb 1995 19:28:29 +0000 (19:28 +0000)]
55th Cygnus<->FSF merge
From-SVN: r8849
Torbjorn Granlund [Wed, 1 Feb 1995 00:22:38 +0000 (00:22 +0000)]
(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
Torbjorn Granlund [Wed, 1 Feb 1995 00:21:49 +0000 (00:21 +0000)]
(singlemove_string): Make case with SFmode CONST_DOUBLE abort.
(print_operand): #ifdef out CONST_DOUBLE cases.
From-SVN: r8847
Torbjorn Granlund [Wed, 1 Feb 1995 00:20:45 +0000 (00:20 +0000)]
(*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
Jason Merrill [Tue, 31 Jan 1995 23:54:20 +0000 (23:54 +0000)]
Add -fcheck-new.
From-SVN: r8845
Mike Stump [Tue, 31 Jan 1995 22:18:02 +0000 (22:18 +0000)]
54th Cygnus<->FSF merge
From-SVN: r8844
Doug Evans [Tue, 31 Jan 1995 18:55:26 +0000 (18:55 +0000)]
(ASM_OUTPUT_SECTION_NAME): Use asm_out_text_file for functions.
From-SVN: r8843
Doug Evans [Tue, 31 Jan 1995 18:54:47 +0000 (18:54 +0000)]
(ASM_DECLARE_FUNCTION_NAME): Ensure section is .text if no section attribute.
From-SVN: r8842
Ian Lance Taylor [Tue, 31 Jan 1995 18:28:04 +0000 (18:28 +0000)]
Include <limits.h>, not "glimits.h".
From-SVN: r8841
Jason Merrill [Tue, 31 Jan 1995 00:40:42 +0000 (00:40 +0000)]
(type_for_*): Check integer_type_node first.
From-SVN: r8840
Jason Merrill [Tue, 31 Jan 1995 00:37:58 +0000 (00:37 +0000)]
Fix DECL_VIRTUAL_P comment.
From-SVN: r8839
Roland McGrath [Sat, 28 Jan 1995 21:28:10 +0000 (21:28 +0000)]
(ASM_OUTPUT_SECTION_NAME): #undef before defining.
From-SVN: r8838
Richard Kenner [Sat, 28 Jan 1995 20:14:09 +0000 (15:14 -0500)]
(c_expand_return): Refine check for returning pointer to local
variable to allow subtracting a pointer from it.
From-SVN: r8837
Jeff Law [Sat, 28 Jan 1995 18:55:00 +0000 (11:55 -0700)]
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
Richard Kenner [Sat, 28 Jan 1995 12:31:17 +0000 (07:31 -0500)]
(expand_call): When emitting queue for each arg, call protect_from_queue...
(expand_call): When emitting queue for each arg, call
protect_from_queue; put in initial_value so EXPR_LIST in is_const case
won't have QUEUED.
From-SVN: r8835
Jeff Law [Sat, 28 Jan 1995 09:38:58 +0000 (02:38 -0700)]
pa.md (call_internal_reg): Use an even faster sequence for TARGET_FAST_INDIRECT_CALLS.
* pa.md (call_internal_reg): Use an even faster sequence for
TARGET_FAST_INDIRECT_CALLS.
(call_value_internal_reg): Likewise.
From-SVN: r8834
Richard Kenner [Sat, 28 Jan 1995 02:28:46 +0000 (21:28 -0500)]
(unixware, svr4): Treat as synonyms for sysv4.
From-SVN: r8833
Richard Kenner [Sat, 28 Jan 1995 01:57:10 +0000 (20:57 -0500)]
(LIB1FUNCS): Delete _lshlsi3.
(LIB2FUNCS): Delete _lshldi3.
From-SVN: r8832
Richard Kenner [Sat, 28 Jan 1995 01:56:50 +0000 (20:56 -0500)]
(__lshldi3): Deleted.
From-SVN: r8831
Richard Kenner [Sat, 28 Jan 1995 01:56:32 +0000 (20:56 -0500)]
(perform_lshlsi3, __lshlsi3): Deleted.
From-SVN: r8830
Richard Kenner [Fri, 27 Jan 1995 23:51:02 +0000 (18:51 -0500)]
(expand_expr, case MINUS_EXPR): Remove bogus operand swap.
From-SVN: r8829
Richard Kenner [Fri, 27 Jan 1995 23:38:22 +0000 (18:38 -0500)]
(expand_binop): Add missing test for VOIDmode before calling
convert_to_mode.
From-SVN: r8828
Richard Kenner [Fri, 27 Jan 1995 21:54:55 +0000 (16:54 -0500)]
(high_{block,function}_linenum): New variables.
(final_start_function): Initialize them.
(final_end_function): Pass highest line number to function end debugging
routines.
(final_scan_insn): Pass highest line number in block to block end debugging
function.
(output_source_line): Update highest line in block and function.
From-SVN: r8827
Roland McGrath [Fri, 27 Jan 1995 06:09:14 +0000 (06:09 +0000)]
(ASM_OUTPUT_SECTION_NAME): Take proper number of args.
From-SVN: r8826
Jim Wilson [Thu, 26 Jan 1995 00:40:49 +0000 (16:40 -0800)]
(CONST_OK_FOR_LETTER_P): Add case for 'N'. Correct comment.
(ADJUST_INSN_LENGTH, SHORTEN_WITH_AJUST_INSN_LENGTH): New macros.
From-SVN: r8825
Jim Wilson [Thu, 26 Jan 1995 00:40:27 +0000 (16:40 -0800)]
(prepare_scc_operands): Force sh_compare_op1 to a register if it is an invalid constant.
(prepare_scc_operands): Force sh_compare_op1 to a register if
it is an invalid constant.
(output_branch): Add cases for 4, 8, and 18. Correct branch offsets
in comments.
(find_barrier): Correct test for move instructions that need to be
fixed by verifying that the set source is a bad constant.
(arith_reg_or_0_operand): New function.
From-SVN: r8824
Jim Wilson [Wed, 25 Jan 1995 23:17:02 +0000 (15:17 -0800)]
(strings.h): Fix return type of strlen.
From-SVN: r8823
Jim Wilson [Wed, 25 Jan 1995 23:09:41 +0000 (15:09 -0800)]
(expand_expr, case MIN_EXPR): If must emit multiple
instructions, then don't allow a MEM target.
From-SVN: r8822
Richard Kenner [Wed, 25 Jan 1995 22:07:42 +0000 (17:07 -0500)]
(FAILURE_EXIT_CODE): Define.
From-SVN: r8821
Richard Kenner [Wed, 25 Jan 1995 22:06:11 +0000 (17:06 -0500)]
(do_include): For VMS...
(do_include): For VMS, don't attempt to treat `#include X' as
`#include <X.h>' unless `X' has already been macro expanded.
(main): For VMS, do a better job of picking out the base name from
argv[0]'s absolute name.
From-SVN: r8820
David S. Miller [Wed, 25 Jan 1995 20:02:40 +0000 (15:02 -0500)]
*** empty log message ***
From-SVN: r8819
David S. Miller [Wed, 25 Jan 1995 20:01:21 +0000 (15:01 -0500)]
(store_init_value): Change error message text.
From-SVN: r8818
Richard Kenner [Wed, 25 Jan 1995 20:00:09 +0000 (15:00 -0500)]
Update comments.
From-SVN: r8817
David S. Miller [Wed, 25 Jan 1995 19:56:36 +0000 (14:56 -0500)]
(instantiate_type): Change error message text.
From-SVN: r8816
Richard Kenner [Wed, 25 Jan 1995 19:50:28 +0000 (14:50 -0500)]
Update comments.
From-SVN: r8815
Richard Kenner [Wed, 25 Jan 1995 19:50:09 +0000 (14:50 -0500)]
(find_splittable_givs): Change error message text.
From-SVN: r8814
Richard Kenner [Wed, 25 Jan 1995 19:49:08 +0000 (14:49 -0500)]
Update comment.
From-SVN: r8813
Richard Kenner [Wed, 25 Jan 1995 19:42:01 +0000 (14:42 -0500)]
(dsp16xx_reg_class_from_letter): Change error message text.
(limit_reload_class, double_reg_to_memory): Likewise.
(print_operand_address, emit_1600_core_shift): Likewise.
(gen_tst_reg, gen_compare_reg): Likewise.
From-SVN: r8812
Richard Kenner [Wed, 25 Jan 1995 19:40:53 +0000 (14:40 -0500)]
Update comments.
From-SVN: r8811
Richard Kenner [Wed, 25 Jan 1995 19:39:19 +0000 (14:39 -0500)]
(print_operand, print_operand_address): Change error message text.
From-SVN: r8810
Richard Kenner [Wed, 25 Jan 1995 19:36:35 +0000 (14:36 -0500)]
Update comment.
From-SVN: r8809
Richard Kenner [Wed, 25 Jan 1995 19:34:44 +0000 (14:34 -0500)]
(expand_asm, expand_asm_operands): Change error message text.
From-SVN: r8808
Richard Kenner [Wed, 25 Jan 1995 19:28:07 +0000 (14:28 -0500)]
Update comment.
From-SVN: r8807
Richard Kenner [Wed, 25 Jan 1995 19:27:39 +0000 (14:27 -0500)]
(check_attr_value): Change error message text.
(simplify_test_exp): Likewise.
From-SVN: r8806
Richard Kenner [Wed, 25 Jan 1995 17:53:36 +0000 (12:53 -0500)]
(DEFAULT_PCC_STRUCT_RETURN): Define as zero.
(RETURN_IN_MEMORY): Small aggregates are to be returned in d0.
From-SVN: r8805
Richard Kenner [Wed, 25 Jan 1995 17:48:25 +0000 (12:48 -0500)]
(handle_directive): Fix typo...
(handle_directive): Fix typo: '\' caused next char to be copied
blindly, which was an error if !traditional and if the next char was
newline or one of <\'"/.
From-SVN: r8804
Richard Kenner [Wed, 25 Jan 1995 13:15:26 +0000 (08:15 -0500)]
Include expr.h after insn-config.h and insn-flags.h.
From-SVN: r8803
Doug Evans [Wed, 25 Jan 1995 04:18:30 +0000 (04:18 +0000)]
(movcc_gen_code): New variable.
(init_optabs): Initialize it.
(emit_conditional_move): New function.
(can_conditionally_move_p): New function.
From-SVN: r8802
Doug Evans [Wed, 25 Jan 1995 04:17:33 +0000 (04:17 +0000)]
(jump_optimize): Try to emit a conditional move insn before
trying a store-flag insn.
From-SVN: r8801
Doug Evans [Wed, 25 Jan 1995 04:16:37 +0000 (04:16 +0000)]
(optabs): Add entry for movcc_gen_code.
From-SVN: r8800
Doug Evans [Wed, 25 Jan 1995 04:15:47 +0000 (04:15 +0000)]
(main): Delete #ifndef around HAVE_conditional_move.
From-SVN: r8799
Doug Evans [Wed, 25 Jan 1995 04:14:56 +0000 (04:14 +0000)]
(emit_conditional_move): Declare it.
(can_conditionally_move_p): Likewise.
(movcc_gen_code): Likewise.
From-SVN: r8798
Doug Evans [Wed, 25 Jan 1995 04:13:34 +0000 (04:13 +0000)]
(HAVE_conditional_move): Delete.
From-SVN: r8797
Doug Evans [Wed, 25 Jan 1995 04:11:29 +0000 (04:11 +0000)]
(movsicc): New named pattern.
(movdicc, movsfcc, movdfcc): Likewise.
(SImode conditional move): New matcher.
From-SVN: r8796
Doug Evans [Wed, 25 Jan 1995 04:09:46 +0000 (04:09 +0000)]
(simplify_set): Call can_conditionally_move_p.
From-SVN: r8795
Mike Stump [Tue, 24 Jan 1995 08:19:58 +0000 (08:19 +0000)]
53rd Cygnus<->FSF merge
From-SVN: r8794
Roland McGrath [Tue, 24 Jan 1995 04:23:23 +0000 (04:23 +0000)]
(ASM_OUTPUT_SECTION_NAME): Renamed from ASM_OUTPUT_SECTION.
The old name was a typo.
From-SVN: r8793
Jason Merrill [Tue, 24 Jan 1995 02:52:44 +0000 (02:52 +0000)]
Improve PA shlib support
From-SVN: r8792
Karl Heuer [Tue, 24 Jan 1995 00:46:11 +0000 (00:46 +0000)]
(i[34]86:*:3.2:*): Test for ISC before SCO; newer ISC releases have uname -X.
From-SVN: r8791
Ian Lance Taylor [Mon, 23 Jan 1995 23:44:35 +0000 (23:44 +0000)]
Permit any small integer mode in the HI/LO registers
From-SVN: r8790
Doug Evans [Mon, 23 Jan 1995 20:40:56 +0000 (20:40 +0000)]
(table_jump_h8300, table_jump_h8300h): Constrain operand to use register.
From-SVN: r8789
Jason Merrill [Sat, 21 Jan 1995 10:14:41 +0000 (10:14 +0000)]
bool changes
From-SVN: r8788
Jim Wilson [Sat, 21 Jan 1995 02:23:10 +0000 (18:23 -0800)]
(num_sign_bit_copies): Can handle paradoxical subreg only
if LOAD_EXTEND_OP is defined to SIGN_EXTEND.
From-SVN: r8787
Jim Wilson [Sat, 21 Jan 1995 02:12:01 +0000 (18:12 -0800)]
(copy_loop_body): When check for shared address givs, use new same_insn field.
(copy_loop_body): When check for shared address givs, use
new same_insn field.
(find_splittable_givs): New variable v2. Scan givs to set new
same_insn field. Use same_insn to indentify address givs to be
shared.
From-SVN: r8786
Jim Wilson [Sat, 21 Jan 1995 02:11:13 +0000 (18:11 -0800)]
(record_giv): Initialize new field same_insn.
From-SVN: r8785
Jim Wilson [Sat, 21 Jan 1995 02:10:54 +0000 (18:10 -0800)]
(structure induction): Add new field same_insn.
From-SVN: r8784
Jim Wilson [Sat, 21 Jan 1995 01:59:17 +0000 (17:59 -0800)]
(save_for_inline_copying): Add comment that
nonlocal_label list should be updated if it ever can be nonzero.
From-SVN: r8783
Jim Wilson [Sat, 21 Jan 1995 01:58:34 +0000 (17:58 -0800)]
(delete_handlers): When clear LABEL_PRESERVE_P,
also remove label from nonlocal_label list.
From-SVN: r8782
Jim Wilson [Sat, 21 Jan 1995 01:57:45 +0000 (17:57 -0800)]
(find_basic_blocks): No longer need to check for deleted
nonlocal_labels.
From-SVN: r8781
Jim Wilson [Sat, 21 Jan 1995 01:33:08 +0000 (17:33 -0800)]
(syms.h): Don't include under Linux.
From-SVN: r8780
Jim Wilson [Sat, 21 Jan 1995 01:30:34 +0000 (17:30 -0800)]
(scan_loop): For the replace_rtx call, copy the rtx that is
being substituted in before the call.
From-SVN: r8779
Jim Wilson [Sat, 21 Jan 1995 01:23:12 +0000 (17:23 -0800)]
(machine_dependent_reorg): When remove SUBREG, add in
SUBREG_WORD to new register number.
From-SVN: r8778
Jim Wilson [Sat, 21 Jan 1995 01:11:01 +0000 (17:11 -0800)]
(multcosts): Do not compute cost of constant power-of-two multiplies as if they were shifts.
(multcosts): Do not compute cost of constant power-of-two
multiplies as if they were shifts. Reduce multiply cost from 5 to 3.
Delete variable insn_cost.
From-SVN: r8777
Mike Stump [Fri, 20 Jan 1995 19:27:33 +0000 (19:27 +0000)]
stmt.c (expand_cleanups): Add 4th argument to indicate if code needs to be expanded for the cleanup.
* stmt.c (expand_cleanups): Add 4th argument to indicate if code
needs to be expanded for the cleanup.
(expand_goto_internal): Ditto.
(bc_expand_goto_internal): Ditto.
(fixup_gotos): Ditto.
(expand_end_bindings): Ditto. We now always call expand_cleanups,
even after BARRIERs, so that the call to the exception handling
routines is always done.
From-SVN: r8776
Jason Merrill [Fri, 20 Jan 1995 05:57:47 +0000 (05:57 +0000)]
bool changes
From-SVN: r8775
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Add support for r4650, and permit HI/LO to be allocated
From-SVN: r8774
Ian Lance Taylor [Thu, 19 Jan 1995 23:38:09 +0000 (23:38 +0000)]
Build mips1/mips3 multilibs
From-SVN: r8773
Richard Kenner [Wed, 18 Jan 1995 12:43:31 +0000 (07:43 -0500)]
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE to UNION_TYPE.
(get_inner_reference): Don't ignore CONVERT_EXPR from non-UNION_TYPE
to UNION_TYPE.
(expand_expr, case CONVERT_EXPR): Check for conversion to union before
checking for not changing mode.
From-SVN: r8772
Richard Kenner [Wed, 18 Jan 1995 12:42:42 +0000 (07:42 -0500)]
(stabilize_reference): Fix typo in last change.
From-SVN: r8771
Richard Kenner [Wed, 18 Jan 1995 03:33:13 +0000 (22:33 -0500)]
(stabilize_reference, case RTL_EXPR): New case.
From-SVN: r8770
Jeff Law [Tue, 17 Jan 1995 23:42:12 +0000 (16:42 -0700)]
pa.c (emit_move_sequence): Also handle displacements which do not fit in 14 bits for fp load/store...
* pa.c (emit_move_sequence): Also handle displacements which
do not fit in 14 bits for fp load/store secondary reloads.
From-SVN: r8769
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Use boolean_* instead of integer_* where appropriate.
From-SVN: r8768
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Declare pedantic_lvalues.
From-SVN: r8767
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
Set boolean_*, pedantic_lvalues
From-SVN: r8766
Jason Merrill [Tue, 17 Jan 1995 21:43:40 +0000 (21:43 +0000)]
(pedantic_non_lvalue): Check pedantic_lvalues instead of pedantic.
From-SVN: r8765
Jason Merrill [Tue, 17 Jan 1995 21:37:56 +0000 (21:37 +0000)]
Declare boolean_*
From-SVN: r8764