OSDN Git Service

pf3gnuchains/gcc-fork.git
28 years ago(demangle_template): Fix for non-mangled pointer
merrill [Wed, 20 Mar 1996 06:11:33 +0000 (06:11 +0000)]
(demangle_template): Fix for non-mangled pointer
        arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11572 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(NULL): Define only if not already defined.
roland [Wed, 20 Mar 1996 01:08:11 +0000 (01:08 +0000)]
(NULL): Define only if not already defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11569 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago[HAVE_STRING_H]: Include string.h.
roland [Wed, 20 Mar 1996 01:07:36 +0000 (01:07 +0000)]
[HAVE_STRING_H]: Include string.h.
[HAVE_STDLIB_H]: Include stdlib.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11568 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa.c (compute_frame_size): Update comments to reflect reality.
law [Tue, 19 Mar 1996 18:57:24 +0000 (18:57 +0000)]
    * pa.c (compute_frame_size): Update comments to reflect reality.
        (hppa_expand_prologue): Don't save registers which aren't
        used, even if it creates holes.  Partially undoes changes from
        early March.
        (hppa_expand_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11567 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoupdate compare function unit comment
edelsohn [Tue, 19 Mar 1996 15:50:21 +0000 (15:50 +0000)]
update compare function unit comment

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11566 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(struct case_node): New member balance.
kenner [Tue, 19 Mar 1996 13:24:56 +0000 (13:24 +0000)]
(struct case_node): New member balance.
(add_case_node): New function.
(pushcase, pushcase_range): Use it.
(case_tree2list): New function.
(expand_end_case): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11565 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(move_for_stack_reg): Avoid stack overflow while storing XFmode from
kenner [Tue, 19 Mar 1996 12:44:11 +0000 (12:44 +0000)]
(move_for_stack_reg): Avoid stack overflow while storing XFmode from
fp reg to memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11564 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(MASK_*): New macros.
kenner [Tue, 19 Mar 1996 12:37:55 +0000 (12:37 +0000)]
(MASK_*): New macros.
(OVERRIDE_OPTIONS): Use them.
(TARGET_SWITCHES): Likewise.
Treat -m68332 like -m68000.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11563 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(emit_store_flag): If expanding (GE X 0) will need two
kenner [Tue, 19 Mar 1996 01:04:00 +0000 (01:04 +0000)]
(emit_store_flag): If expanding (GE X 0) will need two
insns, don't use subtarget for the result of the first insn.
Move a likely constant to the start of a condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11562 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(pushexthisi_const, movsi_const0): New names.
kenner [Tue, 19 Mar 1996 00:48:01 +0000 (00:48 +0000)]
(pushexthisi_const, movsi_const0): New names.
(andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11561 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
kenner [Tue, 19 Mar 1996 00:47:29 +0000 (00:47 +0000)]
(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
leaf functions.
(USE_MOVQ, use_movq): Function replaced by macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11560 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
kenner [Tue, 19 Mar 1996 00:46:52 +0000 (00:46 +0000)]
(CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11559 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.
kenner [Tue, 19 Mar 1996 00:42:40 +0000 (00:42 +0000)]
(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11558 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 19 Mar 1996 00:33:11 +0000 (00:33 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11557 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
kenner [Tue, 19 Mar 1996 00:33:01 +0000 (00:33 +0000)]
(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
Have only one copy of timestamp and PPA2 per object module.
Only have unnamed CSECT to match IBM C.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11556 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(simplify_if_then_else): Allow for case that condition might no longer
kenner [Tue, 19 Mar 1996 00:25:58 +0000 (00:25 +0000)]
(simplify_if_then_else): Allow for case that condition might no longer
be a condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11555 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.
kenner [Tue, 19 Mar 1996 00:14:36 +0000 (00:14 +0000)]
(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11554 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(summarize_insn, case SUBREG, CONST_*): New cases.
kenner [Mon, 18 Mar 1996 13:02:09 +0000 (13:02 +0000)]
(summarize_insn, case SUBREG, CONST_*): New cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11553 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(find_split_point): Handle NULL return from make_extraction.
dje [Sun, 17 Mar 1996 21:54:11 +0000 (21:54 +0000)]
(find_split_point): Handle NULL return from make_extraction.
(make_field_assignment): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11552 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(trap): New attribute.
kenner [Sun, 17 Mar 1996 00:33:14 +0000 (00:33 +0000)]
(trap): New attribute.
Modify patterns for all floating-point trap generating instructions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11551 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(alpha_tp, alpha_fprm, alpha_fptm): New variables.
kenner [Sun, 17 Mar 1996 00:32:42 +0000 (00:32 +0000)]
(alpha_tp, alpha_fprm, alpha_fptm): New variables.
(alpha_tp_string, alpha_fprm_string, alpha_fptm_string
(trap_pending): Likewise.
(override_options, summarize_insn, final_prescan_insn): New functions.
(print_operand): Handle cases '&', '\'', ')', and '+'.
(output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
(output_epilog): Call final_prescan_insn before emitting epilog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11550 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CPP_SPEC): Added -mieee and -mieee-with-inexact.
kenner [Sun, 17 Mar 1996 00:32:17 +0000 (00:32 +0000)]
(CPP_SPEC): Added -mieee and -mieee-with-inexact.
(alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
New enum types.
(target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
(alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
(TARGET_IEEE{,_WITH_INEXACT,_CONFORMANT}): New macros.
(MASK_IEEE{,_WITH_INEXACT,_CONFORMANT}): Likewise.
(MASK_FP, MASK_FPREGS,
(TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
"ieee-with-inexact"; use MASK symbols.
(TARGET_OPTIONS): New macro.
(OVERRIDE_OPTIONS, FINAL_PRESCAN_{INSN,LABEL}): New macros.
(PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
(CC1_SPEC): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11549 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
kenner [Sun, 17 Mar 1996 00:31:33 +0000 (00:31 +0000)]
(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
FINAL_SCAN_LABEL is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11548 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(substitute_in_expr, case COMPONENT_REF): Ignore if inner
kenner [Sun, 17 Mar 1996 00:23:14 +0000 (00:23 +0000)]
(substitute_in_expr, case COMPONENT_REF): Ignore if inner
PLACEHOLDER_EXPR has not yet been initialized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11547 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(insv): Restore missing end of comment.
kenner [Sun, 17 Mar 1996 00:19:01 +0000 (00:19 +0000)]
(insv): Restore missing end of comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11546 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(standard_80386_constant_p): -0.0 is not 0.0.
kenner [Sun, 17 Mar 1996 00:16:54 +0000 (00:16 +0000)]
(standard_80386_constant_p): -0.0 is not 0.0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11545 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(make_extraction): Correct typo in force_to_mode call in previous change.
kenner [Sat, 16 Mar 1996 23:56:24 +0000 (23:56 +0000)]
(make_extraction): Correct typo in force_to_mode call in previous change.
Return 0 if pos+len out of range of want desired mode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11544 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Sat, 16 Mar 1996 21:18:52 +0000 (21:18 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11543 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(output_prolog): Set alpha_function_needs_gp if profiling and
kenner [Sat, 16 Mar 1996 21:18:22 +0000 (21:18 +0000)]
(output_prolog): Set alpha_function_needs_gp if profiling and
TARGET_PROFILING_NEEDS_GP defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11542 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agofix TImode offset addres test
edelsohn [Fri, 15 Mar 1996 03:27:18 +0000 (03:27 +0000)]
fix TImode offset addres test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11541 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoadd -bnoentry if no entry point for shared object
edelsohn [Fri, 15 Mar 1996 03:26:31 +0000 (03:26 +0000)]
add -bnoentry if no entry point for shared object

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11540 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
wilson [Fri, 15 Mar 1996 00:58:32 +0000 (00:58 +0000)]
(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
HOST_BITS_PER_WIDE_INT == 64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11539 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoRecognize mips-*-sysv*
ian [Fri, 15 Mar 1996 00:14:04 +0000 (00:14 +0000)]
Recognize mips-*-sysv*

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11531 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix bug with 8-16 byte structures not getting instantiated correctly
meissner [Thu, 14 Mar 1996 20:20:34 +0000 (20:20 +0000)]
Fix bug with 8-16 byte structures not getting instantiated correctly

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11530 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
wilson [Thu, 14 Mar 1996 17:46:53 +0000 (17:46 +0000)]
(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
TREE_ADDRESSABLE;

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11529 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd exception attribute for Windows
meissner [Thu, 14 Mar 1996 16:25:20 +0000 (16:25 +0000)]
Add exception attribute for Windows

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11528 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
law [Thu, 14 Mar 1996 06:54:34 +0000 (06:54 +0000)]
    * pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
        to TREE_ADDRESSABLE.  From Jim Wilson.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11527 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(warn_sign_compare): Add extern to declaration.
wilson [Wed, 13 Mar 1996 23:20:46 +0000 (23:20 +0000)]
(warn_sign_compare): Add extern to declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11526 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix ASM_OUTPUT_ALIGN
meissner [Wed, 13 Mar 1996 18:30:30 +0000 (18:30 +0000)]
Fix ASM_OUTPUT_ALIGN

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11525 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd static constructor/destructor support to Windows NT
meissner [Wed, 13 Mar 1996 17:12:13 +0000 (17:12 +0000)]
Add static constructor/destructor support to Windows NT

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11524 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* dbxout.c (dbxout_type): Better "variant" handling to ignore
bothner [Wed, 13 Mar 1996 05:47:30 +0000 (05:47 +0000)]
* dbxout.c (dbxout_type):  Better "variant" handling to ignore
const/volatile but not typedef names.  Improves Feb 12 change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11523 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ROUND_TPE_SIZE): Return round_up result instead of
wilson [Tue, 12 Mar 1996 23:51:01 +0000 (23:51 +0000)]
(ROUND_TPE_SIZE): Return round_up result instead of
COMPUTED.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11522 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(__LONG_MAX__): on Alpha, use 64 bit value.
kenner [Tue, 12 Mar 1996 22:24:57 +0000 (22:24 +0000)]
(__LONG_MAX__): on Alpha, use 64 bit value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11521 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(nonlocal_goto): Emit barrier after jump.
kenner [Tue, 12 Mar 1996 18:54:00 +0000 (18:54 +0000)]
(nonlocal_goto): Emit barrier after jump.
(setjmp{,_64,_32}): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11520 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case COMPONENT_REF): For unaligned object in
wilson [Tue, 12 Mar 1996 17:51:15 +0000 (17:51 +0000)]
(expand_expr, case COMPONENT_REF): For unaligned object in
an aligned union, delete check for EXPAND_SUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11519 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(clear_storage): Add comment terminator.
wilson [Tue, 12 Mar 1996 17:42:04 +0000 (17:42 +0000)]
(clear_storage): Add comment terminator.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11518 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(dbra peepholes): Use flags_in_68881.
tege [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(dbra peepholes): Use flags_in_68881.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11517 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(valid_dbcc_comparison_p): Don't test cc_prev_status here.
tege [Tue, 12 Mar 1996 15:07:49 +0000 (15:07 +0000)]
(valid_dbcc_comparison_p): Don't test cc_prev_status here.
(flags_in_68881): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11516 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * recog.c (constrain_operands, case 'V'): Don't call
law [Tue, 12 Mar 1996 00:08:58 +0000 (00:08 +0000)]
    * recog.c (constrain_operands, case 'V'): Don't call
        offsettable_memref_p before reload has completed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11515 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
dje [Mon, 11 Mar 1996 21:05:49 +0000 (21:05 +0000)]
* h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
(CC_DONE_CBIT): Delete.
(CC_OVERFLOW_0,CC_OVERFLOW_UNUSABLE,CC_NO_CARRY): Define.
* h8300/h8300.c (cond_string): Delete CC_DONE_CBIT handling.
(notice_update_cc): Delete CC_CBIT, CC_WHOOPS.  Add CC_SET_ZN_C0.
(restore_compare_p): New function.
(shift_one): Use shll instead of shal so overflow bit is usable.
Set cc_valid bits to cc_status.flags values.
(emit_a_shift): Set cc_status.flags.
* h8300/h8300.md (attr cc): Delete whoops,cbit.  Add set_zn_c0.
(all patterns) Update cc attr setting.
(tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
(addhi3,subhi3): Change define_expand to define_insn.
(branch_true,branch_false): Check if compare needs to be restored.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11514 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoMake long longs use normal CONST_DOUBLE in movdi, do not split too early
meissner [Mon, 11 Mar 1996 18:57:23 +0000 (18:57 +0000)]
Make long longs use normal CONST_DOUBLE in movdi, do not split too early

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11513 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(jump_optimize): When handle a USE insn before an
wilson [Mon, 11 Mar 1996 18:12:30 +0000 (18:12 +0000)]
(jump_optimize): When handle a USE insn before an
unconditional jump, disable the optimization if the USE is the
only insn in the loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11512 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse proper modes and predicates for {sign,zero}_extract.
kenner [Mon, 11 Mar 1996 11:53:27 +0000 (11:53 +0000)]
Use proper modes and predicates for {sign,zero}_extract.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11511 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(make_extraction): Use proper mode for INNER in all cases.
kenner [Mon, 11 Mar 1996 11:49:32 +0000 (11:49 +0000)]
(make_extraction): Use proper mode for INNER in all cases.
(simplify_comparison, case ZERO_EXTRACT): For bits big endian and no extzv,
use BITS_PER_WORD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11510 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(move_pic_label_si,move_label_di): Rewrite length
dje [Mon, 11 Mar 1996 06:05:08 +0000 (06:05 +0000)]
(move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11509 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(free_insn): New variable.
kenner [Sun, 10 Mar 1996 11:23:17 +0000 (11:23 +0000)]
(free_insn): New variable.
(init_emit, restore_emit_status): Clear it.
(gen_sequence): Store insn in free_insn when sequence length is 1.
(make_insn_raw): Use free_insn if available and still in the rtl generation
phase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11508 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUpdate comment for rtx_equal_function_value_matters.
kenner [Sun, 10 Mar 1996 11:15:07 +0000 (11:15 +0000)]
Update comment for rtx_equal_function_value_matters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11507 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago85th Cygnus<->FSF quick merge
mrs [Sat, 9 Mar 1996 20:23:30 +0000 (20:23 +0000)]
85th Cygnus<->FSF quick merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11506 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago85th Cygnus<->FSF quick merge
mrs [Sat, 9 Mar 1996 19:44:47 +0000 (19:44 +0000)]
85th Cygnus<->FSF quick merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11505 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
mrs [Fri, 8 Mar 1996 23:44:26 +0000 (23:44 +0000)]
* expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
on the cleanup chain until after the subexpression has been expanded.
Fixes eh44.C and eh45.C

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11504 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(store_constructor_field): Add explanatory comment.
wilson [Fri, 8 Mar 1996 21:52:23 +0000 (21:52 +0000)]
(store_constructor_field): Add explanatory comment.
Call store_field if bitpos is nonzero and target is not a MEM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11503 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ix86_binary_operator_ok): one memory operand is OK.
coxs [Fri, 8 Mar 1996 21:19:14 +0000 (21:19 +0000)]
(ix86_binary_operator_ok): one memory operand is OK.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11502 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(reg_unused_after): Return 0 if see a JUMP_INSN.
wilson [Fri, 8 Mar 1996 19:10:35 +0000 (19:10 +0000)]
(reg_unused_after): Return 0 if see a JUMP_INSN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11501 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(CPP_SPEC): Use %(cpp_cpu).
dje [Fri, 8 Mar 1996 17:59:37 +0000 (17:59 +0000)]
(CPP_SPEC): Use %(cpp_cpu).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11500 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
dje [Fri, 8 Mar 1996 01:18:14 +0000 (01:18 +0000)]
* sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
* splet.h (SUBTARGET_SWITCHES): To here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11499 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agosparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
dje [Fri, 8 Mar 1996 01:17:17 +0000 (01:17 +0000)]
sparc.h (TARGET_SWITCHES): Move -mlive-g0 from here,
splet.h (SUBTARGET_SWITCHES): To here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11498 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago85th Cygnus<->FSF merge
mrs [Fri, 8 Mar 1996 00:38:10 +0000 (00:38 +0000)]
85th Cygnus<->FSF merge

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11497 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
dje [Fri, 8 Mar 1996 00:21:09 +0000 (00:21 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11496 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(eligible_for_epilogue_delay): Move set of `pat'.
dje [Fri, 8 Mar 1996 00:13:46 +0000 (00:13 +0000)]
(eligible_for_epilogue_delay): Move set of `pat'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11495 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
dje [Fri, 8 Mar 1996 00:12:21 +0000 (00:12 +0000)]
* sparc/sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
(TARGET_SWITCHES): Add live-g0.
(FIRST_PSEUDO_REGISTER): Add 1 for %icc (now 101).
(FIXED_REGISTERS,CALL_USED_REGISTERS): Update.
(FIXED_REGISTERS): %g0 is fixed by default.
(SPARC_{FIRST,LAST}_V9_FCC_REG): Define.
(SPARC_{ICC,FCC}_REG): Define.
(CONDITIONAL_REGISTER_USAGE): Don't fix %fcc0 if v8.
(REG_CLASS_CONTENTS): Reg 0 is an int reg, reg 100 is %icc.
(REGNO_REG_CLASS): Rewrite to use global `sparc_regno_reg_class'.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Add %icc.
(REG_CLASS_FROM_LETTER): Handle 'c' for FPCC_REGS in non-v9 case.
(REGNO_OK_FOR_{BASE,INDEX}_P): Treat %g0 as a normal reg.
(REG_OK_FOR_{BASE,INDEX}_P,EXTRA_CONSTRAINT): Likewise.
(REGISTER_NAMES): Add %icc.
(ADDITIONAL_REGISTER_NAMES): Use SPARC_ICC_REG.
* sparc/sparc.c (leaf_reg_remap): Add %icc=100.
(reg_or_0_operand): Don't allow 0 if TARGET_LIVE_G0.
(fcc_reg_operand): Renamed from ccfp_reg_operand.
Use SPARC_FCC_REG.  Don't treat reg 0 as an fcc reg.  Don't match
modes if `mode' argument is VOIDmode.
(icc_or_fcc_reg_operand): New function.
(gen_compare_reg): Use SPARC_FCC_REG for v8 fp compares.
Use SPARC_ICC_REG for int compares.
(eligible_for_epilogue_delay): Don't allow anything if TARGET_LIVE_G0.
Delete unnecessary test for %g0.
(emit_move_sequence): Don't emit (set (mem) (const_int 0)) if
TARGET_LIVE_G0.
(output_scc_insn): Label moved to operand 3.  Condition code reg
moved to operand 2.
(sparc_mode_class): Enum C_MODE renamed to CC_MODE.
(hard_32bit_mode_classes): Set reg 0 to S_MODES.  Add entry for %icc.
(hard_64bit_mode_classes): Set reg 0 to D_MODES.  Add entry for %icc.
(sparc_regno_reg_class): New global.
(sparc_init_modes): Initialize it.
(output_cbranch): Delete fp_cond_reg argument.
(print_operand, MEM op): Don't print "%g0+" if TARGET_SPARCLET.
(sparc_flat_eligible_for_epilogue_delay): Don't allow anything if
TARGET_LIVE_G0.
* sparc/sparc.md (live_g0): New attribute.
(*): Integer condition code register is now reg 100.
Use SPARC_ICC_REG instead of hardcoding reg 100 where possible.
Non-v9 floating point condition code register is now reg 96.
(*cmp{sf,df,tf}_{fpe,fp}_sp{32,64}): Combine v9/non-v9 cases.
(*{normal,inverted}_{,fp,fpe}_branch): Update call to output_cbranch.
(*mov{qi,hi,si}_insn): Don't use if TARGET_LIVE_G0.
(*mov{qi,hi,si}_insn_liveg0): New patterns.
(*mov{si,di,sf,df,tf}_ccfp{,e}_sp64): ccfp_reg_operand renamed to
fcc_reg_operand.
(*negdi2_sp32,negsi2,one_cmplsi2,ffssi2): Ensure %%g0 is 0 if
TARGET_LIVE_G0.
(*one_cmpldi2_sp32): Move operand 1 to rs1 and use 0 as rs2.
(patterns that use %g0 in rs2): Use 0 immediate value instead.
(patterns that read %g0): Don't use if TARGET_LIVE_G0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11494 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(PASS_IN_REG_P): Change < to <=.
wilson [Thu, 7 Mar 1996 23:12:02 +0000 (23:12 +0000)]
(PASS_IN_REG_P): Change < to <=.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11493 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(va_start): Change __SH3E___ to __SH3E__.
wilson [Thu, 7 Mar 1996 23:10:54 +0000 (23:10 +0000)]
(va_start): Change __SH3E___ to __SH3E__.
(va_arg): Add little-endian SH3E support.  Fix big-endian version
to work for arguments smaller than the word size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11492 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * lib2funcs.asm: Remove entry/exit routines. Move them into...
law [Thu, 7 Mar 1996 17:38:08 +0000 (17:38 +0000)]
    * lib2funcs.asm: Remove entry/exit routines.  Move them into...
        * ee.asm: New file.  Entry/exit code.
        * ee_fp.asm: New file.  Entry/exit code with frame pointer.
        * t-pa: Corresponding changes.
        * t-pro: Corresponding changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11491 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
law [Thu, 7 Mar 1996 17:34:53 +0000 (17:34 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11490 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agocd config/pa
law [Thu, 7 Mar 1996 15:38:43 +0000 (15:38 +0000)]
cd config/pa

        * pa.c: Fix misc small typos/thinkos in recent changes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11489 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * t-pro (dp-bit rule): Fix typo.
law [Thu, 7 Mar 1996 02:46:06 +0000 (02:46 +0000)]
    * t-pro (dp-bit rule): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11488 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(demangle_template): Fix for address-of-extern arguments.
merrill [Thu, 7 Mar 1996 01:40:04 +0000 (01:40 +0000)]
(demangle_template): Fix for address-of-extern arguments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11487 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(USER_H): Add ginclude/va-sh.h.
wilson [Thu, 7 Mar 1996 01:03:43 +0000 (01:03 +0000)]
(USER_H): Add ginclude/va-sh.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11486 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoUse va-sh.h.
wilson [Thu, 7 Mar 1996 00:59:13 +0000 (00:59 +0000)]
Use va-sh.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11485 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoNew file.
wilson [Thu, 7 Mar 1996 00:56:15 +0000 (00:56 +0000)]
New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11484 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * lib2funcs.asm (__outline_prologue): Remove frame pointer
law [Wed, 6 Mar 1996 20:18:32 +0000 (20:18 +0000)]
    * lib2funcs.asm (__outline_prologue): Remove frame pointer
        support.
        (__outline_prologue_fp): Out of line prologue with frame pointer.
        (__outline_epilogue, outline_epilogue_fp): Similarly.
        * pa.c (compute_frame_size): Allocate enough space to avoid holes
        in the callee register saves.  Remove some special handling of %r3.
        (hppa_expand_prologue): Don't do an out of line prologue/epilogue
        if it would take more insns than an inline prologue/epilogue.
        Don't leave holes in the callee register save set.
        (hppa_expand_prologue): Corresponding changes.  Pass stack size
        to out of line epilogue code.
        * pa.h (FRAME_POINTER_REQUIRED): Revert last change.
        * pa.md (outline_prologue_call): Handle outline prologues which
        don't need frame pointers.
        (outline_epilogue_call): Similarly.
        * t-pro: Reenable multilib code.  Build a set of libraries that
        optimize for space.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11483 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(PASS_IN_REG_P): Fix typo in last change.
wilson [Wed, 6 Mar 1996 19:45:40 +0000 (19:45 +0000)]
(PASS_IN_REG_P): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11482 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoadd scheduling information for stores
edelsohn [Wed, 6 Mar 1996 16:40:14 +0000 (16:40 +0000)]
add scheduling information for stores

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11481 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago602 uses 603 description
edelsohn [Wed, 6 Mar 1996 16:38:58 +0000 (16:38 +0000)]
602 uses 603 description

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11480 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_SECTION_NAME): New define.
kenner [Tue, 5 Mar 1996 23:51:38 +0000 (23:51 +0000)]
(ASM_OUTPUT_SECTION_NAME): New define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11479 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(SUPPORT_PASCAL_STRINGS): Deleted.
kenner [Tue, 5 Mar 1996 23:49:33 +0000 (23:49 +0000)]
(SUPPORT_PASCAL_STRINGS): Deleted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11478 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoInitial revision
kenner [Tue, 5 Mar 1996 23:43:19 +0000 (23:43 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11477 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(ASM_OUTPUT_CASE_END): Add missing semicolon.
kenner [Tue, 5 Mar 1996 23:38:05 +0000 (23:38 +0000)]
(ASM_OUTPUT_CASE_END): Add missing semicolon.
(switch_table_difference_label_flag): Make extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11476 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(sys/param.h): Fix c89 __asm statements.
kenner [Tue, 5 Mar 1996 23:37:33 +0000 (23:37 +0000)]
(sys/param.h): Fix c89 __asm statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11475 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoAdd -apple and -aux.
kenner [Tue, 5 Mar 1996 23:34:58 +0000 (23:34 +0000)]
Add -apple and -aux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11465 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(find_barrier): Set si_limit to 1018 instead of 1020, and
wilson [Tue, 5 Mar 1996 23:28:32 +0000 (23:28 +0000)]
(find_barrier): Set si_limit to 1018 instead of 1020, and
hi_limit to 510 instead of 512.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11464 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
dje [Tue, 5 Mar 1996 22:37:54 +0000 (22:37 +0000)]
* sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
(*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
%r1 -> %1 for fpstore alternative.
(*movsf_insn,*movsf_no_f_insn): %r1 -> %1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11463 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(staticp): Check DECL_NO_STATIC_CHAIN on nested functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11462 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(expand_expr, case *_DECL): If we make a non-local
merrill [Tue, 5 Mar 1996 22:16:33 +0000 (22:16 +0000)]
(expand_expr, case *_DECL): If we make a non-local
        reference from a function with DECL_NO_STATIC_CHAIN set, abort.
        (expand_expr, case ADDR_EXPR): We don't need a trampoline for a
        function with DECL_NO_STATIC_CHAIN set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11461 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(JUMP_TABLES_IN_TEXT_SECTION): Define.
wilson [Tue, 5 Mar 1996 20:29:06 +0000 (20:29 +0000)]
(JUMP_TABLES_IN_TEXT_SECTION): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11460 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(push_e, pop_e): Add TARGET_SH3E to condition.
wilson [Tue, 5 Mar 1996 20:11:11 +0000 (20:11 +0000)]
(push_e, pop_e): Add TARGET_SH3E to condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11459 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago * loop.c (init_loop): Use pseudo reg in add_cost computation
dje [Tue, 5 Mar 1996 18:39:19 +0000 (18:39 +0000)]
* loop.c (init_loop): Use pseudo reg in add_cost computation
so cost doesn't vary depending on whether reg 0 happens to be
fixed or not.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11458 138bc75d-0d04-0410-961f-82ee72b054a4

28 years agoFix typo in last change.
law [Tue, 5 Mar 1996 16:30:04 +0000 (16:30 +0000)]
Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11457 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(free): Remove declaration.
kenner [Tue, 5 Mar 1996 15:28:39 +0000 (15:28 +0000)]
(free): Remove declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11456 138bc75d-0d04-0410-961f-82ee72b054a4

28 years ago(free): Delete declaration of library function.
kenner [Tue, 5 Mar 1996 15:26:14 +0000 (15:26 +0000)]
(free): Delete declaration of library function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11455 138bc75d-0d04-0410-961f-82ee72b054a4