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
Jim Wilson [Tue, 22 Oct 1996 22:31:18 +0000 (15:31 -0700)]
(unroll_loop): Always reject loops with unbalanced blocks.
From-SVN: r12999
Ian Lance Taylor [Tue, 22 Oct 1996 22:30:50 +0000 (22:30 +0000)]
Fix MIPS EABI when using -mips1 or -msoft-float
From-SVN: r12998
Ian Lance Taylor [Tue, 22 Oct 1996 22:29:33 +0000 (22:29 +0000)]
Fix SETUP_INCOMING_VARARGS for TARGET_SINGLE_FLOAT || ! TARGET_FLOAT64
From-SVN: r12997
Ian Lance Taylor [Tue, 22 Oct 1996 22:28:41 +0000 (22:28 +0000)]
Fix mips_function_value for TARGET_SINGLE_FLOAT.
From-SVN: r12996
Michael Meissner [Tue, 22 Oct 1996 13:46:07 +0000 (13:46 +0000)]
Support libraries like x86 cygwin does
From-SVN: r12995
Jason Merrill [Tue, 22 Oct 1996 09:11:55 +0000 (09:11 +0000)]
.
From-SVN: r12994
Torbjorn Granlund [Tue, 22 Oct 1996 00:26:25 +0000 (00:26 +0000)]
(do_store_flag): Don't check if target is 0 in code
emitting store flag as compare-branch.
From-SVN: r12993
Richard Kenner [Mon, 21 Oct 1996 23:11:08 +0000 (19:11 -0400)]
(store_expr): Disable optimization of using convert if exp's type is a
subtype.
From-SVN: r12992
Jim Wilson [Mon, 21 Oct 1996 22:43:33 +0000 (15:43 -0700)]
(loop_comparison_code): New static variable.
(unroll_loop): Add check for loop_comparison_code
(loop_iterations): Set loop_comparison_code.
From-SVN: r12991
Jim Wilson [Mon, 21 Oct 1996 22:28:24 +0000 (15:28 -0700)]
(gen_shl_sext): Add missing parameter to shl_sext_kind call.
From-SVN: r12990
Jim Wilson [Mon, 21 Oct 1996 22:23:51 +0000 (15:23 -0700)]
(INITIAL_FRAME_POINTER_OFFSET): Delete.
From-SVN: r12989
Torbjorn Granlund [Mon, 21 Oct 1996 22:20:06 +0000 (22:20 +0000)]
(expand_binop): Use new function emit_store_flag_force.
From-SVN: r12988
Torbjorn Granlund [Mon, 21 Oct 1996 22:18:56 +0000 (22:18 +0000)]
(emit_store_flag_force): New function.
From-SVN: r12987
Ian Lance Taylor [Mon, 21 Oct 1996 22:02:15 +0000 (22:02 +0000)]
Correct MASK_64BIT to TARGET_64BIT
From-SVN: r12986
Jim Wilson [Mon, 21 Oct 1996 17:58:18 +0000 (10:58 -0700)]
(strength_reduce): Add check for ! bl->reversed to
auto_inc_opt code.
From-SVN: r12985
Doug Evans [Mon, 21 Oct 1996 16:27:41 +0000 (16:27 +0000)]
jump.c (jump_optimize): fix bug in last change.
From-SVN: r12984
Richard Kenner [Mon, 21 Oct 1996 11:59:10 +0000 (07:59 -0400)]
(build_array_ref): If -Wchar-subscripts, also warn in case when
pointer is being indexed.
From-SVN: r12983
Richard Kenner [Mon, 21 Oct 1996 11:39:13 +0000 (07:39 -0400)]
(jump_optimize): Use emit_store_flag even if branches are cheap, if
the store is even cheaper.
From-SVN: r12982
Brendan Kehoe [Mon, 21 Oct 1996 11:27:51 +0000 (07:27 -0400)]
Formerly extend.texi.~110~
From-SVN: r12981
Richard Kenner [Mon, 21 Oct 1996 00:53:14 +0000 (20:53 -0400)]
(reload_reg_free_p, reloads_conflict): RELOAD_OTHER and
RELOAD_FOR_OTHER_ADDRESS conflict.
From-SVN: r12980
Richard Kenner [Mon, 21 Oct 1996 00:01:02 +0000 (20:01 -0400)]
(ffs[sh]i2): Add missing CC_STATUS_INIT.
From-SVN: r12979
Mike Stump [Fri, 18 Oct 1996 18:33:44 +0000 (18:33 +0000)]
89th Cygnus<->FSF quick merge
From-SVN: r12978
Michael Meissner [Fri, 18 Oct 1996 17:35:40 +0000 (17:35 +0000)]
Fix float conversions if sign extension in offset would occur
From-SVN: r12977
Jason Merrill [Fri, 18 Oct 1996 06:23:23 +0000 (06:23 +0000)]
tweak
From-SVN: r12976
Ian Lance Taylor [Thu, 17 Oct 1996 18:45:59 +0000 (18:45 +0000)]
Set TARGET_LONG64 for the EABI
From-SVN: r12975
Doug Evans [Thu, 17 Oct 1996 15:33:52 +0000 (15:33 +0000)]
expr.c (do_jump): Conditionalize cleanups for the COND_EXPR case...
* expr.c (do_jump): Conditionalize cleanups for the COND_EXPR case,
similarly to the way TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR are
handled.
From-SVN: r12974
Jim Wilson [Thu, 17 Oct 1996 05:19:54 +0000 (22:19 -0700)]
(MASK_68040_ALSO): New macro.
(TARGET_SWITCHES): Option -m68020-40 includes MASK_68040_ALSO.
From-SVN: r12973
Jason Merrill [Wed, 16 Oct 1996 21:45:08 +0000 (21:45 +0000)]
scoping
From-SVN: r12972
Jason Merrill [Wed, 16 Oct 1996 20:25:25 +0000 (20:25 +0000)]
irix6 ctors
From-SVN: r12971