Commit Graph

2660 Commits

Author SHA1 Message Date
Jeff Law
43369be5d2 Put back changes lost in the last update of pa.h
From-SVN: r2461
1992-10-14 10:16:35 -06:00
Timothy Moore
d2a94ec006 *** empty log message ***
From-SVN: r2460
1992-10-14 14:50:17 +00:00
Timothy Moore
12c83d0b35 Initial revision
From-SVN: r2459
1992-10-14 14:35:44 +00:00
Richard Kenner
eee4bff6c2 (call, call_value): Don't use call_operand, since checking for
recursive calls at this point is not safe.

From-SVN: r2458
1992-10-14 07:19:23 -04:00
Richard Kenner
eb9aa33885 (call, call_value): Don't use call_operand, since checking for
recursive calls at this point is not safe.

(const_16_operand, const_24_operand, gpc_reg_or_immediate_operand):
Fix typo in declaration of MODE.
(and_operand, add_operand): Likwise.

From-SVN: r2457
1992-10-14 07:17:03 -04:00
Richard Stallman
a4f6608ca2 Some comments and whitespace cleaned up. RCS headers removed.
Include gstddef.h and objc-proto.h.
Don't include objcP.h or objc-protoP.h.
Avoid use of u_int, etc. so no need for sys/types.h.
Adjust for change in node_table field data type.

Fix calls to DEBUG_PRINTF; no longer wants stream as arg.

From-SVN: r2456
1992-10-14 09:49:27 +00:00
Richard Stallman
437b93370d (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.

(reg_name): Moved here.
Get rid of RCS headers.  Fix up whitespace and comments.
Make key field and corresponding args `const void *'.
Don't use assert.
Get rid of spurious array-level in node_table field; make it void **.
Declare module_hash_table, class_hash_table.
(hash_int): Divide by sizeof (void *), not by 2**that minus 1.

From-SVN: r2455
1992-10-14 09:32:39 +00:00
Richard Stallman
584322a463 Removed due to issues
From-SVN: r2454
1992-10-14 09:29:26 +00:00
Jeff Law
da8dce4a29 * pa.h (RTX_COST): Fix spacing typo.o
From-SVN: r2453
1992-10-14 01:11:36 -06:00
Richard Stallman
0ae2f0ff0c (sys/stream.h, sys/strsubr.h): Delete spurious `extern'
in various structure definitions.

From-SVN: r2452
1992-10-14 04:37:09 +00:00
Richard Stallman
cf99a7342b (reg_names): Make it static. Use DEBUG_REGISTER_NAMES if that's defined.
(DEBUG_PRINT_REG): Define if not defined.
(print_rtx): Use DEBUG_PRINT_REG for hard regs.

(reg_name): Moved here.

From-SVN: r2451
1992-10-14 04:23:52 +00:00
Richard Stallman
7124e1e508 (jump_optimize): Don't optimize jumps to store-flag insns
when BLKmode values are being compared.

From-SVN: r2450
1992-10-14 04:21:51 +00:00
Richard Stallman
fb3ef382a4 (single_set): fix typo in REG_UNUSED check.
From-SVN: r2449
1992-10-14 04:02:16 +00:00
Chris Smith
0bd2462c23 updates for 2.3
From-SVN: r2448
1992-10-14 01:27:21 +00:00
Richard Stallman
2c16c66660 (output_asm_insn): Advance over the = when processing %=.
From-SVN: r2447
1992-10-14 01:21:59 +00:00
Richard Stallman
2166571b8f (simplify_binary_operation): Insure that folded >> extends
the sign even if the host bootstrap compiler doesn't.

From-SVN: r2446
1992-10-14 01:20:21 +00:00
Richard Kenner
9f61f8addd Use GEN_INT when appropriate.
(define_attr type): New types for SQRT.
(call patterns): Use SCRATCH for LR0.
Use new predicate call_operand so that some integers can be
used as addresses; fix CALLI so it doesn't accept constant.
(EXBYTE, EXTHW, INBYTE, INHW): Use ZERO_EXTEND instead of AND
when combine will make it.
Use PSImode for BP value and don't reference BP explicitly.
Clean up define_expands for these operations.
(rotlsi3): Use PSImode pseudo for FC.
(sign_extend): Sign extension insns clobber BP.
({load,store}_multiple): Use PSImode pseudo for CR.
(MTSR): Add pattern for TRUNCATE from SImode to PSImode.
(sqrtsf2, sqrtdf2, movpsi): New patterns.
(load/store bytes/halfword): Clean up to accept temporaries as
input and use PSImode when required.
(movhi, movqi): Allocate temporaries here.
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): New patterns.
(movdf, movdi, movti): Use SCRATCH for BP register.
(reload_{in,out}{df,di,ti}): New patterns.

