Commit Graph

13403 Commits

Author SHA1 Message Date
Doug Evans
7ae21caf59 rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
* rtl.h (enum reg_note): Add REG_BR_PROB and REG_EXEC_COUNT.
	(REG_BR_PROB_BASE): Define.
	(NOTE_REPEATED_LINE_NUMBER): Define.

From-SVN: r13820
1997-03-28 22:39:00 +00:00
Doug Evans
a6c383b0d8 reorg.c (mostly_true_jump): Use REG_BR_PROB notes when flag_branch_probabilities.
* reorg.c (mostly_true_jump): Use REG_BR_PROB notes when
	flag_branch_probabilities.

From-SVN: r13819
1997-03-28 22:38:24 +00:00
Doug Evans
65f7a65344 * libgcc2.c (__bb_exit_func): Support gcov style output.
From-SVN: r13818
1997-03-28 22:38:07 +00:00
Doug Evans
f6a6a1b37d jump.c (jump_optimize, [...]): Disable some optimizations when flag_test_coverage and there is a line number...
* jump.c (jump_optimize, follow_jumps, mark_jump_label): Disable some
 	optimizations when flag_test_coverage and there is a line number note
 	in the way.
	(invert_jump): Add REG_BR_PROB when flag_branch_probabililties.

From-SVN: r13817
1997-03-28 22:37:37 +00:00
Doug Evans
9b53bc830d integrate.c (expand_inline_function): Output NOTE_REPEATED_LINE_NUMBER after inlined call.
* integrate.c (expand_inline_function): Output
	NOTE_REPEATED_LINE_NUMBER after inlined call.

From-SVN: r13816
1997-03-28 22:36:53 +00:00
Doug Evans
82e415a358 function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER for last line of function.
* function.c (expand_function_end): Output NOTE_REPEATED_LINE_NUMBER
	for last line of function.

From-SVN: r13815
1997-03-28 22:36:31 +00:00
Doug Evans
a7dbb8b439 flags.h (profile_arc_flag, [...]): Declare.
* flags.h (profile_arc_flag, flag_test_coverage,
	flag_branch_probabilities): Declare.

From-SVN: r13814
1997-03-28 22:36:13 +00:00
Doug Evans
9e2f9a7f6a final.c (LONG_TYPE_SIZE): Define.
* final.c (LONG_TYPE_SIZE): Define.
	(count_instrumented_arcs): New variable.
	(end_final, profile_after_prologue, leaf_function_p): Add support
	for profile_arc_flag.
	(add_bb): Only call CC_STATUS_INIT if HAVE_cc0.

From-SVN: r13813
1997-03-28 22:35:56 +00:00
Doug Evans
3a95cde868 * sparc.h (OVERRIDE_OPTIONS): Check profile_arc_flag.
From-SVN: r13812
1997-03-28 22:35:28 +00:00
Doug Evans
c9903b4462 combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT REG_NOTES.
* combine.c (distribute_notes): Handle REG_BR_PROB and REG_EXEC_COUNT
	REG_NOTES.

From-SVN: r13811
1997-03-28 22:34:53 +00:00
Doug Evans
59a64126f8 Makefile.in (LANGUAGES): Add gcov.
* Makefile.in (LANGUAGES): Add gcov.
	(OBJS): Add profile.o.
	(STAGESTUFF): Add gcov.
	(profile.o, gcov.o, gcov): Add rules to build them.
	(cpp.info, gcc.info, gcc.dvi): Add gcov.texi.
	(install-common): Install gcov.

From-SVN: r13810
1997-03-28 22:34:21 +00:00
Doug Evans
2be7973ec1 entered into RCS
From-SVN: r13809
1997-03-28 22:32:02 +00:00
Stan Cox
3bc97c5616 (zero_extendhisi2+[12]): use true_regnum instead of REGN
From-SVN: r13808
1997-03-27 22:23:58 +00:00
Stan Cox
d5c65c96b8 (CPP_CPU_DEFAULT): Define if TARGET_CPU_DEFAULT is not set.
From-SVN: r13807
1997-03-27 22:17:33 +00:00
Paul Eggert
6e2724034c Formerly cpp.texi.~29~
From-SVN: r13806
1997-03-26 20:35:20 +00:00
Ian Lance Taylor
2a9fb5489f Add a CSE pass over the hard registers after reload is complete
From-SVN: r13805
1997-03-26 17:35:01 +00:00
Richard Kenner
9d661e569a (__va_copy): New definition.
From-SVN: r13804
1997-03-26 07:34:03 -05:00
Michael Meissner
20df0482b5 Add %include, %include_noerr, %rename support to specs
From-SVN: r13803
1997-03-25 22:03:18 +00:00
Doug Evans
ae998c9a69 * c-decl.c (grokdeclarator): Pedwarn qualified void function return type.
From-SVN: r13802
1997-03-25 21:39:09 +00:00
Richard Kenner
9ab8cffd48 (udivsi3): Fix hunk from previous patch that did not apply correctly.
From-SVN: r13801
1997-03-25 15:28:51 -05:00
Richard Kenner
9fb9ea4a4e (ASM_RETURN_CASE_JUMP): Use extl to explicitly sign extend index
register on TARGET_5200.

From-SVN: r13800
1997-03-25 15:24:20 -05:00
Richard Kenner
641241db80 (tablejump): Use extl to explicitly sign extend index registern on
TARGET_5200.

From-SVN: r13799
1997-03-25 15:20:06 -05:00
Richard Kenner
a139ec2564 (mulsi3): Changed into define_expand.
(mulsi3): Changed into define_expand.  Split insn into m68k and
coldfire specific versions with appropriate constraints.

