Commit Graph

3357 Commits

Author SHA1 Message Date
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
Torbjorn Granlund
f209ff4819 (REG_CLASS_FROM_LETTER): Remove partly incorrect PA documentation.
From-SVN: r3280
1993-01-19 21:03:36 +00:00
Torbjorn Granlund
c85b896369 (print_operand): Handle 'S' and 'B' for conditions.
Handle 'I' for printing 'i' when CONST_INT.
Handle 'k' for ones-complement of CONST_INT.
(incscc_operator): Remove.

From-SVN: r3279
1993-01-19 21:03:05 +00:00
Torbjorn Granlund
6f672dc06a (define_function_unit for memory): Memory is pipelined.
(sCC patterns): Use %char notation instead of nested if stmts.
(branch matchers): Likewise.
(incscc, negscc): Likewise.  Add ? constraint for 3-insn alternative.
(incscc): Split into `incscc' and `decscc' to make this really
match.
(incscc/decscc special cases): New patterns using carry bit.

(many patterns): Use canonical address format.  Use %r
register notation.  Use GEN_INT.

(main move SF recognizer): Allow 0 for copying to general register.

(zero_extendhisi2): Remove DEFINE_EXPAND.
(zero_extendqihi2): Likewise.
(zero_extendqisi2): Likewise.
(comment before sign extension): Remove the lie.

From-SVN: r3278
1993-01-19 21:00:43 +00:00
Richard Stallman
439f602793 (build_compound_expr): Use non_lvalue if value is 0.
From-SVN: r3277
1993-01-19 15:09:34 +00:00
Richard Stallman
d023bff9eb (non_lvalue): Result must not be null ptr constant.
(omit_one_operand): Use non_lvalue.
(fold, case COMPOUND_EXPR): Use non_lvalue if value is 0.

From-SVN: r3276
1993-01-19 15:09:12 +00:00
Richard Kenner
441cedbd68 (combine_instructions): Clear reg_last_set_label.
From-SVN: r3275
1993-01-19 08:28:55 -05:00
Richard Stallman
c844ddda6f (local_prefix): new prefix, the default is /usr/local.
(cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include.

From-SVN: r3274
1993-01-19 08:54:40 +00:00
Richard Stallman
812e2cfeca Targets and deps objc-actions.* renamed to objc-act.*.
From-SVN: r3273
1993-01-19 03:23:00 +00:00
Richard Stallman
e58232cd7b Include objc-act.h.
From-SVN: r3272
1993-01-19 03:21:31 +00:00
Richard Stallman
25eddb2cc5 Comment change.
From-SVN: r3271
1993-01-19 03:20:52 +00:00