Commit Graph

12215 Commits

Author SHA1 Message Date
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
Richard Kenner
d5a1d1c758 (find_equiv_reg): Set need_stable_sp if GOAL is the stack pointer.
From-SVN: r12242
1996-06-08 13:43:59 -04:00
Richard Kenner
0161e8dace (enum attrs): Add A_FORMAT_ARG.
(init_attribute): Initialize it.
(decl_attributes, case A_FORMAT): Clean up error messages.
(decl_attributes, case A_FORMAT_ARG): New case.
(struct international_format_info): New structure and typedef.
(international_format_list): New variable.
(record_international_format): New function.
(init_format_info): Call it for gettext, dcgettext, and dcgettext.
(check_format_info): See if format arg is call to internationalization
function.

From-SVN: r12241
1996-06-08 13:35:57 -04:00
Jim Wilson
87e2427658 Change output to be a sequence of short strings
separated by commas rather than a single long macro definition.

From-SVN: r12240
1996-06-07 19:45:34 -07:00
Jim Wilson
ffd8633682 (MULTILIB_SELECT): Delete definition.
(multilib_select): Delete static initializer.
(multilib_obstack, multilib_raw): New global variables.
(multilib.h): Include inside multilib_raw definition.
(main): Set multilib_select from multilib_raw.

From-SVN: r12239
1996-06-07 19:44:31 -07:00
Jim Wilson
2d91790329 (simplify_binary_operation...
(simplify_binary_operation, case MULT): Check for case
where width is larger than HOST_BITS_PER_WIDE_INT, and upper most
bit is set.  We can not generate a simple shift in this case.

From-SVN: r12238
1996-06-07 19:36:34 -07:00
Per Bothner
44803a5b36 config.guess (i?86-ncr-sysv*): Emit minor release numbers.
* config.guess (i?86-ncr-sysv*):  Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.

From-SVN: r12225
1996-06-07 18:25:20 -07:00