kenner [Fri, 29 Jul 1994 23:06:08 +0000 (23:06 +0000)]
(write_{l,r}brac): Specify return type of int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7826
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 23:05:12 +0000 (23:05 +0000)]
(bc_sym_write): Change %d to %lu in printf calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7825
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 23:04:10 +0000 (23:04 +0000)]
Add declaration of ctime.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7824
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 22:50:41 +0000 (22:50 +0000)]
(expand_function_start): Initialize VALUE_ADDRESS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7823
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 22:33:29 +0000 (22:33 +0000)]
(build_unary_op, case *INCREMENT_EXPR): Add size in bytes, not value
of sizeof.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7822
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 21:50:14 +0000 (21:50 +0000)]
(tst?f): Use CONST0_RTX instead of incorrect call to
immed_real_const_1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7821
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 21:36:13 +0000 (21:36 +0000)]
(move_block_to_reg): Do nothing if NREGS == 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7820
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 29 Jul 1994 21:16:58 +0000 (21:16 +0000)]
(special_symbol, do_xifdef): Don't access value.defn of a T_CONST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7819
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Fri, 29 Jul 1994 19:03:37 +0000 (19:03 +0000)]
(DO_GLOBAL_CTORS_BODY): Reverse order of execution
of constuctor lists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7818
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Fri, 29 Jul 1994 19:03:37 +0000 (19:03 +0000)]
Reverse order of execution of
destructor lists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7817
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:56:18 +0000 (23:56 +0000)]
(output_decl, case FUNCTION_DECL): Corrected and simplified code that
determined when to generate varargs or ANSI stdargs variable length
parameter list DWARF information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7816
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:48:33 +0000 (23:48 +0000)]
(expand_expr, case CONJ_EXPR): Use correct mode for parts of a complex
expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7815
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:38:46 +0000 (23:38 +0000)]
(extv, extzv): In patterns that will use movb and movw, ensure size is
8 or 16.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7814
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:28:18 +0000 (23:28 +0000)]
(expand_binop, case MULT [complex]) Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7813
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:21:33 +0000 (23:21 +0000)]
(FUNCTION_VALUE): New override.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7812
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 23:16:20 +0000 (23:16 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7811
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 21:34:53 +0000 (21:34 +0000)]
(compare_spill_regs): Simplify and return zero if registers are the same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7810
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 21:27:26 +0000 (21:27 +0000)]
(c-lex.o, distdir-start): Depend on $(srcdir)/c-gperf.h, not
c-gperf.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7809
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Thu, 28 Jul 1994 20:26:09 +0000 (20:26 +0000)]
#undef PCC_STATIC_STRUCT_RETURN
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7808
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Thu, 28 Jul 1994 20:23:02 +0000 (20:23 +0000)]
#define NO_IMPLICIT_EXTERN_C
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7807
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 28 Jul 1994 18:39:05 +0000 (18:39 +0000)]
(LIBGCC2_CFLAGS): Undo last patch. HAVE_ATEXIT is defined in svr4.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7806
138bc75d-0d04-0410-961f-
82ee72b054a4
krab [Thu, 28 Jul 1994 16:56:52 +0000 (16:56 +0000)]
removed declaration of bzero
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7805
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 12:07:05 +0000 (12:07 +0000)]
(finish_struct): Don't look at alignment of error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7804
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 11:11:09 +0000 (11:11 +0000)]
(try_combine): Don't make a MULT if none of the insns in our input had one.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7803
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 03:33:05 +0000 (03:33 +0000)]
(expand_mult): Properly set ADD_TARGET for add_variant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7802
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 28 Jul 1994 03:11:17 +0000 (03:11 +0000)]
(INITIAL_ELIMINATION_OFFSET): Properly compute offset between AP and
SP when get_frame_size and current_function_pretend_args_size are not
a multiple of 16 bytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7801
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 27 Jul 1994 23:06:43 +0000 (23:06 +0000)]
(ASM_OUTPUT_ASCII): Fix bug when first character of string constant is
single quote.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7800
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Wed, 27 Jul 1994 18:06:45 +0000 (18:06 +0000)]
Change i860 in #if to __i860__, as with other CPUs
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7799
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 27 Jul 1994 18:06:24 +0000 (18:06 +0000)]
(expand_divmod): Don't make REG_NOTE if last insn's destination isn't
QUOTIENT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7798
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 26 Jul 1994 23:45:11 +0000 (23:45 +0000)]
(expand_expr, case ARRAY_REF): Don't fold L"foo"[2].
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7797
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 26 Jul 1994 17:56:03 +0000 (17:56 +0000)]
(process_init_element): Do not call push_init_level
if the value is error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7796
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 26 Jul 1994 17:48:56 +0000 (17:48 +0000)]
(NO_IMPLICIT_EXTERN_C): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7795
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 25 Jul 1994 12:52:14 +0000 (12:52 +0000)]
Add BSDI support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7794
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 22 Jul 1994 18:33:37 +0000 (18:33 +0000)]
(andhi3, iorhi3, xorhi3): Change constraint on operand 2 from `i' to `n'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7793
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 22 Jul 1994 13:55:40 +0000 (13:55 +0000)]
DJ patches for MSDOS
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7792
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 22 Jul 1994 13:32:49 +0000 (13:32 +0000)]
Define NO_IMPLICIT_EXTERN_C
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7791
138bc75d-0d04-0410-961f-
82ee72b054a4
sac [Fri, 22 Jul 1994 06:12:36 +0000 (06:12 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7790
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 21 Jul 1994 22:13:24 +0000 (22:13 +0000)]
(build_module_descriptor): Don't set DECL_EXTERNAL on
current_function_decl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7789
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 21 Jul 1994 22:06:05 +0000 (22:06 +0000)]
(simplify_rtx): For (not (xor X C)) generate new rtx
instead of modifying old rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7788
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 21 Jul 1994 21:55:22 +0000 (21:55 +0000)]
(start_function): If old_decl is NULL, then set it to
the implicit decl if any. Delete superfluous test from warn missing
prototypes code. For warn missing declarations code, only warn if
previous decl is implicit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7787
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 21 Jul 1994 21:46:32 +0000 (21:46 +0000)]
(fold): Don't fold X-X to 0 if X is floating point
and !flag_fast_math.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7786
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 21 Jul 1994 06:07:22 +0000 (06:07 +0000)]
(stmp-multilib): Rework to handle make -n.
(stmp-multilib-sub): New target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7785
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 20 Jul 1994 02:17:55 +0000 (02:17 +0000)]
(clean): Remove multilib build dirs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7784
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 20 Jul 1994 00:32:31 +0000 (00:32 +0000)]
(print_operand, default case): Handle SFmode regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7783
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 02:17:24 +0000 (02:17 +0000)]
(call_operand): Use symbolic_operand not CONSTANT_P.
(call_operand_address): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7782
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 02:16:28 +0000 (02:16 +0000)]
(call*): Use symbolic_operand not immediate_operand.
Use 's' constraint not 'i' constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7781
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 02:08:23 +0000 (02:08 +0000)]
(rest_of_compilation): Clear DECL_ABSTRACT_ORIGIN if
clear DECL_INLINE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7780
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 02:05:10 +0000 (02:05 +0000)]
(process_command): When have -BstageN option, pass include
not stageN/../include to preprocessor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7779
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 02:02:32 +0000 (02:02 +0000)]
(find_reg): Store divide results in temporary variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7778
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 19 Jul 1994 01:58:06 +0000 (01:58 +0000)]
(move_movables): Aviod lossage when CALL_INSN_FUNCTION_USAGE
is NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7777
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 19 Jul 1994 00:54:49 +0000 (00:54 +0000)]
Rework required loop to avoid crash on decstation
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7776
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 18 Jul 1994 07:59:43 +0000 (07:59 +0000)]
(LIBGCC2_CFLAGS): Define HAVE_ATEXIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7775
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Sun, 17 Jul 1994 04:12:39 +0000 (04:12 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7774
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 16 Jul 1994 20:45:33 +0000 (20:45 +0000)]
Add libgcc copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7773
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 14 Jul 1994 16:58:37 +0000 (16:58 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7772
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 14 Jul 1994 13:42:18 +0000 (13:42 +0000)]
(force_reg): Don't make a REG_EQUAL note for an insn that doesn't set
TEMP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7771
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 13 Jul 1994 22:48:24 +0000 (22:48 +0000)]
(distdir-start): Make tmp/ginclude and copy its files.
(distdir-finish): Don't use -f Makefile.in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7770
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 13 Jul 1994 22:34:17 +0000 (22:34 +0000)]
(gcc.xtar.gz): Add --best.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7769
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Wed, 13 Jul 1994 20:55:07 +0000 (20:55 +0000)]
(expand_divmod, case CEIL_DIV_EXPR): Handle emit_store_flag returning 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7768
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 13 Jul 1994 20:35:03 +0000 (20:35 +0000)]
(store_field): Set MEM_IN_STRUCT_P on object and
blk_object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7767
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 13 Jul 1994 18:44:38 +0000 (18:44 +0000)]
(decode_field_reference): Merge operand of a BIT_AND_EXPR with the
mask made from the description of the field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7766
138bc75d-0d04-0410-961f-
82ee72b054a4
coxs [Wed, 13 Jul 1994 15:48:17 +0000 (15:48 +0000)]
Make dwarf debugging info the default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7765
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 13 Jul 1994 12:40:00 +0000 (12:40 +0000)]
Remove last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7764
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Wed, 13 Jul 1994 11:13:13 +0000 (11:13 +0000)]
(grok_reference_init): Always save the initializer of a reference.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7763
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Wed, 13 Jul 1994 11:13:13 +0000 (11:13 +0000)]
#if -0 out TYPE_NEEDS_CONSTRUCTING
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7762
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Wed, 13 Jul 1994 11:13:13 +0000 (11:13 +0000)]
Avoid warning building this file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7761
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Wed, 13 Jul 1994 11:13:13 +0000 (11:13 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7760
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Wed, 13 Jul 1994 11:09:55 +0000 (11:09 +0000)]
(USE_C_ALLOCA): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7759
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Wed, 13 Jul 1994 11:06:24 +0000 (11:06 +0000)]
Wed Jul 13 03:30:36 1994 Jason Merrill (jason@deneb.cygnus.com)
* tree.h (TYPE_NEEDS_CONSTRUCTING): New macro.
(tree_type): Add needs_constructing_flag.
* function.c (assign_parms): If TYPE_NEEDS_CONSTRUCTING, pass by
invisible reference.
* calls.c (expand_call): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7758
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 13 Jul 1994 10:47:59 +0000 (10:47 +0000)]
Include stdarg.h before stdio.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7757
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 13 Jul 1994 01:37:25 +0000 (01:37 +0000)]
(pushdecl): Don't call lookup_name_current_level_global
when traditional. When doing checks against
IDENTIFIER_LIMBO_VALUE, also do check against
INDENTIFIER_GLOBAL_VALUE when traditional.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7756
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 13 Jul 1994 01:31:36 +0000 (01:31 +0000)]
(getpwd): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7755
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Wed, 13 Jul 1994 01:07:30 +0000 (01:07 +0000)]
({save,restore}_stack_nonlocal): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7754
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Wed, 13 Jul 1994 01:06:31 +0000 (01:06 +0000)]
(FRAME_POINTER_REQUIRED): Always true if the function has a nonlocal
label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7753
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 12 Jul 1994 20:23:58 +0000 (20:23 +0000)]
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Only allow immediate addressing
using 5 bits to avoid losing with FP loads and stores on page zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7752
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 20:19:56 +0000 (20:19 +0000)]
(ashlsi3, lshrsi3, ashrsi3): Only output low-order five bits for
!TARGET_POWER case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7751
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 19:09:44 +0000 (19:09 +0000)]
(find_reloads): Don't try to call force_const_mem on a HIGH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7750
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Jul 1994 17:19:46 +0000 (17:19 +0000)]
(record_dead_and_set_regs_1): Can only handle SUBREG
if the register is smaller or equal to BITS_PER_WORD.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7749
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Jul 1994 17:15:53 +0000 (17:15 +0000)]
(FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7748
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Jul 1994 17:12:10 +0000 (17:12 +0000)]
Delete obsolete comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7747
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 17:10:25 +0000 (17:10 +0000)]
(allocate_dynamic_stack_space): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7746
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 12 Jul 1994 17:09:32 +0000 (17:09 +0000)]
(end_final): Store full path name in .d file not just the filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7745
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 16:39:17 +0000 (16:39 +0000)]
(fold, case MULT_EXPR): If arg is an unsigned CEIL_DIV_EXPR, convert
to TRUNC_DIV_EXPR of a PLUS_EXPR in some cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7744
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 16:19:40 +0000 (16:19 +0000)]
(ashldi3): Update pattern for (sign_extend (ashift ..)) to match the
current canonicalization.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7743
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Tue, 12 Jul 1994 14:54:45 +0000 (14:54 +0000)]
If OSF/rose, make -pic-extern always do shared libs, even if -pic-none was used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7742
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Tue, 12 Jul 1994 13:33:12 +0000 (13:33 +0000)]
(matcher for SFmode inequality comparison): Use cmfe, not cfm.
(matchers for {store-flag, not-store-flag, neg-store-flag}): Output
if-false instruction first before if-true instruction.
(matcher for (AND store-flag x)): Only match if reversible_cc_register.
(matcher for (IF-THEN-ELSE reg (NOT reg))): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7741
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Tue, 12 Jul 1994 13:31:10 +0000 (13:31 +0000)]
(PREDICATE_CODES): Add reversible_cc_register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7740
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Tue, 12 Jul 1994 13:31:10 +0000 (13:31 +0000)]
(reversible_cc_register): New function.
(final_prescan_insn): Don't try to conditionalize jumps with JUMP_CLOB
attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7739
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 13:07:53 +0000 (13:07 +0000)]
(round_push, allocate_dynamic_stack_space): Avoid using CEIL_DIV_EXPR;
add adjustment and use TRUNC_DIV_EXPR instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7738
138bc75d-0d04-0410-961f-
82ee72b054a4
erich [Tue, 12 Jul 1994 12:11:35 +0000 (12:11 +0000)]
(dbxout_source_file): Increment source_label_number outside
of macro expansion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7737
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 12 Jul 1994 02:07:46 +0000 (02:07 +0000)]
(movsi matcher): Add nop for moving special register to itself
for !TARGET_POWER.
(movhi and movqi matcher): Likewise and add mtjmpr attribute.
Separate MQ from CTR and LR target registers for TARGET_POWER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7736
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 11 Jul 1994 23:28:46 +0000 (23:28 +0000)]
(basic_machine): Add 1750a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7735
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 11 Jul 1994 23:28:23 +0000 (23:28 +0000)]
(assemble_real): Handle TQFmode output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7734
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 11 Jul 1994 23:27:23 +0000 (23:27 +0000)]
(convert_move): Add some conversions for TQFmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7733
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 11 Jul 1994 23:26:40 +0000 (23:26 +0000)]
(TQFmode): New mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7732
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 11 Jul 1994 23:23:51 +0000 (23:23 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7731
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 11 Jul 1994 22:53:08 +0000 (22:53 +0000)]
* h8300/h8300.md (cpu): New attribute.
(attribute length): Add h8/300h support.
(attribute cc): New value `cbit'.
(all anonymous insns): Give them names.
(move insns): Add h8/300h support.
(tstqi, tsthi): Use btst insn if able.
(arithmetic insns): Add h8/300h support.
(boolean insns): Likewise.
(negate insns): Likewise.
(branch insns): Likewise.
(call_value): Use call_insn_operand for operand 1.
(shift insns): Completely rewritten. Add h8/300h support.
(zero/sign extension insns): Add h8/300h support.
(extv): Deleted.
(insv, extzv): Only use for h8/300.
(bitfield insns): Completely rewritten.
(fancyb*): New insns for speeding up bit accesses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7730
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 11 Jul 1994 22:51:17 +0000 (22:51 +0000)]
* h8300/h8300.c (cpu_type, names_extended, names_upper_extended,
h8_reg_names, h8_push_ops, h8_pop_ops, h8_mov_ops, h8_push_op,
h8_pop_op, h8_mov_op, current_function_anonymous_args, extra_pop,
hand_list): New variables.
(h8300_init_once, asm_file_start, asm_file_end, ok_for_bclr, o_operand,
p_operand, call_insn_operand, jump_address_operand, bit_operand,
eq_operator, const_costs, notice_update_cc, bit_operator,
nshift_operator, expand_a_shift, get_shift_alg, emit_a_shift,
fix_bit_operand): New functions.
(shift_alg, shift_type, shift_mode): New enums.
(shift_insn): New struct.
(shift_n_bits, can_shift): Deleted.
(shift_one, rotate_one): New variables.
(WORD_REG_USED): New macro (was function word_reg_used).
(dosize, function_prologue, function_epilogue, print_operand_address):
Add h8/300h support.
(small_power_of_two): Renamed from potl8.
(potg8): Deleted.
(general_operand_src): Fix POST_INC case.
(general_operand_dst): Fix PRE_DEC case.
(function_arg): 3 regs of args are passed if -mquickcall.
4 regs of args are passed to handwritten assembler routines.
(print_operand): New cases 'A', 'P', 'S', 'U', 'W', 'b', 'c', 'd', 'g'.
Delete case 'O'. Sort cases. Add h8/300h support.
(do_movsi): Renamed from domovsi.
Handle reload_in_progress and reload_completed.
(initial_offset): Renamed from io. Add h8/300h support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7729
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 11 Jul 1994 22:50:27 +0000 (22:50 +0000)]
* h8300/h8300.h (CPP_PREDEFINES, CPP_SPEC, LIB_SPEC, TARGET_SWITCHES,
BITS_PER_WORD, MAX_BITS_PER_WORD, UNITS_PER_WORD, MAX_UNITS_PER_WORD,
POINTER_SIZE, PARM_BOUNDARY, BIGGEST_ALIGNMENT,
BIGGEST_FIELD_ALIGNMENT, STACK_BOUNDARY, HARD_REGNO_NREGS,
HARD_REGNO_MODE_OK, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
REGNO_REG_CLASS, PUSH_ROUNDING, FUNCTION_ARG_ADVANCE,
TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE,
CONSTANT_ADDRESS, MOVE_MAX, Pmode, SIZE_TYPE, PTRDIFF_TYPE):
Add h8/300h support.
(LINK_SPEC, TARGET_RTL_DUMP, TARGET_H8300, TARGET_H8300H,
REAL_ARITHMETIC, SETUP_INCOMING_VARARGS, HAVE_POST_INCREMENT,
HAVE_PRE_DECREMENT, MAX_MOVE_MAX, NO_BUILTIN_SIZE_TYPE,
NO_BUILTIN_PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE,
MAX_WCHAR_TYPE_SIZE, ASM_WORD_OP, INIT_SECTION_ASM_OP,
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, EXTRA_SECTIONS,
EXTRA_SECTION_FUNCTIONS, ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR,
DO_GLOBAL_CTORS_BODY, DO_GLOBAL_DTORS_BODY, INIT_TARGET_OPTABS):
Define.
(CAN_DEBUG_WITHOUT_FP, PCC_STATIC_STRUCT_RETURN, STRUCT_VALUE_REGNUM,
STRUCT_VALUE_INCOMING, STRUCTURE_SIZE_BOUNDARY): Undefine.
(enum reg_class): Add h8/300h support.
(emit_a_shift): Declare.
(TARGET_DEFAULT): Set default to -mquickcall.
(DOUBLE_TYPE_SIZE): Fix at 32. DFmode support doesn't exist.
(CALL_USED_REGISTERS, REG_ALLOC_ORDER): Swap registers 2,3 with 4,5.
Registers 0,1 contain function result, allocate after 2,3.
(STATIC_CHAIN_REGNUM): Use reg 4.
(CONST_OK_FOR_LETTER_P): 'O' is ok_for_bclr, 'P' is small_power_of_two.
(FUNCTION_PROFILER, FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): First
attempt at an implementation.
(CONST_COSTS): Move code into function const_costs.
(BRANCH_COST): Set to 0.
(NOTICE_UPDATE_CC): Move code into function notice_update_cc.
(ASM_FILE_START): Move code into function asm_file_start.
(ASM_FILE_END): Move code into function asm_file_end.
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use REAL_VALUE_TO_DECIMAL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7728
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 11 Jul 1994 22:49:34 +0000 (22:49 +0000)]
* h8300/t-h8300 (CROSS_LIBGCC1): Use libgcc1-asm.a.
(LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA, MULTILIB_OPTIONS,
MULTILIB_DIRNAMES, LIBGCC, INSTALL_LIBGCC): Define.
(fp-bit.c): Build it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7727
138bc75d-0d04-0410-961f-
82ee72b054a4