Commit Graph

10134 Commits

Author SHA1 Message Date
Richard Kenner edf711a4e4 (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
1995-07-26 08:43:24 -04:00
Richard Kenner aa6b6385f2 (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
1995-07-26 08:40:08 -04:00
Richard Kenner dfda5a87b5 (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
1995-07-26 08:36:28 -04:00
Richard Kenner 04f42b07d5 (gfloat.h): Delete previous copy before updating.
From-SVN: r10161
1995-07-26 08:21:08 -04:00
Roland McGrath 32988c4a98 (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
1995-07-26 12:18:04 +00:00
Richard Kenner 480ae58f31 Fixed typos ('bhos' -> 'bhis').
From-SVN: r10159
1995-07-26 08:11:46 -04:00
Richard Kenner c6e11279a0 (reload1.o): Depends on real.h.
From-SVN: r10158
1995-07-26 08:05:29 -04:00
Richard Kenner a9c366bf8e (real.h): Include it.
From-SVN: r10157
1995-07-26 08:04:12 -04:00
Richard Kenner 56cbbbd717 (LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with invalid
pic address.

From-SVN: r10156
1995-07-26 08:03:31 -04:00
Richard Kenner 03c424843c (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
1995-07-26 07:58:10 -04:00
Michael Meissner 5eb387b858 store LR in caller's frame, not current frame for V.4
From-SVN: r10154
1995-07-25 14:17:45 +00:00
Michael Meissner abeeaf0fe8 Initialize r13 to be _SDA_BASE_.
From-SVN: r10153
1995-07-22 02:50:21 +00:00
Michael Meissner 4697a36cef V.4 support.
From-SVN: r10152
1995-07-21 18:15:38 +00:00
Richard Kenner b3ae05da16 (main): Don't define sbrk #ifdef __alpha__.
From-SVN: r10151
1995-07-21 13:22:56 -04:00
Richard Kenner 8ef2bf231f (do_include): Prefix -H output lines with spaces, not dots.
(output_dots): Remove.

From-SVN: r10150
1995-07-18 19:28:02 -04:00
Richard Kenner 3d13060543 (default_compilers, cpp): Specify -lang-c89 if -ansi is given.
This turns off C++ comment recognition.

From-SVN: r10149
1995-07-18 19:23:30 -04:00
Richard Kenner bc35f8c256 (main): cplusplus_comments now defaults to 1.
But clear it if	-traditional or the new option -lang-c89 is given.

From-SVN: r10148
1995-07-18 19:22:48 -04:00
Richard Kenner 35d17c1d94 (va_arg): Add support for 128 bit long double type.
From-SVN: r10147
1995-07-18 19:16:31 -04:00
Richard Kenner 06aa52de3c (decl_attributes, case A_ALIGNED): Handle is_type case properly.
From-SVN: r10146
1995-07-18 19:11:10 -04:00
Richard Kenner 410d3f5de9 (fold, case CONVERT_EXPR): Don't merge conversions if outer is to
handle a type with differing precision.

From-SVN: r10145
1995-07-18 19:02:49 -04:00
Richard Kenner 56a9868e9e (HAVE_VPRINTF): Define.
From-SVN: r10144
1995-07-17 14:37:31 -04:00
Richard Kenner 98ee239e63 (HAVE_ATEXIT): Define.
From-SVN: r10143
1995-07-17 14:37:13 -04:00
Richard Kenner fb695d4a37 ({unsigned,signed}_type): Handle intXX_type_node types.
From-SVN: r10142
1995-07-17 14:28:37 -04:00
Richard Kenner 03676390e1 (sbrk): Add declaration.
From-SVN: r10141
1995-07-17 13:38:58 -04:00
Richard Kenner 1c013b45fd (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
1995-07-17 12:54:50 -04:00
Richard Kenner b83b72a6fa (tstdi, cmpdi): Use match_scratch, not match_operand.
From-SVN: r10139
1995-07-17 06:41:04 -04:00
Richard Kenner e8b87aac1c (lookup_field): Change name comparison to match what field_decl_cmp
does.

From-SVN: r10138
1995-07-14 19:23:27 -04:00
Richard Kenner c3fac86651 (field_decl_cmp): Rewritten to make sure that a null name always sorts
low against other names.

From-SVN: r10137
1995-07-14 19:22:57 -04:00
Richard Kenner fc91b0d0aa (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
1995-07-14 19:15:58 -04:00
Richard Kenner ef0e171b50 (movsi): Convert a CONST_DOUBLE into a CONST_INT of the low part.
From-SVN: r10135
1995-07-14 18:46:08 -04:00
Richard Kenner 635b513f6c (main): Reword dwarf/c++/-g warning.
From-SVN: r10134
1995-07-14 18:30:44 -04:00
Richard Kenner 33c6ab8084 (expand_start_stmt_expr): Force stack adjust before NO_DEFER_POP.
From-SVN: r10133
1995-07-14 18:19:22 -04:00
Richard Kenner e5a46778f6 (NO_DEFER_POP): Remove last change.
From-SVN: r10132
1995-07-14 18:18:57 -04:00
Richard Kenner dabf8373fb (stor_expr): Force stack adjust before NO_DEFER_POP.
(expand_expr, case COND_EXPR): Likewise.

From-SVN: r10131
1995-07-14 18:18:14 -04:00
Richard Kenner 3669e64614 (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
1995-07-14 08:27:10 -04:00
Richard Kenner 85ee74529a (loop_number_exit_count): Declare it.
From-SVN: r10129
1995-07-14 08:23:39 -04:00
Richard Kenner 353127c220 (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
1995-07-14 08:21:01 -04:00
Richard Kenner e6a125a009 (cse_insn): Ifdef out code that pre-truncates src_folded.
From-SVN: r10127
1995-07-14 08:15:00 -04:00
Richard Kenner b7d9c4185d (sethi_di_sp64): Return null string at end.
From-SVN: r10126
1995-07-14 08:08:47 -04:00
Richard Kenner f719a85deb 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
1995-07-14 08:05:18 -04:00
Richard Kenner ca00d1e070 (current_function_stdarg): Declare it.
From-SVN: r10124
1995-07-14 08:03:43 -04:00
Richard Kenner ebb904cbbe (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
1995-07-14 08:03:09 -04:00
Richard Kenner 7da7e61109 (struct function): Add stdarg field.
From-SVN: r10122
1995-07-14 08:02:43 -04:00
Richard Kenner f03e51d485 (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
1995-07-14 07:58:23 -04:00
Richard Kenner 6dd0e0b2f0 (output_bb): Fix error in long backwards branch with nullified delay
slot.

From-SVN: r10120
1995-07-13 19:29:52 -04:00
Richard Kenner 1433f0f959 (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if.
From-SVN: r10119
1995-07-13 19:26:03 -04:00
Richard Kenner a0469a3245 (rescan): Don't address outside of array when preprocessing C++
comments.

From-SVN: r10118
1995-07-10 20:16:27 -04:00
Richard Kenner d679bebf47 (expand_block_move): Remove #if 0 conditionals against using larger
block moves.

From-SVN: r10117
1995-07-10 20:09:09 -04:00
Richard Kenner e442bf1fd6 (EXTRA_PARTS): Copy milli.exp to release dir.
(milli.exp): Copy to build dir from machine dependend dir.

From-SVN: r10116
1995-07-10 20:05:41 -04:00
Richard Kenner f07064d38b (matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is
minus, then subtract from zero when cond fails.

From-SVN: r10115
1995-07-10 20:03:06 -04:00