Commit Graph

6866 Commits

Author SHA1 Message Date
Doug Evans
6825be948b Move comment to proper place.
From-SVN: r6679
1994-03-01 15:59:45 +00:00
Doug Evans
1f584163ee (convert_move): Change name of truncsipsi to truncsipsi2
to conform to existing convention, same with extendpsisi.

From-SVN: r6678
1994-02-28 23:31:01 +00:00
Doug Evans
c178c4f503 (ASM_OUTPUT_ASCII): Fix typo.
From-SVN: r6677
1994-02-28 23:22:31 +00:00
Richard Kenner
981c7390cc (eliminate_regs, case MULT): New case, to apply distributive law, when
needed.

From-SVN: r6676
1994-02-28 08:43:23 -05:00
Richard Kenner
7633af9506 (check_precompiled): Delete unused var dollar_loc.
(pcstring_used): Delete unused var TMP.
(write_output): Delete unused var WRITTEN.
(assertion_lookup): Delete unused var BP.
(pedwarn_with_file_and_line): Delete unused var I.

From-SVN: r6675
1994-02-28 08:11:38 -05:00
Richard Kenner
68de38314c (variable_size): If global_bindings_p < 0, don't even make the
SAVE_EXPR.

From-SVN: r6674
1994-02-28 07:37:26 -05:00
Richard Kenner
72ba655679 (READONLY_DATA_SECTION, LEGITIMATE_PIC_OPERAND_P): Defined.
(FUNCTION_PROLOGUE): Emit PIC prologue.

From-SVN: r6673
1994-02-28 07:12:17 -05:00
Richard Kenner
9524442b90 (call): Change HPUX_ASM case.
From-SVN: r6672
1994-02-28 07:11:31 -05:00
Richard Kenner
0ab759e4fd (reg_to_stack): Use GET_RTX_CLASS.
Clear LABEL_REFs here.
(find_blocks): Make algorithm identical to that inreg_to_stack.
Use GET_RTX_CLASS.
Don't clear LABEL_REFs here.
Build a list of labels referenced by other than jumps.
If computed jump, mark using that list and forced_labels.
(uses_reg_or_mem): New function, copied from flow.c.

From-SVN: r6671
1994-02-28 06:30:24 -05:00
Richard Kenner
2140ed5bfe (expand_binop): Use expand_divmod to do integer division for DIV of
MODE_COMPLEX_INT operands.

From-SVN: r6670
1994-02-28 06:21:06 -05:00
Richard Kenner
2f39784493 (process_aux_info_file): Properly start over on file error.
From-SVN: r6669
1994-02-27 20:24:17 -05:00
Jim Wilson
5f57dff07b (store_split_bit_field): If OP0 is a SUBREG, then compute WORD from the base register, instead of from the SUBREG.
(store_split_bit_field): If OP0 is a SUBREG, then
compute WORD from the base register, instead of from the SUBREG.
(extract_split_bit_field): Likewise.
(extract_bit_field): Sign-extend multiword bitfield if necessary.

