aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
AgeCommit message (Collapse)AuthorFilesLines
1993-02-27(convert_move): Truncate via word_mode only if to_mode fits in one word.Richard Stallman1-9/+12
Truncate by referring in TO_MODE for any FROM, but force_reg if nec. From-SVN: r3553
1993-02-26(expand_expr, case IN_EXPR): Fix numerous small bugs and make someRichard Kenner1-28/+29
cleanups. From-SVN: r3541
1993-02-25(emit_library_call_value): Fix bug in prev change.Richard Stallman1-1/+1
From-SVN: r3528
1993-02-22(emit_library_call_value): Really pass mem value addressRichard Stallman1-8/+63
to the library function. From-SVN: r3511
1993-02-21(emit_move_insn_1): New subroutine cut from emit_move_insn.Richard Stallman1-0/+16
(emit_move_insn): Use that. From-SVN: r3505
1993-02-11(expand_builtin): Move memory_address callsRichard Stallman1-8/+9
out of arglist of emit_block_move. From-SVN: r3460
1993-02-08(emit_push_insn): If REG is zero, don't set regs here.Richard Kenner1-3/+6
From-SVN: r3439
1993-02-03(emit_library_call, emit_library_call_value):Richard Stallman1-0/+48
Handle STACK_BOUNDARY when using push insns. From-SVN: r3420
1993-02-02(expand_builtin): Report overflow if __builtin_args_info arg exceeds one word.Richard Stallman1-7/+258
(expand_builtin): Report overflow if __builtin_args_info arg exceeds one word. Fix punctuation of error messages. From-SVN: r3400
1993-01-27(compare_from_rtx): Only swap operand if first is a constant andRichard Kenner1-2/+4
second is not. From-SVN: r3370
1993-01-22(emit_library_call): Correct mis-applied patch.Richard Kenner1-3/+3
From-SVN: r3300
1993-01-18(emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE.Jim Wilson1-1/+4
Use NULL_TREE instead of (tree) 0. From-SVN: r3268
1993-01-18(emit_move_insn, expand_expr): Fix typos in comments.Jim Wilson1-3/+3
From-SVN: r3267
1993-01-14(do_tablejump): Pass 1 for unsigned flag to emit_cmp_insn.Jim Wilson1-1/+1
From-SVN: r3233
1993-01-13(expand_increment): Handle all preincrements by buildingRichard Stallman1-7/+9
arithmetic and calling expand_assignment. From-SVN: r3222
1993-01-12* expr.c (group_insns): Make void, since it never returns an rtx.Brendan Kehoe1-1/+1
From-SVN: r3211
1993-01-12(compare_from_rtx): Allow simplify_relational_operation to fail.Richard Kenner1-3/+6
From-SVN: r3204
1993-01-10# Fix misspellings in comments.Paul Eggert1-4/+4
From-SVN: r3181
1993-01-07(convert_move): Added code to support new modes QFmode and HFmode.Richard Stallman1-0/+129
From-SVN: r3133
1993-01-05(emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS.Jim Wilson1-1/+1
From-SVN: r3106
1992-12-30(expand_expr, case TRUTH_XOR_EXPR): New case.Richard Kenner1-0/+1
From-SVN: r2992
1992-12-30(expand_expr): In NOP_EXPR case, truncate and reextend integer constants.Richard Stallman1-1/+37
From-SVN: r2987
1992-12-28(get_inner_reference): Don't look at flag_volatile.Richard Kenner1-5/+2
(expand_expr, case INDIRECT_REF, OFFSET_REF): Likewise. From-SVN: r2973
1992-12-27(expand_expr, constructor case): If we made a stack slot,Richard Stallman1-4/+5
set MEM_IN_STRUCT_P if the type warrants it. From-SVN: r2921
1992-11-20(init_expr_once): Try indexing mem by fp as well as sp.Richard Stallman1-0/+15
From-SVN: r2760
1992-11-07(emit_move_insn): Do return a value, in complex case.Richard Stallman1-0/+2
From-SVN: r2712
1992-10-25(gen_push_operand): No longer static.Richard Stallman1-1/+1
From-SVN: r2603
1992-10-21(do_store_flag): Ensure we don't get confused when emit_store_flagRichard Kenner1-2/+8
fails and an operand has a QUEUED. From-SVN: r2540
1992-10-20(force_operand): Clarify comment to say what it can return.Richard Kenner1-1/+3
From-SVN: r2526
1992-10-20(store_field): If trying to sign-extend a constant, use value_mode asRichard Stallman1-0/+3
the mode. From-SVN: r2525
1992-10-18(store_field): Typo in last change.Richard Stallman1-1/+1
From-SVN: r2510
1992-10-18(store_field): If signed bitfield and want value, sign extend.Richard Stallman1-1/+10
From-SVN: r2504
1992-10-17(get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.Richard Stallman1-0/+3
From-SVN: r2499
1992-10-05(expand_expr): Use gen_realpart, gen_imagpart.Richard Stallman1-21/+19
(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-09-19(convert_move, convert_to_mode): Strip off a SUBREG made for variables with ↵Richard Kenner1-5/+105
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-09(expand_expr): Support IN_EXPR.Richard Stallman1-16/+279
(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-08-29(emit_library_call): Pass correct number of args to convert_to_mode.Richard Kenner1-2/+5
(emit_block_move): Eliminate unnecessary test against HOST_BITS_PER_WIDE_INT. From-SVN: r1994
1992-08-28(expand_builtin): Add sin and cos as built-in functions.cJames Van Artsdalen1-3/+18
From-SVN: r1983
1992-08-27(emit_block_move): When trying movstrMM, cvt size to mode MM.Richard Stallman1-1/+2
From-SVN: r1975
1992-08-25Partially undo Mar 7 change.Jim Wilson1-11/+20
Partially undo Mar 7 change. Only call emit_library_call with no_queue == 1 for const functions. From-SVN: r1961
1992-08-26(expand_expr): For BIND_EXPR, call insert_block on the block.Richard Stallman1-3/+4
From-SVN: r1960
1992-08-20(init_expr_once): Set direct_load and direct_store if SOME hard register can ↵Richard Kenner1-13/+18
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-19expr.c (expand_expr): The first expansion of a TARGET_EXPR is marked by ↵Mike Stump1-3/+9
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-19expr.c (expand_expr): When expanding TARGET_EXPRs...Mike Stump1-1/+15
* 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-17(expand_expr, case COMPONENT_REF): Don't actually do extraction fromRichard Kenner1-7/+14
memory if we want address. (emit_block_move): Fix problems in last change. From-SVN: r1873
1992-08-15(convert_move): Copy SUBREG to REG in one more case.Richard Kenner1-3/+17
(do_jump*): Always do comparison in object's signedness now that combine can remove extraneous sign extends. From-SVN: r1858
1992-08-14(movstr_optab): New variable.Richard Kenner1-48/+57
(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-02(expand_builtin, case BUILT_INT_CONSTANT_P): Add missing call toRichard Kenner1-1/+1
TREE_CODE. From-SVN: r1745
1992-07-31(convert_move): Put FROM into a register if it is a SUBREG.Richard Kenner1-0/+6
From-SVN: r1732
1992-07-20(expand_expr, NOP_EXPR case): If EXPAND_INITIALIZER,Richard Stallman1-2/+8
generate ZERO_EXTEND or SIGN_EXTEND; don't emit insns. (expand_expr): Set LABEL_REF_NONLOCAL_P for nonlocal labels. From-SVN: r1636