Commit Graph

2876 Commits

Author SHA1 Message Date
Richard Stallman
4d411872e3 (eliminate_regs_in_insn): Don't recopy new_body if it is an asm_operands insn.
From-SVN: r2877
1992-12-16 01:30:36 +00:00
Jim Wilson
262121f070 (return peepholes): Add QImode and HImode move/return patterns.
From-SVN: r2876
1992-12-15 16:42:21 -08:00
Richard Kenner
190315a70f Add new UNSPEC_VOLATILE 0 to flush instruction cache.
From-SVN: r2875
1992-12-15 17:41:56 -05:00
Richard Kenner
7981384fa7 (ASM_SPEC): New macro.
(TRAMPOLINE_{TEMPLATE,SIZE}, INITIALIZE_TRAMPOLINE): Make major
changes to fix numerous bugs.

From-SVN: r2874
1992-12-15 17:41:33 -05:00
Richard Kenner
9353d0a3fb (output_epilog): Support LANGUAGE_STRING values for F77,
Ada, and Pascal.

From-SVN: r2873
1992-12-14 13:16:00 -05:00
Richard Stallman
10c344b44c (struct rtx_def) [ONLY_INT_FIELDS]: Handle CODE_FIELD_BUG.
From-SVN: r2872
1992-12-13 01:44:12 +00:00
Richard Stallman
e3bd591110 (ONLY_INT_FIELDS): Define if not __GNUC__.
(ONLY_INT_FIELDS): Define if not __GNUC__.
(CODE_FIELD_BUG): Likewise.

From-SVN: r2871
1992-12-13 01:43:14 +00:00
Richard Stallman
30aec88d0e Don't use rcc:
(CC, OLDCC, RCCFLAGS, CCLIBFLAGS): Vars deleted.

From-SVN: r2870
1992-12-13 01:40:49 +00:00
Richard Kenner
028ea68770 entered into RCS
From-SVN: r2869
1992-12-12 17:52:24 -05:00
Richard Kenner
495f1dd87f (FUNCTION_ARG_PASS_BY_REFERENCE): Deleted.
From-SVN: r2868
1992-12-12 17:51:31 -05:00
Richard Kenner
937868a232 (alpha_builtin_savregs): Correctly compute ARGSIZE and NREGS.
From-SVN: r2867
1992-12-12 17:50:59 -05:00
Jeff Law
aca49971b6 pa-hpux.h (TARGET_DEFAULT): Do not enable TARGET_SHARED_LIBS by default in 2.3.3 since it doesn't really work.
* pa-hpux.h (TARGET_DEFAULT): Do not enable TARGET_SHARED_LIBS
	by default in 2.3.3 since it doesn't really work.
	* pa-ghpux.h, pa1-hpux.h, pa1-ghpux.h: Likewise.

From-SVN: r2866
1992-12-12 07:39:24 -07:00
Jeff Law
7e98573853 * pa.md (floatsisf, floatsidf): Do not accept general registers.
From-SVN: r2865
1992-12-12 06:42:13 -07:00
Tom Wood
db660765c7 (choose_reload_regs): Don't inherit a reload if the
previous reload wasn't at least as wide as the current reload.

From-SVN: r2864
1992-12-11 13:18:32 +00:00
Richard Kenner
d8cfa4ee64 (get_condition): Check for overflow when canonicalizing comparison.
From-SVN: r2863
1992-12-11 07:18:53 -05:00
Richard Kenner
2af69b62de (assign_outer_stack_local): Align proper frame offset.
From-SVN: r2862
1992-12-11 07:18:03 -05:00
Richard Kenner
008d7af28d (output_epilog): Remove garbage from one decl of EXTRA.
(output_epilog): Remove garbage from one decl of EXTRA.  Subtract, not
add, size from frame pointer.

From-SVN: r2861
1992-12-11 07:17:37 -05:00
Richard Kenner
abf458fa2a (LINK_SPEC): Use -T, not -c, for new gld and change file name to
default.gld from default.ld.

From-SVN: r2860
1992-12-11 07:15:43 -05:00
Jim Wilson
2cdb7dfebe (limits.h): Add #ifndef/#endif around macros that
are supposed to be defined in float.h.

From-SVN: r2859
1992-12-10 14:53:23 -08:00
Jim Wilson
2d3c34adf2 (i_define, u_define, f_define): Add #undef before #define.
From-SVN: r2858
1992-12-10 14:52:49 -08:00
Jim Wilson
a70c61d9c4 (try_combine): Only use I2DEST as a scratch reg for
a split if it does not overlap any inputs of NEWPAT.

From-SVN: r2857
1992-12-10 12:52:48 -08:00
Richard Kenner
4090a6b33d (get_last_value): Never use value from later insn, even if reg is only
set once.

From-SVN: r2856
1992-12-10 12:45:01 -05:00
Richard Kenner
89e8a20f3e (IDENTIFIER_LIMBO_VALUE): Delete duplicate definition.
From-SVN: r2855
1992-12-10 10:23:22 -05:00
Tom Wood
7a35bbd4f3 (CPP_PREDEFINES): Define i386 and unix here.
(CPP_SPEC): Not here.

From-SVN: r2854
1992-12-10 13:53:26 +00:00
Jeff Law
22a3ade064 pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return type of DECL.
*pa.h (ASM_DECLARE_FUNCTION_NAME): Correctly get the return
	type of DECL.

