Commit Graph

12221 Commits

Author SHA1 Message Date
Richard Kenner 0b04ec8c21 (convert_memory_address, case PLUS, MULT): Don't commute operation
with extension if not adding small integer.

From-SVN: r12292
1996-06-18 06:33:10 -04:00
Richard Kenner 489af5d14b (pointer_int_sum): Convert integer to both signedness and precision of
sizetype.

From-SVN: r12291
1996-06-18 06:32:43 -04:00
Richard Kenner 5e31e473a7 (BOOT_LANGUAGES): New variable.
(bootstrap): Use it to select languages for stage1.

From-SVN: r12290
1996-06-18 06:23:45 -04:00
Michael Meissner 8163337511 Put function descriptor in .reldata, not .text
From-SVN: r12289
1996-06-18 02:38:23 +00:00
Brendan Kehoe 1d69549383 * ginclude/stddef.h (wint_t): Don't wrap with #ifndef __cplusplus.
From-SVN: r12288
1996-06-17 18:03:51 -04:00
Jim Wilson aa4e54c443 (memory): Change r4100/r4300 support.
(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.

From-SVN: r12287
1996-06-17 12:01:47 -07:00
Jim Wilson ce57d6f4d1 (mips_split_addresses, mips_check_split, move_operand):
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.

From-SVN: r12286
1996-06-17 12:00:17 -07:00
Jim Wilson 910628b87e (mips_split_addresses): New variable.
(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.

From-SVN: r12285
1996-06-17 11:58:25 -07:00
Jeff Law 7fc5b3310d Initial revision
From-SVN: r12284
1996-06-16 23:19:09 -06:00
Roland McGrath 57dea80196 (LINK_SPEC): Remove -rpath /lib/ option. Ignore -ibcs option.
From-SVN: r12283
1996-06-15 08:35:46 +00:00
Jim Wilson a36cf2bb43 (main): Change argv[i] to argv[0][i].
From-SVN: r12282
1996-06-13 17:21:26 -07:00
Doug Evans fe628d0932 * gcc.c (pfatal_pexecute): Delete code to check errno < sys_nerr.
From-SVN: r12281
1996-06-13 14:45:59 +00:00
Richard Kenner 745466f2f5 Add scheduling rules for EV5.
From-SVN: r12280
1996-06-12 21:47:01 -04:00
Richard Kenner f6f6a13c08 (enum processor_type): New enum.
(alpha_cpu, alpha_cpu_string): New declarations.
(target_options): Add "cpu=".
(RTX_COSTS): Adjust values for EV5.

From-SVN: r12279
1996-06-12 21:46:42 -04:00
Richard Kenner da792a6816 (alpha_cpu, alpha_cpu_string): New variables.
(override_options): Process -mcpu= value.
(alpha_adjust_cost): Handle adjustments for EV5.

From-SVN: r12278
1996-06-12 21:46:09 -04:00
Richard Kenner e5ee0060c6 (check_format_info): Change text of message about use of `0' with
precision.

From-SVN: r12277
1996-06-11 17:50:55 -04:00
Stan Cox f6f58ba300 (function_prologue): Emit prologue as asm. (override_options): Don't emit rtl for prologue if -fpic.
From-SVN: r12276
1996-06-11 19:28:11 +00:00
Stan Cox 983f168571 (TARGET_SCHEDULE_PROLOGUE): New to allow prologue to be emitted as asm or rtl.
From-SVN: r12275
1996-06-11 19:28:11 +00:00
Michael Meissner 68ea97b42a Fix -msdata init code; Make sure correct endian flag is defined
From-SVN: r12274
1996-06-11 18:43:19 +00:00
Doug Evans 8bc6cf9b63 Add MPW support.
From-SVN: r12273
1996-06-10 23:52:08 +00:00
Jeff Law 49ddab1699 local-alloc.c (update_equiv_regs): Ignore insns that read or write registers that are likely to be spilled.
* local-alloc.c (update_equiv_regs): Ignore insns that read or
        write registers that are likely to be spilled.

From-SVN: r12272
1996-06-10 14:41:40 -06:00
Doug Evans d7ff155ff0 Delete outdated comment.
From-SVN: r12271
1996-06-10 20:20:22 +00:00
Doug Evans c9632a3b43 Initial revision
From-SVN: r12270
1996-06-10 20:10:47 +00:00
Doug Evans c10d53dd60 gcc.c (_WIN32): Don't include process.h or declare spawnv{,p}.
* gcc.c (_WIN32): Don't include process.h or declare spawnv{,p}.
	(pexecute,pwait): Add prototypes.
	(PEXECUTE_{FIRST,LAST,SEARCH}): Define.
	(execv,execvp): Delete decls.
	(perror_exec): Delete.
	(pfatal_pexecute): New function.
	(pexecute support): Delete.
	(execute): -pipe not supported if _WIN32 or OS2.
	Update call to pexecute.  Fatal error if pexecute fails.  Call pwait.

From-SVN: r12269
1996-06-10 20:02:26 +00:00
Doug Evans c6e087c59c Makefile (pexecute.o): Add rule.
* Makefile (pexecute.o): Add rule.
	(xgcc): Link in pexecute.o.
	(protoize,unprotoize): Likewise.

From-SVN: r12268
1996-06-10 19:52:08 +00:00
Doug Evans b0e8787212 protoize.c: Include gansidecl.h.
* protoize.c: Include gansidecl.h.
	(my_execvp): Delete.
	(choose_temp_base,pexecute,pwait): Declare.
	(PEXECUTE_{FIRST,LAST,SEARCH}): Define.
	(execvp): Delete decl.
	(usage): Fix typo.
	(gen_aux_info_file): Rewrite to use pexecute/pwait.

From-SVN: r12267
1996-06-10 19:48:55 +00:00
Jeff Law b46de15ede pa.h (cmp_type): Add CMP_PSI.
* pa/pa.h (cmp_type): Add CMP_PSI.
        (FUNCTION_POINTER_COMPARISON_MODE): Define.
        * pa.md (cmppsi): New expander.
        (plabel_dereference): New pattern

From-SVN: r12266
1996-06-10 13:22:32 -06:00
Michael Meissner e47ae1c2d3 Use .lcomm where we can
From-SVN: r12265
1996-06-10 19:04:21 +00:00
Doug Evans fd5e7009f6 gcc.c (do_spec_1): Allow leading text in version string.
* gcc.c (do_spec_1): Allow leading text in version string.
	Delete support for default minor number = 0.

From-SVN: r12264
1996-06-10 18:53:21 +00:00
Richard Kenner 8cfe18d616 (flow_analysis, find_basic_blocks): Ignore nonlocal_label_list for
CALL_INSN that has a REG_RETVAL.

From-SVN: r12263
1996-06-10 14:14:11 -04:00
Richard Kenner 018086d1d0 (__sel_register_typed_name): Additional parameter that indicates
whether name and type parameters are constant or not.

From-SVN: r12262
1996-06-10 11:59:30 -04:00
Richard Kenner 1717ec5915 (__objc_thread_detach_function): Clear thread storage.
Call the thread hook function when first becoming multi-threaded.
(objc_set_thread_callback): New function.

From-SVN: r12261
1996-06-10 11:58:41 -04:00
Richard Kenner f2433f89b4 (objc_set_thread_callback): New function.
(objc_thread_callback): Typedef for the hook function.

From-SVN: r12260
1996-06-10 11:58:20 -04:00
Richard Kenner 8c3f352664 (libobjc.a): Don't delete the library.
From-SVN: r12259
1996-06-10 11:58:05 -04:00
Richard Kenner 8c55cd7870 (__objc_init_protocols): Need to unlock mutex.
From-SVN: r12258
1996-06-10 11:49:49 -04:00
Richard Kenner 5840aa5b1e (gmon.o): Depend on stmp-int-hdrs.
(crt1.o, crti.o, crtn.o, gcrt1.o): Depend on $(GCC_PASSES).

From-SVN: r12257
1996-06-10 11:44:40 -04:00
Richard Kenner 62b1077c62 (decl_attributes, case A_T_UNION): Don't look at fields of union if
there aren't any.

From-SVN: r12256
1996-06-10 11:29:39 -04:00
Stan Cox 76565a249e i386.h (CONST_COSTS): even integer constants have a cost.
From-SVN: r12255
1996-06-09 02:13:52 +00:00
Stan Cox 2d49677f9c (ix86_expand_prologue): Keep pic register load ahead
(ix86_expand_prologue): Keep pic register load ahead
(print_operand): new letter 's'

From-SVN: r12254
1996-06-09 02:13:52 +00:00
Stan Cox d9118e7b3a (strlensi_unroll4, strlensi_unroll5): Use + not =& for
From-SVN: r12253
1996-06-09 02:13:52 +00:00
Stan Cox dedaa36dc9 (SHIFT_DOUBLE_OMITS_COUNT) redefine instead of
From-SVN: r12252
1996-06-09 02:13:52 +00:00
Stan Cox b95a066830 (SHIFT_DOUBLE_OMITS_COUNT): new macro.
From-SVN: r12251
1996-06-09 02:13:52 +00:00
Jim Wilson 8fbaea49f1 (cpu, memory, imuldiv, adder, mult, divide): Add vr4100 and vr4300 support.
(cpu, memory, imuldiv, adder, mult, divide): Add
vr4100 and vr4300 support.
(muldf3, mulsf3): Add vr4300 support.
(muldf3_internal, muldf_r4300, mulsf3_internal, mulsf_r4300): New
patterns.

From-SVN: r12250
1996-06-08 15:41:49 -07:00
Jim Wilson 00b3e0523c (enum processor_type): Likewise.
(MASK_4300_MUL_FIX, TARGET_4300_MUL_FIX): New macros.
(TARGET_SWITCHES): Add -mfix4300 option.

From-SVN: r12249
1996-06-08 15:39:27 -07:00
Jim Wilson 5034b7bd85 (override_options): Add vr4100 and vr4300 support.
From-SVN: r12248
1996-06-08 15:38:52 -07:00
Richard Kenner 03b28f881b (main): Re-enable -gxcoff+.
From-SVN: r12247
1996-06-08 14:35:12 -04:00
Richard Kenner 72832685da (__{eq,ne,gt,lt,ge,le}{df,sf}2): Removed extraneous comments,
constants, labels, etc.

From-SVN: r12246
1996-06-08 14:24:08 -04:00
Richard Kenner 9811059c69 (TARGET_DEFAULT): Use MASK_* macros instead of explicit constants in
definitions or conditionals.

From-SVN: r12245
1996-06-08 14:19:47 -04:00
Richard Kenner eb5ce91041 (define_insns for ffs[qhs]i2): Deleted.
(define_insns for ffs[qhs]i2): Deleted. These patterns only worked
when the input operand was not the same as the output operand.
(define_expand for ffssi2): New pattern. This uses an anonymous
pattern that describes what the ns32k's ffsd instruction (really)
does.

From-SVN: r12244
1996-06-08 13:55:15 -04:00
Richard Kenner 0e09cc26ee (fixup_var_refs_1, case SIGN_EXTEND): Handle paradoxical SUBREGs as first operand.
(fixup_var_refs_1, case SIGN_EXTEND): Handle paradoxical SUBREGs as first
operand.
(fixup_var_regs_1, case SET): Handle paradoxical SUBREGs as first operand of
a ZERO_EXTRACT in SET_DEST.

From-SVN: r12243
1996-06-08 13:49:13 -04:00