10746 Commits

Author SHA1 Message Date
Richard Kenner
67369e2a11 (movdf): Don't copy a word at a time; nearly always loses.
From-SVN: r10859
1995-12-24 18:44:10 -05:00
Richard Kenner
1598f4da78 (mark_addressable, case COMPONENT_REF): Give error if taking address
of a bit field.

From-SVN: r10858
1995-12-24 18:15:12 -05:00
Richard Kenner
64d60f91a6 (finish_struct): Set DECL_C_BIT_FIELD when set DECL_BIT_FIELD.
From-SVN: r10857
1995-12-24 18:14:33 -05:00
Richard Kenner
e8970a8c2f (DECL_C_BIT_FIELD): New macro.
From-SVN: r10856
1995-12-24 18:14:00 -05:00
Richard Kenner
3620d72014 Define HAVE_POPEN.
From-SVN: r10855
1995-12-24 17:45:58 -05:00
Richard Kenner
b69649e48d (output_function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.
From-SVN: r10854
1995-12-24 17:45:30 -05:00
Richard Kenner
68f654ec44 (function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.
From-SVN: r10853
1995-12-24 17:44:54 -05:00
Richard Kenner
6e75390084 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
Extension for -ax option (profile_block_flag == 2).
(MACHINE_STATE_SAVE,MACHINE_STATE_RESTORE): New macros.
(FUNCTION_BLOCK_PROFILER_EXIT): New macro.

From-SVN: r10852
1995-12-24 17:43:46 -05:00
Richard Kenner
88c956eb52 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Extension for -ax option (profile_block_flag == 2).
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Extension for -ax
option (profile_block_flag == 2).
(MACHINE_STATE_SAVE,MACHINE_STATE_RESTORE): New macros.
(FUNCTION_BLOCK_PROFILER_EXIT): New macro.

From-SVN: r10851
1995-12-24 17:43:00 -05:00
Richard Kenner
90b4a76470 (struct bb): Add flags field.
(HAVE_POPEN): Test new define.
(struct __bb, struct bb_{edge,func}): New structs.
(__bb_init_{prg,file},__bb_{init,exit}_trace_func,__bb_trace_ret,
(__bb_trace_func{,_ret},gopen,gclose): New functions.

From-SVN: r10850
1995-12-24 17:42:24 -05:00
Richard Kenner
47431dff3c (end_final): Extended header increased to 11 words.
(profile_after_prologue): FUNCTION_BLOCK_PROFILER uses count_basic_blocks
instead profile_label_no.

From-SVN: r10849
1995-12-24 17:41:43 -05:00
Richard Kenner
ec6c615d64 (main): Add -ax option.
From-SVN: r10848
1995-12-24 17:41:11 -05:00
Richard Kenner
47288231ca (struct compilers): Add -ax option.
From-SVN: r10847
1995-12-24 17:40:40 -05:00
Richard Kenner
5d7bb90c0f (unused_prefix_warning): Include machine_suffix if require_machine_suffix.
(warn_B, warn_std, warn_std_ptr): New variables.
(process_commands): Use them and NULL_PTR as WARN arg to add_prefix.

From-SVN: r10846
1995-12-24 08:43:10 -05:00
Richard Kenner
f2cf3e1ed9 (process_command): Give error for -c with -o and multiple compilations.
(handle_braces): Rename variable "pipe" to "pipe_p".

From-SVN: r10845
1995-12-24 08:08:29 -05:00
Richard Kenner
340af9ef2d Update comments to clarify typing rules.
From-SVN: r10844
1995-12-24 07:35:16 -05:00
Richard Kenner
0ae4004537 (clrstrsi): New pattern and associate anonymous pattern.
From-SVN: r10843
1995-12-24 06:38:01 -05:00
Richard Kenner
9de0820010 (struct clear_by_pieces): New structure.
(clear_by_pieces{,_1}, {is,mostly}_zeros_p): New functions.
(clrstr_optab): New optab.
(clear_storage): Rework to try to use clear_by_pieces, then
new clrstr insn, then library call.
(store_constructor): Track if target is already cleared.
Clear target first if CONSTRUCTOR is mostly zeros.
Don't write zeros if target has been cleared.
Add new arg to clear_storage call.
(expand_expr, case CONSTRUCTOR): Don't put static constructor
in memory if mostly zero.

From-SVN: r10842
1995-12-24 06:37:15 -05:00
Richard Kenner
45169d1213 (init_optabs): Initialize clrstr_optab.
From-SVN: r10841
1995-12-24 06:36:32 -05:00
Richard Kenner
fd18db659c (optabs): Add "clrstr%a%".
From-SVN: r10840
1995-12-24 06:36:10 -05:00
Richard Kenner
f316d71e4f (CONSTRUCTTOR_TARGET_CLEARED_P): New macro.
From-SVN: r10839
1995-12-24 06:35:29 -05:00
Richard Kenner
1207956403 (clrstr_optab): New declaration.
(clear_storage): New parm, ALIGN.

From-SVN: r10838
1995-12-24 06:35:03 -05:00
Jeff Law
bad883f8a1 pa.c (output_move_double): Correctly identify and handle overlapping moves.
* pa.c (output_move_double): Correctly identify and handle
        overlapping moves.
        * pa.md (movdi patterns): Eliminate earlyclobbers in mem<->gr
        cases.
        (movdf patterns): Likewise.

From-SVN: r10837
1995-12-23 10:25:00 -07:00
Richard Kenner
9151b3bf92 (store_constructor): Don't call change_address on REG.
(expand_expr, case CONSTRUCTOR): Likewise.

From-SVN: r10836
1995-12-22 17:55:49 -05:00
Richard Kenner
ff18b63b8d (expand_block_move): Preserve MEM flags in call to movstrsi_internal.
From-SVN: r10835
1995-12-22 17:45:39 -05:00
Richard Kenner
c34d858fbb (emit_move_sequence): Don't try to set REGNO_POINTER_FLAG for a SUBREG.
From-SVN: r10834
1995-12-22 17:40:00 -05:00
Richard Kenner
c671684018 (find_valid_class): New function.
(push_reload): Use it in cases where a SUBREG and its contents
both need to be reloaded.

From-SVN: r10833
1995-12-22 17:36:25 -05:00
Michael Meissner
da0ae67f75 Readd 403 support; Move compares well ahead of branch for PowerPC
From-SVN: r10832
1995-12-22 21:03:01 +00:00
Stan Cox
628448b35c (strlensi): New pattern.
From-SVN: r10831
1995-12-22 20:24:34 +00:00
Stan Cox
3f803cd94c (output_strlen_unroll): New function.
From-SVN: r10830
1995-12-22 20:24:09 +00:00
Stan Cox
f774631006 (TARGET_UNROLL_STRLEN): New macro.
From-SVN: r10829
1995-12-22 20:23:25 +00:00
Stan Cox
73bee569a1 Initial revision
From-SVN: r10828
1995-12-22 20:10:44 +00:00
Roland McGrath
6277f86d5e (GNU_CPP_PREDEFINES): Add missing space after -Amachine(CPU).
From-SVN: r10827
1995-12-21 23:53:25 +00:00
Michael Meissner
8271c204ce If -shared, do not export libg.exp
From-SVN: r10826
1995-12-21 19:39:34 +00:00
Michael Meissner
ff22256006 Change --enable-cpu to --with-cpu.
From-SVN: r10825
1995-12-21 17:40:39 +00:00
Michael Meissner
5d6426e076 Change --enable-cpu -> --with-cpu.
From-SVN: r10824
1995-12-21 17:39:09 +00:00
Michael Meissner
10d8930004 Fix typo.
From-SVN: r10823
1995-12-20 21:46:20 +00:00
Michael Meissner
a8302e41e3 remove -mcpu=rs6000
From-SVN: r10822
1995-12-20 19:09:16 +00:00
Michael Meissner
62d983a73f Make --enable-cpu=xxx act like -mcpu=xxx, not -mtune=xxx.
From-SVN: r10821
1995-12-20 17:13:18 +00:00
Michael Meissner
8e3f41e725 Make AIX4 use -mcpu=common by default; add -mtune=
From-SVN: r10820
1995-12-20 17:05:26 +00:00
Jim Wilson
39dffea3c7 (FIRST_PSEUDO_REGISTER): Increment.
(FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES,
DEBUG_REGISTER_NAMES): Add entry for new RAP reg.
(RAP_REG_NUM, RETURN_ADDRESS_POINTER_REGNUM): New macros.
(RETURN_ADDR_RTX): Define.
(ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
Add RETURN_ADDRESS_POINTER_REGNUM support.

From-SVN: r10819
1995-12-19 15:30:21 -08:00
Jim Wilson
b987661c06 (mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
Add entry for new RAP reg.

From-SVN: r10818
1995-12-19 15:28:28 -08:00
Jim Wilson
a4417a8631 (return_address_pointer_rtx): New global variable.
(gen_rtx, init_emit_once): Add support for it.

From-SVN: r10817
1995-12-19 15:25:43 -08:00
Michael Meissner
8e05e5dde2 Do not define register names under Windows NT
From-SVN: r10816
1995-12-19 15:56:45 +00:00
Mike Stump
72b7eeff72 76th Cygnus<->FSF merge
From-SVN: r10815
1995-12-19 06:51:14 +00:00
Jim Wilson
f82da7d270 (simplify_rtx, case SUBREG): For SUBREG of a constant,
use <= instead of < when comparing mode sizes.
(force_to_mode, case NOT): Use full mask inside	the NOT operation.

From-SVN: r10814
1995-12-18 18:45:11 -08:00
Jim Wilson
e24b877609 (block_move_call): Likewise for memcpy and bcopy.
From-SVN: r10813
1995-12-18 18:15:51 -08:00
Jim Wilson
01d7472931 (INITIALIZE_TRAMPOLINE): Likewise for cacheflush.
From-SVN: r10812
1995-12-18 18:14:50 -08:00
Jim Wilson
2973b444e6 (expand_block_move): Likewise for memcpy and bcopy.
From-SVN: r10811
1995-12-18 18:13:05 -08:00
Jim Wilson
126c5a5994 (expand_movstr_call): Likewise for memcpy.
From-SVN: r10810
1995-12-18 18:09:53 -08:00