Commit Graph

7311 Commits

Author SHA1 Message Date
Richard Kenner
b89a6f69c3 (__umoddi3): Correct type of variable `w'.
From-SVN: r7324
1994-05-17 18:56:16 -04:00
Richard Kenner
246e00f2ff (simplify_set): Move call to make_field_assignment to end; if SRC or DEST is a (clobber (const_int 0)), return it.
(simplify_set): Move call to make_field_assignment to end; if SRC or DEST is
a (clobber (const_int 0)), return it.
(force_to_mode): If X is a CALL, just return it.

From-SVN: r7323
1994-05-17 18:51:25 -04:00
Richard Kenner
c0d3ac4db6 (simplify_set): Use rtx_equal_p to compare cc_use and its setter.
(make_extraction): Don't put a subreg around a register if it is already in
the correct mode.

From-SVN: r7322
1994-05-17 18:12:05 -04:00
Richard Kenner
10670d47c6 Don't use the extsd/extd instructions on the ns32532.
From-SVN: r7321
1994-05-17 18:06:24 -04:00
Richard Kenner
6baa89b548 (CFLAGS): Separate include file handling; for stage 1, CFLAGS1 is
appended to CFLAGS, otherwise CFLAGS2.

From-SVN: r7320
1994-05-17 17:44:33 -04:00
Richard Kenner
9d926da563 (find_reloads): Properly account for cost when constant is forced to
memory to ensure same alternative chosen later.

From-SVN: r7319
1994-05-17 15:51:48 -04:00
Richard Kenner
a533969946 (compare_spill_regs): New function.
(reload_as_needed): Sort the spilled regs.
(allocate_reload_reg): If we have group needs and failure would be fatal, do
not try to do round-robin allocation of the spill regs.

From-SVN: r7318
1994-05-17 11:30:03 -04:00
Richard Kenner
58e09803ed (zero_extendqidi2): Fix omission of TARGET_POWERPC64 test in previous
change.

From-SVN: r7317
1994-05-16 18:57:55 -04:00
Richard Stallman
adc3b521ec (enumlist): Add error alternative.
From-SVN: r7316
1994-05-16 22:38:23 +00:00
Per Bothner
71b54b5302 (dbxout_type): Write non-default precision of of ENUMERAL_TYPEs.
From-SVN: r7315
1994-05-16 15:23:11 -07:00
Richard Kenner
bc29e2ad03 (split_double): Fix arg of REAL_VALUE_TO_TARGET_DOUBLE.
From-SVN: r7314
1994-05-16 17:52:21 -04:00
Richard Kenner
60e6116515 (ereal_from_int, ereal_to_int, etarsingle): Correct signed/unsigned discrepancies.
(ereal_from_int, ereal_to_int, etarsingle):  Correct signed/unsigned
discrepancies.
(ereal_from_double): Avoid "right shift count too big" warning in previous
change.

From-SVN: r7313
1994-05-16 17:51:44 -04:00
Richard Kenner
04ae9e4ccd (ereal_from_float, .._double): Change arg from long to HOST_WIDE_INT
and unpack the HOST_WIDE_INTs.

From-SVN: r7312
1994-05-16 17:44:34 -04:00
Richard Kenner
403cd5d7f8 (REAL_VALUE_FROM_TARGET_SINGLE, .._DOUBLE): Change arg from long to
HOST_WIDE_INT.

From-SVN: r7311
1994-05-16 17:43:38 -04:00
Richard Kenner
8e1e69c865 (rs6000_convert_preincs): Delete.
From-SVN: r7310
1994-05-16 16:27:09 -04:00
Richard Kenner
4255474beb (FINAL_PRESCAN_INSN): Delete.
From-SVN: r7309
1994-05-16 16:26:46 -04:00
Richard Kenner
89861c3867 (try_pre_increment_1): Don't try to create a pre-increment expression
if the register dies in the succeeding insn.

From-SVN: r7308
1994-05-16 16:21:39 -04:00
Richard Kenner
4ac0968744 Use #ifdef TARGET_EDOM, not #if.
From-SVN: r7307
1994-05-16 16:18:54 -04:00
Richard Kenner
930b4e398e (convert_move): When {zero,sign}_extending, allow a wider intermediate
than to_mode if truncation is a no-op.

From-SVN: r7306
1994-05-16 16:16:12 -04:00
Richard Kenner
9c4dcbc7d3 (initializer_constant_valid_p): Rework to use precision, not size.
Allow conversions from integer to pointer if int is wide enough.

From-SVN: r7305
1994-05-16 15:48:07 -04:00
Doug Evans
c96ea4a5f4 (REGISTER_PREFIX_MD): Delete.
From-SVN: r7304
1994-05-16 15:48:37 +00:00
Richard Kenner
59116212bf (finish_enum): Handle VALUES being an ERROR_MARK.
From-SVN: r7303
1994-05-16 08:25:28 -04:00
Richard Kenner
005a35b93f Replace bogus "andil" opcode with rlinm.
From-SVN: r7302
1994-05-16 08:11:30 -04:00
Doug Evans
56b5e76bfb (stupid_life_analysis): Make sure a function result reg
is still live if it contains an argument.

From-SVN: r7301
1994-05-15 01:25:47 +00:00
Doug Evans
4d367579cc (find_cross_jump): Two CALL_INSNs only compare equal if
their CALL_INSN_FUNCTION_USAGEs are the same as well.

From-SVN: r7300
1994-05-15 01:24:39 +00:00
Doug Evans
5384893b18 (GO_IF_HARD_REG_EQUAL): Fix typo.
From-SVN: r7299
1994-05-15 01:23:12 +00:00
Doug Evans
44a965f646 (mark_referenced_resources, case CALL_INSN): Fix indentation.
From-SVN: r7298
1994-05-15 01:21:08 +00:00
Doug Evans
91cae90df6 (mark_referenced_resources): Fix typo.
From-SVN: r7297
1994-05-14 02:17:22 +00:00
Jason Merrill
f6bad6ff73 (integrate_decl_tree): Use copy_node to make a copy of the decl.
(integrate_decl_tree): Use copy_node to make a copy
        of the decl.  Also call copy_lang_decl to copy the
        language-specific bits.

From-SVN: r7296
1994-05-14 01:56:51 +00:00
Jason Merrill
78b099bdf3 Declare copy_lang_decl.
From-SVN: r7295
1994-05-14 01:56:51 +00:00
Jason Merrill
37105bebb4 (copy_lang_decl): No-op function that will never
actually be called.

From-SVN: r7294
1994-05-14 01:56:51 +00:00
Jason Merrill
fb48b1f0d3 (truthvalue_conversion): If expr is a BIT_AND_EXPR
where one of the operands is integer_onep, just return expr.

From-SVN: r7293
1994-05-13 20:30:24 +00:00
Richard Kenner
6cdbaec41b (cse_insn): Correctly check for two modes being the same number of
words.

From-SVN: r7292
1994-05-13 15:12:01 -04:00
Mike Stump
95da80ce80 Initial revision
From-SVN: r7291
1994-05-13 02:57:30 +00:00
Mike Stump
a4443a0855 37th Cygnus<->FSF merge
From-SVN: r7290
1994-05-13 02:46:07 +00:00
Mike Stump
5dab5552a1 calls.c (expand_call): Only destroy temporaries at the end of function calls, if flag_short_temps is set.
* calls.c (expand_call): Only destroy temporaries at the end
        of function calls, if flag_short_temps is set.
        * expr.c (safe_from_p, expand_expr): Handle CLEANUP_POINT_EXPRs.
        * expr.c (expand_expr): Improve handling of temporaries inside
        COND_EXPRs, cures call to sorry.
        * expr.c (defer_cleanups_to): New routine to handle the deferral
        of cleanups.
        * flags.h (flag_short_temps): New flag, to allow better control
        over the lifetime of temporaries.
        * toplev.c (flag_short_temps, lang_options): Ditto.
        * tree.def (CLEANUP_POINT_EXPR): Add, to allow better control over
        the lifetime of temporaries.

From-SVN: r7289
1994-05-13 00:19:57 +00:00
Richard Kenner
51b8fc2c69 (function units): Numerous cycle count change.
(zero_extendqidi2, extendqidi2, zero_extendhidi2): New patterns.
(extendhidi2, zero_extendsidi2, extendsidi2): Likewise.
(zero_extendqisi2, zero_extendqihi2, zero_extendhisi2): Use
andil/andi instead of rlinm/rlwinm.
(zero_extendqihi2): Add condition register variants.
(extendqisi2, extendqihi2): Use extsb for PowerPC.
(adddi3, subdi3, negdi2, ashrdi3): Emulate only if !TARGET_POWERPC64.
(movdf, movdi, movti): New PowerPC64 versions.
(load/store with update): New PowerPC64 patterns.

From-SVN: r7288
1994-05-12 19:33:39 -04:00
Richard Earnshaw
8de7634efb Richard Earnshaw (rwe11@cl.cam.ac.uk)
From-SVN: r7287
1994-05-12 19:14:37 -04:00
Bill Cox
09130b7890 Various Lynx-related fixups. To math.h, string.h and curses.h.
From-SVN: r7286
1994-05-12 22:51:00 +00:00
Richard Kenner
c92d992a81 (m16m): Change first arg to int; all callers changed.
From-SVN: r7285
1994-05-12 18:50:45 -04:00
Richard Kenner
c831a92041 (find_reloads): Don't change a secondary reload to
RELOAD_FOR_OPERAND_ADDRESS.

From-SVN: r7284
1994-05-12 18:42:15 -04:00
Richard Kenner
6673dddf4b (assign_parms): Fix typo in previous change.
From-SVN: r7283
1994-05-12 18:11:20 -04:00
Richard Kenner
b2bf5aef7a Revert to identifiers for mode attributes.
From-SVN: r7282
1994-05-12 15:48:39 -04:00
Richard Kenner
389da36245 (decl_attributes): Revert to identifiers for mode attributes.
From-SVN: r7281
1994-05-12 15:48:11 -04:00
Richard Kenner
8749aa2f0e (lookup_name_current_level_global): New macro.
From-SVN: r7280
1994-05-12 15:41:32 -04:00
Jim Wilson
2305bcadd5 (store_fixed_bit_field): Delete code to handle MODE_FLOAT values here.
(store_fixed_bit_field): Delete code to handle
MODE_FLOAT values here.
(store_bit_field): Put it here instead.

From-SVN: r7279
1994-05-11 14:50:11 -07:00
Jim Wilson
7b3ab05e78 (cse_insn): Set src_eqv if the dest is a STRICT_LOW_PART.
From-SVN: r7278
1994-05-11 14:44:22 -07:00
Richard Kenner
c5bd3be879 (clobbers_to): Deleted.
(call_internal, call_value_internal): New patterns.
(call, call_value): Just call new patterns and a29k_clobbers_to.

From-SVN: r7277
1994-05-11 16:50:50 -04:00
Richard Kenner
f5fa450784 (a29k_clobbers_to): New function.
From-SVN: r7276
1994-05-11 16:50:16 -04:00
Richard Kenner
13275056a7 (layout_type): Use POINTER_SIZE, instead of width of Pmode, when
appropriate.

From-SVN: r7275
1994-05-11 16:26:29 -04:00