Richard Kenner [Tue, 12 Oct 1993 21:24:55 +0000 (17:24 -0400)]
(SETUP_INCOMING_VARARGS): If not TARGET_FPREGS...
(SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, save another copy of
the integer regs where the FP regs would have gone.
From-SVN: r5757
Richard Kenner [Tue, 12 Oct 1993 21:06:37 +0000 (17:06 -0400)]
(KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to TYPE_SYMTAB_POINTER and remove casts.
(KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to TYPE_SYMTAB_POINTER and remove
casts.
(tag_of_ru_type): Likewise.
From-SVN: r5756
Richard Kenner [Tue, 12 Oct 1993 21:05:54 +0000 (17:05 -0400)]
(struct tree_type): symtab_address is now a union of pointer and
integer.
From-SVN: r5755
Richard Kenner [Tue, 12 Oct 1993 20:49:35 +0000 (16:49 -0400)]
(reload): Fix typo in RELOAD_FOR_INSN case when accounting for
reloads.
From-SVN: r5754
Richard Stallman [Tue, 12 Oct 1993 19:51:26 +0000 (19:51 +0000)]
If a file is referenced with double quotes from
a fixed file, make sure it is copied into the fixed include directory.
Remove DPS/XDPSlib.h special-case code.
From-SVN: r5753
Richard Kenner [Tue, 12 Oct 1993 19:41:52 +0000 (15:41 -0400)]
(convert_modes): Reset OLDMODE from X after we strip a SUBREG due to a
promoted variable.
From-SVN: r5752
Richard Kenner [Tue, 12 Oct 1993 19:37:18 +0000 (15:37 -0400)]
(dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider than HOST_WIDE_INT.
(dbxout_type, case INTEGER_TYPE): Output bounds in octal if type wider
than HOST_WIDE_INT.
(print_int_cst_octal): Trim bound by precision of its type.
Avoid warning on what may be shift into sign bit.
From-SVN: r5751
Richard Kenner [Tue, 12 Oct 1993 18:22:47 +0000 (14:22 -0400)]
Add missing #include for hconfig.h.
From-SVN: r5750
Richard Kenner [Tue, 12 Oct 1993 18:02:38 +0000 (14:02 -0400)]
Quote braces on `find' looking for DONE files.
From-SVN: r5749
Richard Kenner [Tue, 12 Oct 1993 12:05:10 +0000 (08:05 -0400)]
Update define_function_units.
Put both old and new mnemonics in all templates.
Add target tests to pattern conditional field throughout.
(one_cmplsi2): Make POWER and PowerPC variants.
(mulsi3): Convert to define_expand which calls appropriate POWER or PowerPC
pattern.
(divsi3, udivsi3): Add patterns for PowerPC case. Update divsi3 define_expand
for PowerPC case.
(ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to
define_expand which calls appropriate POWER or PowerPC pattern.
(floating-point): Add PowerPC single-precision FP, and SF/DF sqrt insns for
603, 604, 620.
(call insns): Use "nop" for magic TOC restore.
(move data, nop): Use PowerPC extended mnemonics.
From-SVN: r5748
Richard Kenner [Tue, 12 Oct 1993 12:03:47 +0000 (08:03 -0400)]
(rs6000_override_options): Use new TARGET flags and add some more cpu choices.
(output_prolog, output_epilog): Support new mnemonics and avoid using
lm/stm when not POWER.
From-SVN: r5747
Richard Kenner [Tue, 12 Oct 1993 12:03:05 +0000 (08:03 -0400)]
(MASK and TARGET): Add new flags for POWER2 and PowerPC with square root.
(ASSEMBLER_DIALECT): New macro.
(CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER.
(SHIFT_COUNT_TRUNCATED): Conditional on POWER.
(ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies.
From-SVN: r5746
Richard Kenner [Tue, 12 Oct 1993 12:02:10 +0000 (08:02 -0400)]
Initial revision
From-SVN: r5745
Richard Kenner [Tue, 12 Oct 1993 11:58:29 +0000 (07:58 -0400)]
(dialect_number): New variable.
(init_final): Initialize it.
(output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT.
From-SVN: r5744
Richard Stallman [Tue, 12 Oct 1993 11:56:41 +0000 (11:56 +0000)]
(final_scan_insn): Call walk_alter_subreg for operands that are PLUS
or MULT, before constrain_operands.
From-SVN: r5743
Richard Stallman [Mon, 11 Oct 1993 22:30:48 +0000 (22:30 +0000)]
(debug_real): New function.
From-SVN: r5742
Richard Stallman [Mon, 11 Oct 1993 21:02:37 +0000 (21:02 +0000)]
(unroll_loop): Set map->const_equiv_map_size to new_maxregnum.
(copy_loop_body): When set const_age_map entry for split dest reg,
verify that it is within the bounds of the map.
(find_splittable_regs): Count number of biv sets, not number of
bivs. Don't pass result to find_splittable_givs.
(find_splittable_givs): Delete parameter result. Add local variable result.
From-SVN: r5741
Richard Stallman [Mon, 11 Oct 1993 20:14:39 +0000 (20:14 +0000)]
Whitespace changes.
From-SVN: r5740
Richard Stallman [Mon, 11 Oct 1993 19:55:18 +0000 (19:55 +0000)]
(reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0.
From-SVN: r5739
Ian Lance Taylor [Mon, 11 Oct 1993 19:36:17 +0000 (19:36 +0000)]
Fix typo
From-SVN: r5738
Ian Lance Taylor [Mon, 11 Oct 1993 19:20:40 +0000 (19:20 +0000)]
Fix typo
From-SVN: r5737
Richard Stallman [Mon, 11 Oct 1993 19:19:38 +0000 (19:19 +0000)]
(cmphi): Turn on constraints to support cmpm.w.
From-SVN: r5736
Richard Kenner [Mon, 11 Oct 1993 19:04:26 +0000 (15:04 -0400)]
(expand_assignment): When assigning an INDIRECT_REF to a RESULT_DECL,
the size and source rtx were swapped.
From-SVN: r5735
Richard Kenner [Mon, 11 Oct 1993 17:56:01 +0000 (13:56 -0400)]
(trampoline_address): Don't allocate anything from parent function's
current obstack.
From-SVN: r5734
Richard Kenner [Mon, 11 Oct 1993 14:10:43 +0000 (10:10 -0400)]
(reg_scan): Don't call reg_scan_mark_refs on notes if there aren't any.
(reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases.
From-SVN: r5733
Richard Kenner [Mon, 11 Oct 1993 11:43:24 +0000 (07:43 -0400)]
Define SHIFT_COUNT_TRUNCATED to have a value of 1.
From-SVN: r5732
Richard Kenner [Mon, 11 Oct 1993 11:39:02 +0000 (07:39 -0400)]
(simplify_binary_operation): Test value of SHIFT_COUNT_TRUNCATED if it
is defined.
From-SVN: r5731
Richard Kenner [Mon, 11 Oct 1993 11:38:22 +0000 (07:38 -0400)]
(subst, shift and rotate cases): Test value of SHIFT_COUNT_TRUNCATED
if it is defined.
From-SVN: r5730
Richard Stallman [Mon, 11 Oct 1993 07:02:42 +0000 (07:02 +0000)]
(regno_last_note_uid): New vector.
(reg_scan): Initialize regno_last_note_uid.
Call reg_scan_mark_refs for the notes. Pass its new arg.
(reg_scan_mark_refs): New arg NOTE_FLAG. Pass it recursively.
Set regno_last_note_uid.
From-SVN: r5729
Richard Stallman [Mon, 11 Oct 1993 07:02:30 +0000 (07:02 +0000)]
(regno_last_note_uid): Declared.
From-SVN: r5728
Richard Stallman [Mon, 11 Oct 1993 07:02:09 +0000 (07:02 +0000)]
(jump_optimize): Use regno_last_note_uid when deciding
From-SVN: r5727
Jeff Law [Mon, 11 Oct 1993 03:23:10 +0000 (21:23 -0600)]
pa.c (legitimize_pic_address): Delete unused variables.
* pa.c (legitimize_pic_address): Delete unused variables.
(output_block_move, output_ior): Likewise.
(hppa_builtin_saveregs): Likewise.
(emit_move_sequence): Add parens as suggested by -Wall.
(compute_frame_size): Likewise.
(output_ascii): Return type is "void".
(hppa_expand_prologue, import_milli): Likewise.
From-SVN: r5726
Richard Stallman [Mon, 11 Oct 1993 03:04:47 +0000 (03:04 +0000)]
(stmt): Don't call default_conversion on top-level expressions.
From-SVN: r5725
Richard Stallman [Mon, 11 Oct 1993 03:04:15 +0000 (03:04 +0000)]
(start_init): Don't set require_constant_elements for scalar types.
(convert_for_assignment): Allow silent conversion to
a pointer from an integer 0 that resulted from arithmetic.
From-SVN: r5724
Richard Stallman [Mon, 11 Oct 1993 03:03:34 +0000 (03:03 +0000)]
(save_386_machine_status): New functions.
(restore_386_machine_status)
(save_386_machine_status): New functions.
(clear_386_stack_locals): Store those functions in
save_machine_status, restore_machine_status.
(struct machine_function): New structure definition.
From-SVN: r5723
Richard Stallman [Mon, 11 Oct 1993 03:03:17 +0000 (03:03 +0000)]
(struct function): New field `machine'.
From-SVN: r5722
Richard Stallman [Mon, 11 Oct 1993 03:02:46 +0000 (03:02 +0000)]
(save_machine_status, restore_machine_status): New vars.
(push_function_context, pop_function_context): Use them.
From-SVN: r5721
Richard Stallman [Mon, 11 Oct 1993 03:02:24 +0000 (03:02 +0000)]
(enum pragma_state): Defined.
From-SVN: r5720
Richard Stallman [Mon, 11 Oct 1993 03:00:41 +0000 (03:00 +0000)]
(asctoeg): Fix backward condition in last change.
From-SVN: r5719
Jeff Law [Mon, 11 Oct 1993 02:32:35 +0000 (20:32 -0600)]
pa.c (output_function_prologue): Pass the highest register number saved for ENTRY_GR and ENTRY_FR directives...
* pa.c (output_function_prologue): Pass the highest register
number saved for ENTRY_GR and ENTRY_FR directives rather
than the number of registers saved.
(hppa_expand_prologue): Account for %r4 when it's being
used as a frame pointer.
From-SVN: r5718
Richard Stallman [Mon, 11 Oct 1993 01:12:06 +0000 (01:12 +0000)]
(emit_stack_save): Cast enum array index to int.
From-SVN: r5717
Richard Kenner [Sun, 10 Oct 1993 23:29:16 +0000 (19:29 -0400)]
(ALPHA_COSTS): Add missing arg to call to rtx_cost.
From-SVN: r5716
Richard Kenner [Sun, 10 Oct 1993 23:18:18 +0000 (19:18 -0400)]
(force_to_mode, case ASHIFTRT): Verify that result of making a
LSHIFTRT remains a shift.
From-SVN: r5715
Richard Kenner [Sun, 10 Oct 1993 21:10:48 +0000 (17:10 -0400)]
(put_reg_into_stack): Allocate fixup structure in saveable obstack.
From-SVN: r5714
Richard Kenner [Sun, 10 Oct 1993 21:10:19 +0000 (17:10 -0400)]
(save_tree_status): Function_maybepermanent_obstack is the function_obstack of parent function.
(save_tree_status): Function_maybepermanent_obstack is the function_obstack
of parent function.
(restore_tree_status): Only free objects later than maybepermanent_firstobj in
function_maybepermanent_obstack.
(make_node): Fix logic error in PARM_DECL code.
Put PARM_DECL in parent function's saveable obstack.
From-SVN: r5713
Richard Kenner [Sun, 10 Oct 1993 21:06:36 +0000 (17:06 -0400)]
(expand_assignment): Don't short circuit store_expr when TO is a
VAR_DECL since it needs special handling if promoted.
From-SVN: r5712
Richard Earnshaw [Sun, 10 Oct 1993 16:46:52 +0000 (16:46 +0000)]
(const_ok_for_arm): cast constants to unsigned HOST_WIDE_INT.
(output_prologue): Sanity check the finite state machine.
(output_epilogue): Delete unused variable.
(final_prescan_insn): Always clear arm_target_insn when FSM goes to
state 0.
From-SVN: r5711
Richard Earnshaw [Sun, 10 Oct 1993 16:46:52 +0000 (16:46 +0000)]
(OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since this inhibits debugging.
(OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, since
this inhibits debugging.
(ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM
goes to state 0.
From-SVN: r5710
Richard Kenner [Sun, 10 Oct 1993 14:57:01 +0000 (10:57 -0400)]
(subst, case SUREG):Only call force_to_mode if both inner and output
modes are MODE_INT.
From-SVN: r5709
Richard Kenner [Sun, 10 Oct 1993 12:58:10 +0000 (08:58 -0400)]
(WORD_ALIGN): Fix typo in last change.
From-SVN: r5708
Richard Kenner [Sun, 10 Oct 1993 12:56:49 +0000 (08:56 -0400)]
(check_format_info): Support X/Open formats like "%1$d".
From-SVN: r5707
Richard Stallman [Sun, 10 Oct 1993 05:31:33 +0000 (05:31 +0000)]
Move alloca handling before bytecode construction so that VAX C won't need two different values for LIBS.
Move alloca handling before bytecode construction
so that VAX C won't need two different values for LIBS. Eliminate a
comment about make-like functionality that referred to a capability
which has not been implemented.
From-SVN: r5706
Richard Stallman [Sun, 10 Oct 1993 05:31:12 +0000 (05:31 +0000)]
[VAXC] (bc_check_for_full_enumeration_handling) (current_function_has_nonlocal_goto)
[VAXC] (bc_check_for_full_enumeration_handling)
(current_function_has_nonlocal_goto)
(output_deferred_addressed_constants): New macros to shorten
external names exceeding 31 characters.
From-SVN: r5705
Richard Stallman [Sun, 10 Oct 1993 05:28:35 +0000 (05:28 +0000)]
(check_format_info): Avoid ?: conditional for function to be called.
From-SVN: r5704
Richard Stallman [Sun, 10 Oct 1993 05:20:40 +0000 (05:20 +0000)]
(pop_momentary_nofree): New function.
From-SVN: r5703
Richard Stallman [Sun, 10 Oct 1993 05:20:15 +0000 (05:20 +0000)]
(initdcl, notype_initdcl, init): Undo previous change.
(init): Use pop_momentary_nofree if the initializer has real data.
From-SVN: r5702
Richard Stallman [Sun, 10 Oct 1993 02:50:18 +0000 (02:50 +0000)]
(sys/spinlock.h): Don't copy it if it doesn't exist.
(DPS/XDPSlib.h): Change "XDPS.h" to <DPS/XDPS.h>, for AIX.
From-SVN: r5701
Richard Stallman [Sun, 10 Oct 1993 02:46:12 +0000 (02:46 +0000)]
When fixing _IO's definition, handle t as arg name.
From-SVN: r5700
Richard Stallman [Sat, 9 Oct 1993 21:39:12 +0000 (21:39 +0000)]
Change $(srcdir)/ to $(srcdir)\ in commands.
From-SVN: r5699
Richard Kenner [Sat, 9 Oct 1993 19:19:52 +0000 (15:19 -0400)]
(expand_expr, case ABS_EXPR): Don't copy twice into volatile MEM.
From-SVN: r5698
Richard Kenner [Sat, 9 Oct 1993 19:17:01 +0000 (15:17 -0400)]
(expand_expr): Never reset ORIGINAL_TARGET.
Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET.
From-SVN: r5697
Richard Stallman [Sat, 9 Oct 1993 16:56:24 +0000 (16:56 +0000)]
(asctoeg): Allocate local buffer dynamically.
(asctoeg): Allocate local buffer dynamically. Count
any lost significant digits before the decimal point.
From-SVN: r5696
Doug Evans [Sat, 9 Oct 1993 16:26:22 +0000 (16:26 +0000)]
(install-common): Fix typo.
From-SVN: r5695
Richard Kenner [Fri, 8 Oct 1993 23:30:27 +0000 (19:30 -0400)]
Undo rev 1.156 change; redundant with rev 1.155 change.
From-SVN: r5694
Jim Wilson [Fri, 8 Oct 1993 23:12:20 +0000 (16:12 -0700)]
(DBX_STATIC_BLOCK_START): For N_LCSYM, force change
to text section to avoid assembler bug.
From-SVN: r5693
Richard Stallman [Fri, 8 Oct 1993 22:48:15 +0000 (22:48 +0000)]
(STARTFILE_SPEC): Handle -p and -pg outermost.
(STARTFILE_SPEC): Handle -p and -pg
outermost. Also add support for cross-linking.
From-SVN: r5692
Richard Kenner [Fri, 8 Oct 1993 22:36:23 +0000 (18:36 -0400)]
(dbxout_type, case INTEGER_TYPE): Correctly check for type smaller
than `integer'.
From-SVN: r5691
Jim Wilson [Fri, 8 Oct 1993 22:32:10 +0000 (15:32 -0700)]
(movsi_unaligned): Change in comment "loads" to "stores".
From-SVN: r5690
Richard Stallman [Fri, 8 Oct 1993 22:29:17 +0000 (22:29 +0000)]
(emit_library_call_value): Compute struct_value_size,
and pass it to emit_call_1.
From-SVN: r5689
Richard Stallman [Fri, 8 Oct 1993 22:02:44 +0000 (22:02 +0000)]
(expand_expr, MAX_EXPR and MIN_EXPR case):
Don't store in TARGET twice if it's volatile.
From-SVN: r5688
Richard Stallman [Fri, 8 Oct 1993 21:41:41 +0000 (21:41 +0000)]
Only include i386/gstabs.h if LINUX_ELF is not defined.
From-SVN: r5687
Michael Meissner [Fri, 8 Oct 1993 21:12:35 +0000 (21:12 +0000)]
define __SHARED__ for shared libraries.
From-SVN: r5686
Brendan Kehoe [Fri, 8 Oct 1993 19:17:51 +0000 (15:17 -0400)]
add dependencies for cp-error.o and cp-errfn.o
From-SVN: r5685
Michael Meissner [Fri, 8 Oct 1993 19:15:55 +0000 (19:15 +0000)]
Make ROSE shared library profiling work; Use GOTOFF if possible for ELF.
From-SVN: r5684
Brendan Kehoe [Fri, 8 Oct 1993 19:06:06 +0000 (15:06 -0400)]
(CPLUS_OBJS): Add cp-error.o and cp-errfn.o.
From-SVN: r5683
Doug Evans [Fri, 8 Oct 1993 17:55:28 +0000 (17:55 +0000)]
(scan_loop): When skipping consecutive insns, don't count notes.
From-SVN: r5682
Richard Kenner [Fri, 8 Oct 1993 15:25:24 +0000 (11:25 -0400)]
(expand_expr, case MAX_EXPR): Don't use TARGET directly if it is a
volatile MEM.
From-SVN: r5681
Richard Kenner [Fri, 8 Oct 1993 14:40:59 +0000 (10:40 -0400)]
(check_function_format): Correct error in last change.
From-SVN: r5680
Richard Stallman [Fri, 8 Oct 1993 12:20:44 +0000 (12:20 +0000)]
(initdcl, notype_initdcl): Call push_momentary and pop_momentary here.
(init): Not here.
From-SVN: r5679
Richard Kenner [Fri, 8 Oct 1993 12:03:26 +0000 (08:03 -0400)]
Remove LIMITS_H; hasn't been used for a while.
From-SVN: r5678
Richard Kenner [Fri, 8 Oct 1993 11:46:38 +0000 (07:46 -0400)]
Remove definition of EXTRA_PASSES and remove rules for mips-* files.
From-SVN: r5677
Richard Kenner [Fri, 8 Oct 1993 11:44:49 +0000 (07:44 -0400)]
Don't define memory functions on Alpha.
(Ptrdiff_t): Always `long'.
(WORD_ALIGN): Make portable.
From-SVN: r5676
Richard Kenner [Fri, 8 Oct 1993 11:44:01 +0000 (07:44 -0400)]
(mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): New rules.
From-SVN: r5675
Richard Kenner [Fri, 8 Oct 1993 10:55:59 +0000 (06:55 -0400)]
(dbxout_parms): Don't confuse a parameter at an offset of zero from AP
or FP with one that has variable size.
From-SVN: r5674
Richard Kenner [Fri, 8 Oct 1993 10:34:54 +0000 (06:34 -0400)]
(emit_library_call): Fix typo in last change; should use Pmode instead
of SImode.
From-SVN: r5673
Richard Stallman [Fri, 8 Oct 1993 04:59:33 +0000 (04:59 +0000)]
(finish_decl): Error if block-scope static var has incomplete type.
(complete_array_type): Correctly set MAXINDEX to one less than array size.
From-SVN: r5672
Richard Stallman [Fri, 8 Oct 1993 04:58:24 +0000 (04:58 +0000)]
(expand_expr, case VAR_DECL): If decl wasn't laid out,
lay it out now, and fix the rtl's mode.
From-SVN: r5671
Richard Stallman [Fri, 8 Oct 1993 01:49:18 +0000 (01:49 +0000)]
(complete_array_type): Correctly set MAXINDEX to one less than array size.
From-SVN: r5670
Torbjorn Granlund [Fri, 8 Oct 1993 00:48:54 +0000 (00:48 +0000)]
(build_binary_op): For *_DIV_EXPR, set shorten based on orig_op0.
From-SVN: r5669
Richard Stallman [Thu, 7 Oct 1993 23:37:16 +0000 (23:37 +0000)]
(LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf.
From-SVN: r5668
Jim Wilson [Thu, 7 Oct 1993 22:19:01 +0000 (15:19 -0700)]
(HAVE_VPRINTF): Is VPRINTF not VFPRINTF.
From-SVN: r5667
Richard Stallman [Thu, 7 Oct 1993 21:39:38 +0000 (21:39 +0000)]
(main): New option -lang-c-c++-comments.
From-SVN: r5666
Michael Meissner [Thu, 7 Oct 1993 21:35:55 +0000 (21:35 +0000)]
Change to even newer profiling calling sequence.
From-SVN: r5665
Michael Meissner [Thu, 7 Oct 1993 21:35:28 +0000 (21:35 +0000)]
Add FINALIZE_PIC to indicate %ebx needs to be set up if profiling.
From-SVN: r5664
Richard Kenner [Thu, 7 Oct 1993 21:26:41 +0000 (17:26 -0400)]
Always declare malloc, realloc, etc, to be void *.
From-SVN: r5663
Ian Lance Taylor [Thu, 7 Oct 1993 21:05:34 +0000 (21:05 +0000)]
Move in initialization of byte_mode and word_mode from rtl.c
From-SVN: r5662
Ian Lance Taylor [Thu, 7 Oct 1993 21:05:34 +0000 (21:05 +0000)]
Move initialization of byte_mode and word_mode to emit-rtl.c
From-SVN: r5661
Doug Evans [Thu, 7 Oct 1993 19:48:20 +0000 (19:48 +0000)]
(CPP_PREDEFINES): Add assertions for system/cpu/machine.
From-SVN: r5660
Richard Stallman [Thu, 7 Oct 1993 18:48:55 +0000 (18:48 +0000)]
(struct file_name_list): Add new field c_system_include_path.
(*various*): Set this flag correctly
(is_system_include): Return 2 if C-language system include.
(output_line_command): Output " 4" after " 3" for C-language system
include.
From-SVN: r5659
Doug Evans [Thu, 7 Oct 1993 18:40:43 +0000 (18:40 +0000)]
(install-dir): Fix typo.
(install-common): Remove obsolete comment.
(install-common): Install native g++ only if not cross.
From-SVN: r5658