Commit Graph

3699 Commits

Author SHA1 Message Date
James Van Artsdalen dc577adaac (movM): If REG_WAS_0, make sure the reg hasn't changed since then.
From-SVN: r3712
1993-03-12 09:18:56 +00:00
Doug Evans 9516a9afd7 * (RETURN_IN_MEMORY): Handle BLKmode values.
From-SVN: r3711
1993-03-12 00:11:19 +00:00
Richard Kenner b49e978eeb (RTX_COST, case MULT): Handle s8addx and s4addx.
(RTX_COST, case MULT): Correctly assign cost to multiplies by a power of two.
(RTX_COST, case ASHIFT, ASHIFTRT, LSHIFTRT, IF_THEN_ELSE): New cases.

From-SVN: r3710
1993-03-11 19:10:28 -05:00
Doug Evans e14fa9c45a * (RETURN_IN_MEMORY): Handle BLKmode values.
From-SVN: r3709
1993-03-12 00:10:21 +00:00
Richard Kenner ac07e0665d (CHEAP_REG): New macro; makes virtual regs cheap too.
(COST): Use CHEAP_REG.
(rtx_cost, case REG): Use CHEAP_REG to return zero for some REGs.

From-SVN: r3708
1993-03-11 19:02:37 -05:00
Doug Evans 9f67be1318 * (aggregate_value_p): RETURN_IN_MEMORY handles BLKmode values.
From-SVN: r3707
1993-03-11 23:55:44 +00:00
Jeff Law 23c6329e92 pa.md (FP sCC insn): Delete.
* pa.md (FP sCC insn): Delete.
	(sCC define_expands): FAIL instead of generating FP sCC insns.

From-SVN: r3706
1993-03-11 07:13:07 -07:00
Jeff Law 6bf6db507d * pa.c (gen_scond_fp): Delete.
From-SVN: r3705
1993-03-11 07:12:53 -07:00
Jeff Law 61cd2f1f37 * pa.h (toplevel): Delete declaration of gen_scond_fp.
From-SVN: r3704
1993-03-11 07:12:39 -07:00
Jeff Law f451db8990 cse.c (set_nonvarying_address_components): New function.
* cse.c (set_nonvarying_address_components): New function.
	(invalidate): Use set_nonvarying_address_components instead of
	computing them.
	(refers_to_mem_p): Likewise.  Simplify checks for conflicting
	memory accesses.  Make static.

From-SVN: r3703
1993-03-11 05:46:36 -07:00
Jeff Law 6f9c49e07d * loop.c (addr_overlap_p): Delete.
From-SVN: r3702
1993-03-11 05:45:54 -07:00
Richard Stallman db2e669b70 (define_label): Use current line number in error msg.
From-SVN: r3701
1993-03-11 08:19:03 +00:00
Richard Stallman 88ece8db61 (const_binop): When evaluating a shift, ignore
overflows generated by force_fit_type.

From-SVN: r3700
1993-03-11 08:18:16 +00:00
Richard Stallman db27aeecc2 Delete ${LIB}/DONE just before exit.
From-SVN: r3699
1993-03-11 04:53:06 +00:00
Jeff Law ea9f550ab5 Fix typo in last revision (/2 --> >> 1)
From-SVN: r3698
1993-03-10 10:53:17 -07:00
Jeff Law 6d22d9a6e0 * pa.c (reg_or_cint_move_operand): Use cint_ok_for_move.
From-SVN: r3697
1993-03-10 10:45:14 -07:00
Jeff Law 6746a52edb pa.c (cint_ok_for_move): New function.
* pa.c (cint_ok_for_move): New function.  Returns 1 iff the given
	CONST_INT can be loaded into a register in a single instruction.
	(move_operand): Use cink_ok_for_move.

