Stan Cox [Fri, 8 Nov 1996 22:03:06 +0000 (22:03 +0000)]
(compare_for_stack_reg, subst_stack_regs_pat):
From-SVN: r13113
David J. MacKenzie [Fri, 8 Nov 1996 07:35:31 +0000 (07:35 +0000)]
patches from bug-gnu-utils to support more architectures
From-SVN: r13108
Richard Kenner [Thu, 7 Nov 1996 12:45:58 +0000 (07:45 -0500)]
(integer_{zero,one,all_ones,pow2}p, real_{zero,one,two}p): Return 0 if
TREE_CONSTANT_OVERFLOW.
From-SVN: r13107
Richard Kenner [Thu, 7 Nov 1996 12:40:26 +0000 (07:40 -0500)]
(const_binop, case *_DIV_EXPR): Don't do special sizetype case if a
constant overflows.
From-SVN: r13106
Richard Kenner [Thu, 7 Nov 1996 12:39:55 +0000 (07:39 -0500)]
(layout_record): Treat constant size as variable if it overflows.
From-SVN: r13105
Torbjorn Granlund [Wed, 6 Nov 1996 22:56:24 +0000 (22:56 +0000)]
(parallel inc and branch-if-zero/nonzero): Add two new pattern variants.
(parallel inc and branch-if-zero/nonzero): Add two
new pattern variants. Change incrementing pattern to use incl/jnz.
From-SVN: r13104
Stan Cox [Wed, 6 Nov 1996 14:43:13 +0000 (14:43 +0000)]
(sgt,sgtu,sge,sle,bgt,blt,bge,ble): Use CC_FCOM
From-SVN: r13103
Joern Rennecke [Wed, 6 Nov 1996 03:48:54 +0000 (03:48 +0000)]
(define_split for and_shl_scratch):
Use rtx_equal_p on the operands to find out which alternative is used.
From-SVN: r13102
Joern Rennecke [Wed, 6 Nov 1996 03:48:54 +0000 (03:48 +0000)]
(gen_shl_and): Try to generate shorter constant for and.
From-SVN: r13101
Stan Cox [Tue, 5 Nov 1996 22:41:13 +0000 (22:41 +0000)]
(CC_FCOMI): Define
From-SVN: r13100
Stan Cox [Tue, 5 Nov 1996 22:41:13 +0000 (22:41 +0000)]
(override_options): Set defaults for -march and -mcpu.
From-SVN: r13099
Karl Berry [Tue, 5 Nov 1996 19:52:23 +0000 (19:52 +0000)]
(see ChangeLog for Oct 29.)
From-SVN: r13098
Karl Berry [Tue, 5 Nov 1996 19:51:16 +0000 (19:51 +0000)]
Call \normalturnoffactive for the sake of \write's that include a \.
From-SVN: r13097
Jason Merrill [Tue, 5 Nov 1996 00:15:07 +0000 (00:15 +0000)]
x
From-SVN: r13096
Michael Meissner [Mon, 4 Nov 1996 23:12:18 +0000 (23:12 +0000)]
Don't use TARGET_RELOCATABLE, not defined under AIX.
From-SVN: r13095
Michael Meissner [Mon, 4 Nov 1996 19:21:17 +0000 (19:21 +0000)]
Allow va-ppc.h to be reincluded
From-SVN: r13094
Michael Meissner [Mon, 4 Nov 1996 15:33:01 +0000 (15:33 +0000)]
Fix -fpic problems; fix typo in cygwin
From-SVN: r13093
Michael Meissner [Sun, 3 Nov 1996 21:12:07 +0000 (21:12 +0000)]
Random -fpic fixes
From-SVN: r13092
Jason Merrill [Sat, 2 Nov 1996 00:58:36 +0000 (00:58 +0000)]
x
From-SVN: r13091
Richard Kenner [Fri, 1 Nov 1996 14:49:54 +0000 (09:49 -0500)]
(make_range): Don't merge unsigned case with range containing upper bound;
instead merge just with zero and convert a range with no upper bound to
opposite one with no lower bound.
(merge_ranges): In (+,-) case, don't treat subset specially if the upper
bounds are the same; fix typo in others case here.
From-SVN: r13090
Jeff Law [Fri, 1 Nov 1996 03:10:33 +0000 (20:10 -0700)]
fold-const.c (make_range, [...]): Correct normalization of an unsigned range that wraps around zero.
* fold-const.c (make_range, case PLUS_EXPR): Correct
normalization of an unsigned range that wraps around zero.
From-SVN: r13089
Jason Merrill [Fri, 1 Nov 1996 02:07:00 +0000 (02:07 +0000)]
x
From-SVN: r13088
Richard Kenner [Thu, 31 Oct 1996 23:43:05 +0000 (18:43 -0500)]
(emit_move_sequence): Refine previous change.
From-SVN: r13087
Jim Wilson [Thu, 31 Oct 1996 19:53:37 +0000 (11:53 -0800)]
Put HAS_INIT_SECTION ifdefs around Irix6 support.
From-SVN: r13086
Jim Wilson [Thu, 31 Oct 1996 18:30:25 +0000 (10:30 -0800)]
(expand_expr, case CONSTRUCTOR): Don't use a PARALLEL
target.
From-SVN: r13085
Jim Wilson [Thu, 31 Oct 1996 18:27:30 +0000 (10:27 -0800)]
(expand_call): Disable special handling for const calls
that return a PARALLEL rtx.
From-SVN: r13084
Jim Wilson [Thu, 31 Oct 1996 18:24:42 +0000 (10:24 -0800)]
(decl_function_context): Handle QUAL_UNION_TYPE.
From-SVN: r13083
Mike Stump [Thu, 31 Oct 1996 17:08:58 +0000 (17:08 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13082
Michael Meissner [Thu, 31 Oct 1996 16:51:25 +0000 (16:51 +0000)]
Use EXTRA_MULTILIB_PARTS
From-SVN: r13081
Torbjorn Granlund [Thu, 31 Oct 1996 07:56:30 +0000 (07:56 +0000)]
(parallel inc and branch-if-zero/nonzero): Check for -1, not zero.
From-SVN: r13080
Richard Kenner [Wed, 30 Oct 1996 21:16:41 +0000 (16:16 -0500)]
(range_binop): Strip NOPs from result and verify it's an INTEGER_CST.
(make_range, case BIT_NOT_EXPR): Fix typo in constant for PLUS_EXPR.
From-SVN: r13079
Richard Kenner [Wed, 30 Oct 1996 20:53:58 +0000 (15:53 -0500)]
(layout_record): Use HOST_WIDE_INT for size.
From-SVN: r13078
Richard Kenner [Wed, 30 Oct 1996 20:50:38 +0000 (15:50 -0500)]
(expand_asm_operands): Disallow matching constraints on output and
validate the numbers on inputs.
From-SVN: r13077
Michael Meissner [Tue, 29 Oct 1996 21:32:16 +0000 (21:32 +0000)]
Formerly NEWS.~2~
From-SVN: r13076
Michael Meissner [Tue, 29 Oct 1996 21:21:57 +0000 (21:21 +0000)]
Add -specs support
From-SVN: r13075
Jason Merrill [Tue, 29 Oct 1996 20:49:42 +0000 (20:49 +0000)]
multilib
From-SVN: r13074
Ian Lance Taylor [Tue, 29 Oct 1996 05:54:16 +0000 (05:54 +0000)]
Add cases for SIGN_EXTEND and ZERO_EXTEND to RTX_COSTS
From-SVN: r13073
Richard Stallman [Tue, 29 Oct 1996 02:56:12 +0000 (02:56 +0000)]
Recognize hppa-next as a valid CPU-COMPANY combination.
From-SVN: r13062
Mike Stump [Tue, 29 Oct 1996 01:25:27 +0000 (01:25 +0000)]
Updates from Bob.
From-SVN: r13061
Joern Rennecke [Tue, 29 Oct 1996 01:08:53 +0000 (01:08 +0000)]
(shl_sext_ext): Don't accept simple left/right shift variant.
From-SVN: r13060
Joern Rennecke [Tue, 29 Oct 1996 01:08:53 +0000 (01:08 +0000)]
(EXT_SHIFT_SIGNED): New macro.
(shl_sext_kind, gen_shl_sext): try left shift - sign extend -
left shift - arithmetic right shift in case 2.
From-SVN: r13059
Ian Lance Taylor [Tue, 29 Oct 1996 00:01:53 +0000 (00:01 +0000)]
Add some optimizations for TRUNCATE and ZERO_EXTEND
From-SVN: r13058
Ian Lance Taylor [Tue, 29 Oct 1996 00:00:53 +0000 (00:00 +0000)]
Add a missing use of IMM
From-SVN: r13057
Richard Kenner [Mon, 28 Oct 1996 22:22:21 +0000 (17:22 -0500)]
(emit_move_sequence): If reload in progress, replace reference to
pseudo with reference to corresponding MEM.
From-SVN: r13056
Richard Kenner [Mon, 28 Oct 1996 22:17:00 +0000 (17:17 -0500)]
(signed_or_unsigned_type): If already right signedness, return.
From-SVN: r13055
Jim Wilson [Mon, 28 Oct 1996 19:54:53 +0000 (11:54 -0800)]
Initial revision
From-SVN: r13054
Richard Kenner [Mon, 28 Oct 1996 19:11:15 +0000 (14:11 -0500)]
(make_decl_rtl,assemble_variable): Allow named sections for
uninitialized variables.
From-SVN: r13053
Richard Kenner [Mon, 28 Oct 1996 19:07:47 +0000 (14:07 -0500)]
(delete_output_reload): Don't use delete_insn when deleting all stores
into a replaced pseudo.
From-SVN: r13052
Richard Kenner [Mon, 28 Oct 1996 18:08:38 +0000 (13:08 -0500)]
({un,}signed_type): If can't do anything, call
signed_or_unsigned_type.
From-SVN: r13051
Richard Kenner [Mon, 28 Oct 1996 18:05:22 +0000 (13:05 -0500)]
Add specification for -Jx types.
From-SVN: r13050
Richard Kenner [Mon, 28 Oct 1996 18:05:00 +0000 (13:05 -0500)]
Include multilib support for Jx types.
From-SVN: r13049
Michael Meissner [Mon, 28 Oct 1996 15:17:18 +0000 (15:17 +0000)]
Work with latest changes to Makefile; -fpic does not need a TOC area
From-SVN: r13048
Joern Rennecke [Mon, 28 Oct 1996 14:06:28 +0000 (14:06 +0000)]
(SECONDARY_INPUT_RELOAD_CLASS): Define.
From-SVN: r13047
Joern Rennecke [Mon, 28 Oct 1996 14:06:28 +0000 (14:06 +0000)]
(movsf_ieq, movsf_ie): Merged the former into the latter.
Changed matching define_split appropriately.
(movsf): Changed appropriately.
(reload_insf) Define.
From-SVN: r13046
Joern Rennecke [Mon, 28 Oct 1996 13:37:55 +0000 (13:37 +0000)]
(ASM_OUTPUT_BYTE): adjust definition to actual type of VALUE,
which is HOST_WIDE_INT.
From-SVN: r13045
Richard Kenner [Mon, 28 Oct 1996 12:36:05 +0000 (07:36 -0500)]
Make sure file is processed if some of the known __need_* macros is
defined.
From-SVN: r13044
Richard Kenner [Mon, 28 Oct 1996 02:37:55 +0000 (21:37 -0500)]
(output_function_prologue): Adjust SP then use movmel with plain address indirect mode for TARGET_5200.
(output_function_prologue): Adjust SP then use movmel with
plain address indirect mode for TARGET_5200.
(output_function_epilogue): Disable moveml and use several movel's
instead for TARGET_5200.
(output_function_{pro,epi}logue): Use lea instruction to adjust
stack pointer for short displacements for TARGET_5200.
From-SVN: r13043
Jeff Law [Sun, 27 Oct 1996 22:17:12 +0000 (15:17 -0700)]
* fold-const.c (merge_ranges): Fix thinko/typo.
From-SVN: r13042
Ian Lance Taylor [Sun, 27 Oct 1996 02:08:23 +0000 (02:08 +0000)]
Zero extend when generating a CONST_DOUBLE in convert_modes
From-SVN: r13041
Richard Kenner [Sat, 26 Oct 1996 21:12:51 +0000 (17:12 -0400)]
(allocate_dynamic_stack_space): Delete reference to nonexistant macro
ALLOCATE_OUTGOING_ARGS.
From-SVN: r13040
Richard Kenner [Sat, 26 Oct 1996 19:24:53 +0000 (15:24 -0400)]
(XCFLAGS): Disable native assembler's jump optimization for expr.o and
cp/decl.o.
From-SVN: r13039
Richard Kenner [Sat, 26 Oct 1996 18:11:07 +0000 (14:11 -0400)]
(jump_optimize): Fix second error in last change.
From-SVN: r13038
Richard Kenner [Sat, 26 Oct 1996 18:04:06 +0000 (14:04 -0400)]
(output_function_prologue): Add REGISTER_PREFIX to stack probe
instruction.
From-SVN: r13037
Richard Kenner [Sat, 26 Oct 1996 17:59:02 +0000 (13:59 -0400)]
(CPP_PREDEFINES): Add -D_NEXT_SOURCE.
From-SVN: r13036
Richard Kenner [Sat, 26 Oct 1996 16:20:31 +0000 (12:20 -0400)]
Define TARGET_CPU values for v8 and supersparc.
From-SVN: r13035
Richard Kenner [Sat, 26 Oct 1996 16:20:06 +0000 (12:20 -0400)]
(cpu_default): Add entries for v8 and supersparc.
From-SVN: r13034
Richard Kenner [Sat, 26 Oct 1996 15:37:57 +0000 (11:37 -0400)]
(dump_file): Call fclose() for opened files.
From-SVN: r13033
Richard Kenner [Sat, 26 Oct 1996 15:29:26 +0000 (11:29 -0400)]
Fix typo which makes comment text be non-comment.
From-SVN: r13032
Michael Meissner [Fri, 25 Oct 1996 20:21:38 +0000 (20:21 +0000)]
Fix build problems on cygwin/winnt
From-SVN: r13031
Jim Wilson [Thu, 24 Oct 1996 19:08:23 +0000 (12:08 -0700)]
(make_range, case PLUS_EXPR): Normalize an unsigned
range that wraps around 0.
From-SVN: r13030
Ian Lance Taylor [Thu, 24 Oct 1996 18:39:43 +0000 (18:39 +0000)]
Permit sign extend operands
From-SVN: r13029
Ian Lance Taylor [Thu, 24 Oct 1996 18:38:30 +0000 (18:38 +0000)]
Permit sign_extend operands
From-SVN: r13028
Richard Kenner [Thu, 24 Oct 1996 13:10:37 +0000 (09:10 -0400)]
(make_range, comparison cases): When making range for unsigned to
merge in, use full range.
From-SVN: r13027
Richard Kenner [Thu, 24 Oct 1996 11:41:09 +0000 (07:41 -0400)]
(GET_MODE_ALIGNMENT): Delete definition; duplicate.
From-SVN: r13026
Richard Kenner [Thu, 24 Oct 1996 11:28:42 +0000 (07:28 -0400)]
(emit_reload_insns): Check for second_reloadreg in
SECONDARY_OUTPUT_RELOAD_CLASS / PRESERVE_DEATH_INFO_REGNO_P case.
From-SVN: r13025
Richard Kenner [Thu, 24 Oct 1996 11:26:23 +0000 (07:26 -0400)]
Fix typo in comment.
From-SVN: r13024
Mike Stump [Thu, 24 Oct 1996 01:23:43 +0000 (01:23 +0000)]
crtstuff.c (__do_global_dtors_aux): Allow finalization code to be run more than once.
* crtstuff.c (__do_global_dtors_aux): Allow finalization code to
be run more than once.
* libgcc2.c (__do_global_dtors): Ditto.
From-SVN: r13023
Joern Rennecke [Thu, 24 Oct 1996 00:40:58 +0000 (01:40 +0100)]
sh.md (movdf_k, [...]): new alternative for pc-relative load.
* sh.md (movdf_k, movsf_i, movsf_ie): new alternative for
pc-relative load.
(movsf_ieq): new define_insn with matching define_split.
(movsf): use it where appropriate.
(consttable_sf, consttable_df): new define_insns.
From-SVN: r13022
Joern Rennecke [Thu, 24 Oct 1996 00:40:58 +0000 (01:40 +0100)]
sh.c (dump_table): handle SFmode and DFmode.
* sh.c (dump_table): handle SFmode and DFmode.
(broken_move): handle simple PARALLEL.
(machine_dependent_reorg, pc-relative move generation): Likewise.
From-SVN: r13021
Joern Rennecke [Thu, 24 Oct 1996 00:40:58 +0000 (01:40 +0100)]
sh.h (CONST_DOUBLE_OK_FOR_LETTER_P): always true for 'F' .
* sh.h (CONST_DOUBLE_OK_FOR_LETTER_P): always true for 'F' .
(LEGITIMATE_CONSTANT_P): accept SFmode and DFmode.
From-SVN: r13020
Jim Wilson [Wed, 23 Oct 1996 22:53:47 +0000 (15:53 -0700)]
(a29k_makes_calls): New global variable.
(compute_regstack_size, a29k_compute_reg_names): New functions.
(output_prolog): Much code moved to two new functions. Use
a29k_makes_calls instead of makes_calls.
From-SVN: r13019
Jim Wilson [Wed, 23 Oct 1996 22:52:39 +0000 (15:52 -0700)]
(ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
From-SVN: r13018
Ian Lance Taylor [Wed, 23 Oct 1996 22:02:32 +0000 (22:02 +0000)]
Accept a unary operator in constrain_operands
From-SVN: r13017
Ian Lance Taylor [Wed, 23 Oct 1996 22:01:23 +0000 (22:01 +0000)]
Accept a unary operator in find_reloads
From-SVN: r13016
Richard Kenner [Wed, 23 Oct 1996 21:48:29 +0000 (17:48 -0400)]
(MAKE_DECL_ONE_ONLY): Fix typo in use of macro parameter.
From-SVN: r13015
Richard Kenner [Wed, 23 Oct 1996 21:46:10 +0000 (17:46 -0400)]
(yylex): Cast string literal to U_CHAR* for lookup() call.
From-SVN: r13014
Richard Kenner [Wed, 23 Oct 1996 21:36:37 +0000 (17:36 -0400)]
(choose_temp_base): On VMS, use proper syntax for current directory.
From-SVN: r13013
Richard Kenner [Wed, 23 Oct 1996 21:20:31 +0000 (17:20 -0400)]
(combine_givs): When combining a DEST_REG giv with its only use,
always set the benefit of the combined giv to that of the DEST_REG giv.
From-SVN: r13012
Richard Kenner [Wed, 23 Oct 1996 21:15:58 +0000 (17:15 -0400)]
(gen_lowpart_common): When converting a floating point value into an
integer, use WORD as (first) word.
From-SVN: r13011
Jim Wilson [Wed, 23 Oct 1996 20:27:44 +0000 (13:27 -0700)]
(expand_call): In target code, move PARALLEL case above
target != case.
From-SVN: r13010
Jason Merrill [Wed, 23 Oct 1996 18:49:54 +0000 (18:49 +0000)]
return
From-SVN: r13009
Ian Lance Taylor [Wed, 23 Oct 1996 18:16:59 +0000 (18:16 +0000)]
Don't use shifts for extendsidi2
From-SVN: r13008
Jim Wilson [Wed, 23 Oct 1996 18:07:15 +0000 (11:07 -0700)]
(block_move_load_store, block_move_sequence): Delete.
(block_move_loop): New parameter orig_dest. Call change_address to
create new MEM instead of gen_rtx.
(expand_block_move): New local orig_dest. Pass it to block_move_loop.
Call change_address to create new MEM instead of gen_rtx.
From-SVN: r13007
Richard Kenner [Wed, 23 Oct 1996 14:48:36 +0000 (10:48 -0400)]
(can_combine_p): When SMALL_REGISTER_CLASSES is defined, avoid
substituting a return register into I3.
From-SVN: r13006
Richard Kenner [Wed, 23 Oct 1996 14:30:26 +0000 (10:30 -0400)]
(emit_libcall_block): Before adding an REG_EQUAL note, check that it will really apply to a single instruction.
(emit_libcall_block): Before adding an REG_EQUAL note, check that it will
really apply to a single instruction.
(expand_binop, expand_fix): Likewise.
From-SVN: r13005
Richard Kenner [Wed, 23 Oct 1996 14:20:45 +0000 (10:20 -0400)]
(exact_real_inverse): Likewise, if no REAL_ARITHMETIC.
(fold, case RDIV_EXPR): Turn divide by constant into multiplication by the
reciprocal, if optimizing and result is exact.
From-SVN: r13004
Richard Kenner [Wed, 23 Oct 1996 14:20:24 +0000 (10:20 -0400)]
(exact_real_inverse): Declare.
From-SVN: r13003
Richard Kenner [Wed, 23 Oct 1996 14:20:10 +0000 (10:20 -0400)]
(exact_real_inverse): New function, if REAL_ARITHMETIC.
From-SVN: r13002
Torbjorn Granlund [Wed, 23 Oct 1996 04:15:02 +0000 (04:15 +0000)]
(emit_store_flag_force): Declare.
From-SVN: r13001
Ian Lance Taylor [Wed, 23 Oct 1996 02:45:07 +0000 (02:45 +0000)]
Fix minor bugs in float_to_usi and dp_to_sf
From-SVN: r13000