gcc.git
28 years ago(reg_allocno): No longer static.
Richard Kenner [Mon, 1 Jan 1996 23:52:39 +0000 (18:52 -0500)]
(reg_allocno): No longer static.

From-SVN: r10931

28 years ago(reg_equiv_replacement): New variable.
Richard Kenner [Mon, 1 Jan 1996 23:23:33 +0000 (18:23 -0500)]
(reg_equiv_replacement): New variable.

(memref_referenced_p, case REG): Check for reg_equiv_replacement.
(update_equiv_regs): reg_equiv_replacement now file-scope.

From-SVN: r10930

28 years ago(decl_attributes): Fix default alignment: BIGGEST_ALIGNMENT is a
Richard Kenner [Mon, 1 Jan 1996 21:15:08 +0000 (16:15 -0500)]
(decl_attributes): Fix default alignment: BIGGEST_ALIGNMENT is a
number of bits, not bytes.

From-SVN: r10929

28 years ago(finish_struct): Warn if field with enumeral type is narrower than
Richard Kenner [Mon, 1 Jan 1996 14:30:37 +0000 (09:30 -0500)]
(finish_struct): Warn if field with enumeral type is narrower than
values of that type.

From-SVN: r10928

28 years ago(rtx_equal_for_field_assignment_p): New function.
Richard Kenner [Mon, 1 Jan 1996 14:07:38 +0000 (09:07 -0500)]
(rtx_equal_for_field_assignment_p): New function.

(make_field_assignment): Use it.
Expand compound operations on both sides of an IOR.
Properly adjust constand in IOR when computing bit position.

From-SVN: r10927

28 years agohard-reg-set.h (losing_caller_save_reg_set): Declare.
Jeff Law [Mon, 1 Jan 1996 02:32:57 +0000 (19:32 -0700)]
hard-reg-set.h (losing_caller_save_reg_set): Declare.

        * hard-reg-set.h (losing_caller_save_reg_set): Declare.
        * regclass.c (losing_caller_save_reg_set): Define.
        (init_reg_sets_1): Initialize losing_caller_save_reg_set.
        * global.c (find_reg): Avoid caller-saving registers in
        LOSING_CALLER_SAVE_REGS if it's defined.
        * local-alloc.c (find_free_reg): Avoid caller-saving registers
        in losing_caller_save_reg_set.
        (CLASS_LIKELY_SPILLED_P): Delete definition.  Moved into regs.h.
        * regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.

From-SVN: r10926

28 years ago(expand_asm_operands): Call assign_temp with extra arg.
Richard Kenner [Mon, 1 Jan 1996 02:27:36 +0000 (21:27 -0500)]
(expand_asm_operands): Call assign_temp with extra arg.

From-SVN: r10925

28 years ago(save_nocopied_parts, expand_expr): Call assign_temp with extra arg.
Richard Kenner [Mon, 1 Jan 1996 02:26:50 +0000 (21:26 -0500)]
(save_nocopied_parts, expand_expr): Call assign_temp with extra arg.

(expand_expr, case SAVE_EXPR): Set TEMP to (const_int 0) if MODE is VOIDmode.
(expand_expr): Don't use assign_temp for pseudos when might want to be TMODE.

From-SVN: r10924

28 years ago(assign_temp): Add extra arg, DONT_PROMOTE.
Richard Kenner [Mon, 1 Jan 1996 02:26:06 +0000 (21:26 -0500)]
(assign_temp): Add extra arg, DONT_PROMOTE.

Don't return (const_int 0) for VOIDmode.

From-SVN: r10923

28 years ago(assign_temp): Add extra arg.
Richard Kenner [Mon, 1 Jan 1996 02:25:48 +0000 (21:25 -0500)]
(assign_temp): Add extra arg.

From-SVN: r10922

28 years ago(MULTILIB_DEFAULTS): Define.
Doug Evans [Sun, 31 Dec 1995 23:46:10 +0000 (23:46 +0000)]
(MULTILIB_DEFAULTS): Define.

From-SVN: r10921