From-SVN: r13798
1997-03-25 14:50:42 -05:00
Doug Evans
e46a986ab9 expr.c (emit_push_insn): Delete emission of CLOBBER when doing partial push, no longer necessary.
* expr.c (emit_push_insn): Delete emission of CLOBBER
	when doing partial push, no longer necessary.

From-SVN: r13797
1997-03-25 19:43:45 +00:00
Richard Kenner
8ec316237f (movqi): Disable use of address registers for TARGET_5200.
From-SVN: r13796
1997-03-25 14:36:28 -05:00
Richard Kenner
189086f974 (find_dummy_reload): New parameter earlyclobber.
(find_dummy_reload): New parameter earlyclobber.  If set then don't
use IN for the reload if it also appears elsewhere in the insn.  All
callers changed.

From-SVN: r13795
1997-03-25 14:27:59 -05:00
Richard Kenner
03dda8e3c3 Initial revision
From-SVN: r13794
1997-03-25 14:26:08 -05:00
Richard Kenner
125bcee001 (__modsi3, __umodsi3): Use mulsl instruction instead of __mulsi3
function call on the coldfire.

From-SVN: r13793
1997-03-25 14:17:05 -05:00
Richard Kenner
61b1bece8e Fix typo in comment.
From-SVN: r13792
1997-03-25 14:04:54 -05:00
Richard Kenner
2c3631ee19 (bne0_di): Fix typo in last change.
From-SVN: r13791
1997-03-25 14:01:08 -05:00
Richard Kenner
43ecaf28bc (xorsi3_5200): Correct constraints.
From-SVN: r13790
1997-03-25 13:24:02 -05:00
Richard Kenner
12ce956281 (move{si,hi,qi,di}): Changed into define_expands.
(move{si,hi,qi,di}): Changed into define_expands.  Split insns into
m68k and coldfire specific versions with appropriate constraints.

From-SVN: r13789
1997-03-25 13:20:11 -05:00
Richard Kenner
6901b6206b (output_move_{si,hi,qi}mode): Declare.
From-SVN: r13788
1997-03-25 13:19:21 -05:00
Richard Kenner
f4e801988d (output_move_{si,hi,qi}mode): New functions.
From-SVN: r13787
1997-03-25 13:18:54 -05:00
Richard Kenner
bae348586b (GCC_PASSES): Revert previous change; use cc1$(exeext).
From-SVN: r13786
1997-03-25 12:18:27 -05:00
Doug Evans
39a96e8483 Update copyright.
From-SVN: r13785
1997-03-24 21:11:54 +00:00
Doug Evans
be20c0ad6e Add m32r support.
From-SVN: r13784
1997-03-24 21:11:18 +00:00
Michael Meissner
4053f6406e Update rtems configuration
From-SVN: r13783
1997-03-24 21:10:53 +00:00
Doug Evans
845da53434 Formerly extend.texi.~113~
From-SVN: r13782
1997-03-24 20:53:34 +00:00
Doug Evans
0e4c9f5bb0 (m32r,mn10300): Add.
From-SVN: r13763
1997-03-24 20:38:28 +00:00
Doug Evans
5a01f3629f (USER_H): Add va-m32r.h.
From-SVN: r13762
1997-03-24 20:15:16 +00:00
Doug Evans
8c5ca3b910 Initial revision
From-SVN: r13761
1997-03-24 20:01:06 +00:00
Gavin Romig-Koch
92ad84737f (va_arg): For little endian, eabi, objects
less than __va_reg_size are passed in registers.

From-SVN: r13760
1997-03-24 19:22:33 +00:00
Paul Eggert
946f2aa841 Formerly cpp.texi.~28~
From-SVN: r13759
1997-03-21 21:05:54 +00:00
Jeff Law
6fafc52384 * mn10300/mn10300.c (print_operand): Handle 'N'.
From-SVN: r13758
1997-03-21 10:24:18 -07:00
Jeff Law
862bff8819 mn10300.c (expand_epilogue): Correctly handle functions with large frames, but no callee register saves.
* mn10300/mn10300.c (expand_epilogue): Correctly handle functions
        with large frames, but no callee register saves.

        * mn10300/mn1300.md (movdf, movdi): Handle overlapping moves.

From-SVN: r13757
1997-03-21 08:49:58 -07:00
Jeff Law
90304f64f2 * pa/pa.c (compute_movstrsi_length): Handle residuals correctly.
From-SVN: r13756
1997-03-21 00:55:35 -07:00
Jeff Law
3b800f71d3 mn10300.md (cmpsi): Handle comparing a register with itself by adding zero to the reg.
* mn10300/mn10300.md (cmpsi): Handle comparing a register with
        itself by adding zero to the reg.  Z bit for such an insn is
        inverted.
        * mn10300/mn10300.c (notice_update_cc): Handle CC_INVERT.

From-SVN: r13755
1997-03-20 12:25:46 -07:00
Michael Meissner
5ae4759c1c Patches from wilson; consider fp constants if -mrelocatable to be hard
From-SVN: r13754
1997-03-20 19:02:29 +00:00
Jeff Law
09ece7b528 pa.c (emit_move_sequence): Don't lose for a secondary reload to the SAR register if...
* pa/pa.c (emit_move_sequence): Don't lose for a secondary reload
        to the SAR register if the input is a MEM with an offset that won't
        fit in 14bits.

From-SVN: r13753
1997-03-20 09:00:49 -07:00