gcc.git
28 years ago(OVERRIDE_OPTIONS): Clean up comment.
Doug Evans [Thu, 11 Jan 1996 17:22:46 +0000 (17:22 +0000)]
(OVERRIDE_OPTIONS): Clean up comment.

From-SVN: r10964

28 years ago(CPP_PREDEFINES): Delete _DOUBLE_IS_32BITS.
Doug Evans [Thu, 11 Jan 1996 17:06:42 +0000 (17:06 +0000)]
(CPP_PREDEFINES): Delete _DOUBLE_IS_32BITS.

From-SVN: r10963

28 years agoinsure eabi destructors get called
Michael Meissner [Thu, 11 Jan 1996 16:36:41 +0000 (16:36 +0000)]
insure eabi destructors get called

From-SVN: r10962

28 years ago* fixincludes: Wrap rpc/types.h in extern "C", for osf2.0.
Doug Evans [Thu, 11 Jan 1996 16:28:49 +0000 (16:28 +0000)]
* fixincludes: Wrap rpc/types.h in extern "C", for osf2.0.

From-SVN: r10961

28 years agovarasm.c (variable_section): New function.
Doug Evans [Wed, 10 Jan 1996 18:15:49 +0000 (18:15 +0000)]
varasm.c (variable_section): New function.

* varasm.c (variable_section): New function.
(assemble_variable): Call it.

From-SVN: r10960

28 years agoMake powerpc-eabi work again
Michael Meissner [Wed, 10 Jan 1996 16:45:21 +0000 (16:45 +0000)]
Make powerpc-eabi work again

From-SVN: r10959

28 years ago(merge_attributes): Moved to tree.h.
Doug Evans [Tue, 9 Jan 1996 22:30:05 +0000 (22:30 +0000)]
(merge_attributes): Moved to tree.h.

From-SVN: r10958

28 years ago(merge_attributes): Moved here from c-tree.h.
Doug Evans [Tue, 9 Jan 1996 22:29:43 +0000 (22:29 +0000)]
(merge_attributes): Moved here from c-tree.h.

