Commit Graph

7156 Commits

Author SHA1 Message Date
Richard Kenner d5c88b0ab9 Clarify license status.
From-SVN: r7169
1994-04-28 18:29:12 -04:00
Richard Kenner 1f5f71ae0a (output_prolog): Use mr, lis, and li instructions.
Use subf instruction if TARGET_POWERPC.
(output_epilog): Use cal/addi instruction.

From-SVN: r7168
1994-04-28 18:10:10 -04:00
Richard Kenner 6e151478b5 Add missing blank line.
From-SVN: r7167
1994-04-28 18:08:59 -04:00
Richard Kenner deb9225aa1 (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
1994-04-28 18:08:28 -04:00
Richard Kenner 40acaab846 (SHARED_SECTION_ASM_OP): Defined.
From-SVN: r7165
1994-04-28 12:48:55 -04:00
Doug Evans 33162bebd8 (expand_builtin): Fix typo in previous patch
(allow __builtin_next_arg in varargs functions).

From-SVN: r7164
1994-04-28 16:39:50 +00:00
Doug Evans 7d91bb4ebf (DIR): Delete.
From-SVN: r7163
1994-04-27 21:30:17 +00:00
Doug Evans 000e8e21bb (####site overrides): Remove Cygnus cruft.
From-SVN: r7162
1994-04-27 21:22:14 +00:00
Jason Merrill 4c5484839a Change _op_vec_decl to _op_vdel and _op_vec_new to _op_vnew
From-SVN: r7161
1994-04-27 07:19:33 +00:00
Per Bothner 05e3bdb9cb Use new macro AGGREGATE_TYPE_P.
From-SVN: r7160
1994-04-26 16:56:21 -07:00
Per Bothner 947765f9f2 New macro AGGREGATE_TYPE_P.
From-SVN: r7159
1994-04-26 16:55:44 -07:00
Richard Kenner 5db1a3c46e (grokdeclarator): Never warn about `long long' in system header.
From-SVN: r7158
1994-04-25 18:47:21 -04:00
Richard Kenner bb31ce0a4b (copy_constant, case CONSTRUCTOR): Fix typo; copied list was placed on
old CONSTRUCTOR, not new one.

From-SVN: r7157
1994-04-25 18:35:21 -04:00
Richard Kenner 72f5a12bcb (finish_decl): Redo last change.
From-SVN: r7156
1994-04-25 16:47:30 -04:00
Richard Kenner 094ecbb0ce (*compare*): Add missing semicolons.
From-SVN: r7155
1994-04-25 15:04:42 -04:00
Richard Kenner 75b1162915 (link_command_spec): Add -Z argument for ZMAGIC's on FreeBSD.
From-SVN: r7154
1994-04-25 14:23:10 -04:00
Richard Kenner 6c68c4abdd Recognize __FreeBSD__.
From-SVN: r7153
1994-04-25 14:22:17 -04:00
Richard Kenner 157735e867 (TARGET_NO_FANCY_MATH_387): Implement new option.
From-SVN: r7152
1994-04-25 14:21:16 -04:00
Richard Kenner 099800e348 (TARGET_NO_FANCY_MATH_387): New option.
From-SVN: r7151
1994-04-25 14:20:53 -04:00
Richard Kenner 8fbb5aeb7c Recognize FreeBSD.
From-SVN: r7150
1994-04-25 14:15:06 -04:00
Doug Evans ffb823ad58 (c++.install-common): Check for g++-cross.
From-SVN: r7149
1994-04-25 18:01:51 +00:00
Doug Evans 65e63687ff 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
1994-04-25 18:01:24 +00:00
Richard Kenner 2fe8d2d69a (install-common): Install EXTRA_PARTS with INSTALL_DATA, not
INSTALL_PROGRAM.

From-SVN: r7147
1994-04-25 13:02:35 -04:00
Richard Kenner 4b8a006289 (fold-convert): Use assignment, instead of initializing, aggregate
local variable REAL_VALUE_TYPE.

From-SVN: r7146
1994-04-25 06:33:38 -04:00
Richard Kenner 4791d99b58 (redirect_with_delay_list_safe_p): Fix off-by-one error.
From-SVN: r7145
1994-04-24 11:30:17 -04:00
Richard Kenner 008f0d3631 (etoe53, etoe24): Make all occurrences static.
From-SVN: r7144
1994-04-24 11:27:52 -04:00
Richard Kenner f4a3cd05d0 (try_split): Don't try to recursively split deleted insn.
From-SVN: r7143
1994-04-24 11:24:57 -04:00
Richard Kenner e1469d0dd9 (movti): Adjust constraints to avoid impossible reload.
From-SVN: r7142
1994-04-24 11:20:56 -04:00
Richard Kenner e70d22c84f (expand_expr, case SAVE_EXPR): Fix error in last change.
From-SVN: r7141
1994-04-24 11:17:02 -04:00
Richard Kenner 0aaf4a5876 (reloads_conflict, case RELOAD_FOR_OUTPUT): Fix typo.
From-SVN: r7140
1994-04-23 06:45:32 -04:00
Richard Kenner 6c396fb5dc (handle_braces, check_live_switch): Refine previous change.
From-SVN: r7139
1994-04-22 15:02:13 -04:00
Doug Evans 88622e34a3 (compare, compare3, gnucompare, gnucompare3): Add missing "'s.
From-SVN: r7138
1994-04-22 16:22:14 +00:00
Doug Evans 8e10b365d1 (mostlyclean, clean, distclean, extraclean, realclean): Delete.
These are done by the parent makefile now.

From-SVN: r7137
1994-04-22 08:32:54 +00:00
Doug Evans 013a2ee037 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
1994-04-22 08:25:33 +00:00
Doug Evans a594307580 Initial revision
From-SVN: r7135
1994-04-22 07:25:56 +00:00
Mike Stump 7177d104dd 33rd Cygnus<->FSF merge
From-SVN: r7134
1994-04-21 23:30:18 +00:00
Richard Kenner 0207efa210 (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
1994-04-21 19:08:53 -04:00
Richard Kenner 56f58d3a43 (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
1994-04-21 18:45:38 -04:00
Richard Kenner c448a43e24 (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
1994-04-21 18:27:25 -04:00
Richard Kenner defb5dab7d Upate comments and copyright notice.
From-SVN: r7130
1994-04-21 18:10:47 -04:00
Richard Kenner ac4cf5d96f (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
1994-04-21 17:23:49 -04:00
Jim Wilson f5da225ef4 (mem_aligned_8): Don't assume addresses with
MEM_IN_STRUCT_P set are 8 byte aligned.

From-SVN: r7128
1994-04-21 12:56:11 -07:00
Jim Wilson 9db8b14a27 (CPP_SPEC): Define _LANGUAGE_C for Objective C also.
From-SVN: r7127
1994-04-21 12:54:38 -07:00
Richard Kenner 53596fba5b Use CONST_DOUBLE_FROM_REAL_VALUE macro for immed_real_const_1.
From-SVN: r7126
1994-04-21 15:54:06 -04:00
Richard Kenner cfc3d13fe1 Finish installation of last change.
From-SVN: r7125
1994-04-21 15:51:45 -04:00
Jim Wilson 8d09227450 (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
1994-04-21 12:51:01 -07:00
Jim Wilson aee2c3c58e (sparc_type_code): Don't put more than 30 bits of info
into the variable qualifiers.

From-SVN: r7123
1994-04-21 12:49:26 -07:00
Jim Wilson c1da1f33b7 (store_expr): Don't check the TYPE_MODE of an ERROR_MARK.
From-SVN: r7122
1994-04-21 12:46:31 -07:00
Richard Kenner 704f4dca8c 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
1994-04-21 15:33:56 -04:00
Richard Kenner a035305579 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
1994-04-21 15:33:15 -04:00