28 years agoreorg.c (fill_simple_delay_slots): Try to fill from the target of an unconditional...
Jeff Law [Sun, 31 Dec 1995 23:05:16 +0000 (16:05 -0700)]
reorg.c (fill_simple_delay_slots): Try to fill from the target of an unconditional branch if necessary.

        * reorg.c (fill_simple_delay_slots): Try to fill from the
        target of an unconditional branch if necessary.

From-SVN: r10920

28 years agopa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs before PA1.0 caller-saved...
Jeff Law [Sun, 31 Dec 1995 21:34:11 +0000 (14:34 -0700)]
pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs before PA1.0 caller-saved FP regs.

        * pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs
        before PA1.0 caller-saved FP regs.

From-SVN: r10919

28 years agosched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.
Jeff Law [Sun, 31 Dec 1995 20:48:17 +0000 (13:48 -0700)]
sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.

        * sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.

        * pa.h (ADJUST_PRIORITY): Define to keep lifetimes of registers
        that will be allocated to %r1 shorter.

From-SVN: r10918

28 years ago(tail_recursion_args): Compare TYPE_MAIN_VARIANTs.
Richard Kenner [Sun, 31 Dec 1995 20:31:18 +0000 (15:31 -0500)]
(tail_recursion_args): Compare TYPE_MAIN_VARIANTs.

From-SVN: r10917

28 years ago(rest_of_compilation): Leave DECL_INLINE set even if won't inline.
Richard Kenner [Sun, 31 Dec 1995 20:03:51 +0000 (15:03 -0500)]
(rest_of_compilation): Leave DECL_INLINE set even if won't inline.

From-SVN: r10916

