Ian Lance Taylor [Mon, 3 Oct 1994 15:43:16 +0000 (15:43 +0000)]
Add support for MIPS variants
From-SVN: r8209
Roland McGrath [Mon, 3 Oct 1994 05:48:44 +0000 (05:48 +0000)]
Recognize GNU.
From-SVN: r8208
Richard Kenner [Mon, 3 Oct 1994 00:44:08 +0000 (20:44 -0400)]
Complete last change.
From-SVN: r8207
Jason Merrill [Sun, 2 Oct 1994 23:17:08 +0000 (23:17 +0000)]
(save_tree_status): Add argument to indicate that the new function is not a nested function.
(save_tree_status): Add argument to indicate that the new
function is not a nested function.
(restore_tree_status): Ditto.
From-SVN: r8206
Jason Merrill [Sun, 2 Oct 1994 23:16:51 +0000 (23:16 +0000)]
ontext, adds argument to indicate that the new function is not a nested function.
ontext, adds argument to indicate that the new
function is not a nested function.
(push_function_context): Call it.
(pop_function_context{,_from}): Similarly.
From-SVN: r8205
Richard Kenner [Sun, 2 Oct 1994 19:17:43 +0000 (15:17 -0400)]
(subst_stack_regs): Check for NOTE to see if insn was deleted.
From-SVN: r8204
Richard Kenner [Sun, 2 Oct 1994 18:58:47 +0000 (14:58 -0400)]
(fill_slots_from_thread): Update THREAD if deleting its first insn.
From-SVN: r8203
Richard Earnshaw [Sun, 2 Oct 1994 15:11:02 +0000 (15:11 +0000)]
(zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when TARGET_SHORT_BYTES and loading a mem.
(zero_extendhisi2, extendhisi2): Expand to suitable byte sequence when
TARGET_SHORT_BYTES and loading a mem.
(movhi_bytes, extendhisi2_mem): New expands.
(movhi): Call movhi_bytes to load a short from memory if
TARGET_SHORT_BY_BYTES.
(all matchers loading a short from memory): Don't match if
TARGET_SHORT_BY_BYTES.
(matcher for movhi when TARGET_SHORT_BY_BYTES): New pattern to cover
remaining legal cases.
From-SVN: r8202
Richard Earnshaw [Sun, 2 Oct 1994 15:10:48 +0000 (15:10 +0000)]
(arm_reload_in_hi): New function.
From-SVN: r8201
Richard Earnshaw [Sun, 2 Oct 1994 15:10:27 +0000 (15:10 +0000)]
(TARGET_SHORT_BY_BYTES): New macro.
(TARGET_SWITCHES): Recognize switches -m[no-]short-load-bytes.
(TARGET_DEFAULT): Only define if not already done so.
(PROMOTE_MODE): Promote HImode unsigned if TARGET_SHORT_BY_BYTES.
(SECONDARY_INPUT_RELOAD_CLASS): Need a scratch for reloading HImode if
TARGET_SHORT_BY_BYTES.
From-SVN: r8200
Richard Earnshaw [Sun, 2 Oct 1994 14:25:07 +0000 (14:25 +0000)]
(movsf): If reloading, create a scratch from the target for loading a constant into integer regs.
(movsf): If reloading, create a scratch from the target for loading a
constant into integer regs.
(movdf): Likewise..
From-SVN: r8199
Richard Kenner [Sun, 2 Oct 1994 12:54:22 +0000 (08:54 -0400)]
(delete_insn_for_stacker): Don't set INSN_DELETED_P on
NOTE_INSN_DELETED.
From-SVN: r8198
Richard Kenner [Sun, 2 Oct 1994 00:42:28 +0000 (20:42 -0400)]
(CC, OLDCC, RCCFLAGS, CCLIBFLAGS, CLIB, ALLOCA): From x-sco.
(X_CFLAGS): Remove.
From-SVN: r8197
Richard Kenner [Sun, 2 Oct 1994 00:42:09 +0000 (20:42 -0400)]
(CLIB): Add "-lmalloc".
(ALLOCA): Define as "-lPW".
From-SVN: r8196
Richard Kenner [Sun, 2 Oct 1994 00:41:51 +0000 (20:41 -0400)]
(CPP_PREDEFINES): Remove i386, unix.
(CPP_SPEC): Add them here, so that they're undefined if -ansi.
Also add _i386 and _unix, which are always defined.
From-SVN: r8195
Richard Kenner [Sun, 2 Oct 1994 00:35:09 +0000 (20:35 -0400)]
(jump_optimize): When deleting a jump, properly set NEXT.
(duplicate_loop_exit_test): Don't insety NOTE_INSN_LOOP_VTOP before deleted
insn; insert first, then delete.
From-SVN: r8194
Richard Kenner [Sun, 2 Oct 1994 00:34:45 +0000 (20:34 -0400)]
(add_insn_{before,after}): Abort if insertion point is a deleted insn.
From-SVN: r8193
Michael Meissner [Sat, 1 Oct 1994 18:27:23 +0000 (18:27 +0000)]
Prefer float registers for movdf.
From-SVN: r8192
Richard Earnshaw [Sat, 1 Oct 1994 10:58:44 +0000 (10:58 +0000)]
(shadow_label): Emit an error if the label is already
declared at this label scope.
From-SVN: r8191
Richard Kenner [Sat, 1 Oct 1994 10:44:43 +0000 (06:44 -0400)]
Install omitted hunk from last diff.
From-SVN: r8190
Doug Evans [Sat, 1 Oct 1994 03:57:21 +0000 (03:57 +0000)]
(process_command): Fix typo.
From-SVN: r8189
Richard Kenner [Fri, 30 Sep 1994 22:26:03 +0000 (18:26 -0400)]
(add_insn_after): Abort if can't find AFTER and it has no NEXT_INSN.
(add_insn_before): New function.
(emit_{insn,insns,jump_insn,call_insn,barrier,note}_before): Call it.
From-SVN: r8188
Richard Kenner [Fri, 30 Sep 1994 21:33:35 +0000 (17:33 -0400)]
Initial revision
From-SVN: r8187
Richard Kenner [Fri, 30 Sep 1994 21:32:04 +0000 (17:32 -0400)]
(output_387_binary_op): Use AS2C instead of AS2 with null first arg.
From-SVN: r8186
Richard Kenner [Fri, 30 Sep 1994 21:31:44 +0000 (17:31 -0400)]
Treat ALMOST_STDC like __STDC__.
(AS2C): New macro.
From-SVN: r8185
Richard Kenner [Fri, 30 Sep 1994 21:31:09 +0000 (17:31 -0400)]
Don't include sys/file.h for winnt; use process.h instead.
(concat): Now just concats two things; all callers changed.
(concat[346]): New functions.
(dir_separator_str): New variable.
(exec_prefixes, startfile_prefixes, include_prefixes): Renamed from same names
without plural; all users changed.
(find_a_file, process_command, do_spec_1): Use DIR_SEPARATOR.
(find_file, is_directory, main): Likewise.
(lookup_compiler): If OS/2, do case-independent search.
(fix_argv): New function on winnt.
(FIX_ARGV): New macro for some systems; use instead of argv.
From-SVN: r8184
Richard Kenner [Fri, 30 Sep 1994 21:30:07 +0000 (17:30 -0400)]
(main): Use DIR_SEPARATOR if defined.
Use "Include" environment variable instead of CPATH for winnt.
From-SVN: r8183
Richard Kenner [Fri, 30 Sep 1994 21:29:38 +0000 (17:29 -0400)]
Don't include times.h for winnt.
(get_run_time): Just return zero for winnt.
(main): Don't print memory usage for OS/2 or winnt.
From-SVN: r8182
Richard Kenner [Fri, 30 Sep 1994 21:29:14 +0000 (17:29 -0400)]
Don't include syms.h for winnt.
From-SVN: r8181
Richard Kenner [Fri, 30 Sep 1994 21:27:51 +0000 (17:27 -0400)]
#ifdef WINNT, include direct.h.
From-SVN: r8180
Richard Kenner [Fri, 30 Sep 1994 21:27:29 +0000 (17:27 -0400)]
(atoi): Remove declaration.
From-SVN: r8179
Richard Kenner [Fri, 30 Sep 1994 21:26:44 +0000 (17:26 -0400)]
(windowsnt): Alias for winnt.
(winnt): New OS name.
From-SVN: r8178
Mike Stump [Fri, 30 Sep 1994 00:51:03 +0000 (00:51 +0000)]
48th Cygnus<->FSF merge
From-SVN: r8177
Jim Wilson [Fri, 30 Sep 1994 00:31:34 +0000 (17:31 -0700)]
(movdf+3): Handle overlapping registers in define_split.
From-SVN: r8176
Jim Wilson [Fri, 30 Sep 1994 00:13:09 +0000 (17:13 -0700)]
(default_compilers): Add %Z to all cpp specs.
(n_preprocessor_options, preprocessor_options): New variables.
(process_command): Handle -Wp option.
(do_spec_1): Handle %Z spec.
From-SVN: r8175
Jim Wilson [Fri, 30 Sep 1994 00:11:02 +0000 (17:11 -0700)]
New file.
From-SVN: r8174
Jim Wilson [Fri, 30 Sep 1994 00:07:41 +0000 (17:07 -0700)]
(os): Accept coff as an OS.
From-SVN: r8173
Jim Wilson [Fri, 30 Sep 1994 00:05:20 +0000 (17:05 -0700)]
(call): Use struct value pattern is struct size is not equal to zero instead of greater than zero.
(call): Use struct value pattern is struct size is not
equal to zero instead of greater than zero.
(call+7, call+8): New patterns for untyped calls.
(untyped_call): Revise to emit explicit rtl for all operation.
Delete four old patterns that matched the unexpanded untyped_call
pattern.
(blockage): New pattern.
(flush_register_windows): Modify from 0 to 1.
(goto_handler_and_restore): Modify from 1 to 2.
(flush): Modify from 2 to 3.
From-SVN: r8172
Jim Wilson [Fri, 30 Sep 1994 00:04:04 +0000 (17:04 -0700)]
(sparc_initialize_trampoline): FLUSH is now 3 not 2.
From-SVN: r8171
Jim Wilson [Fri, 30 Sep 1994 00:02:36 +0000 (17:02 -0700)]
(result_vector): Use INCOMING_REGNO when !savep instead
of when savep.
From-SVN: r8170
Jim Wilson [Thu, 29 Sep 1994 23:59:45 +0000 (16:59 -0700)]
(emit_library_call): For FUNCTION_ARG_PASS_BY_REFERENCE,
pass address through force_operand before using it.
From-SVN: r8169
Jim Wilson [Thu, 29 Sep 1994 23:52:57 +0000 (16:52 -0700)]
(i960_setup_incoming_varargs): Store parameter registers
at proper offset in argument block.
From-SVN: r8168
Mike Stump [Thu, 29 Sep 1994 23:43:02 +0000 (23:43 +0000)]
stmt.c (expand_return): We have to be careful of cleanups that can be generated when...
* stmt.c (expand_return): We have to be careful of cleanups that can
be generated when expanding the return value, as they might otherwise
wipe out the return value.
From-SVN: r8167
Richard Kenner [Thu, 29 Sep 1994 22:47:30 +0000 (18:47 -0400)]
(i[34]86:UNIX_SV:4.*:*): Remove "UNIX_SV" for Unixware; move DYNIX
above this one now that this is wildcard.
From-SVN: r8166
Richard Kenner [Thu, 29 Sep 1994 22:24:38 +0000 (18:24 -0400)]
(struct option_map): Sort in alphabetical order.
(translate_options): Ignore option once an error occurs.
Fix error with reversed 'a' and 'o'.
Give error if specified abbreviation is unambiguous.
From-SVN: r8165
Mike Stump [Thu, 29 Sep 1994 20:45:05 +0000 (20:45 +0000)]
expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR.
* expr.c (do_jump): Handle cleanups in TRUTH_ANDIF_EXPR and
TRUTH_ORIF_EXPR.
From-SVN: r8164
Michael Bushnell [Thu, 29 Sep 1994 20:16:09 +0000 (20:16 +0000)]
*** empty log message ***
From-SVN: r8163
Richard Kenner [Thu, 29 Sep 1994 17:23:41 +0000 (13:23 -0400)]
(convert_for_assignment): When converting object to union...
(convert_for_assignment): When converting object to union, allow
converting the constant zero into a pointer member of the union.
From-SVN: r8162
Richard Kenner [Wed, 28 Sep 1994 23:32:44 +0000 (19:32 -0400)]
(convert_move): Added handling of PDImode conversions.
From-SVN: r8161
Richard Kenner [Wed, 28 Sep 1994 23:32:26 +0000 (19:32 -0400)]
(PSImode): Widens to PDImode.
From-SVN: r8160
Richard Kenner [Wed, 28 Sep 1994 23:24:12 +0000 (19:24 -0400)]
(FIXINCLUDES): Set to Makefile.in.
From-SVN: r8159
Brendan Kehoe [Wed, 28 Sep 1994 23:19:20 +0000 (23:19 +0000)]
* except.c (register_exception_table): Use Pmode, not PTRmode.
From-SVN: r8158
Richard Kenner [Wed, 28 Sep 1994 23:18:05 +0000 (19:18 -0400)]
(trampoline_address): Add missing call to round_trampoline.
From-SVN: r8157
Michael Meissner [Wed, 28 Sep 1994 22:33:33 +0000 (22:33 +0000)]
Do not emit \v, gas does not like it.
From-SVN: r8156
Ian Lance Taylor [Wed, 28 Sep 1994 18:31:04 +0000 (18:31 +0000)]
Comment out loop which handled symbolic links to files
From-SVN: r8155
Jason Merrill [Wed, 28 Sep 1994 00:11:55 +0000 (00:11 +0000)]
(COLLECT_SUPPRESS_OPTIONS): Define to "E".
From-SVN: r8154
Jason Merrill [Wed, 28 Sep 1994 00:11:31 +0000 (00:11 +0000)]
(main): Ignore options in COLLECT_SUPPRESS_OPTIONS
for the first link.
From-SVN: r8153
Richard Kenner [Tue, 27 Sep 1994 23:27:44 +0000 (19:27 -0400)]
(ENCODE_SECTION_INFO): Only calls may go through the PLT.
(ENCODE_SECTION_INFO): Only calls may go through the PLT. All address
loads, even function address loads, have to go through the GOT or
function addresses will not be unique.
From-SVN: r8152
Richard Kenner [Tue, 27 Sep 1994 23:19:54 +0000 (19:19 -0400)]
(newline_fix, name_newline_fix): Don't treat \r specially here; it only causes bugs.
(newline_fix, name_newline_fix): Don't treat \r specially here; it
only causes bugs. This undoes the May 14 16:01:13 1990 change to
newline_fix and name_newline_fix.
From-SVN: r8151
Richard Kenner [Tue, 27 Sep 1994 23:02:45 +0000 (19:02 -0400)]
(ASM_OUTPUT_SOURCE_LINE): Add missing #undef.
From-SVN: r8150
Richard Kenner [Tue, 27 Sep 1994 22:32:07 +0000 (18:32 -0400)]
(expand_fix): Call emit_library_call_value.
From-SVN: r8149
Richard Kenner [Tue, 27 Sep 1994 22:31:04 +0000 (18:31 -0400)]
(warn_with_method): Make arg int, not char.
From-SVN: r8148
Richard Kenner [Tue, 27 Sep 1994 22:30:21 +0000 (18:30 -0400)]
(n_occurrences): Make arg int, not char.
From-SVN: r8147
Richard Kenner [Tue, 27 Sep 1994 22:29:21 +0000 (18:29 -0400)]
(optimize_bit_field): Put any insns made by change_address in front of INSN.
(expand_function_end): Don't pass DECL_INITIAL to setjmp_protect if it is
error_mark_node.
From-SVN: r8146
Brendan Kehoe [Tue, 27 Sep 1994 22:26:24 +0000 (18:26 -0400)]
revert previous change
From-SVN: r8145
Mike Stump [Tue, 27 Sep 1994 19:42:40 +0000 (19:42 +0000)]
* Makefile.in, libgcc2.c (L_eh): some support routines for C++.
From-SVN: r8144
Brendan Kehoe [Tue, 27 Sep 1994 17:35:24 +0000 (17:35 +0000)]
search.c (lookup_field): Return a NULL_TREE if XBASETYPE is itself null.
* search.c (lookup_field): Return a NULL_TREE if XBASETYPE is
itself null.
From-SVN: r8143
David J. MacKenzie [Mon, 26 Sep 1994 21:52:40 +0000 (21:52 +0000)]
remove CONFIG_BROKETS
From-SVN: r8130
Mike Stump [Mon, 26 Sep 1994 20:15:18 +0000 (20:15 +0000)]
47th Cygnus<->FSF merge
From-SVN: r8129
Michael Meissner [Mon, 26 Sep 1994 10:44:49 +0000 (10:44 +0000)]
Allow memory/memory DImode add/subtract.
From-SVN: r8128
Jim Wilson [Fri, 23 Sep 1994 23:15:54 +0000 (16:15 -0700)]
Fix prototype for invalidate.
From-SVN: r8127
Roland McGrath [Fri, 23 Sep 1994 23:02:58 +0000 (23:02 +0000)]
(LIB_SPEC): Remove macro.
From-SVN: r8126
Michael Meissner [Fri, 23 Sep 1994 20:11:00 +0000 (20:11 +0000)]
Make ebx a call clobbered register.
From-SVN: r8125
Jim Wilson [Fri, 23 Sep 1994 19:54:07 +0000 (12:54 -0700)]
(invalidate): New parameter FULL_MODE. All callers changed.
(set_nonvarying_address_components): Modify initial comment.
(cse_insn): When call invalidate for dest, use the actual dest not
inner_dest.
From-SVN: r8124
Richard Kenner [Thu, 22 Sep 1994 22:56:08 +0000 (18:56 -0400)]
(expand_divmod): Special case for signed CEIL_DIV_EXPR when divisor is
power of 2.
From-SVN: r8123
Jason Merrill [Thu, 22 Sep 1994 17:14:46 +0000 (17:14 +0000)]
(main): Discard the first executable once we've
exploited it.
From-SVN: r8122
Jason Merrill [Thu, 22 Sep 1994 17:14:05 +0000 (17:14 +0000)]
Fix size_t, ptrdiff_t and wchar_t like fixincludes does.
Fix size_t, ptrdiff_t and wchar_t like fixincludes
does. Use extern inline rather than static inline in byteorder.h.
From-SVN: r8121
Ian Lance Taylor [Thu, 22 Sep 1994 15:38:17 +0000 (15:38 +0000)]
Tweaks for LynxOS 2.2.2
From-SVN: r8120
Richard Kenner [Thu, 22 Sep 1994 11:18:25 +0000 (07:18 -0400)]
(emit_call_1): Fix typo in last change.
From-SVN: r8119
Chris Smith [Thu, 22 Sep 1994 04:27:58 +0000 (04:27 +0000)]
add convex c3* c4*
From-SVN: r8118
Richard Kenner [Wed, 21 Sep 1994 19:59:04 +0000 (15:59 -0400)]
(ASM_FILE_START): Write .set volatile.
From-SVN: r8117
Richard Kenner [Wed, 21 Sep 1994 19:00:00 +0000 (15:00 -0400)]
(emit_call_1): Properly add a CLOBBER for sp to
CALL_INSN_FUNCTION_USAGE.
From-SVN: r8116
Richard Kenner [Wed, 21 Sep 1994 18:45:25 +0000 (14:45 -0400)]
(mark_addressable): Give different error if trying to put object with volatile fields into register...
(mark_addressable): Give different error if trying to put object with
volatile fields into register; don't use DECL_NAME.
From-SVN: r8115
Jim Wilson [Wed, 21 Sep 1994 18:01:38 +0000 (11:01 -0700)]
(eliminate_regs): Make test in LOAD_EXTEND_OP case more precise.
From-SVN: r8114
Ian Lance Taylor [Wed, 21 Sep 1994 15:33:52 +0000 (15:33 +0000)]
Don't remove empty directories until after removing DONE files
From-SVN: r8113
Richard Kenner [Wed, 21 Sep 1994 09:52:45 +0000 (05:52 -0400)]
(NO_{DOLLAR,DOT}_IN_LABEL): Define.
From-SVN: r8112
Doug Evans [Wed, 21 Sep 1994 00:05:57 +0000 (00:05 +0000)]
(asm_insn_count): Handle ASM_INPUTs too.
From-SVN: r8111
Richard Kenner [Tue, 20 Sep 1994 23:32:01 +0000 (19:32 -0400)]
Initial revision
From-SVN: r8110
Richard Kenner [Tue, 20 Sep 1994 23:31:50 +0000 (19:31 -0400)]
Replacement file, for as1750.
From-SVN: r8109
Richard Kenner [Tue, 20 Sep 1994 23:31:03 +0000 (19:31 -0400)]
Replaced file, for as1750.
From-SVN: r8108
Richard Kenner [Tue, 20 Sep 1994 23:03:14 +0000 (19:03 -0400)]
(eval_if_expression): Now returns HOST_WIDE_INT.
(do_if, do_elif): Reflect new return value of functions.
From-SVN: r8107
Richard Kenner [Tue, 20 Sep 1994 23:02:37 +0000 (19:02 -0400)]
(HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): New macros.
(expression_value): Now HOST_WIDE_INT.
(parse_c_expression): Now returns HOST_WIDE_INT.
From-SVN: r8106
Richard Kenner [Tue, 20 Sep 1994 22:45:30 +0000 (18:45 -0400)]
(mode_mask_operand): Always return a value.
From-SVN: r8105
Richard Kenner [Tue, 20 Sep 1994 21:55:33 +0000 (17:55 -0400)]
(make_definition): Enable `-D' with macro arguments.
From-SVN: r8104
Richard Kenner [Tue, 20 Sep 1994 21:51:32 +0000 (17:51 -0400)]
(pop_function_context): Clear reg_renumber.
From-SVN: r8103
Richard Kenner [Tue, 20 Sep 1994 21:49:35 +0000 (17:49 -0400)]
(process_command): Add new switch, -dumpmachine.
From-SVN: r8102
Jim Wilson [Tue, 20 Sep 1994 20:08:32 +0000 (13:08 -0700)]
(mips_output_external): Use ASM_OUTPUT_UNDEF_FUNCTION.
(mips_output_external_libcall): New function.
(mips_asm_file_end): Handle ASM_OUTPUT_UNDEF_FUNCTION.
From-SVN: r8101
Jim Wilson [Tue, 20 Sep 1994 20:08:07 +0000 (13:08 -0700)]
(ASM_OUTPUT_UNDEF_FUNCTION): Define.
(ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_DECLARE_FUNCTION_SIZE): Define.
From-SVN: r8100
Jim Wilson [Tue, 20 Sep 1994 19:57:18 +0000 (12:57 -0700)]
(sched_analyze_insn): Parameter loop_note type changed to rtx, and name changed to loop_notes.
(sched_analyze_insn): Parameter loop_note type changed
to rtx, and name changed to loop_notes. Code adding it to
REG_NOTES modified to account for type change.
(sched_analyze): Variable loop_note type changed to rtx, and name
changed to loop_notes. Store LOOP_* REG_DEAD notes in it instead
of LOOP_* NOTE_LINE_NUMBER.
(schedule_block): Pass last not insn to emit_note_before call.
From-SVN: r8099
Michael Meissner [Tue, 20 Sep 1994 18:36:51 +0000 (18:36 +0000)]
Respin DI support to be combine friendly; Allow push of SF without temp reg; Fix broken i386 untyped_call
From-SVN: r8098