Richard Kenner [Thu, 28 Apr 1994 22:08:28 +0000 (18:08 -0400)]
(addsi3): Prefer add without carry instructions and flag input operands as commutative for condition register variant.
(addsi3): Prefer add without carry instructions and
flag input operands as commutative for condition register variant.
(subsi3): Define PowerPC patterns using subtract without carry.
(numerous): Flag input operands as commutative for condition register variant.
(mov* matchers): Use mr instruction in ! TARGET_POWERPC case as well and
mr. in condition register variant.
From-SVN: r7166
Richard Kenner [Thu, 28 Apr 1994 16:48:55 +0000 (12:48 -0400)]
(SHARED_SECTION_ASM_OP): Defined.
From-SVN: r7165
Doug Evans [Thu, 28 Apr 1994 16:39:50 +0000 (16:39 +0000)]
(expand_builtin): Fix typo in previous patch
(allow __builtin_next_arg in varargs functions).
From-SVN: r7164
Doug Evans [Wed, 27 Apr 1994 21:30:17 +0000 (21:30 +0000)]
(DIR): Delete.
From-SVN: r7163
Doug Evans [Wed, 27 Apr 1994 21:22:14 +0000 (21:22 +0000)]
(####site overrides): Remove Cygnus cruft.
From-SVN: r7162
Jason Merrill [Wed, 27 Apr 1994 07:19:33 +0000 (07:19 +0000)]
Change _op_vec_decl to _op_vdel and _op_vec_new to _op_vnew
From-SVN: r7161
Per Bothner [Tue, 26 Apr 1994 23:56:21 +0000 (16:56 -0700)]
Use new macro AGGREGATE_TYPE_P.
From-SVN: r7160
Per Bothner [Tue, 26 Apr 1994 23:55:44 +0000 (16:55 -0700)]
New macro AGGREGATE_TYPE_P.
From-SVN: r7159
Richard Kenner [Mon, 25 Apr 1994 22:47:21 +0000 (18:47 -0400)]
(grokdeclarator): Never warn about `long long' in system header.
From-SVN: r7158
Richard Kenner [Mon, 25 Apr 1994 22:35:21 +0000 (18:35 -0400)]
(copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
old CONSTRUCTOR, not new one.
From-SVN: r7157
Richard Kenner [Mon, 25 Apr 1994 20:47:30 +0000 (16:47 -0400)]
(finish_decl): Redo last change.
From-SVN: r7156
Richard Kenner [Mon, 25 Apr 1994 19:04:42 +0000 (15:04 -0400)]
(*compare*): Add missing semicolons.
From-SVN: r7155
Richard Kenner [Mon, 25 Apr 1994 18:23:10 +0000 (14:23 -0400)]
(link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD.
From-SVN: r7154
Richard Kenner [Mon, 25 Apr 1994 18:22:17 +0000 (14:22 -0400)]
Recognize __FreeBSD__.
From-SVN: r7153
Richard Kenner [Mon, 25 Apr 1994 18:21:16 +0000 (14:21 -0400)]
(TARGET_NO_FANCY_MATH_387): Implement new option.
From-SVN: r7152
Richard Kenner [Mon, 25 Apr 1994 18:20:53 +0000 (14:20 -0400)]
(TARGET_NO_FANCY_MATH_387): New option.
From-SVN: r7151
Richard Kenner [Mon, 25 Apr 1994 18:15:06 +0000 (14:15 -0400)]
Recognize FreeBSD.
From-SVN: r7150
Doug Evans [Mon, 25 Apr 1994 18:01:51 +0000 (18:01 +0000)]
(c++.install-common): Check for g++-cross.
From-SVN: r7149
Doug Evans [Mon, 25 Apr 1994 18:01:24 +0000 (18:01 +0000)]
Remove Cygnus cruft.
(config.status): Delete.
(RTL_H): Define.
(TREE_H): Use complete pathname, some native makes have minimal VPATH support.
(*.o): Use complete pathname to headers in parent dir.
(doc, info, dvi): Delete.
From-SVN: r7148
Richard Kenner [Mon, 25 Apr 1994 17:02:35 +0000 (13:02 -0400)]
(install-common): Install EXTRA_PARTS with INSTALL_DATA, not
INSTALL_PROGRAM.
From-SVN: r7147
Richard Kenner [Mon, 25 Apr 1994 10:33:38 +0000 (06:33 -0400)]
(fold-convert): Use assignment, instead of initializing, aggregate
local variable REAL_VALUE_TYPE.
From-SVN: r7146
Richard Kenner [Sun, 24 Apr 1994 15:30:17 +0000 (11:30 -0400)]
(redirect_with_delay_list_safe_p): Fix off-by-one error.
From-SVN: r7145
Richard Kenner [Sun, 24 Apr 1994 15:27:52 +0000 (11:27 -0400)]
(etoe53, etoe24): Make all occurrences static.
From-SVN: r7144
Richard Kenner [Sun, 24 Apr 1994 15:24:57 +0000 (11:24 -0400)]
(try_split): Don't try to recursively split deleted insn.
From-SVN: r7143
Richard Kenner [Sun, 24 Apr 1994 15:20:56 +0000 (11:20 -0400)]
(movti): Adjust constraints to avoid impossible reload.
From-SVN: r7142
Richard Kenner [Sun, 24 Apr 1994 15:17:02 +0000 (11:17 -0400)]
(expand_expr, case SAVE_EXPR): Fix error in last change.
From-SVN: r7141
Richard Kenner [Sat, 23 Apr 1994 10:45:32 +0000 (06:45 -0400)]
(reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo.
From-SVN: r7140
Richard Kenner [Fri, 22 Apr 1994 19:02:13 +0000 (15:02 -0400)]
(handle_braces, check_live_switch): Refine previous change.
From-SVN: r7139
Doug Evans [Fri, 22 Apr 1994 16:22:14 +0000 (16:22 +0000)]
(compare, compare3, gnucompare, gnucompare3): Add missing "'s.
From-SVN: r7138
Doug Evans [Fri, 22 Apr 1994 08:32:54 +0000 (08:32 +0000)]
(mostlyclean, clean, distclean, extraclean, realclean): Delete.
These are done by the parent makefile now.
From-SVN: r7137
Doug Evans [Fri, 22 Apr 1994 08:25:33 +0000 (08:25 +0000)]
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
Doug Evans [Fri, 22 Apr 1994 07:25:56 +0000 (07:25 +0000)]
Initial revision
From-SVN: r7135
Mike Stump [Thu, 21 Apr 1994 23:30:18 +0000 (23:30 +0000)]
33rd Cygnus<->FSF merge
From-SVN: r7134
Richard Kenner [Thu, 21 Apr 1994 23:08:53 +0000 (19:08 -0400)]
(calls_function_1): A language-specific code must be assumed to call a function and also call alloca.
(calls_function_1): A language-specific code must be assumed to call a
function and also call alloca. Check for inlined functions that call
alloca.
From-SVN: r7133
Richard Kenner [Thu, 21 Apr 1994 22:45:38 +0000 (18:45 -0400)]
(reload): Clear forbidden_regs earlier.
(new_spill_reg): Mention in error message that asm clauses can also
cause the compiler to run out of spill regs.
(scan_paradoxical_regs): If SMALL_REGISTER_CLASSES, forbid hard regs
used in explicit user variables.
From-SVN: r7132
Richard Kenner [Thu, 21 Apr 1994 22:27:25 +0000 (18:27 -0400)]
(can_combine_p...
(can_combine_p, combinable_i3pat, try_combine): Allow combination
involving hard regs if the hard reg is a user variable.
From-SVN: r7131
Richard Kenner [Thu, 21 Apr 1994 22:10:47 +0000 (18:10 -0400)]
Upate comments and copyright notice.
From-SVN: r7130
Richard Kenner [Thu, 21 Apr 1994 21:23:49 +0000 (17:23 -0400)]
(default_compilers): If -E and the file is (e.g.) x.s, don't run the
assembler; similarly for .i, .ii, .adb, etc.
From-SVN: r7129
Jim Wilson [Thu, 21 Apr 1994 19:56:11 +0000 (12:56 -0700)]
(mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.
From-SVN: r7128
Jim Wilson [Thu, 21 Apr 1994 19:54:38 +0000 (12:54 -0700)]
(CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
Richard Kenner [Thu, 21 Apr 1994 19:54:06 +0000 (15:54 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
Richard Kenner [Thu, 21 Apr 1994 19:51:45 +0000 (15:51 -0400)]
Finish installation of last change.
From-SVN: r7125
Jim Wilson [Thu, 21 Apr 1994 19:51:01 +0000 (12:51 -0700)]
(find_splittable_givs): Share dest_reg for multiple address givs within a single instruction.
(find_splittable_givs): Share dest_reg for multiple
address givs within a single instruction.
(copy_loop_body): Only update psuedo-reg for shared giv once.
From-SVN: r7124
Jim Wilson [Thu, 21 Apr 1994 19:49:26 +0000 (12:49 -0700)]
(sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.
From-SVN: r7123
Jim Wilson [Thu, 21 Apr 1994 19:46:31 +0000 (12:46 -0700)]
(store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
Richard Kenner [Thu, 21 Apr 1994 19:33:56 +0000 (15:33 -0400)]
Add prototypes for static functions.
(expand_fixups): New function.
(fixup_gotos): Now static.
Don't call bc_fixup_gotos with wrong type (but now probably wrong value).
(bc_*): Now static.
(expand_exit_loop_if_false): Call bc_expand_goto_internal with proper null
pointer.
(expand_decl_init): Call bc_expand_decl_init if writing bytecode.
From-SVN: r7121
Richard Kenner [Thu, 21 Apr 1994 19:33:15 +0000 (15:33 -0400)]
Make most functions static and add prototypes for all static functions.
(GET_REAL, PUT_REAL): Cast parameter to proper pointer type in some
cases; use unsigned array.
From-SVN: r7120
Richard Kenner [Thu, 21 Apr 1994 19:32:38 +0000 (15:32 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7119
Richard Kenner [Thu, 21 Apr 1994 19:31:56 +0000 (15:31 -0400)]
Add prototypes for static functions.
From-SVN: r7118
Richard Kenner [Thu, 21 Apr 1994 19:31:30 +0000 (15:31 -0400)]
Add prototypes for static functions.
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7117
Richard Kenner [Thu, 21 Apr 1994 19:30:29 +0000 (15:30 -0400)]
Add prototypes for static functions.
(bc_expand_function_end, expand_function_end): Call new expand_fixups
instead of old fixup_gotos.
From-SVN: r7116
Richard Kenner [Thu, 21 Apr 1994 19:29:50 +0000 (15:29 -0400)]
Include stdio.h and ctype.h early.
Add prototypes for static functions.
From-SVN: r7115
Richard Kenner [Thu, 21 Apr 1994 19:28:59 +0000 (15:28 -0400)]
(bc_expand_expr): Call expand_decl and expand_decl_init, not the bc_
versions.
From-SVN: r7114
Richard Kenner [Thu, 21 Apr 1994 19:27:24 +0000 (15:27 -0400)]
Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7113
Richard Kenner [Thu, 21 Apr 1994 19:25:36 +0000 (15:25 -0400)]
(main): Don't write overly-long line.
From-SVN: r7112
Richard Kenner [Thu, 21 Apr 1994 19:25:12 +0000 (15:25 -0400)]
(STDIO_PROTO): Don't define here.
From-SVN: r7111
Richard Kenner [Thu, 21 Apr 1994 19:24:48 +0000 (15:24 -0400)]
(PROTO, STDIO_PROTO): Likewise.
From-SVN: r7110
Richard Kenner [Thu, 21 Apr 1994 19:24:23 +0000 (15:24 -0400)]
Add missing declarations of functions in final.c.
(STDIO_PROTO): Don't define here.
From-SVN: r7109
Richard Kenner [Thu, 21 Apr 1994 19:24:02 +0000 (15:24 -0400)]
Add prototypes to declarations of functions in real.c.
(immed_real_const_1): Move declaration from rtl.h.
From-SVN: r7108
Richard Kenner [Thu, 21 Apr 1994 19:23:35 +0000 (15:23 -0400)]
If RTX_CODE undefined, make an incomplete struct for rtx.
Add some missing declarations of functions in stmt.c.
(STDIO_PROTO): Define here if not already defined.
From-SVN: r7107
Richard Kenner [Thu, 21 Apr 1994 19:23:14 +0000 (15:23 -0400)]
If TREE_CODE undefined, make an incomplete union for tree.
(STDIO_PROTO): Define here if not already defined.
(read_rtx): Use STDIO_PROTO.
(output_constant_def, immed_real_const): Use "union tree_node *".
(immed_real_const_1): Move declaration to real.h.
(rtx_to_tree_code): Supply prototype.
From-SVN: r7106
Ian Lance Taylor [Thu, 21 Apr 1994 18:28:09 +0000 (18:28 +0000)]
Handle taking address of function when using -membedded-pic
From-SVN: r7105
Doug Evans [Wed, 20 Apr 1994 23:38:22 +0000 (23:38 +0000)]
(init_reg_sets_1): Make static.
(init_reg_modes): New function.
(init_regs): Likewise.
From-SVN: r7104
Doug Evans [Wed, 20 Apr 1994 23:36:30 +0000 (23:36 +0000)]
(compile_file): Call new function init_regs.
(main): Delete call to init_reg_sets_1.
From-SVN: r7103
Steve Chamberlain [Wed, 20 Apr 1994 19:17:23 +0000 (19:17 +0000)]
ls -la
From-SVN: r7102
Steve Chamberlain [Wed, 20 Apr 1994 19:17:23 +0000 (19:17 +0000)]
*** empty log message ***
From-SVN: r7101
Jason Merrill [Wed, 20 Apr 1994 18:12:36 +0000 (18:12 +0000)]
(expand_expr): Don't force ignore when expanding the subexpression of a WITH_CLEANUP_EXPR.
(expand_expr): Don't force ignore when expanding the
subexpression of a WITH_CLEANUP_EXPR. Don't check ignore when
deciding whether or not to expand the cleanup for a TARGET_EXPR.
From-SVN: r7100
Doug Evans [Wed, 20 Apr 1994 16:12:33 +0000 (16:12 +0000)]
(lshlsi3): Delete.
From-SVN: r7099
Doug Evans [Wed, 20 Apr 1994 16:11:46 +0000 (16:11 +0000)]
(RTX_COSTS): Remove LSHIFT, add LSHIFTRT.
From-SVN: r7098
Doug Evans [Wed, 20 Apr 1994 16:11:04 +0000 (16:11 +0000)]
(output_shift, ASHIFTRT case): Do opposite shift as ASHIFT.
Delete LSHIFT case.
From-SVN: r7097
Doug Evans [Wed, 20 Apr 1994 16:03:30 +0000 (16:03 +0000)]
(i960_expr_alignment): Remove LSHIFT.
From-SVN: r7096
Doug Evans [Wed, 20 Apr 1994 16:02:55 +0000 (16:02 +0000)]
(safe_insn_src_p): Remove LSHIFT.
(single_insn_src_p): Likewise.
From-SVN: r7095
Doug Evans [Wed, 20 Apr 1994 16:01:38 +0000 (16:01 +0000)]
(lshrhi3_eight): Fix name.
(lshrhi3): Use it.
From-SVN: r7094
Doug Evans [Wed, 20 Apr 1994 16:01:13 +0000 (16:01 +0000)]
(RTX_COSTS): Remove LSHIFT.
From-SVN: r7093
Richard Kenner [Wed, 20 Apr 1994 10:40:07 +0000 (06:40 -0400)]
(check_newline): Avoid unreachable statement when HANDLE_SYSV_PRAGMA
defined.
From-SVN: r7092
Steve Chamberlain [Wed, 20 Apr 1994 05:55:28 +0000 (05:55 +0000)]
*** empty log message ***
From-SVN: r7091
Doug Evans [Wed, 20 Apr 1994 03:40:01 +0000 (03:40 +0000)]
(attach_deaths): Create partial register dead notes using
register's intrinsic mode.
From-SVN: r7090
Doug Evans [Wed, 20 Apr 1994 03:38:46 +0000 (03:38 +0000)]
(move_deaths): Record death information of remaining
registers in their intrinsic mode.
From-SVN: r7089
Doug Evans [Wed, 20 Apr 1994 03:37:45 +0000 (03:37 +0000)]
(emit_reload_insns): Record additional spill registers in their intrinsic mode.
From-SVN: r7088
Doug Evans [Wed, 20 Apr 1994 03:36:49 +0000 (03:36 +0000)]
(choose_hard_reg_mode): Define here.
(reg_raw_mode): Define.
(init_reg_sets_1): Initialize reg_raw_mode.
From-SVN: r7087
Doug Evans [Wed, 20 Apr 1994 03:36:09 +0000 (03:36 +0000)]
(choose_hard_reg_mode): Delete from here.
From-SVN: r7086
Doug Evans [Wed, 20 Apr 1994 03:34:57 +0000 (03:34 +0000)]
#include regs.h.
#include regs.h.
(use_regs): Use reg_raw_mode.
From-SVN: r7085
Doug Evans [Wed, 20 Apr 1994 03:33:53 +0000 (03:33 +0000)]
(choose_hard_reg_mode): Declare.
From-SVN: r7084
Doug Evans [Wed, 20 Apr 1994 03:33:09 +0000 (03:33 +0000)]
(reg_raw_mode): Declare.
From-SVN: r7083
Doug Evans [Wed, 20 Apr 1994 03:32:22 +0000 (03:32 +0000)]
(expr.o): Depend on regs.h.
From-SVN: r7082
Mike Stump [Wed, 20 Apr 1994 01:39:59 +0000 (01:39 +0000)]
Add -fhandle-signatures for C++ frontend.
From-SVN: r7081
Richard Kenner [Tue, 19 Apr 1994 23:00:10 +0000 (19:00 -0400)]
(do_error): Don't terminate.
From-SVN: r7080
Richard Kenner [Tue, 19 Apr 1994 21:57:14 +0000 (17:57 -0400)]
Add new options -print-file-name= and -print-prog-name=.
From-SVN: r7079
Richard Kenner [Tue, 19 Apr 1994 21:48:23 +0000 (17:48 -0400)]
(struct switchstr): New field LIVE_COND.
(process_command): Initialize it.
(check_live_switch): New function.
(handle_braces): Call it.
From-SVN: r7078
Richard Kenner [Mon, 18 Apr 1994 23:22:14 +0000 (19:22 -0400)]
(RTX_COSTS): Remove LSHIFT.
From-SVN: r7077
Richard Kenner [Mon, 18 Apr 1994 21:56:01 +0000 (17:56 -0400)]
(duplicate_decls): Always warn when const declaration follows
non-const one for variables.
From-SVN: r7076
Richard Kenner [Mon, 18 Apr 1994 20:38:16 +0000 (16:38 -0400)]
(prepare_call_address): Extend prototype.
From-SVN: r7075
Richard Kenner [Mon, 18 Apr 1994 20:37:34 +0000 (16:37 -0400)]
(expand_builtin_apply): Pass new arg to prepare_call_address.
From-SVN: r7074
Richard Kenner [Mon, 18 Apr 1994 20:37:01 +0000 (16:37 -0400)]
(prepare_call_address): New arg REG_PARM_SEEN.
All callers changed.
(expand_call): Pre-load args if small reg classes and reg parms.
From-SVN: r7073
Richard Kenner [Mon, 18 Apr 1994 19:41:06 +0000 (15:41 -0400)]
(const_binop): If arg is NaN, just return it
(const_binop): If arg is NaN, just return it
(fold_convert): Handle NaN in real->int and real->real cases.
From-SVN: r7072
Richard Kenner [Mon, 18 Apr 1994 19:25:32 +0000 (15:25 -0400)]
(yylex): If FP value is NaN, use value of zero.
From-SVN: r7071
Richard Kenner [Mon, 18 Apr 1994 18:53:01 +0000 (14:53 -0400)]
(expand_value_return, expand_decl): Use promote_mode.
From-SVN: r7070
Richard Kenner [Mon, 18 Apr 1994 18:52:26 +0000 (14:52 -0400)]
(expand_expr, case VAR_DECL, SAVE_EXPR): Use promote_mode.
From-SVN: r7069
Richard Kenner [Mon, 18 Apr 1994 18:51:48 +0000 (14:51 -0400)]
(assign_parms, promoted_input_arg, expand_function_start): Use promote_mode.
From-SVN: r7068
Richard Kenner [Mon, 18 Apr 1994 18:50:53 +0000 (14:50 -0400)]
(expand_call): Use promote_mode.
From-SVN: r7067