Commit Graph

12644 Commits

Author SHA1 Message Date
Michael Meissner
64d732de57 Work with latest changes to Makefile; -fpic does not need a TOC area
From-SVN: r13048
1996-10-28 15:17:18 +00:00
Joern Rennecke
0f68f06bf4 (SECONDARY_INPUT_RELOAD_CLASS): Define.
From-SVN: r13047
1996-10-28 14:06:28 +00:00
Joern Rennecke
7f74cc8d20 (movsf_ieq, movsf_ie): Merged the former into the latter.
Changed matching define_split appropriately.
(movsf): Changed appropriately.
(reload_insf) Define.

From-SVN: r13046
1996-10-28 14:06:28 +00:00
Joern Rennecke
b2fba9b733 (ASM_OUTPUT_BYTE): adjust definition to actual type of VALUE,
which is HOST_WIDE_INT.

From-SVN: r13045
1996-10-28 13:37:55 +00:00
Richard Kenner
57bc5ea0bc Make sure file is processed if some of the known __need_* macros is
defined.

From-SVN: r13044
1996-10-28 07:36:05 -05:00
Richard Kenner
afaff47784 (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
1996-10-27 21:37:55 -05:00
Jeff Law
5df8a1f298 * fold-const.c (merge_ranges): Fix thinko/typo.
From-SVN: r13042
1996-10-27 15:17:12 -07:00
Ian Lance Taylor
96ff8a163e Zero extend when generating a CONST_DOUBLE in convert_modes
From-SVN: r13041
1996-10-27 02:08:23 +00:00
Richard Kenner
8d998e52a0 (allocate_dynamic_stack_space): Delete reference to nonexistant macro
ALLOCATE_OUTGOING_ARGS.

From-SVN: r13040
1996-10-26 17:12:51 -04:00
Richard Kenner
7496c2b563 (XCFLAGS): Disable native assembler's jump optimization for expr.o and
cp/decl.o.

From-SVN: r13039
1996-10-26 15:24:53 -04:00
Richard Kenner
7a7233ff42 (jump_optimize): Fix second error in last change.
From-SVN: r13038
1996-10-26 14:11:07 -04:00
Richard Kenner
81bd5278e5 (output_function_prologue): Add REGISTER_PREFIX to stack probe
instruction.

From-SVN: r13037
1996-10-26 14:04:06 -04:00
Richard Kenner
984f29eab2 (CPP_PREDEFINES): Add -D_NEXT_SOURCE.
From-SVN: r13036
1996-10-26 13:59:02 -04:00
Richard Kenner
2163f11be5 Define TARGET_CPU values for v8 and supersparc.
From-SVN: r13035
1996-10-26 12:20:31 -04:00
Richard Kenner
ba542005ef (cpu_default): Add entries for v8 and supersparc.
From-SVN: r13034
1996-10-26 12:20:06 -04:00
Richard Kenner
1c84128d89 (dump_file): Call fclose() for opened files.
From-SVN: r13033
1996-10-26 11:37:57 -04:00
Richard Kenner
be97d4755e Fix typo which makes comment text be non-comment.
From-SVN: r13032
1996-10-26 11:29:26 -04:00
Michael Meissner
60ec8536ae Fix build problems on cygwin/winnt
From-SVN: r13031
1996-10-25 20:21:38 +00:00
Jim Wilson
5a9d82a6df (make_range, case PLUS_EXPR): Normalize an unsigned
range that wraps around 0.

From-SVN: r13030
1996-10-24 12:08:23 -07:00
Ian Lance Taylor
1908a15280 Permit sign extend operands
From-SVN: r13029
1996-10-24 18:39:43 +00:00
Ian Lance Taylor
2a0b0bf589 Permit sign_extend operands
From-SVN: r13028
1996-10-24 18:38:30 +00:00
Richard Kenner
7f423031c0 (make_range, comparison cases): When making range for unsigned to
merge in, use full range.

From-SVN: r13027
1996-10-24 09:10:37 -04:00
Richard Kenner
70e7fabe9e (GET_MODE_ALIGNMENT): Delete definition; duplicate.
From-SVN: r13026
1996-10-24 07:41:09 -04:00
Richard Kenner
32051ff51c (emit_reload_insns): Check for second_reloadreg in
SECONDARY_OUTPUT_RELOAD_CLASS / PRESERVE_DEATH_INFO_REGNO_P case.

From-SVN: r13025
1996-10-24 07:28:42 -04:00
Richard Kenner
607ea90015 Fix typo in comment.
From-SVN: r13024
1996-10-24 07:26:23 -04:00
Mike Stump
b40b9d932c 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
1996-10-24 01:23:43 +00:00
Joern Rennecke
3e943b5984 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
1996-10-24 01:40:58 +01:00
Joern Rennecke
e577c183dd 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
1996-10-24 01:40:58 +01:00
Joern Rennecke
b1bbe7328c 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
1996-10-24 01:40:58 +01:00
Jim Wilson
f8d9772e2f (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
1996-10-23 15:53:47 -07:00
Jim Wilson
469c300bac (ASM_DECLARE_FUNCTION_NAME): Call a29k_compute_reg_names.
From-SVN: r13018
1996-10-23 15:52:39 -07:00
Ian Lance Taylor
b85f21c09b Accept a unary operator in constrain_operands
From-SVN: r13017
1996-10-23 22:02:32 +00:00
Ian Lance Taylor
ff428c90a4 Accept a unary operator in find_reloads
From-SVN: r13016
1996-10-23 22:01:23 +00:00
Richard Kenner
1e1eb6c543 (MAKE_DECL_ONE_ONLY): Fix typo in use of macro parameter.
From-SVN: r13015
1996-10-23 17:48:29 -04:00
Richard Kenner
fe81e4c4df (yylex): Cast string literal to U_CHAR* for lookup() call.
From-SVN: r13014
1996-10-23 17:46:10 -04:00
Richard Kenner
e1c84e1d7a (choose_temp_base): On VMS, use proper syntax for current directory.
From-SVN: r13013
1996-10-23 17:36:37 -04:00
Richard Kenner
0eb7ad36a1 (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
1996-10-23 17:20:31 -04:00
Richard Kenner
a80586cc2a (gen_lowpart_common): When converting a floating point value into an
integer, use WORD as (first) word.

From-SVN: r13011
1996-10-23 17:15:58 -04:00
Jim Wilson
059c3d849e (expand_call): In target code, move PARALLEL case above
target != case.

From-SVN: r13010
1996-10-23 13:27:44 -07:00
Jason Merrill
dd98f85c9a return
From-SVN: r13009
1996-10-23 18:49:54 +00:00
Ian Lance Taylor
bbae0daaaa Don't use shifts for extendsidi2
From-SVN: r13008
1996-10-23 18:16:59 +00:00
Jim Wilson
7cabe29ab9 (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
1996-10-23 11:07:15 -07:00
Richard Kenner
ecd4080946 (can_combine_p): When SMALL_REGISTER_CLASSES is defined, avoid
substituting a return register into I3.

From-SVN: r13006
1996-10-23 10:48:36 -04:00
Richard Kenner
02214a5c14 (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
1996-10-23 10:30:26 -04:00
Richard Kenner
39647dcba5 (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
1996-10-23 10:20:45 -04:00
Richard Kenner
ebc8186bf6 (exact_real_inverse): Declare.
From-SVN: r13003
1996-10-23 10:20:24 -04:00
Richard Kenner
cccc8091bc (exact_real_inverse): New function, if REAL_ARITHMETIC.
From-SVN: r13002
1996-10-23 10:20:10 -04:00
Torbjorn Granlund
c0eccde6cf (emit_store_flag_force): Declare.
From-SVN: r13001
1996-10-23 04:15:02 +00:00
Ian Lance Taylor
34d6007ae0 Fix minor bugs in float_to_usi and dp_to_sf
From-SVN: r13000
1996-10-23 02:45:07 +00:00
Jim Wilson
d1b9c52c2f (unroll_loop): Always reject loops with unbalanced blocks.
From-SVN: r12999
1996-10-22 15:31:18 -07:00