Richard Kenner [Sat, 29 Jul 1995 20:24:13 +0000 (16:24 -0400)]
(CPP_SPEC): Fix typo.
From-SVN: r10208
Richard Kenner [Sat, 29 Jul 1995 20:19:33 +0000 (16:19 -0400)]
(XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and XCOFF_DEBUGGING_FORMAT.
(SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS.
(scan_libraries): Implement for AIX.
From-SVN: r10207
Richard Kenner [Sat, 29 Jul 1995 14:08:56 +0000 (10:08 -0400)]
Initial revision
From-SVN: r10206
Richard Kenner [Sat, 29 Jul 1995 14:06:08 +0000 (10:06 -0400)]
Include tm.h.
From-SVN: r10205
Richard Kenner [Sat, 29 Jul 1995 14:01:27 +0000 (10:01 -0400)]
(CAN_DEBUG_WITHOUT_FP): Comment out.
From-SVN: r10204
Richard Kenner [Sat, 29 Jul 1995 13:59:27 +0000 (09:59 -0400)]
(truncdfsf2...
(truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): Allow register
parameters, required by gcc to generate correct code.
From-SVN: r10203
Richard Kenner [Sat, 29 Jul 1995 13:59:05 +0000 (09:59 -0400)]
(RTX_COSTS): Fill in missing default values.
From-SVN: r10202
Richard Kenner [Sat, 29 Jul 1995 13:58:43 +0000 (09:58 -0400)]
(output_move_double): Now handles CONST_INT parameters properly.
From-SVN: r10201
Richard Kenner [Sat, 29 Jul 1995 13:55:01 +0000 (09:55 -0400)]
[USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls and `bsr.l'...
[USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls
and `bsr.l' instead of `bsr' for pic function calls.
From-SVN: r10200
Richard Kenner [Sat, 29 Jul 1995 13:53:04 +0000 (09:53 -0400)]
Initial revision
From-SVN: r10199
Richard Kenner [Sat, 29 Jul 1995 13:44:07 +0000 (09:44 -0400)]
(SUBREG_OK_FOR_INDEX_P): New macro.
(INDEX_REGISTER_RTX_P): Use it.
From-SVN: r10198
Richard Kenner [Sat, 29 Jul 1995 13:43:27 +0000 (09:43 -0400)]
(find_reloads_address_1, case PLUS): When handle SUBREG, add SUBREG_WORD offset to SUBREG_REG register number.
(find_reloads_address_1, case PLUS): When handle SUBREG, add SUBREG_WORD
offset to SUBREG_REG register number.
(find_reloads_address_1, case SUBREG): If a pseudo register inside a SUBREG is
larger than the class, then reload the entire SUBREG.
From-SVN: r10197
Richard Kenner [Sat, 29 Jul 1995 13:33:15 +0000 (09:33 -0400)]
({,CROSS_}LIBGCC1): Define as empty.
From-SVN: r10196
Richard Kenner [Sat, 29 Jul 1995 13:20:17 +0000 (09:20 -0400)]
(ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name.
From-SVN: r10195
Richard Kenner [Sat, 29 Jul 1995 13:15:13 +0000 (09:15 -0400)]
(gcc_plt_call): Rewrite to avoid the need for being called by _sr4export.
(gcc_plt_call): Rewrite to avoid the need for being called by
_sr4export. Inline expand $$dyncall to avoid the need for long-call
and PIC support.
From-SVN: r10194
Richard Kenner [Sat, 29 Jul 1995 13:11:11 +0000 (09:11 -0400)]
(ucim.m, ucr.m, uc.m): New.
From-SVN: r10193
Richard Kenner [Sat, 29 Jul 1995 13:08:24 +0000 (09:08 -0400)]
(cmpqi): Account for unsigned comparisons.
(rotrqi3, rotrhi3): Reworked.
From-SVN: r10192
Richard Kenner [Sat, 29 Jul 1995 13:05:40 +0000 (09:05 -0400)]
(notice_update_cc): INCM and DECM set condition codes.
(unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns.
From-SVN: r10191
Richard Kenner [Sat, 29 Jul 1995 11:29:56 +0000 (07:29 -0400)]
(FUNCTION_EPILOGUE): Local variables freed from SP, not FP.
(ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR.
From-SVN: r10190
Richard Kenner [Sat, 29 Jul 1995 10:25:58 +0000 (06:25 -0400)]
(LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with invalid
pic address.
From-SVN: r10189
Richard Kenner [Fri, 28 Jul 1995 13:57:46 +0000 (09:57 -0400)]
(unroll_loop): When preconditioning...
(unroll_loop): When preconditioning, output code to execute loop once
if initial value is greater than or equal to final value.
From-SVN: r10188
Richard Kenner [Fri, 28 Jul 1995 13:39:56 +0000 (09:39 -0400)]
(DO_GLOBAL_DTORS_BODY): Use an asm statement to keep the optimizer
from deleting an assignment that it is dead.
From-SVN: r10187
Richard Kenner [Fri, 28 Jul 1995 13:36:30 +0000 (09:36 -0400)]
(pointer_int_sum): Don't distribute if intop is unsigned and not the
same size as ptrop.
From-SVN: r10186
Richard Kenner [Fri, 28 Jul 1995 13:09:22 +0000 (09:09 -0400)]
(assign_stack_temp): When split a slot, set base_offset and full_size in the newly created slot.
(assign_stack_temp): When split a slot, set base_offset and full_size in the
newly created slot.
(combine_temp_slots): Update full_size when slots are combined.
From-SVN: r10185
Richard Kenner [Fri, 28 Jul 1995 13:06:44 +0000 (09:06 -0400)]
(define_peephole): Add peepholes to use r0+rN addressing mode for some
address reloads.
From-SVN: r10184
Richard Kenner [Fri, 28 Jul 1995 13:06:19 +0000 (09:06 -0400)]
(reg_unused_after): New function.
From-SVN: r10183
Richard Kenner [Fri, 28 Jul 1995 13:03:35 +0000 (09:03 -0400)]
(xcoffout_output_first_source_line): Delete.
(xcoffout_begin_function): Call dbxout_parms and ASM_OUTPUT_SOURCE_LINE.
From-SVN: r10182
Richard Kenner [Fri, 28 Jul 1995 13:02:42 +0000 (09:02 -0400)]
(final_start_function): If SDB_DEBUG, call sdbout_begin_function.
If XCOFF_DEBUG, call xcoffout_begin_function instead of
xcoffout_output_first_source_line.
(final_scan_insn): Don't call sdbout_begin_function or xcoffout_begin_function.
From-SVN: r10181
Richard Kenner [Fri, 28 Jul 1995 12:58:38 +0000 (08:58 -0400)]
(CPP_SPEC): Output -D__mips64 when -mips3, or -mips4, or -mgp64.
Output -U__mips64 when -mgp32.
From-SVN: r10180
Richard Kenner [Fri, 28 Jul 1995 12:53:12 +0000 (08:53 -0400)]
Change every occurance of #if __mips>=3 to #ifdef __mips64.
From-SVN: r10179
Richard Kenner [Fri, 28 Jul 1995 12:47:44 +0000 (08:47 -0400)]
(i960_function_epilogue): Don't clear g14 for functions with an argument block.
(i960_output_reg_insn): Likewise.
(i960_output_call_insn): Clear g14 for functions wtih an argument block.
From-SVN: r10178
Richard Kenner [Fri, 28 Jul 1995 12:43:44 +0000 (08:43 -0400)]
(movdi matchers): Support odd numbered regs.
From-SVN: r10177
Richard Kenner [Fri, 28 Jul 1995 12:43:27 +0000 (08:43 -0400)]
(i960_arg_size_and_align): Correct alignment of XFmode values in
library calls.
From-SVN: r10176
Richard Kenner [Fri, 28 Jul 1995 12:37:19 +0000 (08:37 -0400)]
(divhi3, modhi3, divmodhi4): Rewrite.
From-SVN: r10175
Richard Kenner [Wed, 26 Jul 1995 14:15:44 +0000 (10:15 -0400)]
(end_file): Fix typo in error message text.
From-SVN: r10174
Gerald Baumgartner [Wed, 26 Jul 1995 13:38:09 +0000 (09:38 -0400)]
gb@alexander.cs.purdue.edu
From-SVN: r10173
Gerald Baumgartner [Wed, 26 Jul 1995 13:37:13 +0000 (09:37 -0400)]
(build_signature_method_call): Renamed offset_identifier and local variable offset to vt_off_identifer and vt_off...
(build_signature_method_call): Renamed offset_identifier and
local variable offset to vt_off_identifer and vt_off, respecitively.
(build_signature_table_constructor): Renamed offset to vt_off.
(build_signature_table_constructor): Build the constructor
according to the new layout. Set the vb_off field to -1 for now.
From-SVN: r10172
Gerald Baumgartner [Wed, 26 Jul 1995 13:36:00 +0000 (09:36 -0400)]
(vt_off_identifier): Renamed from offset identifier.
(vb_off_identifier): New variable to hold the identifier for the
sigtable field vb_off.
(init_decl_processing): Initialize vb_off_identifier.
Renamed vt_off_identifier from offset_identifier.
(init_decl_processing): Add vb_off field to sigtable_entry_type.
Reorder fields so that pfn gets properly aligned at a 64 bit boundary
on the Alpha.
(init_decl_processing): Align sigtable_entry_type on word
boundaries instead of double word boundaries to save space.
From-SVN: r10171
Gerald Baumgartner [Wed, 26 Jul 1995 13:34:22 +0000 (09:34 -0400)]
(SIGTABLE_VT_OFF_NAME): Renamed from SIGTABLE_OFFSET_NAME.
(SIGTABLE_VB_OFF_NAME): New macro.
(vt_off_identifier): Renamed from offset_identifier.
(vb_off_identifier): Added extern declaration.
From-SVN: r10170
Richard Kenner [Wed, 26 Jul 1995 13:31:00 +0000 (09:31 -0400)]
(cse_insn): When do special handling for (set REG0 REG1), must delete
REG_EQUAL note from insn if it mentions REG0.
From-SVN: r10169
Richard Kenner [Wed, 26 Jul 1995 13:26:13 +0000 (09:26 -0400)]
(USE_C_ALLOCA): Always define.
From-SVN: r10168
Richard Kenner [Wed, 26 Jul 1995 13:22:15 +0000 (09:22 -0400)]
(HAVE_STRERROR): Define.
(__BSD_NET2__): Define.
From-SVN: r10167
Richard Kenner [Wed, 26 Jul 1995 13:21:47 +0000 (09:21 -0400)]
(CC): Remove useless definition.
From-SVN: r10166
Richard Kenner [Wed, 26 Jul 1995 13:09:44 +0000 (09:09 -0400)]
(preexpand_calls): Don't look past a CLEANUP_POINT_EXPR.
From-SVN: r10165
Richard Kenner [Wed, 26 Jul 1995 12:43:24 +0000 (08:43 -0400)]
(find_and_verify_loops): When moving blocks of code, verify that the just destination is not in an inner nested loop.
(find_and_verify_loops): When moving blocks of code, verify that the
just destination is not in an inner nested loop.
(mark_loop_jump): Don't mark label as loop exit if it jumps to an
inner nested loop.
From-SVN: r10164
Richard Kenner [Wed, 26 Jul 1995 12:40:08 +0000 (08:40 -0400)]
(do_include, read_name_map): Omit leading "./" and trailing "/" when it makes sense.
(do_include, read_name_map): Omit leading "./" and trailing "/" when
it makes sense.
(skip_redundant_dir_prefix): New function.
From-SVN: r10163
Richard Kenner [Wed, 26 Jul 1995 12:36:28 +0000 (08:36 -0400)]
(emit_nop): Do not emit a nop if there is a single insn before a label
or at the start of a function.
From-SVN: r10162
Richard Kenner [Wed, 26 Jul 1995 12:21:08 +0000 (08:21 -0400)]
(gfloat.h): Delete previous copy before updating.
From-SVN: r10161
Roland McGrath [Wed, 26 Jul 1995 12:18:04 +0000 (12:18 +0000)]
(STAGESTUFF): Add stamp-crtS.
(crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like crtbegin.o et
al, but compiled using -fPIC.
From-SVN: r10160
Richard Kenner [Wed, 26 Jul 1995 12:11:46 +0000 (08:11 -0400)]
Fixed typos ('bhos' -> 'bhis').
From-SVN: r10159
Richard Kenner [Wed, 26 Jul 1995 12:05:29 +0000 (08:05 -0400)]
(reload1.o): Depends on real.h.
From-SVN: r10158
Richard Kenner [Wed, 26 Jul 1995 12:04:12 +0000 (08:04 -0400)]
(real.h): Include it.
From-SVN: r10157
Richard Kenner [Wed, 26 Jul 1995 12:03:31 +0000 (08:03 -0400)]
(LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with invalid
pic address.
From-SVN: r10156
Richard Kenner [Wed, 26 Jul 1995 11:58:10 +0000 (07:58 -0400)]
(MULTILIB_DIRS): Provide default if not defined.
(multilib_defaults): New static variable.
(default_arg): New static function.
(set_multilib_dir): Ignore default arguments.
(print_multilib_info): Ignore entries which use default arguments.
From-SVN: r10155
Michael Meissner [Tue, 25 Jul 1995 14:17:45 +0000 (14:17 +0000)]
store LR in caller's frame, not current frame for V.4
From-SVN: r10154
Michael Meissner [Sat, 22 Jul 1995 02:50:21 +0000 (02:50 +0000)]
Initialize r13 to be _SDA_BASE_.
From-SVN: r10153
Michael Meissner [Fri, 21 Jul 1995 18:15:38 +0000 (18:15 +0000)]
V.4 support.
From-SVN: r10152
Richard Kenner [Fri, 21 Jul 1995 17:22:56 +0000 (13:22 -0400)]
(main): Don't define sbrk #ifdef __alpha__.
From-SVN: r10151
Richard Kenner [Tue, 18 Jul 1995 23:28:02 +0000 (19:28 -0400)]
(do_include): Prefix -H output lines with spaces, not dots.
(output_dots): Remove.
From-SVN: r10150
Richard Kenner [Tue, 18 Jul 1995 23:23:30 +0000 (19:23 -0400)]
(default_compilers, cpp): Specify -lang-c89 if -ansi is given.
This turns off C++ comment recognition.
From-SVN: r10149
Richard Kenner [Tue, 18 Jul 1995 23:22:48 +0000 (19:22 -0400)]
(main): cplusplus_comments now defaults to 1.
But clear it if -traditional or the new option -lang-c89 is given.
From-SVN: r10148
Richard Kenner [Tue, 18 Jul 1995 23:16:31 +0000 (19:16 -0400)]
(va_arg): Add support for 128 bit long double type.
From-SVN: r10147
Richard Kenner [Tue, 18 Jul 1995 23:11:10 +0000 (19:11 -0400)]
(decl_attributes, case A_ALIGNED): Handle is_type case properly.
From-SVN: r10146
Richard Kenner [Tue, 18 Jul 1995 23:02:49 +0000 (19:02 -0400)]
(fold, case CONVERT_EXPR): Don't merge conversions if outer is to
handle a type with differing precision.
From-SVN: r10145
Richard Kenner [Mon, 17 Jul 1995 18:37:31 +0000 (14:37 -0400)]
(HAVE_VPRINTF): Define.
From-SVN: r10144
Richard Kenner [Mon, 17 Jul 1995 18:37:13 +0000 (14:37 -0400)]
(HAVE_ATEXIT): Define.
From-SVN: r10143
Richard Kenner [Mon, 17 Jul 1995 18:28:37 +0000 (14:28 -0400)]
({unsigned,signed}_type): Handle intXX_type_node types.
From-SVN: r10142
Richard Kenner [Mon, 17 Jul 1995 17:38:58 +0000 (13:38 -0400)]
(sbrk): Add declaration.
From-SVN: r10141
Richard Kenner [Mon, 17 Jul 1995 16:54:50 +0000 (12:54 -0400)]
(convert_to_integer): If TYPE is a enumeral type or if its precision is not the same as the size of its mode...
(convert_to_integer): If TYPE is a enumeral type or if its precision
is not the same as the size of its mode, convert in two steps.
From-SVN: r10140
Richard Kenner [Mon, 17 Jul 1995 10:41:04 +0000 (06:41 -0400)]
(tstdi, cmpdi): Use match_scratch, not match_operand.
From-SVN: r10139
Richard Kenner [Fri, 14 Jul 1995 23:23:27 +0000 (19:23 -0400)]
(lookup_field): Change name comparison to match what field_decl_cmp
does.
From-SVN: r10138
Richard Kenner [Fri, 14 Jul 1995 23:22:57 +0000 (19:22 -0400)]
(field_decl_cmp): Rewritten to make sure that a null name always sorts
low against other names.
From-SVN: r10137
Richard Kenner [Fri, 14 Jul 1995 23:15:58 +0000 (19:15 -0400)]
(struct temp_slot): New fields base_offset, full_size.
(assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size.
Set new fields base_offset and full_size.
(combine_temp_slots): Use new fields base_offset and full_size instead
of slot and size.
From-SVN: r10136
Richard Kenner [Fri, 14 Jul 1995 22:46:08 +0000 (18:46 -0400)]
(movsi): Convert a CONST_DOUBLE into a CONST_INT of the low part.
From-SVN: r10135
Richard Kenner [Fri, 14 Jul 1995 22:30:44 +0000 (18:30 -0400)]
(main): Reword dwarf/c++/-g warning.
From-SVN: r10134
Richard Kenner [Fri, 14 Jul 1995 22:19:22 +0000 (18:19 -0400)]
(expand_start_stmt_expr): Force stack adjust before NO_DEFER_POP.
From-SVN: r10133
Richard Kenner [Fri, 14 Jul 1995 22:18:57 +0000 (18:18 -0400)]
(NO_DEFER_POP): Remove last change.
From-SVN: r10132
Richard Kenner [Fri, 14 Jul 1995 22:18:14 +0000 (18:18 -0400)]
(stor_expr): Force stack adjust before NO_DEFER_POP.
(expand_expr, case COND_EXPR): Likewise.
From-SVN: r10131
Richard Kenner [Fri, 14 Jul 1995 12:27:10 +0000 (08:27 -0400)]
(find_splittable_{regs,givs}, final_[bg]iv_value): Use loop_number_exit_count instead of loop_number_exit_labels.
(find_splittable_{regs,givs}, final_[bg]iv_value): Use loop_number_exit_count
instead of loop_number_exit_labels.
(reg_dead_after_loop): Check loop_number_exit_count, and fail if the count
doesn't match loop_number_exit_labels.
From-SVN: r10130
Richard Kenner [Fri, 14 Jul 1995 12:23:39 +0000 (08:23 -0400)]
(loop_number_exit_count): Declare it.
From-SVN: r10129
Richard Kenner [Fri, 14 Jul 1995 12:21:01 +0000 (08:21 -0400)]
(loop_number_exit_count): New global variable.
(loop_optimize): Allocate space for it.
(find_and_verify_loops, mark_loop_jump): Set it.
(strength_reduce, check_dbra_loop): Use loop_number_exit_count instead
of loop_number_exit_labels.
From-SVN: r10128
Richard Kenner [Fri, 14 Jul 1995 12:15:00 +0000 (08:15 -0400)]
(cse_insn): Ifdef out code that pre-truncates src_folded.
From-SVN: r10127
Richard Kenner [Fri, 14 Jul 1995 12:08:47 +0000 (08:08 -0400)]
(sethi_di_sp64): Return null string at end.
From-SVN: r10126
Richard Kenner [Fri, 14 Jul 1995 12:05:18 +0000 (08:05 -0400)]
Modify all patterns which handle stores to memory to also check current_function_varargs and current_function_stdarg.
Modify all patterns which handle stores to memory to also check
current_function_varargs and current_function_stdarg. q
From-SVN: r10125
Richard Kenner [Fri, 14 Jul 1995 12:03:43 +0000 (08:03 -0400)]
(current_function_stdarg): Declare it.
From-SVN: r10124
Richard Kenner [Fri, 14 Jul 1995 12:03:09 +0000 (08:03 -0400)]
(current_function_stdarg): New global variable.
(push_function_context_to): Save it.
(pop_function_context_from): Restore it.
(assign_parms): Set it.
(init_function_start): Clear it.
From-SVN: r10123
Richard Kenner [Fri, 14 Jul 1995 12:02:43 +0000 (08:02 -0400)]
(struct function): Add stdarg field.
From-SVN: r10122
Richard Kenner [Fri, 14 Jul 1995 11:58:23 +0000 (07:58 -0400)]
(fill_simple_delay_slots): When trying to take instruction from after the branch, don't continue past target label.
(fill_simple_delay_slots): When trying to take instruction from after
the branch, don't continue past target label. Local variables
passed_label and target_uses are no longer necessary.
From-SVN: r10121
Richard Kenner [Thu, 13 Jul 1995 23:29:52 +0000 (19:29 -0400)]
(output_bb): Fix error in long backwards branch with nullified delay
slot.
From-SVN: r10120
Richard Kenner [Thu, 13 Jul 1995 23:26:03 +0000 (19:26 -0400)]
(SHIFT_COUNT_TRUNCATED): Use #ifdef not #if.
From-SVN: r10119
Richard Kenner [Tue, 11 Jul 1995 00:16:27 +0000 (20:16 -0400)]
(rescan): Don't address outside of array when preprocessing C++
comments.
From-SVN: r10118
Richard Kenner [Tue, 11 Jul 1995 00:09:09 +0000 (20:09 -0400)]
(expand_block_move): Remove #if 0 conditionals against using larger
block moves.
From-SVN: r10117
Richard Kenner [Tue, 11 Jul 1995 00:05:41 +0000 (20:05 -0400)]
(EXTRA_PARTS): Copy milli.exp to release dir.
(milli.exp): Copy to build dir from machine dependend dir.
From-SVN: r10116
Richard Kenner [Tue, 11 Jul 1995 00:03:06 +0000 (20:03 -0400)]
(matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is
minus, then subtract from zero when cond fails.
From-SVN: r10115
Richard Kenner [Mon, 10 Jul 1995 23:58:17 +0000 (19:58 -0400)]
(SELECT_SECTION): Use TREE_CODE_CLASS instead of directly referencing
tree_code_type.
From-SVN: r10114
Richard Kenner [Mon, 10 Jul 1995 23:54:16 +0000 (19:54 -0400)]
(reverse_def_dec_list): Delete const qualifiers from local variables,
and delete casts which were casting away const.
From-SVN: r10113
Richard Kenner [Mon, 10 Jul 1995 23:47:26 +0000 (19:47 -0400)]
(finish_file): Add missing parm to start_function call.
From-SVN: r10112
Richard Kenner [Mon, 10 Jul 1995 23:44:22 +0000 (19:44 -0400)]
(jump_optimize): Pass outer_code arg to rtx_cost.
From-SVN: r10111
Richard Kenner [Mon, 10 Jul 1995 23:40:05 +0000 (19:40 -0400)]
(assemble_name, bc_assemble_integer): Call bc_emit_labelref with
proper args.
From-SVN: r10110
Richard Kenner [Mon, 10 Jul 1995 23:14:25 +0000 (19:14 -0400)]
(setjmp_args_warning): Remove bogus arg.
From-SVN: r10109