Richard Kenner
d720b9d197
(expand_expr...
...
(expand_expr, case CONSTRUCTOR): If constant and large enough for
memcpy to be used, build constructor into static memory.
From-SVN: r7365
1994-05-27 14:56:31 -04:00
Richard Kenner
d0c84fdaa3
Add define_split for sign-extended PLUS of a MULT of an SImode
...
comparison.
From-SVN: r7364
1994-05-27 14:15:25 -04:00
Richard Kenner
7e4dc511b0
(simplify_comparison): Narrow comparison for AND's that are ZERO_EXTENDs.
...
Can widen for all comparisons if inputs are both sign extended.
From-SVN: r7363
1994-05-27 13:36:40 -04:00
Richard Kenner
5f40cc2da4
(reload_as_needed): Update spill_reg_order once we sort spill_regs.
...
From-SVN: r7362
1994-05-27 13:32:13 -04:00
Richard Kenner
fc0e5bd00e
(local_alloc): Fix typo in last change.
...
From-SVN: r7361
1994-05-27 11:53:02 -04:00
Richard Kenner
5c72c15e2e
Add define_split for sign-extended PLUS of an SImode comparison;
...
change comparison to DImode.
From-SVN: r7360
1994-05-27 07:26:20 -04:00
Richard Kenner
1b0cb6fc46
(expand_end_case): Use old type of INDEX_EXPR when making a constant.
...
From-SVN: r7359
1994-05-27 06:33:04 -04:00
Richard Kenner
3061cc5422
(requires_inout): Renamed from requires_inout_p and returns number of alternatives that require a match.
...
(requires_inout): Renamed from requires_inout_p and returns number of
alternatives that require a match.
(block_alloc): Use new function and handle case where all alternatives have
some operand that must match operand 0.
From-SVN: r7358
1994-05-27 06:27:03 -04:00
Richard Kenner
a6ba1470c2
(qty_sugg_compare_1): Fix typo in last change.
...
From-SVN: r7357
1994-05-27 06:16:16 -04:00
Richard Kenner
51b86d8b0d
(qty_phys_num{,_copy}_sugg): New variables.
...
(qty_phys_has{,_copy}_sugg): Deleted.
(qty_sugg_compare{,_1}): New functions.
(local_alloc): Allocate and init new vars instead of deleted ones.
(block_alloc): Update and use new vars.
Order quantities using new functions when allocating quantities with
suggested registers.
(combine_regs, find_free_reg): Use new vars to count number of suggestions.
From-SVN: r7356
1994-05-27 06:03:04 -04:00
Richard Kenner
c03c471173
(jump_optimize): When looking for an `if' statement that takes two insns to compute a result using a temporary...
...
(jump_optimize): When looking for an `if' statement that takes two
insns to compute a result using a temporary, allow the temporary to be
a SUBREG.
From-SVN: r7355
1994-05-26 18:58:47 -04:00
Richard Kenner
35bb77fd39
(CANONICALIZE_COMPARISON): New macro.
...
From-SVN: r7354
1994-05-26 18:49:06 -04:00
Richard Kenner
b7a775b20b
(simplify_comparison): Call CANONICALIZE_COMPARISON, if defined.
...
From-SVN: r7353
1994-05-26 18:48:18 -04:00
Ian Lance Taylor
e53076d690
Protect bool in curses.h
...
From-SVN: r7352
1994-05-26 22:37:59 +00:00
Richard Kenner
d5a4ebdc8f
(simplify_if_then_else): Don't make (mult (cond)) in simple case;
...
leave as IF_THEN_ELSE instead.
From-SVN: r7351
1994-05-26 18:03:39 -04:00
Ian Lance Taylor
8322308e93
Protect __P in math.h and floatingpoint.h.
...
From-SVN: r7350
1994-05-26 16:23:31 +00:00
Richard Kenner
7831ef177b
(expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've converted OP0
...
to COMPUTE_MODE.
From-SVN: r7349
1994-05-26 11:55:34 -04:00
Ian Lance Taylor
7beec59e8a
Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
...
which are now copied by ${required} code.
From-SVN: r7348
1994-05-26 15:50:35 +00:00
Ian Lance Taylor
eb3af43c24
Don't pass $(srcdir) to fixincludes scripts
...
From-SVN: r7347
1994-05-26 15:50:13 +00:00
Jim Wilson
d902c7ead3
(expand_exit_loop_if_false): Emit conditional jump around
...
unconditional loop exit instead of conditional loop exit.
From-SVN: r7346
1994-05-20 09:59:51 -07:00
Jim Wilson
f6709c70a8
(output_prolog): Use multiple fputs calls instead of
...
one call with multiple strings.
From-SVN: r7345
1994-05-20 09:53:46 -07:00
Jim Wilson
34ab957bb3
(STARTFILE_SPEC, LIB_SPEC): Define.
...
From-SVN: r7344
1994-05-20 09:50:02 -07:00
Jim Wilson
5c43aed895
(MAKE_LINE_SAFE): Delete.
...
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE.
From-SVN: r7343
1994-05-20 09:48:11 -07:00
Richard Stallman
6399ee020f
(basic_machine): Accept cxux*.
...
From-SVN: r7342
1994-05-20 05:29:36 +00:00
Mike Stump
ef5057f84d
calls.c (expand_call): Only destroy temps here, if -fshort-temps is given.
...
* calls.c (expand_call): Only destroy temps here, if -fshort-temps
is given.
From-SVN: r7341
1994-05-19 23:14:04 +00:00
Richard Stallman
cb4a4241cf
Fix unrecognized os error message.
...
From-SVN: r7340
1994-05-19 23:08:12 +00:00
Richard Kenner
8aea655f0a
(emit_reload_insns): When seeing if an equivalent register can have it's output reload deleted...
...
(emit_reload_insns): When seeing if an equivalent register can have
it's output reload deleted, check for REG_DEAD notes for reload_in
instead of calling dead_or_set_p.
From-SVN: r7339
1994-05-19 17:46:31 -04:00
Richard Kenner
9847c2f677
(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and ..._DOUBLE.
...
(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and
.._DOUBLE. Permit float subword extraction when host's word width iswider than target's.
From-SVN: r7338
1994-05-19 16:38:15 -04:00
Mike Stump
2986ae008b
38th Cygnus<->FSF merge
...
From-SVN: r7337
1994-05-19 20:19:03 +00:00
Ian Lance Taylor
639010aff2
Make OSF/1 getopt.h fix work on AIX also
...
From-SVN: r7336
1994-05-19 19:09:56 +00:00
Jason Merrill
629025f9f2
(FIXPROTO_DEFINES): Set to -D_XOPEN_SOURCE.
...
From-SVN: r7335
1994-05-18 23:08:30 +00:00
Jason Merrill
e93ce7d416
Use ${FIXPROTO_DEFINES}.
...
From-SVN: r7334
1994-05-18 23:08:30 +00:00
Jason Merrill
aefc3801c2
(FIXPROTO_DEFINES): New variable: extra #defines for fixproto to use.
...
(FIXPROTO_DEFINES): New variable: extra #defines for
fixproto to use.
(stmp-fixproto): Pass it.
From-SVN: r7333
1994-05-18 23:08:30 +00:00
Jason Merrill
9ae435031b
(FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.
...
From-SVN: r7332
1994-05-18 23:08:30 +00:00
Jason Merrill
68f6ed7f20
Add forward declaration of struct exception to
...
SunOS 4 math.h.
From-SVN: r7331
1994-05-18 22:33:40 +00:00
Per Bothner
b02cb287c9
Allow any integral type for bitfields (such as booleans).
...
From-SVN: r7330
1994-05-18 13:51:28 -07:00
Richard Kenner
1d1a832c5c
(compare_spill_regs): Fix typo in declaration.
...
From-SVN: r7329
1994-05-18 16:32:20 -04:00
Brendan Kehoe
e827cf7a71
get rid of CYGNUS LOCAL comment
...
From-SVN: r7328
1994-05-18 14:05:32 -04:00
Brendan Kehoe
b9e64ed323
fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when compiling for C++...
...
* fixinc.svr4: Avoid the SVR4 typedef of bool in curses.h when
compiling for C++, since g++ now supports it as an official typename.
From-SVN: r7327
1994-05-18 13:54:24 -04:00
Jason Merrill
607ca0aac3
#define NO_IMPLICIT_EXTERN_C
...
From-SVN: r7326
1994-05-18 06:46:33 +00:00
Jason Merrill
b722f2b857
(convert_to_real): Accept boolean values.
...
From-SVN: r7325
1994-05-18 06:46:33 +00:00
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