Commit Graph

12656 Commits

Author SHA1 Message Date
Joern Rennecke
3c377a2a6a (shl_sext_ext): Don't accept simple left/right shift variant.
From-SVN: r13060
1996-10-29 01:08:53 +00:00
Joern Rennecke
ae9d19c0e1 (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
1996-10-29 01:08:53 +00:00
Ian Lance Taylor
0f13a42202 Add some optimizations for TRUNCATE and ZERO_EXTEND
From-SVN: r13058
1996-10-29 00:01:53 +00:00
Ian Lance Taylor
8cc2ddb666 Add a missing use of IMM
From-SVN: r13057
1996-10-29 00:00:53 +00:00
Richard Kenner
8a642d97fd (emit_move_sequence): If reload in progress, replace reference to
pseudo with reference to corresponding MEM.

From-SVN: r13056
1996-10-28 17:22:21 -05:00
Richard Kenner
3c9675679a (signed_or_unsigned_type): If already right signedness, return.
From-SVN: r13055
1996-10-28 17:17:00 -05:00
Jim Wilson
ef9d910bb4 Initial revision
From-SVN: r13054
1996-10-28 11:54:53 -08:00
Richard Kenner
0bcc6fc755 (make_decl_rtl,assemble_variable): Allow named sections for
uninitialized variables.

From-SVN: r13053
1996-10-28 14:11:15 -05:00
Richard Kenner
5507b94b23 (delete_output_reload): Don't use delete_insn when deleting all stores
into a replaced pseudo.

From-SVN: r13052
1996-10-28 14:07:47 -05:00
Richard Kenner
f63f07520b ({un,}signed_type): If can't do anything, call
signed_or_unsigned_type.

From-SVN: r13051
1996-10-28 13:08:38 -05:00
Richard Kenner
555d459c79 Add specification for -Jx types.
From-SVN: r13050
1996-10-28 13:05:22 -05:00
Richard Kenner
023ea387ab Include multilib support for Jx types.
From-SVN: r13049
1996-10-28 13:05:00 -05:00
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