Richard Stallman
b424402e93
(convert_move): Added code to support new modes QFmode and HFmode.
...
From-SVN: r3133
1993-01-07 00:05:59 +00:00
Jim Wilson
8eef5f77c5
(emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS.
...
From-SVN: r3106
1993-01-05 18:58:54 -08:00
Richard Kenner
874726a826
(expand_expr, case TRUTH_XOR_EXPR): New case.
...
From-SVN: r2992
1992-12-30 06:01:05 -05:00
Richard Stallman
12342f9055
(expand_expr): In NOP_EXPR case, truncate and reextend integer constants.
...
From-SVN: r2987
1992-12-30 07:08:14 +00:00
Richard Kenner
f94cc92f8c
(get_inner_reference): Don't look at flag_volatile.
...
(expand_expr, case INDIRECT_REF, OFFSET_REF): Likewise.
From-SVN: r2973
1992-12-28 06:09:13 -05:00
Richard Stallman
3b94d087e8
(expand_expr, constructor case): If we made a stack slot,
...
set MEM_IN_STRUCT_P if the type warrants it.
From-SVN: r2921
1992-12-27 08:08:17 +00:00
Richard Stallman
e254999710
(init_expr_once): Try indexing mem by fp as well as sp.
...
From-SVN: r2760
1992-11-20 19:02:25 +00:00
Richard Stallman
7a1ab50acd
(emit_move_insn): Do return a value, in complex case.
...
From-SVN: r2712
1992-11-07 20:30:00 +00:00
Richard Stallman
87e38d8422
(gen_push_operand): No longer static.
...
From-SVN: r2603
1992-10-25 22:22:00 +00:00
Richard Kenner
d39985fabf
(do_store_flag): Ensure we don't get confused when emit_store_flag
...
fails and an operand has a QUEUED.
From-SVN: r2540
1992-10-21 07:33:55 -04:00
Richard Kenner
c45a13a68d
(force_operand): Clarify comment to say what it can return.
...
From-SVN: r2526
1992-10-20 06:49:30 -04:00
Richard Stallman
86a2c12a2b
(store_field): If trying to sign-extend a constant, use value_mode as
...
the mode.
From-SVN: r2525
1992-10-20 10:47:23 +00:00
Richard Stallman
9074de27ac
(store_field): Typo in last change.
...
From-SVN: r2510
1992-10-18 19:13:01 +00:00
Richard Stallman
5c4d7cfb47
(store_field): If signed bitfield and want value, sign extend.
...
From-SVN: r2504
1992-10-18 05:09:47 +00:00
Richard Stallman
037080855f
(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
...
From-SVN: r2499
1992-10-17 07:23:29 +00:00
Richard Stallman
2d7050fdca
(expand_expr): Use gen_realpart, gen_imagpart.
...
(expand_expr): For ABS_EXPR, give expand_unop the operand's mode.
(expand_expr): For REALPART_EXPR, IMAGPART_EXPR, just return that part.
From-SVN: r2322
1992-10-05 06:30:54 +00:00
Richard Kenner
1499e0a89f
(convert_move, convert_to_mode): Strip off a SUBREG made for variables with promoted modes.
...
(convert_move, convert_to_mode): Strip off a SUBREG made for variables with
promoted modes.
(store_expr): Store into variables with promoted modes by doing the
appropriate extension operation.
(expand_expr, case VAR_DECL): Generate SUBREGs for promoted objects.
(expand_expr, case SAVE_EXPR): Likewise for SAVE_EXPRs.
(expand_increment): Handle increment of promoted objects.
From-SVN: r2174
1992-09-19 15:45:55 -04:00
Richard Stallman
7308a047ab
(expand_expr): Support IN_EXPR.
...
(init_expr_once): Don't try HARD_REGNO_MODE_OK on VOIDmode or BLKmode.
(emit_move_insn): When moving word by word,
mark the whole thing as a libcall block.
(group_insns): New function.
(expand_expr): Implement COMPLEX_EXPR, REALPART_EXPR, IMAGPART_EXPR, CONJ_EXPR.
From-SVN: r2082
1992-09-09 06:38:59 +00:00
Richard Kenner
803090c427
(emit_library_call): Pass correct number of args to convert_to_mode.
...
(emit_block_move): Eliminate unnecessary test against HOST_BITS_PER_WIDE_INT.
From-SVN: r1994
1992-08-29 22:38:56 -04:00
James Van Artsdalen
1bbddf1116
(expand_builtin): Add sin and cos as built-in functions.c
...
From-SVN: r1983
1992-08-28 01:49:35 +00:00
Richard Stallman
1ba1e2a808
(emit_block_move): When trying movstrMM, cvt size to mode MM.
...
From-SVN: r1975
1992-08-27 22:54:40 +00:00
Jim Wilson
d562e42ef4
Partially undo Mar 7 change.
...
Partially undo Mar 7 change. Only call
emit_library_call with no_queue == 1 for const functions.
From-SVN: r1961
1992-08-25 23:30:34 -07:00
Richard Stallman
2df53c0b9b
(expand_expr): For BIND_EXPR, call insert_block on the block.
...
From-SVN: r1960
1992-08-26 06:05:46 +00:00
Richard Kenner
e6fe56a424
(init_expr_once): Set direct_load and direct_store if SOME hard register can be loaded or stored...
...
(init_expr_once): Set direct_load and direct_store if SOME hard
register can be loaded or stored; not just if the first one we pick
can be.
From-SVN: r1910
1992-08-20 08:36:23 -04:00
Mike Stump
5c06281655
expr.c (expand_expr): The first expansion of a TARGET_EXPR is marked by DECL_RTL (slot) being filled...
...
* expr.c (expand_expr): The first expansion of a TARGET_EXPR
is marked by DECL_RTL (slot) being filled in AND TREE_OPERAND
(exp, 1) being wiped-out with a NULL_TREE, not just the
DECL_RTL (slot) being filled in.
From-SVN: r1893
1992-08-19 06:17:27 +00:00
Mike Stump
ac993f4f60
expr.c (expand_expr): When expanding TARGET_EXPRs...
...
* expr.c (expand_expr): When expanding TARGET_EXPRs, make sure
that they are only expanded once, after the first expansion,
the rtl can be used without further expansions.
From-SVN: r1890
1992-08-19 01:33:35 +00:00
Richard Kenner
0bba3f6fb7
(expand_expr, case COMPONENT_REF): Don't actually do extraction from
...
memory if we want address.
(emit_block_move): Fix problems in last change.
From-SVN: r1873
1992-08-17 07:37:25 -04:00
Richard Kenner
cd1b4b4474
(convert_move): Copy SUBREG to REG in one more case.
...
(do_jump*): Always do comparison in object's signedness now that
combine can remove extraneous sign extends.
From-SVN: r1858
1992-08-15 06:36:00 -04:00
Richard Kenner
266007a7d6
(movstr_optab): New variable.
...
(init_expr_once): Initialize it.
(emit_block_move): Rework code that generates movstrxx insns to check
predicates and use an optab.
From-SVN: r1827
1992-08-14 07:40:16 -04:00
Richard Kenner
cda0ec81ab
(expand_builtin, case BUILT_INT_CONSTANT_P): Add missing call to
...
TREE_CODE.
From-SVN: r1745
1992-08-02 21:32:38 -04:00
Richard Kenner
3dc4195c6a
(convert_move): Put FROM into a register if it is a SUBREG.
...
From-SVN: r1732
1992-07-31 08:15:14 -04:00
Richard Stallman
26fcb35ae2
(expand_expr, NOP_EXPR case): If EXPAND_INITIALIZER,
...
generate ZERO_EXTEND or SIGN_EXTEND; don't emit insns.
(expand_expr): Set LABEL_REF_NONLOCAL_P for nonlocal labels.
From-SVN: r1636
1992-07-20 02:45:03 +00:00
Richard Stallman
5d901c3182
(convert_move): Don't call protect_from_queue.
...
(emit_block_move): Protect SIZE.
From-SVN: r1607
1992-07-17 04:24:58 +00:00
Richard Stallman
60bac6ea52
(expand_builtin): For fsqrt, always use the special insn, then test for nan.
...
In case of nan, set errno directly or call the library function.
From-SVN: r1586
1992-07-14 03:38:36 +00:00
Richard Stallman
81feeecbd9
entered into RCS
...
From-SVN: r1567
1992-07-12 02:49:37 +00:00
Charles Hannum
d964285ca2
*** empty log message ***
...
From-SVN: r1533
1992-07-08 23:16:28 +00:00
Richard Stallman
a4320483fb
*** empty log message ***
...
From-SVN: r1498
1992-07-07 18:03:56 +00:00
Richard Kenner
906c4e36c6
*** empty log message ***
...
From-SVN: r1473
1992-07-06 16:04:13 -04:00
Richard Kenner
4fa52007bf
*** empty log message ***
...
From-SVN: r1320
1992-06-28 07:20:11 -04:00
Richard Stallman
f32fd77815
*** empty log message ***
...
From-SVN: r1298
1992-06-26 12:46:40 +00:00
Richard Kenner
08af8e094f
*** empty log message ***
...
From-SVN: r1279
1992-06-24 19:14:43 -04:00
Richard Kenner
5a2724d73a
*** empty log message ***
...
From-SVN: r1243
1992-06-23 06:19:36 -04:00
Jim Wilson
b092b4717c
*** empty log message ***
...
From-SVN: r1237
1992-06-22 17:28:39 -07:00
Richard Kenner
77fa0940a0
*** empty log message ***
...
From-SVN: r1223
1992-06-20 06:51:46 -04:00
Tom Wood
c1f7c22310
*** empty log message ***
...
From-SVN: r1206
1992-06-18 14:34:15 +00:00
Richard Stallman
db0e6d01ad
*** empty log message ***
...
From-SVN: r1147
1992-06-03 19:42:57 +00:00
Richard Stallman
19deaec942
*** empty log message ***
...
From-SVN: r1123
1992-05-29 18:46:01 +00:00
Richard Stallman
94a5807610
*** empty log message ***
...
From-SVN: r967
1992-05-13 03:44:28 +00:00
Richard Stallman
7bb0943f9c
*** empty log message ***
...
From-SVN: r953
1992-05-10 16:23:27 +00:00
Richard Stallman
6dc42e49d3
*** empty log message ***
...
From-SVN: r930
1992-05-07 06:41:23 +00:00