From-SVN: r6668
1994-02-27 16:55:33 -08:00
Jim Wilson
81284a6ad2 (subreg_realpart_p): New function.
From-SVN: r6667
1994-02-27 16:52:03 -08:00
Jim Wilson
340aa7f68e ((subreg_realpart_p): New function.
(copy_rtx_and_substitute): Use subreg_realpart_p
instead of subreg_lowpart_p for CONCAT.

From-SVN: r6666
1994-02-27 16:51:33 -08:00
Jim Wilson
6be160ff95 (HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.

From-SVN: r6665
1994-02-27 16:47:28 -08:00
Jim Wilson
609380f61e (ASM_OUTPUT_DEF): Delete definition.
From-SVN: r6664
1994-02-27 16:45:49 -08:00
Jim Wilson
650f773a6d (ASM_OUTPUT_DEF): Add it here.
From-SVN: r6663
1994-02-27 16:45:17 -08:00
Jim Wilson
879a4a9a4b (handle_pragma_weak): Depend on ASM_OUTPUT_DEF not SET_ASM_OP when defining it.
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.  Use ASM_OUTPUT_DEF to output value
instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls.

From-SVN: r6662
1994-02-27 16:44:31 -08:00
Richard Kenner
2d8d0db8f8 (expand_inline_function): Allow extra arguments and force their
evaluation for side-effects.

From-SVN: r6661
1994-02-27 18:36:32 -05:00
Jim Wilson
d391688a17 (expand_call): Set nregs to -1 for BLKmode parameter,
then before move_block_to_reg call set it to the type size.

From-SVN: r6660
1994-02-27 15:19:49 -08:00
Jim Wilson
d58b6986f4 (try_merge_delay_insns): Success when SLOT_NUMBER ==
NUM_SLOTS not when NEXT_TO_MATCH == 0.

From-SVN: r6659
1994-02-27 15:16:22 -08:00
Jim Wilson
3bd98790b0 (store_fixed_bit_field): Adjust BITPOS so that it
fits inside MODE before adjusting OFFSET to get an aligned address.

From-SVN: r6658
1994-02-27 14:46:49 -08:00
Jim Wilson
a5f00f07f1 (store_fixed_bit_field): Move float mode to integral
mode conversion from near end of function to top of function.

From-SVN: r6657
1994-02-27 14:44:49 -08:00
Jim Wilson
d27c148b76 (process_init_element): Check for constructor_type
set before dereferencing it in the string cst code.

From-SVN: r6656
1994-02-27 14:41:53 -08:00
Richard Kenner
f95d3af09e (TARGET_DEFAULT): Default to 68020-40.
(ASM_SPEC): New macro.
(FUNCTION_VALUE, FUNCTION_VALUE_REGNO_P): Return pointer in a0.
(*_LIBCALL): Use functions from sysV68's library.
(INIT_CUMULATIVE_ARGS, FUNCTION_ARG*): Some libcalls pass parameters in
registers.

From-SVN: r6655
1994-02-27 17:27:53 -05:00
Richard Kenner
700942a0c6 (declare_hidden_char_array): Build new type if warn_larger_than.
From-SVN: r6654
1994-02-27 15:20:28 -05:00
Richard Kenner
739d15ab17 (finish_decl, finish_function): Issue warning for large objects, if
requested.

From-SVN: r6653
1994-02-27 15:19:57 -05:00
Richard Kenner
b51e9c62f9 (id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.
(main): Support -Wlarger-than-NN.

From-SVN: r6652
1994-02-27 15:19:23 -05:00
Richard Kenner
76817b9d7d (id_clash_len): Now unsigned.
(warn_larger_than, larger_than_size): New variables.

From-SVN: r6651
1994-02-27 15:18:57 -05:00
Richard Kenner
35b2eb0530 (allocno_compare): Give multi-word regs higher priority, as stated in
the comments.

From-SVN: r6650
1994-02-27 11:30:14 -05:00
Richard Kenner
6680889fb7 (qty_compare{,_1}): Give multi-word regs higher priority, as stated in
the comments.

From-SVN: r6649
1994-02-27 11:29:35 -05:00
Richard Kenner
0a5152d0d7 (make_decl_rtl): Initialize NAME and abort if not reset.
From-SVN: r6648
1994-02-27 10:50:41 -05:00
Richard Kenner
a7fcb96813 (make_node, stabilize_reference_1): Abort if unknown class.
From-SVN: r6647
1994-02-27 10:50:11 -05:00
Richard Kenner
0575fe3c3c (expand_start_bindings): Properly set NOTE if bytecode.
From-SVN: r6646
1994-02-27 10:49:44 -05:00
Richard Kenner
0a300065c5 (emit_float_lib_cmp): Init LIBFUNC; abort if not reset.
From-SVN: r6645
1994-02-27 10:49:00 -05:00
Richard Kenner
870bc05205 (execute): Initialize PROG.
From-SVN: r6644
1994-02-27 10:48:25 -05:00
Richard Kenner
39178486b7 (final_scan_insn): Always set OPS and use alloca.
From-SVN: r6643
1994-02-27 10:47:55 -05:00
Richard Kenner
d0c766547a (emit_move_insn): Delete unused vars.
(emit_move_insn_1): Don't set SUBMODE unless used.
(expand_builtin, case BUILT_IN_SAVEREGS): Clean up uses of VALREG
and SAVED_VALREG.

From-SVN: r6642
1994-02-27 10:47:10 -05:00
Richard Kenner
2af5e9e20d (main, args case 'D'): Rewrite to avoid uninitialized var.
(main, args case 'A'): Delete unused var P1.
(rescan): Initialize STR.
(do_xifdef, do_endif): Initialize arg to skip_to_end_of_comment.

From-SVN: r6641
1994-02-27 10:46:21 -05:00
Richard Kenner
79be3418ff (expand_call): Initialize OLD_PENDING_ADJ.
From-SVN: r6640
1994-02-27 10:45:15 -05:00
Richard Kenner
9d5f3e49d7 (type_lists_compatible_p): Initialize NEWVAL.
(pop_init_level): Initialize SIZE.
(output_pending_init_elements): Initialize NEXTPOS_TREE.

From-SVN: r6639
1994-02-27 10:44:32 -05:00
Richard Kenner
1c7b145e25 (readescape): Initialize FIRSTDIG.
From-SVN: r6638
1994-02-27 10:44:00 -05:00
Richard Kenner
b8e605ab2c (store_parm_decls): Initialize some vars.
From-SVN: r6637
1994-02-27 10:43:17 -05:00
Richard Kenner
89c78d7d37 (binary_op_error): Initialize OPNAME.
From-SVN: r6636
1994-02-27 10:42:51 -05:00
Richard Kenner
30a4619dbe (movsi): If -mno-sum-in-toc, do addition of symbol + const.
From-SVN: r6635
1994-02-26 18:01:47 -05:00
Richard Kenner
0b9ccabc3c (MASK_NO_SUM_IN_TOC, TARGET_NO_SUM_IN_TOC): New macros.
(MASK_MINIMAL_TOC): Change bit value.
(TARGET_SWITCHES): Add -mno-sum-in-toc; use -mfull-toc instead of
-mnormal-toc, other minor changes.

From-SVN: r6634
1994-02-26 18:01:08 -05:00
Richard Kenner
4fe73cc129 (rtx_renumbered_equal_p): Fix bug in comparing SUBREGs and REGs.
Two commutative operations are equal if the operands are in the opposite order.

From-SVN: r6633
1994-02-26 16:35:38 -05:00
Richard Kenner
63770d6ae3 (fixup_var_refs_insn): Delete CLOBBER of VAR.
(fixup_var_refs_insn): Delete CLOBBER of VAR.  If VAR is being
assigned into by a libcall sequence, remove the libcall notes.

From-SVN: r6632
1994-02-26 16:12:46 -05:00
Richard Kenner
9ff08f70f3 (count_reg_usage, case SET): If SRC has side-effects, count a usage of
DEST in it.

From-SVN: r6631
1994-02-26 16:11:04 -05:00
Richard Kenner
766f36c7cf (store_expr): In promoted TARGET case, if EXP is a volatile MEM and WANT_VALUE is nonzero, only reference the MEM once.
(store_expr): In promoted TARGET case, if EXP is a volatile MEM and
WANT_VALUE is nonzero, only reference the MEM once.
Return TARGET if it is a hard register; clean up return code.

From-SVN: r6630
1994-02-26 16:09:05 -05:00