28 years ago(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change
Richard Kenner [Sun, 31 Dec 1995 20:03:23 +0000 (15:03 -0500)]
(instantiate_decls): Check DECL_SAVED_INSNS to see if obstack change
is needed.

From-SVN: r10915

28 years ago(clear_pending_stack_adjust): Don't do optimization if -O0.
Richard Kenner [Sun, 31 Dec 1995 20:02:34 +0000 (15:02 -0500)]
(clear_pending_stack_adjust): Don't do optimization if -O0.

From-SVN: r10914

28 years ago(expand_call): Don't warn about not being able to inline if -O0.
Richard Kenner [Sun, 31 Dec 1995 20:00:12 +0000 (15:00 -0500)]
(expand_call): Don't warn about not being able to inline if -O0.

From-SVN: r10913

28 years ago({bc_,}make_decl_rtl): Don't look at DECL_REGISTER for functions.
Richard Kenner [Sun, 31 Dec 1995 19:20:39 +0000 (14:20 -0500)]
({bc_,}make_decl_rtl): Don't look at DECL_REGISTER for functions.

From-SVN: r10912

28 years ago(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.
Richard Kenner [Sun, 31 Dec 1995 19:20:08 +0000 (14:20 -0500)]
(compile_file): DECL_REGISTER isn't defined for FUNCTION_DECL.

From-SVN: r10911

28 years ago(fixup_gotos): Use DECL_ERROR_ISSUED instead of DECL_REGISTER.
Richard Kenner [Sun, 31 Dec 1995 19:19:25 +0000 (14:19 -0500)]
(fixup_gotos): Use DECL_ERROR_ISSUED instead of DECL_REGISTER.

From-SVN: r10910

28 years ago(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.
Richard Kenner [Sun, 31 Dec 1995 19:18:48 +0000 (14:18 -0500)]
(gen_decl): DECL_REGISTER isn't defined for FUNCTION_DECL.

From-SVN: r10909

28 years agoAdd documentation on uses of common area flags.
Richard Kenner [Sun, 31 Dec 1995 19:18:23 +0000 (14:18 -0500)]
Add documentation on uses of common area flags.

(DECL_ERROR_ISSUED): New macro.
(DECL_NO_STATIC_CHAIN): New macro; currently unused.

From-SVN: r10908

28 years agoremove auto_export functionality.
Jason Merrill [Sat, 30 Dec 1995 16:21:50 +0000 (16:21 +0000)]
remove auto_export functionality.

From-SVN: r10907

28 years ago(plain_type_1, case ARRAY_TYPE): Subtract lower bound when writing
Richard Kenner [Sat, 30 Dec 1995 12:57:04 +0000 (07:57 -0500)]
(plain_type_1, case ARRAY_TYPE): Subtract lower bound when writing
dimension.

From-SVN: r10906

28 years ago(assign_temp): Fix formatting.
Richard Kenner [Sat, 30 Dec 1995 11:36:58 +0000 (06:36 -0500)]
(assign_temp): Fix formatting.

From-SVN: r10905

28 years ago(yylex, parse_c_expression, main): Likewise.
Richard Kenner [Fri, 29 Dec 1995 23:23:53 +0000 (18:23 -0500)]
(yylex, parse_c_expression, main): Likewise.

From-SVN: r10904

28 years ago(eval_if_expression): End expression with '\n', not '\0' so '\0' can
Richard Kenner [Fri, 29 Dec 1995 23:23:19 +0000 (18:23 -0500)]
(eval_if_expression): End expression with '\n', not '\0' so '\0' can
be diagnosed properly.

From-SVN: r10903

28 years ago* expr.c (save_noncopied_parts, expand_expr): Use new assign_temp function.
Per Bothner [Fri, 29 Dec 1995 19:16:33 +0000 (11:16 -0800)]
* expr.c (save_noncopied_parts, expand_expr): Use new assign_temp function.

From-SVN: r10902

28 years ago* stmt.c (expand_asm_operands): Use new assign_temp function.
Per Bothner [Fri, 29 Dec 1995 19:15:54 +0000 (11:15 -0800)]
* stmt.c (expand_asm_operands):  Use new assign_temp function.

From-SVN: r10901

28 years ago* rtl.h (assign_temp): New declaration.
Per Bothner [Fri, 29 Dec 1995 19:15:35 +0000 (11:15 -0800)]
* rtl.h (assign_temp):  New declaration.

From-SVN: r10900

28 years agofunction.c (assign_temp): New function.
Per Bothner [Fri, 29 Dec 1995 19:14:31 +0000 (11:14 -0800)]
function.c (assign_temp): New function.

* function.c (assign_temp):  New function.  Can handle Chill-style
variable-sized array with static maximum size.

From-SVN: r10899

28 years ago* tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
Per Bothner [Fri, 29 Dec 1995 19:14:11 +0000 (11:14 -0800)]
* tree.h (TYPE_ARRAY_MAX_SIZE):  New macro (used by Chill).

From-SVN: r10898

28 years ago* function.c (assign_parms): Fix thinko for struct value arg.
Per Bothner [Fri, 29 Dec 1995 19:05:20 +0000 (11:05 -0800)]
* function.c (assign_parms):  Fix thinko for struct value arg.

From-SVN: r10897

28 years agoRemove code accidently put back in.
Michael Meissner [Fri, 29 Dec 1995 17:40:54 +0000 (17:40 +0000)]
Remove code accidently put back in.

From-SVN: r10896

28 years agoUndo most of 12/27 changes
Michael Meissner [Fri, 29 Dec 1995 03:42:54 +0000 (03:42 +0000)]
Undo most of 12/27 changes

From-SVN: r10895

28 years ago77th Cygnus<->FSF merge
Mike Stump [Thu, 28 Dec 1995 19:35:49 +0000 (19:35 +0000)]
77th Cygnus<->FSF merge

From-SVN: r10894

28 years agosparc.h (RETURN_ADDR_OFFSET): Rename from NORMAL_RETURN_ADDR_OFFSET...
Mike Stump [Thu, 28 Dec 1995 18:40:19 +0000 (18:40 +0000)]
sparc.h (RETURN_ADDR_OFFSET): Rename from NORMAL_RETURN_ADDR_OFFSET...

        * sparc.h (RETURN_ADDR_OFFSET): Rename from
        NORMAL_RETURN_ADDR_OFFSET, returns the offset for the current
        function specifically.

From-SVN: r10893

28 years ago(yylex): Improve error message for bogus numbers.
Richard Kenner [Thu, 28 Dec 1995 12:21:45 +0000 (07:21 -0500)]
(yylex): Improve error message for bogus numbers.

Consolidate duplicated code.

From-SVN: r10892

28 years ago(parse_number): Improve error message for bogus numbers.
Richard Kenner [Thu, 28 Dec 1995 12:17:30 +0000 (07:17 -0500)]
(parse_number): Improve error message for bogus numbers.

(yylex): Consider `0xe-1' to be a (bogus) number if not traditional.

From-SVN: r10891

28 years ago(do_include): In VMS, worry only about EACCES when open fails.
Richard Kenner [Thu, 28 Dec 1995 12:06:51 +0000 (07:06 -0500)]
(do_include): In VMS, worry only about EACCES when open fails.

(new_include_prefix): Don't try to stat dir prefixes in VMS.

From-SVN: r10890

28 years ago(_bb_init_prg): Cast arg to bzero to (char *).
Richard Kenner [Wed, 27 Dec 1995 22:54:27 +0000 (17:54 -0500)]
(_bb_init_prg): Cast arg to bzero to (char *).

From-SVN: r10889

28 years agofix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h i missing.
Per Bothner [Wed, 27 Dec 1995 22:28:33 +0000 (14:28 -0800)]
fix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h i missing.

* fix-header.c:  Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h i
missing.  Re-write how errno is added to be done similarly
(XOPEN_SYMBOL, XOPEN_EXTENDED_SYMBOL):  New macros, to mark XPG4 functions.
(std_include_table):  Add a number of functions (mostly XPG4).

From-SVN: r10888

28 years agoYank out part of last change
Michael Meissner [Wed, 27 Dec 1995 22:22:24 +0000 (22:22 +0000)]
Yank out part of last change

From-SVN: r10887

28 years agoFix and add prototypes to match XPG4.
Per Bothner [Wed, 27 Dec 1995 21:16:45 +0000 (13:16 -0800)]
Fix and add prototypes to match XPG4.

From-SVN: r10886

28 years ago(memory_address, allocate_dynamic_stack_space): Pass additional arg to
Richard Kenner [Wed, 27 Dec 1995 21:16:42 +0000 (16:16 -0500)]
(memory_address, allocate_dynamic_stack_space): Pass additional arg to
mark_reg_pointer.

From-SVN: r10885

28 years ago* sys-types.h: Add dummy definition for ssize_t.
Per Bothner [Wed, 27 Dec 1995 21:16:22 +0000 (13:16 -0800)]
* sys-types.h:  Add dummy definition for ssize_t.

From-SVN: r10884

28 years ago(extbh): Remove; no such insn.
Richard Kenner [Wed, 27 Dec 1995 21:05:56 +0000 (16:05 -0500)]
(extbh): Remove; no such insn.

From-SVN: r10883

28 years ago(extend{qihi,qisi,hisi}2): Allow unaligned memory as arg 1 and pass to extend_{q...
Richard Kenner [Wed, 27 Dec 1995 20:29:50 +0000 (15:29 -0500)]
(extend{qihi,qisi,hisi}2): Allow unaligned memory as arg 1 and pass to extend_{q,h}idi2.

(extend{qihi,qisi,hisi}2): Allow unaligned memory as arg 1 and pass to
extend_{q,h}idi2.
(unaligned_extend{q,h}idi): New patterns.
(extend{q,h}idi2): If unaligned memory, call above new patterns.
(ext{q,l,w}h recognizer): Update to proper RTL.
(ext define_split): Comment out for now; wrong and maybe useless.
(unaligned_{load,store}hi): Do similarly to QImode.
(movhi, reload_{in,out}hi): Call unaligned case differently.

From-SVN: r10882

28 years ago({CONSTANT,DATA}_ALIGNMENT): Align to at least BITS_PER_WORD.
Richard Kenner [Wed, 27 Dec 1995 20:29:15 +0000 (15:29 -0500)]
({CONSTANT,DATA}_ALIGNMENT): Align to at least BITS_PER_WORD.

(PREDICATE_CODES): Add reg_or_unaligned_mem_operand.

From-SVN: r10881

28 years ago({non,}aligned_memory_operand): Test REGNO_POINTER_ALIGN.
Richard Kenner [Wed, 27 Dec 1995 20:28:55 +0000 (15:28 -0500)]
({non,}aligned_memory_operand): Test REGNO_POINTER_ALIGN.

(reg_or_unaligned_mem_operand): New function.
(get_unaligned_address): Add new arg, EXTRA_OFFSET.

From-SVN: r10880

28 years ago(integrate.o): Includes regs.h.
Richard Kenner [Wed, 27 Dec 1995 20:28:30 +0000 (15:28 -0500)]
(integrate.o): Includes regs.h.

From-SVN: r10879

28 years ago(unroll_loop): Set regno_pointer_{flag,align} in remap table.
Richard Kenner [Wed, 27 Dec 1995 20:28:09 +0000 (15:28 -0500)]
(unroll_loop): Set regno_pointer_{flag,align} in remap table.

From-SVN: r10878

28 years agoInclude regs.h.
Richard Kenner [Wed, 27 Dec 1995 20:27:39 +0000 (15:27 -0500)]
Include regs.h.

(initialize_for_inline): Pass additional args to gen_inline_header.
(save_for_inline_copying): Make new regno_reg_rtx, regno_pointer_flag,
and regno_pointer_align arrays.
(expand_inline_function): Set alignment of reg for parm if passed by
hidden pointer.
Set regno_pointer_{flag,align} into remap table.
(copy_rtx_and_substitute): Set alignment of pointers into stack frame.
Copy pointer flag and alignment to regs that are copies of
pointer registers from the original regs.
(output_inline_function): Don't call restore_reg_data.
Restore reg_rtx_no, regno_{reg_rtx,pointer_flag,pointer_align}.

From-SVN: r10877

28 years ago(struct inline_remap): New fields regno_pointer_flag and
Richard Kenner [Wed, 27 Dec 1995 20:26:58 +0000 (15:26 -0500)]
(struct inline_remap): New fields regno_pointer_flag and
regno_pointer_align.

From-SVN: r10876

28 years ago(INLINE_HEADER): Add three new fields.
Richard Kenner [Wed, 27 Dec 1995 20:26:28 +0000 (15:26 -0500)]
(INLINE_HEADER): Add three new fields.

From-SVN: r10875

28 years ago(INLINE_REGNO_{RTX,POINTER_FLAG,POINTER_ALIGN}): New macros.
Richard Kenner [Wed, 27 Dec 1995 20:26:07 +0000 (15:26 -0500)]
(INLINE_REGNO_{RTX,POINTER_FLAG,POINTER_ALIGN}): New macros.

(gen_inline_header): Add three new parms.

From-SVN: r10874

28 years ago(find_best_addr): Make sure folded address better before using.
Richard Kenner [Wed, 27 Dec 1995 20:25:35 +0000 (15:25 -0500)]
(find_best_addr): Make sure folded address better before using.

From-SVN: r10873

28 years ago(emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.
Richard Kenner [Wed, 27 Dec 1995 20:25:01 +0000 (15:25 -0500)]
(emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.

From-SVN: r10872

28 years ago(expand_decl): Set alignment of register for pointer variable.
Richard Kenner [Wed, 27 Dec 1995 20:24:29 +0000 (15:24 -0500)]
(expand_decl): Set alignment of register for pointer variable.

From-SVN: r10871

28 years ago(set_nonzero_bits_and_sign_copies): Handle reg even if only set once and in one basic...
Richard Kenner [Wed, 27 Dec 1995 20:23:44 +0000 (15:23 -0500)]
(set_nonzero_bits_and_sign_copies): Handle reg even if only set once and in one basic block.

(set_nonzero_bits_and_sign_copies): Handle reg even
if only set once and in one basic block.
(nonzero_bits, case REG): Use REGNO_POINTER_ALIGN instead of
explicit alignment of registers pointing into frame.

From-SVN: r10870

28 years ago(expand_expr, case VAR_DECL): Set REGNO_POINTER_ALIGN when copying address into memory.
Richard Kenner [Wed, 27 Dec 1995 20:23:01 +0000 (15:23 -0500)]
(expand_expr, case VAR_DECL): Set REGNO_POINTER_ALIGN when copying address into memory.

(expand_expr, case VAR_DECL): Set REGNO_POINTER_ALIGN
when copying address into memory.
(expand_expr, case COMPONENT_REF, case ADDR_EXPR): Set alignment
of register when result or result's address.
(expand_expr, case CONVERT_EXPR): Don't handle -fforce-mem here.

From-SVN: r10869

28 years ago(assign_parms): Set REGNO_POINTER_ALIGN for parms that are pointers.
Richard Kenner [Wed, 27 Dec 1995 20:22:26 +0000 (15:22 -0500)]
(assign_parms): Set REGNO_POINTER_ALIGN for parms that are pointers.

From-SVN: r10868

28 years ago(struct function): New field regno_pointer_align.
Richard Kenner [Wed, 27 Dec 1995 20:22:03 +0000 (15:22 -0500)]
(struct function): New field regno_pointer_align.

From-SVN: r10867

28 years ago(reg_rtx_no, regno_pointer_{flag_length,align): New decls.
Richard Kenner [Wed, 27 Dec 1995 20:21:34 +0000 (15:21 -0500)]
(reg_rtx_no, regno_pointer_{flag_length,align): New decls.

(REGNO_POINTER_ALIGN): New macro.

From-SVN: r10866

28 years ago(regno_pointer_align): New variable.
Richard Kenner [Wed, 27 Dec 1995 20:21:02 +0000 (15:21 -0500)]
(regno_pointer_align): New variable.

(gen_reg_rtx): Extend regno_pointer_align table.
Allocate tables in saveable obstack.
(mark_reg_pointer): New arg, ALIGN.
(gen_inline_header): New args for reg info.
(set_new_first_and_last_insn): Set cur_insn_uid.
({save,restore}_emit_status): Save and restore regno_pointer_align.
(restore_reg_data{,_1}): Deleted.
(init_emit): Allocate register tables in saveable obstack.
Set REGNO_POINTER_ALIGN for regs pointing into frame.

From-SVN: r10865

28 years agoReorganize common mode; optimize SI*SI->DI on common/powerpc; Do not build power2...
Michael Meissner [Wed, 27 Dec 1995 17:35:39 +0000 (17:35 +0000)]
Reorganize common mode; optimize SI*SI->DI on common/powerpc; Do not build power2/601 libraries

From-SVN: r10864

28 years ago(fold_convert): When converting a NaN to another type, change the type
Richard Kenner [Wed, 27 Dec 1995 02:52:06 +0000 (21:52 -0500)]
(fold_convert): When converting a NaN to another type, change the type
of the node before returning it.

From-SVN: r10863

28 years ago(mark_addressable): Fix error in last change.
Richard Kenner [Mon, 25 Dec 1995 22:11:54 +0000 (17:11 -0500)]
(mark_addressable): Fix error in last change.

From-SVN: r10862

28 years agopa.c (output_function_epilogue): Use assemble_integer rather than calling ASM_OUTPUT_...
Jeff Law [Mon, 25 Dec 1995 05:46:32 +0000 (22:46 -0700)]
pa.c (output_function_epilogue): Use assemble_integer rather than calling ASM_OUTPUT_INT directly.

        * pa.c (output_function_epilogue): Use assemble_integer rather
        than calling ASM_OUTPUT_INT directly.
        * pa.h (ASM_OUTPUT_INT): Use plabels for everything in the
        exception table section.

        * pa.c (print_operand): Don't call fprintf to output a register
        name.  Use fputs instead.

From-SVN: r10861

28 years agopa.h (ASM_OUTPUT_FUNCTION_PREFIX): Strip any name encoding on the section name.
Jeff Law [Mon, 25 Dec 1995 03:22:10 +0000 (20:22 -0700)]
pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Strip any name encoding on the section name.

        * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Strip any name encoding
        on the section name.

From-SVN: r10860

28 years ago(movdf): Don't copy a word at a time; nearly always loses.
Richard Kenner [Sun, 24 Dec 1995 23:44:10 +0000 (18:44 -0500)]
(movdf): Don't copy a word at a time; nearly always loses.

From-SVN: r10859

28 years ago(mark_addressable, case COMPONENT_REF): Give error if taking address
Richard Kenner [Sun, 24 Dec 1995 23:15:12 +0000 (18:15 -0500)]
(mark_addressable, case COMPONENT_REF): Give error if taking address
of a bit field.

From-SVN: r10858

28 years ago(finish_struct): Set DECL_C_BIT_FIELD when set DECL_BIT_FIELD.
Richard Kenner [Sun, 24 Dec 1995 23:14:33 +0000 (18:14 -0500)]
(finish_struct): Set DECL_C_BIT_FIELD when set DECL_BIT_FIELD.

From-SVN: r10857

28 years ago(DECL_C_BIT_FIELD): New macro.
Richard Kenner [Sun, 24 Dec 1995 23:14:00 +0000 (18:14 -0500)]
(DECL_C_BIT_FIELD): New macro.

From-SVN: r10856

28 years agoDefine HAVE_POPEN.
Richard Kenner [Sun, 24 Dec 1995 22:45:58 +0000 (17:45 -0500)]
Define HAVE_POPEN.

From-SVN: r10855

28 years ago(output_function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.
Richard Kenner [Sun, 24 Dec 1995 22:45:30 +0000 (17:45 -0500)]
(output_function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.

From-SVN: r10854

28 years ago(function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.
Richard Kenner [Sun, 24 Dec 1995 22:44:54 +0000 (17:44 -0500)]
(function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.

From-SVN: r10853

28 years ago(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
Richard Kenner [Sun, 24 Dec 1995 22:43:46 +0000 (17:43 -0500)]
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):

Extension for -ax option (profile_block_flag == 2).
(MACHINE_STATE_SAVE,MACHINE_STATE_RESTORE): New macros.
(FUNCTION_BLOCK_PROFILER_EXIT): New macro.

From-SVN: r10852

28 years ago(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Extension for -ax option (profile_block_fl...
Richard Kenner [Sun, 24 Dec 1995 22:43:00 +0000 (17:43 -0500)]
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Extension for -ax option (profile_block_flag == 2).

(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Extension for -ax
option (profile_block_flag == 2).
(MACHINE_STATE_SAVE,MACHINE_STATE_RESTORE): New macros.
(FUNCTION_BLOCK_PROFILER_EXIT): New macro.

From-SVN: r10851

28 years ago(struct bb): Add flags field.
Richard Kenner [Sun, 24 Dec 1995 22:42:24 +0000 (17:42 -0500)]
(struct bb): Add flags field.

(HAVE_POPEN): Test new define.
(struct __bb, struct bb_{edge,func}): New structs.
(__bb_init_{prg,file},__bb_{init,exit}_trace_func,__bb_trace_ret,
(__bb_trace_func{,_ret},gopen,gclose): New functions.

From-SVN: r10850

28 years ago(end_final): Extended header increased to 11 words.
Richard Kenner [Sun, 24 Dec 1995 22:41:43 +0000 (17:41 -0500)]
(end_final): Extended header increased to 11 words.

(profile_after_prologue): FUNCTION_BLOCK_PROFILER uses count_basic_blocks
instead profile_label_no.

From-SVN: r10849

28 years ago(main): Add -ax option.
Richard Kenner [Sun, 24 Dec 1995 22:41:11 +0000 (17:41 -0500)]
(main): Add -ax option.

From-SVN: r10848

28 years ago(struct compilers): Add -ax option.
Richard Kenner [Sun, 24 Dec 1995 22:40:40 +0000 (17:40 -0500)]
(struct compilers): Add -ax option.

From-SVN: r10847

28 years ago(unused_prefix_warning): Include machine_suffix if require_machine_suffix.
Richard Kenner [Sun, 24 Dec 1995 13:43:10 +0000 (08:43 -0500)]
(unused_prefix_warning): Include machine_suffix if require_machine_suffix.

(warn_B, warn_std, warn_std_ptr): New variables.
(process_commands): Use them and NULL_PTR as WARN arg to add_prefix.

From-SVN: r10846

28 years ago(process_command): Give error for -c with -o and multiple compilations.
Richard Kenner [Sun, 24 Dec 1995 13:08:29 +0000 (08:08 -0500)]
(process_command): Give error for -c with -o and multiple compilations.

(handle_braces): Rename variable "pipe" to "pipe_p".

From-SVN: r10845

28 years agoUpdate comments to clarify typing rules.
Richard Kenner [Sun, 24 Dec 1995 12:35:16 +0000 (07:35 -0500)]
Update comments to clarify typing rules.

From-SVN: r10844

28 years ago(clrstrsi): New pattern and associate anonymous pattern.
Richard Kenner [Sun, 24 Dec 1995 11:38:01 +0000 (06:38 -0500)]
(clrstrsi): New pattern and associate anonymous pattern.

From-SVN: r10843

28 years ago(struct clear_by_pieces): New structure.
Richard Kenner [Sun, 24 Dec 1995 11:37:15 +0000 (06:37 -0500)]
(struct clear_by_pieces): New structure.

(clear_by_pieces{,_1}, {is,mostly}_zeros_p): New functions.
(clrstr_optab): New optab.
(clear_storage): Rework to try to use clear_by_pieces, then
new clrstr insn, then library call.
(store_constructor): Track if target is already cleared.
Clear target first if CONSTRUCTOR is mostly zeros.
Don't write zeros if target has been cleared.
Add new arg to clear_storage call.
(expand_expr, case CONSTRUCTOR): Don't put static constructor
in memory if mostly zero.

From-SVN: r10842

28 years ago(init_optabs): Initialize clrstr_optab.
Richard Kenner [Sun, 24 Dec 1995 11:36:32 +0000 (06:36 -0500)]
(init_optabs): Initialize clrstr_optab.

From-SVN: r10841

28 years ago(optabs): Add "clrstr%a%".
Richard Kenner [Sun, 24 Dec 1995 11:36:10 +0000 (06:36 -0500)]
(optabs): Add "clrstr%a%".

From-SVN: r10840

28 years ago(CONSTRUCTTOR_TARGET_CLEARED_P): New macro.
Richard Kenner [Sun, 24 Dec 1995 11:35:29 +0000 (06:35 -0500)]
(CONSTRUCTTOR_TARGET_CLEARED_P): New macro.

From-SVN: r10839

28 years ago(clrstr_optab): New declaration.
Richard Kenner [Sun, 24 Dec 1995 11:35:03 +0000 (06:35 -0500)]
(clrstr_optab): New declaration.

(clear_storage): New parm, ALIGN.

From-SVN: r10838

28 years agopa.c (output_move_double): Correctly identify and handle overlapping moves.
Jeff Law [Sat, 23 Dec 1995 17:25:00 +0000 (10:25 -0700)]
pa.c (output_move_double): Correctly identify and handle overlapping moves.

        * pa.c (output_move_double): Correctly identify and handle
        overlapping moves.
        * pa.md (movdi patterns): Eliminate earlyclobbers in mem<->gr
        cases.
        (movdf patterns): Likewise.

From-SVN: r10837

28 years ago(store_constructor): Don't call change_address on REG.
Richard Kenner [Fri, 22 Dec 1995 22:55:49 +0000 (17:55 -0500)]
(store_constructor): Don't call change_address on REG.

(expand_expr, case CONSTRUCTOR): Likewise.

From-SVN: r10836

28 years ago(expand_block_move): Preserve MEM flags in call to movstrsi_internal.
Richard Kenner [Fri, 22 Dec 1995 22:45:39 +0000 (17:45 -0500)]
(expand_block_move): Preserve MEM flags in call to movstrsi_internal.

From-SVN: r10835

28 years ago(emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG.
Richard Kenner [Fri, 22 Dec 1995 22:40:00 +0000 (17:40 -0500)]
(emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG.

From-SVN: r10834

28 years ago(find_valid_class): New function.
Richard Kenner [Fri, 22 Dec 1995 22:36:25 +0000 (17:36 -0500)]
(find_valid_class): New function.

(push_reload): Use it in cases where a SUBREG and its contents
both need to be reloaded.

From-SVN: r10833

28 years agoReadd 403 support; Move compares well ahead of branch for PowerPC
Michael Meissner [Fri, 22 Dec 1995 21:03:01 +0000 (21:03 +0000)]
Readd 403 support; Move compares well ahead of branch for PowerPC

From-SVN: r10832