Commit Graph

7300 Commits

Author SHA1 Message Date
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
Richard Kenner
6d100794d0 (expand_builtin_apply): Put new function usage data at end of any data
already there.

From-SVN: r7274
1994-05-11 16:23:11 -04:00
Richard Kenner
e59e60a78f (emit_call_1): Put new function usage data at end of any data already
there.

From-SVN: r7273
1994-05-11 16:22:02 -04:00
Richard Kenner
1af0b2da29 (sched_analyze_insn): Fix typo in last change.
From-SVN: r7272
1994-05-11 16:18:08 -04:00
Ian Lance Taylor
d62288093b Don't recursively search symlinks to `.'.
From-SVN: r7271
1994-05-11 16:12:15 +00:00
Doug Evans
d7715b7064 (process_command): Kludge in stageN/../include instead of include.
From-SVN: r7270
1994-05-10 21:49:41 +00:00
Jim Wilson
b3f741ed3a (*TF*_LIBCALL): Delete `*' from libcall name.
From-SVN: r7269
1994-05-09 18:05:41 -07:00
Richard Kenner
51a52b63e5 (output_move_dconst): For some integer constants, use movxwd/movd
instead of movxbd/movxwd.

From-SVN: r7268
1994-05-09 18:42:04 -04:00
Richard Kenner
d5ea2ac4c7 (delete_if_ordinary): New function.
(delete_temp_files, delete_failure_queue): Call it.

From-SVN: r7267
1994-05-09 18:32:57 -04:00
Richard Kenner
5a76b34913 (mark_{referenced,set}_resources): Fix typos in last change.
From-SVN: r7266
1994-05-07 17:52:53 -04:00
Richard Kenner
b87b7ecd73 (emit_reload_insns): Don't try to delete output reload if there isn't
one.

From-SVN: r7265
1994-05-07 17:48:59 -04:00
Richard Kenner
184ff798d9 (REG_ALLOC_ORDER): New macro.
From-SVN: r7264
1994-05-07 12:21:28 -04:00