From-SVN: r2853
1992-12-09 19:00:36 -07:00
Jeff Law
be82287d2f x-pa (CC): Set to "/usr/localbin/gcc" instead of "/usr/local/gcc"
* x-pa (CC): Set to "/usr/localbin/gcc" instead of
	"/usr/local/gcc"

From-SVN: r2852
1992-12-09 17:03:27 -07:00
Michael Meissner
b3de0f1f0e Do LEGITIMIZE_ADDRESS even if not optimizing.
From-SVN: r2851
1992-12-08 22:49:22 +00:00
Jeff Law
9bb77117a9 * pa.c (shadd_operand): Newfunction.
From-SVN: r2850
1992-12-08 09:54:51 -07:00
Tom Wood
a603c4aa00 (AS_BUG_FLOATING_CONSTANT, AS_BUG_TRAILING_LABEL): New.
(TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Output align 1 to
	accomodate the "trailing label" bug.
	(ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_FLOAT_OPERAND): Define to
	output values in hex to accomodate the "floating constant" bug.
	(PRINT_OPERAND_FLOAT, PRINT_OPERAND): Ditto.

From-SVN: r2849
1992-12-08 15:33:14 +00:00
Tom Wood
1d7a9c94f2 (expand_inline_function): Don't output line notes
for implicit formals.

From-SVN: r2848
1992-12-08 13:34:34 +00:00
Tom Wood
fb2660307d (temp_names): New variable.
(do_spec_1): Rewrite MKTEMP_EACH_FILE for %g/%u/%U.
	(choose_temp_base): Abort if mktemp yields a null string.

From-SVN: r2847
1992-12-08 13:34:05 +00:00
Richard Kenner
164c8956a0 (max_uid): New variable.
(cse_end_of_basic_block): Use it to ignore insns made by CSE.
(cse_main): Set it.

From-SVN: r2846
1992-12-08 06:21:29 -05:00
Richard Kenner
7c791b139c (eliminate_regs_in_insn): Make another copy of all the RTL if we
changed something and we aren't permanently replacing.

From-SVN: r2845
1992-12-07 21:43:55 -05:00
Richard Kenner
df6c0bdc91 (reload_out{q,h}i): Write as proper PARALLEL.
From-SVN: r2844
1992-12-07 19:09:10 -05:00
Richard Kenner
8a6f812952 (expand_binop): Correct sign of complex quotient imagpart.
From-SVN: r2843
1992-12-06 16:26:31 -05:00
Richard Kenner
67aac05d14 (add-mult): Add missing `&' in constraints of kludge plus/plus/mult
pattern.

From-SVN: r2842
1992-12-06 16:25:41 -05:00
Michael Meissner
1170af6745 Pass -call_shared to linker.
From-SVN: r2841
1992-12-06 12:57:23 +00:00
Michael Meissner
5251caf233 Fix bug when large stack frames (> 32k) are used, and saving both GP and FP registers.
From-SVN: r2840
1992-12-06 12:55:14 +00:00
Michael Meissner
2649b2ee2e Allow CSE to generate better code when refering to offsets > 32k.
From-SVN: r2839
1992-12-06 12:54:18 +00:00
Tom Wood
08455880e7 fix _cplusplus typo in SCO's tinfo.h
From-SVN: r2838
1992-12-05 00:49:52 +00:00
Richard Kenner
4f88a538e3 (output_line_command): Use alloca for line_cmd_buf.
From-SVN: r2837
1992-12-04 19:19:27 -05:00
Richard Kenner
fa7d8b922c (start_function): Use TYPE_MAIN_VARIANT when comparing return type
with previous prototype declaration.

(init_decl_processing): Don't use hardwired sizes for the modes when
making int{Q,H,S,D}I_type_mode and the unsigned versions of them; the
actual size depends on BITS_PER_UNIT.

From-SVN: r2836
1992-12-04 19:18:55 -05:00
Richard Kenner
7722328eef (cse_insn): Always pass result of canon_reg through validate_change
before using it in insn.

From-SVN: r2835
1992-12-04 19:17:47 -05:00
Richard Kenner
a10a765e2d entered into RCS
From-SVN: r2834
1992-12-04 19:15:09 -05:00
Richard Kenner
09b6dfc176 (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Copy
definitions from i386v4.h to get PIC code correct.

From-SVN: r2833
1992-12-04 19:13:25 -05:00
Jim Wilson
4bdf6e3d08 (ASM_SPEC): Pass "-K PIC" to assembler when pic.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
(SELECT_RTX_SECTION): Define.

From-SVN: r2832
1992-12-02 22:44:37 -08:00
Jim Wilson
c4eb2bd742 (finalize_pic): Remove "*_" from GLOBAL_OFFSET_TABLE name.
From-SVN: r2831
1992-12-02 22:43:32 -08:00
Jim Wilson
fd9287ae4d (sys/types.h): Check for [ \t]size_t not size_t.
From-SVN: r2830
1992-12-02 22:40:00 -08:00
Jim Wilson
6102fe9527 (optimize_reg_copy_2): Correct reg_n_refs updates.
From-SVN: r2829
1992-12-01 10:44:27 -08:00
Jim Wilson
0918de5b44 (INSTALLED_H): Add syslimits.h.
From-SVN: r2828
1992-12-01 10:32:53 -08:00