Commit Graph

4880 Commits

Author SHA1 Message Date
Brendan Kehoe d412ec4c71 Cygnus<->FSF merge.
From-SVN: r4893
1993-07-09 17:27:52 -04:00
Doug Evans fb93c62365 Make `solaris' reflect the most recent major release.
From-SVN: r4892
1993-07-09 20:44:12 +00:00
Jeff Law 4c2164b713 pa.md (default length define_attr): Lengths are in bytes now.
* pa.md (default length define_attr): Lengths are in bytes now.
        (asm_attributes): Likewise.
        (delay slot attributes): Deal with lengths in bytes.
        (explicit length computations): Compute length in bytes.

From-SVN: r4891
1993-07-09 14:29:50 -06:00
Jeff Law a1b36964f8 pa.c (compute_movstrsi_length): Return length in bytes.
* pa.c (compute_movstrsi_length): Return length in bytes.
        (pa_adjust_insn_length): Return adjustment in bytes.
        (output_cbranch): Handle lengths as bytes.
        (output_bb, output_dbra, output_movb): Likewise.

From-SVN: r4890
1993-07-09 14:29:36 -06:00
Jeff Law 2af5b845e6 * pa.h (CASE_VECTOR_MODE): Change to DImode.
From-SVN: r4889
1993-07-09 14:29:17 -06:00
Jeff Law b1a275e1e0 pa.c (pa_adjust_insn_length): dbra and movb insns which have their output in a FP register do not need adjustment.
* pa.c (pa_adjust_insn_length): dbra and movb insns which have
        their output in a FP register do not need adjustment.
        (output_cbranch, output_bb): Handle conditional jump to the
        following instruction.
        (output_dbra): New function extracted from dbra pattern.
        (output_movb): New function.
        (eq_neq_comparison_operator): New function.
        (movb_comparison_operator): New function.

From-SVN: r4888
1993-07-09 14:22:50 -06:00
Jeff Law 98b2d88783 pa.md (dbra pattern): Use output_dbra.
* pa.md (dbra pattern): Use output_dbra.
        (dbra pattern #2): New pattern.  Also use output_dbra.
        (movb, inverted movb): New patterns.

From-SVN: r4887
1993-07-09 14:22:15 -06:00
Jeff Law 6bd5174eb2 * pa.h (output_dbra, output_movb): Declare.
From-SVN: r4886
1993-07-09 14:21:56 -06:00
Richard Stallman 9b40e174b2 (ASM_OUTPUT_OPCODE): Don't add .w suffix to jump insns.
From-SVN: r4885
1993-07-09 06:59:48 +00:00
Richard Stallman 9c3b4c8be3 Include stdio.h before rtl.h.
From-SVN: r4884
1993-07-09 05:09:25 +00:00
Jim Wilson c90fb4e6d4 (singlemove_string): Convert SFmode by REAL_VALUE... macros.
From-SVN: r4883
1993-07-07 16:55:55 -07:00
Jim Wilson d667538bbf (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Use REAL_VALUE_TO_DECIMAL to generate decimal string.
(REAL_ARITHMETIC): Define.

From-SVN: r4882
1993-07-07 16:55:27 -07:00
Jim Wilson 15f67e0660 (SECONDARY_MEMORY_NEEDED_RTX): Use STARTING_FRAME_OFFSET.
(STARTING_FRAME_OFFSET): Set to -16.

From-SVN: r4881
1993-07-07 16:08:46 -07:00
Jim Wilson f5a1436b01 (simple_if): Save stmt_count, and print empty body warning here.
(simple_if): Save stmt_count, and print empty body
warning here.
(if_prefix): Don't save stmt_count here.
(stmt): Don't print empty body warning here.

From-SVN: r4880
1993-07-07 15:59:22 -07:00
Jim Wilson ea961c18aa (sparc_frw_save_restore): Add parentheses to satify gcc.
From-SVN: r4879
1993-07-07 15:06:00 -07:00
Jim Wilson d57c66daa6 (convert_to_mode): Move misplaced parentheses.
From-SVN: r4878
1993-07-07 15:04:52 -07:00
Jim Wilson 34785d0514 (simplify_comparison): Add parentheses to satify gcc.
From-SVN: r4877
1993-07-07 15:03:52 -07:00
Ian Lance Taylor 706fdb4557 Don't override system definition of MB_LEN_MAX
From-SVN: r4876
1993-07-07 20:41:28 +00:00
Jeff Law b9821af87b pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts insns which really need adjustment.
* pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts
        insns which really need adjustment.
        (output_cbranch): Rework so that output templates are simpler.
        Use shorter sequence for long backwards conditional branches with
        a filled delay slot that is nullified.  More agressively use "skip"
        instructions.  More agressively nullify the delay slot if nothing
        useful could be placed there.
        (output_bb): Likewise.
	(forward_branch_p): New function.

From-SVN: r4875
1993-07-07 14:40:06 -06:00
Jeff Law f65590a907 pa.md (conditional branches): Use the full displacement range for the branch target.
* pa.md (conditional branches): Use the full displacement range
        for the branch target.  Update length computations to match current
        reality.
        (branch on bit patterns): Likewise.
        (decrement_and_branch_until_zero): Re-enable pattern.  Rewrite to
        be simpler and more efficient.  Also handle case where loop counter
        is in a FP register.

From-SVN: r4874
1993-07-07 14:38:50 -06:00
Richard Stallman e287977a71 Added fixup for __STDC__ == 0 and __STDC__ == 1
cases found in sequent PTX-2.0.x headers.

From-SVN: r4873
1993-07-07 18:32:47 +00:00
Ian Lance Taylor f820b89885 Search for ld in the compiler directories.
From-SVN: r4872
1993-07-07 18:20:25 +00:00
Jim Wilson cf0c751a4f (fork_execute, scan_prog_file): Use "fork" in error
messages instead of "vfork" when vfork is defined to fork.

From-SVN: r4871
1993-07-07 10:40:32 -07:00
Jim Wilson 26902ae072 (sparc_type_code): Recognize SET_TYPE.
(sparc_type_code): Recognize SET_TYPE.  For special
Fortran/Pascal types, just return qualifiers instead of aborting.

From-SVN: r4870
1993-07-06 15:41:43 -07:00
Jim Wilson 6f65afb0df (insert_block): Correct typo in comment.
From-SVN: r4869
1993-07-06 15:23:54 -07:00
Jim Wilson 5c0e109149 (simplify_and_const_int, LSHIFTRT case): Must be at
least as many sign bit copies as bits in mask.

From-SVN: r4868
1993-07-06 14:21:40 -07:00
Jim Wilson a5e9b1248c (fold, COND_EXPR case): All simplified results must go through pedantic_non_lvalue.
(fold, COND_EXPR case):  All simplified results
must go through pedantic_non_lvalue.
(pedantic_non_lvalue): New function.

From-SVN: r4867
1993-07-06 14:01:14 -07:00
Jim Wilson f0d568b76d (pedantic_non_lvalue): Add declaration.
From-SVN: r4866
1993-07-06 14:00:13 -07:00
Jim Wilson a29f2ec14a (build_conditional_expr): All simplified results
must go through pedantic_non_lvalue.

From-SVN: r4865
1993-07-06 13:59:34 -07:00
Jim Wilson 8ac1abdf6a (invert_truthvalue): Check for ERROR_MARK input.
From-SVN: r4864
1993-07-06 13:48:51 -07:00
Jim Wilson 22291e2f95 (LEGITIMATE_BASE_REG_P): New macro.
(INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXABLE_BASE,
LEGITIMATE_INDEX_REG_P): Accept SUBREG everywhere REG is accepted.

From-SVN: r4863
1993-07-06 13:45:59 -07:00
Jim Wilson b165d4711a (EXTRA_CONSTRAINT): For 'T', pass address not mem to strict_memory_address_p call.
(EXTRA_CONSTRAINT): For 'T', pass address not mem to
strict_memory_address_p call.  For 'U', don't accept unallocated
pseudo-reg when strict.

From-SVN: r4862
1993-07-06 13:43:05 -07:00
Jim Wilson 61a66555d1 (output_move_quad): Implement CNSTOP case.
From-SVN: r4861
1993-07-06 13:40:41 -07:00
Jim Wilson 1bc147fb8a (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED.
From-SVN: r4860
1993-07-06 13:38:18 -07:00
Richard Stallman 9d1bedcf3a (simplify_binary_operation, case MINUS): Fix backwards
test added in last change.

From-SVN: r4859
1993-07-06 20:31:01 +00:00
Richard Stallman f6ae8031b4 (SIZE_TYPE): Deleted.
From-SVN: r4858
1993-07-06 19:52:25 +00:00
Richard Stallman ce9895ae04 (convert_arguments): Don't warn for -Wconversion about signedness of an arg...
(convert_arguments): Don't warn for -Wconversion
about signedness of an arg that's extended from narrower unsigned type.

From-SVN: r4857
1993-07-06 06:32:24 +00:00
Richard Stallman ec820a12da (duplicate_decls): Don't warn for non-extern var decl
following an extern one (for -Wredundant-decls).

From-SVN: r4856
1993-07-06 06:12:49 +00:00
Richard Kenner 3abe6f904a (emit_reload_insns): Don't use gen_lowpart_common to get reload
register into proper mode.

From-SVN: r4855
1993-07-05 17:59:42 -04:00
Richard Kenner 26f1a00ea1 (subst_reloads): Don't use gen_lowpart_common to get reload register
into proper mode.

From-SVN: r4854
1993-07-05 17:59:09 -04:00
Richard Kenner bc0776c620 (subst, case PLUS): Simplify (plus (comp A B) -1), etc.
From-SVN: r4853
1993-07-05 17:56:42 -04:00
Richard Kenner 05a0d5eabb (fold, case EQ_EXPR, LE_EXPR): If comparing results of signed MOD with
zero, use an unsigned MOD.

From-SVN: r4852
1993-07-05 17:55:06 -04:00
Richard Kenner 40083ddf51 Fix typo: had ARGS_GROW_DOWNARD.
From-SVN: r4851
1993-07-05 17:53:41 -04:00
Richard Kenner 66be803d8b Initial revision
From-SVN: r4850
1993-07-05 17:52:43 -04:00
Richard Kenner ddec4fb361 (CLIB): No longer need -lm.
From-SVN: r4849
1993-07-05 17:49:33 -04:00
Richard Kenner 870dfbc8c1 (call patterns): Use %. in cror.
From-SVN: r4848
1993-07-05 17:48:42 -04:00
Richard Kenner 11117bb9ad (CPP_PREDEFINES): Define _AIX32.
(ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as csect
name.
(RS6000_CROR_BIT_NUMBER): New macro.
(PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid.

From-SVN: r4847
1993-07-05 17:48:04 -04:00
Richard Kenner a8b3aeda41 (input_operand): Fix missing operand on a return.
(print_operand): Add new code '.'.
(rs6000_sa_size): Delete unused variable `i'.
(output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER.

From-SVN: r4846
1993-07-05 17:47:21 -04:00
Richard Kenner 6dd0c6da72 (movhi): When storing a constant in an HImode register...
(movhi): When storing a constant in an HImode register, use cal16
instead of cal so that the high bits are clear (combine requires
this).

From-SVN: r4845
1993-07-05 17:43:43 -04:00
Richard Stallman 2a73b0b200 (encode_type_qualifiers): Add casts to enums in indices.
From-SVN: r4844
1993-07-05 21:16:10 +00:00