From-SVN: r2445
1992-10-13 19:08:44 -04:00
Richard Kenner
100fcf4cb3 (PROMOTE_MODE, ADJUST_COST): New macros.
(CALL_USED_REGISTERS): LR0 is call-used.
(HARD_REGNO_MODE_OK): Handle MODE_PARTIAL_INT and the special
registers that can only hold those modes.
(MODES_TIEABLE_P): Clean up and handle MODE_PARTIAL_INT modes.
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
classes LR0_REGS, FC_REGS, and CR_REGS.
(REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
(PREDICATE_CODES): Update for new and deleted predicates.

From-SVN: r2444
1992-10-13 19:07:51 -04:00
Richard Kenner
fba942c46d Now includes reload.h.
(spec_reg_operand): Validate mode and know that some regs support
MODE_PARTIAL_INT and some MODE_INT.
(call_operand, reload_memory_operand, a29k_get_reloaded_address)
 New functions.
(in_operand): Allow constants with MODE_PARTIAL_INT.
(out_operand): Allow special registers with any mode.
Any MEM a word or wider is valid.
(extend_operator): Deleted.
(secondary_reload_class): A pseudo is the same as memory; we need
BP_REGS for multi-word memory or for bytes and halfword if -mndw.
(print_operand): Delete %X; add %m.
(print_operand, case 'F'): Check for SYMBOL_REF.

From-SVN: r2443
1992-10-13 19:07:05 -04:00
Richard Stallman
be71bebdc0 (stdio.h): Fix va_list when preceeded by a *.
From-SVN: r2442
1992-10-13 20:53:10 +00:00
Brendan Kehoe
13cc7b777a spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
* spc-sol2.h (STARTFILE_SPEC): Add crtbegin.o.
        (LIB_SPEC): Add crtend.o for running ctors/dtors.
        * t-sol2 (EXTRA_PARTS): Add crtbegin.o and crtend.o for C++.
        (FIXINCLUDES): Deleted.
        * configure (sparc-*-solaris2*): Set fixincludes here.

From-SVN: r2441
1992-10-13 14:56:57 -04:00
Tom Wood
1c01e9df92 (loop_optimize): Verify that max_uid_for_loop is still larger than the uid of any insn.
(loop_optimize): Verify that max_uid_for_loop is still
	larger than the uid of any insn.  Increase the number of exit
	blocks from 4 to 32 per loop.
	(find_and_verify_loops): Stop trying to relocate exit blocks when
	allocating a new label would exceed max_uid_for_loop.

From-SVN: r2440
1992-10-13 18:45:45 +00:00
Richard Stallman
2988e8a39e Simplify extraction of YYEMPTY from cp-parse.c.
Generate c-parse.y, objc-parse.y from c-parse.in if required.

From-SVN: r2439
1992-10-13 18:35:12 +00:00
Jim Wilson
cab554610b (in_branch_delay): Allow fpload and fpstore.
From-SVN: r2438
1992-10-13 11:31:01 -07:00
Jim Wilson
aad3ab2fc7 Correct comment from last change.
From-SVN: r2437
1992-10-13 11:29:02 -07:00
Jim Wilson
915ee62371 (main): Only install a signal handler for signals that already have handlers.
(main): Only install a signal handler for signals
that already have handlers.
(fork_execute): Don't ignore signals before calling do_wait.

From-SVN: r2436
1992-10-13 11:24:57 -07:00
Jim Wilson
bc9c7a369c (*): Change 'f' constraint for dest to '*f' if it is not the only alternative.
(*):  Change 'f' constraint for dest to '*f' if it is not the
only alternative.  Add '*f' dest constraints to all patterns where
it is valid but was previously missing.

From-SVN: r2435
1992-10-13 11:21:37 -07:00
Jim Wilson
7c08017416 (call, call_value): No longer call i960_expand_call,
instead call call_internal/call_value_internal pattern.
(call_internal, call_value_internal): Rewrite patterns to pass new
args to i960_output_call_insn.

From-SVN: r2434
1992-10-13 11:18:30 -07:00
Jim Wilson
83f49630c3 (g14_save_reg): Delete variable.
(i960_output_call_insn): Add two new parameters arg_pointer and
scratch_reg.  Save/set/restore g14 if necessary.
(i960_expand_call): Delete function.

From-SVN: r2433
1992-10-13 11:17:38 -07:00
Jim Wilson
b716816135 (OVERRIDE_OPTIONS): Enable function inlining.
From-SVN: r2432
1992-10-13 11:16:59 -07:00
Jim Wilson
704dabc732 (movstrsi+1): Add `+' to constraints for clobbered inputs.
From-SVN: r2431
1992-10-13 11:12:24 -07:00
Jim Wilson
76542a00ce (i960_output_call_insn): Emit bx instead of b, callx instead of callj.
From-SVN: r2430
1992-10-13 11:09:59 -07:00
Jim Wilson
d4f55d3b03 (sparc_frw_output_function_prologue): Frame pointer base
must be same as for regular sparc code.

From-SVN: r2429
1992-10-13 11:06:26 -07:00
Tom Wood
64b7b7a3f6 (mostly_false_jump): Recognize a sequence properly.
From-SVN: r2428
1992-10-13 17:09:04 +00:00
Tom Wood
68403115dd (ext shift patterns): No longer needed.
From-SVN: r2427
1992-10-13 17:08:49 +00:00
Tom Wood
696223d7cd (subst): Don't change a conditional branch into a conditional move.
From-SVN: r2426
1992-10-13 10:01:01 +00:00
Richard Stallman
7f0a4b0a03 (install-fixincludes): Only delete an existing
syslimits.h if we install limits.h over it.

From-SVN: r2425
1992-10-13 07:27:14 +00:00
Jeff Law
cea3004862 * pa.h (LEGITIMIZE_ADDRESS): Fix typo.
From-SVN: r2424
1992-10-12 23:30:58 -06:00
Richard Stallman
a506307a2f (pop_function_context, push_function_context):
Call {save,restore}_varasm_status.

From-SVN: r2423
1992-10-13 05:13:01 +00:00
Richard Stallman
17d4d0e032 (install-common): Put - on cmd that handles protoize.
(gcc.o, cccp.o): Define TOOLDIR for the compilation.
(all HOST_PREFIX_1 targets): Fix typos.

From-SVN: r2422
1992-10-13 05:07:59 +00:00
Richard Stallman
1cf549b1fe entered into RCS
From-SVN: r2421
1992-10-13 04:43:39 +00:00
Richard Stallman
20f92396c3 Include hconfig.h, not config.h.
From-SVN: r2420
1992-10-13 04:40:12 +00:00
Richard Stallman
0d64891c95 Include hconfig.h, not config.h.
From-SVN: r2419
1992-10-13 04:24:45 +00:00
Richard Stallman
ae54cf6ddc Make hconfig.h.
From-SVN: r2418
1992-10-13 04:22:19 +00:00
Richard Stallman
18eb82836c Make hconfig.h.
From-SVN: r2417
1992-10-13 04:14:27 +00:00
Richard Stallman
aa40bfadfa (PRINT_OPERAND): Detect `double' constants by DFmode,
since VOIDmode means an integer.

From-SVN: r2416
1992-10-12 22:33:26 +00:00
Richard Stallman
d05c8ee724 (reg_names): Reinstate the definition here.
From-SVN: r2415
1992-10-12 22:21:04 +00:00
James Van Artsdalen
9816614945 (cmpstrM patterns): Compare strings of unsigned chars, not strings of
signed chars.

From-SVN: r2414
1992-10-12 21:38:15 +00:00
James Van Artsdalen
b329456eff (alter_cond): If CC_NOT_SIGNED, convert signed conditions to unsigned.
From-SVN: r2413
1992-10-12 21:37:11 +00:00
James Van Artsdalen
e8a2790cc7 (CC_NOT_SIGNED): New macro.
From-SVN: r2412
1992-10-12 21:36:50 +00:00