From-SVN: r3696
1993-03-10 10:31:38 -07:00
Jeff Law 08cddb03ae * pa.md (add reg and large int): New define_splits for the combiner.
From-SVN: r3695
1993-03-10 10:31:14 -07:00
Jeff Law d390794555 jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc or HAVE_decscc is defined.
* jump.c (jump_optimize, clause for `if (foo) b++'):
	Do this regardless of BRANCH_COST if HAVE_incscc or
	HAVE_decscc is defined.

From-SVN: r3694
1993-03-10 10:26:53 -07:00
Torbjorn Granlund 5329e2276a (reg_or_cint_move_operand): New function.
(move_operand): Add header comment.

From-SVN: r3693
1993-03-10 16:57:05 +00:00
Torbjorn Granlund 7887873043 (conditional move): Use %B for output when appropriate.
(conditional move with second operand == 0): New pattern.

From-SVN: r3692
1993-03-10 16:56:43 +00:00
Richard Stallman 7bbc643254 (OBJC_GEN_METHOD_LABEL): Convert colons to _'s.
Don't use the category name or the number.

From-SVN: r3691
1993-03-10 07:19:29 +00:00
Richard Stallman ac50959202 (link_command_spec): New option -nostartfiles.
From-SVN: r3690
1993-03-10 07:11:33 +00:00
Richard Stallman d847907df7 Minor fix in last change.
From-SVN: r3689
1993-03-09 23:57:34 +00:00
Richard Stallman 07150665c9 (convert_to_complex): Avoid using comptypes.
From-SVN: r3688
1993-03-09 23:55:57 +00:00
Michael Meissner c3c03e50c0 Close #ifdef NEXT_OBJC_RUNTIME properly.
From-SVN: r3687
1993-03-09 16:32:42 +00:00
Richard Stallman f2faf549d4 Handle long options by translation to old-style ones.
(translate_options): New function.
(option_map): New table.

From-SVN: r3686
1993-03-09 05:47:14 +00:00
Richard Stallman c6e758972b Comment change.
From-SVN: r3685
1993-03-09 05:15:15 +00:00
Richard Stallman 68f0944838 (flag_volatile_global): Declared.
From-SVN: r3684
1993-03-09 05:15:02 +00:00
Richard Stallman 48227a2c7e (HARD_REGNO_MODE_OK): Add some casts.
From-SVN: r3683
1993-03-09 00:14:51 +00:00
Richard Stallman 6d337bba2d (record_asm_reg_life): Cast class to int for indexing.
From-SVN: r3682
1993-03-09 00:11:33 +00:00
Richard Stallman aa7a59132b (PUSH_DERIVED_LEVEL): Cast enumm constants to int.
From-SVN: r3681
1993-03-09 00:10:48 +00:00
Richard Kenner 96b0e48171 (cse_gen_binary, simplify_plus_minus): New functions.
(find_best_addr): Use cse_gen_binary.
(simplify_binary_operation, fold_rtx): Likewise.
Remove most special-cases for PLUS and MINUS and call
simplify_plus_minus instead.
Clean up some tests for FP.

From-SVN: r3680
1993-03-08 16:57:16 -05:00
Richard Stallman 0f15260aea (make_decl_rtl): Handle flag_volatile_global.
From-SVN: r3679
1993-03-08 21:31:07 +00:00
Richard Stallman 38d4d0c2ea (flag_volatile_global): New variable.
(f_options): Add option for it.

From-SVN: r3678
1993-03-08 21:29:49 +00:00
Richard Stallman 187e4b0f22 (really_start_method): Always use OBJC_GEN_METHOD_LABEL.
Pass method_slot as additional arg.
(OBJC_GEN_METHOD_LABEL): Add default definition.

From-SVN: r3677
1993-03-08 21:17:33 +00:00
Richard Stallman 6092a4cc83 (OBJC_GEN_METHOD_LABEL): Accept additional arg.
From-SVN: r3676
1993-03-08 21:13:00 +00:00
Richard Kenner 6cd4575ea1 Add prototypes for static functions.
(struct cse_basic_block_data): Move to front of file since it constains
struct used in a prototype.
(refers_to_p, find_best_addr): Now static.

From-SVN: r3675
1993-03-08 07:24:14 -05:00
Richard Kenner c19b088216 Add prototypes for static functions.
(init_libfuncs): Put args in proper order.

From-SVN: r3674
1993-03-08 07:23:19 -05:00
Richard Kenner 12e74c9e4c Clean up prototypes for functions in expr.c and optabs.c and add some
missing ones.

From-SVN: r3673
1993-03-08 07:22:39 -05:00
Richard Kenner d8e8f34647 Add prototypes for static functions.
(fill_simple_delay_slots): Add missing declaration of arg.

From-SVN: r3672
1993-03-07 07:59:21 -05:00
Richard Kenner dedb78d47c (write_test_expr): Use INSN_CODE == -2, not 0, for constant
attributes.

From-SVN: r3671
1993-03-06 17:52:30 -05:00
Richard Stallman 210eed9496 (choose_reload_regs): Handle SUBREG in reload_earlyclobber
when matching output reloads for setting reload_when_needed.

From-SVN: r3670
1993-03-06 20:09:57 +00:00
Richard Kenner f75d38a795 Add prototypes in forward declarations.
Add some missing parameters to a few calls.

From-SVN: r3669
1993-03-06 08:42:58 -05:00
Richard Kenner 7a03f4b4f8 (expand_call): Fix typo in unaligned code.
From-SVN: r3668
1993-03-06 07:42:54 -05:00
Roland McGrath de9e0d4fdf Initial revision
From-SVN: r3667
1993-03-06 08:19:15 +00:00
Roland McGrath 143d1a495d entered into RCS
From-SVN: r3666
1993-03-06 08:14:18 +00:00
Roland McGrath a8137d17b1 Initial revision
From-SVN: r3665
1993-03-06 08:13:58 +00:00
Roland McGrath 37fe0bc56b entered into RCS
From-SVN: r3664
1993-03-06 08:07:57 +00:00
Richard Stallman 86d38d25ba (expand_assignment): Special handling for storing in RESULT_DECL.
From-SVN: r3663
1993-03-06 00:48:19 +00:00