Commit Graph

3467 Commits

Author SHA1 Message Date
Jim Wilson
1ce0cb5324 (calls_alloca): Change name to calls_function.
(calls_alloca): Change name to calls_function.  Add new
parameter WHICH to control old or new behaviour.
(expand_call): When stack space is preallocated and parameters
must be passed on the stack, precompute parameters that involve
function calls.

From-SVN: r3330
1993-01-25 11:52:15 -08:00
Jim Wilson
867b0d7a02 (language_string): Define here for C and Obj-C.
From-SVN: r3329
1993-01-25 11:49:15 -08:00
Jim Wilson
e5b42a8ce4 (language_string): Delete from here.
From-SVN: r3328
1993-01-25 11:48:25 -08:00
Jeff Law
f3c2c11198 c-decl.c (finish_struct): Disable "structure/union defined inside parms" if compiling with -traditional.
* c-decl.c (finish_struct): Disable "structure/union defined inside
	parms" if compiling with -traditional.

From-SVN: r3327
1993-01-25 11:53:25 -07:00
James Van Artsdalen
b2f1f92b17 (extendsidi2): Fix typo in regno.
From-SVN: r3326
1993-01-25 12:09:21 +00:00
Richard Stallman
e19a77e63b (unary_expr => ANDAND identifier): Handle lookup_label returning 0.
From-SVN: r3325
1993-01-25 06:37:20 +00:00
Richard Stallman
7d9795e552 (lookup_label): Return 0 if not within a function.
From-SVN: r3324
1993-01-25 06:36:24 +00:00
Richard Stallman
3f7531dbac (install-float-h-cross): Don't ignore error when running enquire.
From-SVN: r3323
1993-01-25 05:08:13 +00:00
Michael Meissner
82bde8543b Do not give a warning for a plain 0 used in a pointer context.
From-SVN: r3322
1993-01-25 03:40:07 +00:00
Richard Stallman
21cd4ffcad Fix typo in prev change.
From-SVN: r3321
1993-01-24 23:48:02 +00:00
Richard Stallman
6da0ede8b6 (move/push address patterns):
Don't use alternative number to distinguish pushes from moves.
Use just one alternative `g' in output constraint.

From-SVN: r3320
1993-01-24 23:44:50 +00:00
Richard Kenner
cde62d1aec (CLASS_LIKELY_SPILLED_P): Add default definition.
(alloc_qty_for_scratch, local_alloc): Use CLASS_LIKELY_SPILLED_P.

From-SVN: r3319
1993-01-24 07:18:57 -05:00
Richard Kenner
f65b79390a (final_scan_insn): Call alter_subreg on duplicate operands (in case we
need to split the insn).

From-SVN: r3318
1993-01-24 07:18:26 -05:00
Richard Stallman
d8a8a4da44 (apply_distributive_law): Don't mess with float arith.
From-SVN: r3317
1993-01-24 01:06:11 +00:00
Richard Stallman
df24d0da45 Use new name objc-act.h.
From-SVN: r3316
1993-01-24 00:41:50 +00:00
Richard Stallman
8deb7047a6 (emit_store_flag): Reset ICODE using returned COMPARISON.
From-SVN: r3315
1993-01-24 00:03:35 +00:00
Richard Stallman
de5f1a5a77 (change_newlines): Renamed from delete_newlines.
Insert a space in place of a newline.  Caller changed.

From-SVN: r3314
1993-01-23 23:56:08 +00:00
Niklas Hallqvist
028aaf1aad * config/m68k/tower-as.h (STARTFILE_SPEC): Moved to tower.h.
From-SVN: r3313
1993-01-23 23:26:18 +00:00
Niklas Hallqvist
8b710c4f24 tower.h (LIB_SPEC): Use %s instead of absolute path.
* config/m68k/tower.h (LIB_SPEC): Use %s instead of absolute path.
	(STARTFILE_SPEC): Moved here from tower-as.h.  Use %s instead of
	absolute path.

From-SVN: r3312
1993-01-23 23:25:55 +00:00
Richard Stallman
6b02c31649 Comment fix.
From-SVN: r3311
1993-01-23 23:03:57 +00:00
Richard Stallman
27212ac6c1 (find_basic_blocks): Don't mark labels in nonlocal_label_list
that were deleted due to having no references.

From-SVN: r3310
1993-01-23 22:16:52 +00:00
Richard Kenner
93193ab5ee (reload): After calling count_possible_groups, see if we have to proceed with allocating a group.
(reload): After calling count_possible_groups, see if we have to proceed
with allocating a group.
(count_possible_groups): Use HARD_REG_SET, not a char array, for consistency.

From-SVN: r3309
1993-01-23 17:13:03 -05:00
Richard Stallman
a90ef3a37e (ASM_OUTPUT_DOUBLE_OPERAND): Delete space before arglist.
From-SVN: r3308
1993-01-23 21:29:51 +00:00
Richard Stallman
a09abb2dae (cross-test): Depend on GCC_PARTS.
From-SVN: r3307
1993-01-23 20:16:48 +00:00
Richard Kenner
5a5e4c2caa (ADJUST_COST): Add new definition.
From-SVN: r3306
1993-01-23 07:14:52 -05:00
Jim Wilson
1ed6fbfce4 Use pwd if PWDCMD is undefined. Add missing echo command.
From-SVN: r3305
1993-01-22 15:54:42 -08:00
Brendan Kehoe
c5d3565c62 Cygnus<-->FSF merge.
From-SVN: r3304
1993-01-22 18:10:33 -05:00
Brendan Kehoe
eaff4f5a57 Cygnus<-->FSF merge
From-SVN: r3303
1993-01-22 18:05:01 -05:00
Torbjorn Granlund
936b69b36b (SIZE_TYPE): Define.
(NO_DOLLAR_IN_LABEL): Define.

From-SVN: r3302
1993-01-22 20:08:29 +00:00
Jeff Law
2ccc7d7f45 * pa.c (secondary_reload_class): Simplify.
From-SVN: r3301
1993-01-22 10:19:18 -07:00
Richard Kenner
8207ec0452 (emit_library_call): Correct mis-applied patch.
From-SVN: r3300
1993-01-22 07:56:45 -05:00
Richard Kenner
720653a39b (our_file_name): New variable.
(find_a_file): Ignore filename equal to that in our_file_name.
(main): Initialize our_file_name.

From-SVN: r3299
1993-01-22 07:56:23 -05:00
Jeff Law
4d3cea21c7 * pa.c (emit_move_sequence): Handle secondary reloads for SAR.
From-SVN: r3298
1993-01-21 09:34:59 -07:00
Jeff Law
5a6cbc3795 pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register class, it's not needed anymore.
* pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register
	class, it's not needed anymore.  Delete all references.  'Z'
	register class is now "ALL_REGS".

From-SVN: r3297
1993-01-21 09:34:04 -07:00
James Van Artsdalen
08a7baacfb (cmpM_cc): Allow first operand to be a MEM.
Don't allow both operands to be MEM.
(float addM3,subM3,divM3,mulM3 recognizers): Don't allow either operand
to be a constant.
(all float patterns, FLOAT_EXTEND operands): Don't allow GENERAL_REGS
for float_extended operand.
(all float patterns, FLOAT operands): Change constraints to get better
register classification.
(fix_truncMN2 patterns): Likewise.
(floatMN2 patterns): Likewise.

From-SVN: r3296
1993-01-20 06:48:48 +00:00
James Van Artsdalen
85ff473e56 (PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to GENERAL_REGS.
(PREFERRED_OUTPUT_RELOAD_CLASS): New macro.  Narrow ALL_REGS to GENERAL_REGS.
(SECONDARY_MEMORY_NEEDED): New macro.

From-SVN: r3295
1993-01-20 06:45:28 +00:00
James Van Artsdalen
eca3150117 (all functions): Use NULL_RTX instead of 0 for rtx comparisons.
(emit_pop_insn): Emit insn with mode QImode: insn contains stack-regs.
(emit_hard_swap_insn): Delete.
(emit_swap_insn): Merge with emit_hard_swap_insn.
Delete WHEN arg and change all callers.
If previous insn was a push from REG, omit swap.
If previous insn wrote reg-stack top to REG, omit swap.
Emit swap insn with mode QImode: insn contains stack-regs.
Emit swap insn after previous float insn, instead of before this one.
(swap_rtx_condition): New function.
(compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, exchange
ops 0 and 1 and swap cc0 user condition.

From-SVN: r3294
1993-01-20 06:39:06 +00:00
Jim Wilson
b47de04b08 (cmplpower2_operand): New function.
From-SVN: r3293
1993-01-19 19:48:54 -08:00
Jim Wilson
4ec74aebd4 (addsi3): Clean up condition for when to use subo.
(umulsidi3): New pattern.
(non-canonical nand, nor): Remove paterns.
(clrbit, notbit static bit): New patterns.
(setbit, clrbit, notbit dynamic bit): New patterns.
(setbit static bit non-canonical): Remove pattern.
(muldf3, mulsf3, multf3): Add % to operand1.
(test recognizers): Use TAB efter mnemonic.

From-SVN: r3292
1993-01-19 19:48:11 -08:00
Jim Wilson
28c9500b05 (update_reg_dead_notes): New function.
(fill_simple_delay_slots): Call new function when moving
instruction forward into a delay slot.

From-SVN: r3291
1993-01-19 17:16:59 -08:00
Jim Wilson
edaf97c444 (sched_analyze_1...
(sched_analyze_1, sched_analyze_2): Ifdef out code added
for handling psuedo register equivalents that was added Dec 31 1992.

From-SVN: r3290
1993-01-19 17:13:48 -08:00
Jim Wilson
c6ad27a7f3 (emit_cmp_insn, emit_float_lib_cmp): libcall comparisons return word_mode.
From-SVN: r3289
1993-01-19 17:07:34 -08:00
Jim Wilson
4be7c28fdd (cmpdi2, ucmpdi2): comparison result type is now word_mode.
From-SVN: r3288
1993-01-19 17:07:04 -08:00
Jim Wilson
0cda619493 (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2,
__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2):  comparison
result type is now word_mode.

From-SVN: r3287
1993-01-19 17:06:43 -08:00
Richard Kenner
cad12a8dfc (print_operand, case 'k'): New case.
From-SVN: r3286
1993-01-19 18:51:32 -05:00
Richard Kenner
0075180522 (plus of gtu patterns): Add case to handle immediates.
From-SVN: r3285
1993-01-19 18:50:54 -05:00
Richard Kenner
cfcf04a6ba (find_reg): Add comment about nonlocal labels.
From-SVN: r3284
1993-01-19 18:24:27 -05:00
Richard Kenner
e19f519283 (find_free_reg): Add comment about nonlocal labels.
From-SVN: r3283
1993-01-19 18:23:39 -05:00
Richard Kenner
28edebac58 (output_epilog): Only restore the cr's that we actually used;
previously, we saved and restored all of them.

From-SVN: r3282
1993-01-19 17:54:22 -05:00
James Van Artsdalen
f898f03121 (fixup_var_refs_1): Set INSN_CODE to -1 before seeing if new insn form
is recognized.

From-SVN: r3281
1993-01-19 21:27:54 +00:00