Commit Graph

3681 Commits

Author SHA1 Message Date
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
Richard Kenner
9cea650364 Add new define_split for doing sign-extended adds of some large
constants using sNaddl.

From-SVN: r3662
1993-03-05 18:41:22 -05:00
Richard Kenner
6076248a1e (simplify_binary_operation): Move integer CONST_DOUBLE folding out of REAL_IS_NOT_DOUBLE conditional.
(simplify_binary_operation): Move integer CONST_DOUBLE folding out of
REAL_IS_NOT_DOUBLE conditional.
(simplify_relational_operation): Put float CONST_DOUBLE folding under a
REAL_IS_NOT_DOUBLE conditional.
Add folding for integer CONST_DOUBLE comparisons.

From-SVN: r3661
1993-03-05 17:52:35 -05:00
Richard Kenner
02a10449e3 (fixup_var_refs_insns): If SMALL_REGISTER_CLASSES...
(fixup_var_refs_insns): If SMALL_REGISTER_CLASSES, ensure we don't put
any insns between the setting of the function return register and it's use.

From-SVN: r3660
1993-03-05 17:37:11 -05:00
Jeff Law
c2ae03cb30 pa.h (FIXED_REGISTERS): %r2 is no longer fixed.
* pa.h (FIXED_REGISTERS): %r2 is no longer fixed.
        (REG_ALLOC_ORDER): Treat %r2 as a caller-saved allocatable
        register.  %r30 is fixed and therefore a "special" register.
        %fr22-%fr31 are caller-saved, so allocate them before the
        callee-saved 1.1 fp registers.  Allocate fp registers before
        general registers.  Fix typo for register 79.

        * pa.h (FIRST_PSEUDO_REGISTER): Update to take into account
        registers which are no longer known to the compiler.
        (FIXED_REGISTERS): Likewise.
        (CALL_USED_REGISTERS): Likewise.
        (HARD_REGNO_NREGS): Likewise.
        (HARD_REGNO_MODE_OK): Likewise.
        (REGNO_REG_CLASS): Likewise.
        (FUNCTION_VALUE): Likewise.
        (LIBCALL_VALUE): Likewise.
        (FUNCTION_VALUE_REGNO_P): Likewise.
        (FUNCTION_ARG_REGNO_P): Likewise.
        (FUNCTION_ARG): Likewise.
        (REGNO_OK_FOR_FP_P): Likewise.
        (REGISTER_NAMES): Likewise.
        (REG_CLASS_CONTENTS): Likewise.  Add %r1 to GENERAL_OR_FP_REGS
        and GENERAL_OR_SNAKE_FP_REGS.
        (REG_ALLOC_ORDER): Likewise.  Document and make allocation order
        "regular" across 1.0 and 1.1 cpus.

From-SVN: r3659
1993-03-05 13:13:59 -07:00
Jeff Law
00b4e148ff pa.c (output_function_epilogue): Perform an early %r2 restore even if actual_fsize is zero.
* pa.c (output_function_epilogue): Perform an early %r2 restore
        even if actual_fsize is zero.  This can happen if %r2 is used
        as a temporary in a leaf function.

        * pa.c (compute_frame_size): Update to take into account
        register which are no longer known to the compiler.
        (output_function_prologue): Likewise.
        (output_function_epilogue): Likewise.
        (output_arg_descriptor): Likewise.

From-SVN: r3658
1993-03-05 13:13:08 -07:00
Jim Wilson
a07c19158a (output_function_prologue, output_function_epilogue):
Add comments for frame_base_name usage in leaf_functions.

From-SVN: r3657
1993-03-05 09:51:48 -08:00
Jim Wilson
238a185624 Fix typo in comment.
From-SVN: r3656
1993-03-05 09:49:44 -08:00
Jim Wilson
1d23c208bd (main): Put argv[0] in collect_obstack instead of programname.
From-SVN: r3655
1993-03-05 09:47:54 -08:00
Jim Wilson
2d08d5b656 (note_mem_written): QImode varying structure memory accesses can alias scalars.
From-SVN: r3654
1993-03-05 09:45:15 -08:00
Richard Stallman
33d3e559c5 (init_emit_once): Initialize const_tiny_rtx for partial ints too.
From-SVN: r3653
1993-03-05 06:27:22 +00:00
Richard Stallman
6d142a10c8 (store_parm_decls,combine_parm_decls): Call layout_decl for a parm declared...
(store_parm_decls,combine_parm_decls): Call layout_decl
for a parm declared float when it is changed to double under a
traditional compilation.

From-SVN: r3652
1993-03-05 05:43:51 +00:00
Steve Chamberlain
502d58a60e (convert_to_pointer): Fix typo comparing size of integer and pointers.
From-SVN: r3651
1993-03-04 22:18:45 +00:00
Steve Chamberlain
ab8ab9d05f (immed_double_const): Cope with MODE_PARTIAL_INT.
(output_constant_pool): Likewise.

From-SVN: r3650
1993-03-04 22:09:39 +00:00
Richard Stallman
d33edda78e (handle_class_ref): Call assemble_external.
From-SVN: r3649
1993-03-04 21:20:14 +00:00
Richard Stallman
5c1b0892e8 (convert_to_complex): Declared.
From-SVN: r3648
1993-03-04 21:18:47 +00:00
Richard Stallman
54e7b5e6ef (emit_no_conflict_block): Don't move target to itself if that takes multiple insns.
(emit_no_conflict_block): Don't move target to itself
if that takes multiple insns.
(expand_binop): For complex mult and div, avoid fetching operand
components more than once from memory.

From-SVN: r3647
1993-03-04 20:37:02 +00:00
Richard Stallman
b6a10c9fe1 (common_type): Handle complex types.
(lvalue_p): Handle REALPART_EXPR, IMAGPART_EXPR.
(build_binary_op, build_unary_op): Handle complex types.

From-SVN: r3646
1993-03-04 20:36:23 +00:00
Richard Stallman
f0b996c50c (truthvalue_conversion): Fix handling of COMPLEX_EXPR.
Handle all complex values specially.

From-SVN: r3645
1993-03-04 20:34:56 +00:00