(valid_machine_attribute, is_attribute_p, lookup_attribute): Prefix
decl with `extern'.

From-SVN: r10957

28 years ago(merge_attributes): Moved to tree.c.
Doug Evans [Tue, 9 Jan 1996 22:24:01 +0000 (22:24 +0000)]
(merge_attributes): Moved to tree.c.

From-SVN: r10956

28 years ago(merge_attributes): Moved here from c-typeck.c.
Doug Evans [Tue, 9 Jan 1996 22:23:26 +0000 (22:23 +0000)]
(merge_attributes): Moved here from c-typeck.c.

From-SVN: r10955

28 years ago(LINK_SPEC): Change nostdlib to nostartfiles.
Jim Wilson [Mon, 8 Jan 1996 23:27:06 +0000 (15:27 -0800)]
(LINK_SPEC): Change nostdlib to nostartfiles.

(LOCAL_LABEL_PREFIX): Delete.
(ASM_OUTPUT_SECTION_NAME): Define.

From-SVN: r10954

28 years agoDon't define MAX_OFILE_ALIGNMENT twice.
Michael Meissner [Sun, 7 Jan 1996 22:44:36 +0000 (22:44 +0000)]
Don't define MAX_OFILE_ALIGNMENT twice.

From-SVN: r10953

28 years agoFix recogniztion of import libraries under AIX
Michael Meissner [Sun, 7 Jan 1996 22:14:58 +0000 (22:14 +0000)]
Fix recogniztion of import libraries under AIX

From-SVN: r10952

28 years agoAllow large alignments on ELF systems
Michael Meissner [Sun, 7 Jan 1996 22:00:44 +0000 (22:00 +0000)]
Allow large alignments on ELF systems

From-SVN: r10951

28 years ago(alloca): If malloc fails, just abort.
Karl Heuer [Sun, 7 Jan 1996 07:00:56 +0000 (07:00 +0000)]
(alloca): If malloc fails, just abort.

From-SVN: r10949

28 years agoFix formatting.
Richard Kenner [Sat, 6 Jan 1996 22:33:11 +0000 (17:33 -0500)]
Fix formatting.

From-SVN: r10948

28 years ago(crt*.o,gcrt1.o): Replace $(AS) with $(GCC_FOR_TARGET).
Doug Evans [Sat, 6 Jan 1996 21:16:05 +0000 (21:16 +0000)]
(crt*.o,gcrt1.o): Replace $(AS) with $(GCC_FOR_TARGET).

From-SVN: r10947

28 years ago(crt*.o): Replace $(AS) with $(GCC_FOR_TARGET).
Doug Evans [Sat, 6 Jan 1996 21:15:02 +0000 (21:15 +0000)]
(crt*.o): Replace $(AS) with $(GCC_FOR_TARGET).

From-SVN: r10946

28 years agoMakefile.in (MAKEINFOFLAGS): New variable.
Doug Evans [Sat, 6 Jan 1996 21:11:54 +0000 (21:11 +0000)]
Makefile.in (MAKEINFOFLAGS): New variable.

* Makefile.in (MAKEINFOFLAGS): New variable.
(cpp.info,gcc.info): Use it.

From-SVN: r10945

28 years ago(CPP_SPEC): Define.
Doug Evans [Sat, 6 Jan 1996 20:52:10 +0000 (20:52 +0000)]
(CPP_SPEC): Define.

From-SVN: r10944

28 years agoAdd -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD
Michael Meissner [Fri, 5 Jan 1996 17:23:44 +0000 (17:23 +0000)]
Add -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD

From-SVN: r10943

28 years agoAdd -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD
Michael Meissner [Fri, 5 Jan 1996 16:33:59 +0000 (16:33 +0000)]
Add -mcpu={505,821,860} support; Fixup common mode support; Make eabi not rely on GLD

From-SVN: r10942

28 years agoInitial revision
Michael Meissner [Fri, 5 Jan 1996 16:28:59 +0000 (16:28 +0000)]
Initial revision

From-SVN: r10941

28 years ago(MACHINE_STATE_RESTORE): Add missing .align.
Doug Evans [Fri, 5 Jan 1996 05:32:14 +0000 (05:32 +0000)]
(MACHINE_STATE_RESTORE): Add missing .align.

From-SVN: r10940

28 years agolib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
Doug Evans [Wed, 3 Jan 1996 23:28:10 +0000 (23:28 +0000)]
lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.

* arm/lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
(CONCAT1,CONCAT2,SYM): Define.
(__udivsi3,__divsi3,__umodsi3,__modsi3,__div0): Use SYM to define
global labels.

From-SVN: r10939

28 years ago* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Call text_section.
Jeff Law [Wed, 3 Jan 1996 07:43:56 +0000 (00:43 -0700)]
* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Call text_section.

From-SVN: r10938

28 years ago(gen_shifty_op): Output a NOP for a shift by 0.
Jim Wilson [Tue, 2 Jan 1996 21:27:38 +0000 (13:27 -0800)]
(gen_shifty_op): Output a NOP for a shift by 0.

(find_barrier): New variables si_limit, hi_limit.  Set them depending
on whether we are optimizing.  Set found_hi if the destination is
HImode.
(machine_dependent_reorg): If not optimizing, then change scan to a
note instead of calling delete_insn.

From-SVN: r10937

28 years agoOVERRIDE_OPTIONS): Don't set optimize or flag_delayed_branch.
Jim Wilson [Tue, 2 Jan 1996 21:26:53 +0000 (13:26 -0800)]
OVERRIDE_OPTIONS): Don't set optimize or flag_delayed_branch.

From-SVN: r10936

28 years ago(gstab.h): Include if cross compiling.
Jim Wilson [Tue, 2 Jan 1996 21:11:20 +0000 (13:11 -0800)]
(gstab.h): Include if cross compiling.

From-SVN: r10935

28 years agoInitial revision
Richard Kenner [Tue, 2 Jan 1996 02:13:39 +0000 (21:13 -0500)]
Initial revision

From-SVN: r10934

28 years agoUse DECL_C_BIT_FIELD, not DECL_BIT_FIELD in all tests.
Richard Kenner [Tue, 2 Jan 1996 01:53:23 +0000 (20:53 -0500)]
Use DECL_C_BIT_FIELD, not DECL_BIT_FIELD in all tests.

From-SVN: r10933

28 years ago(reg_allocno): Declare.
Richard Kenner [Mon, 1 Jan 1996 23:53:22 +0000 (18:53 -0500)]
(reg_allocno): Declare.

(order_regs_for_reload): New arg, GLOBAL.
Bias against regs allocated in local-alloc.
(reload): Pass new parm to order_regs_for_reload.

From-SVN: r10932

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