Commit Graph

4895 Commits

Author SHA1 Message Date
Richard Stallman
c5a3d53f11 (INITIALIZE_TRAMPOLINE): Add code to do an rei to clear the insn cache.
From-SVN: r4908
1993-07-12 20:45:25 +00:00
Richard Stallman
3ac7348b66 (output_move_double): Fix typos in Jun 28 change.
Only set highest_first if first reg
of dest overlaps memory src address.  Otherwise, if addreg1 set and
is same as second reg of dest, suppress trailing decrement.

From-SVN: r4907
1993-07-11 22:52:46 +00:00
Richard Stallman
4bbbc5d906 (convert_arguments): Don't warn about sign change for an INTEGER_CST inside NOP_EXPR, if value not fits new type.
(convert_arguments): Don't warn about sign change
for an INTEGER_CST inside NOP_EXPR, if value not fits new type.
Delete the code to check for VAL having enumeration type.

From-SVN: r4906
1993-07-11 22:44:54 +00:00
Richard Stallman
f0a5c7b7d3 Finish up previous change.
From-SVN: r4905
1993-07-11 22:31:19 +00:00
Richard Stallman
cb4107092f (output_move_double): Do the low reg first,
when only the high reg has an overlap.

From-SVN: r4904
1993-07-11 22:22:44 +00:00
Jeff Law
8e318904de jump.c (jump_optimize): Correctly identify branches to the end of a function so that they may be turned...
* jump.c (jump_optimize): Correctly identify branches to the end
	of a function so that they may be turned into RETURN insns.

From-SVN: r4903
1993-07-10 17:48:56 -06:00
Richard Stallman
0d8c1ccd98 (main): Allocate COLLECT_NAME string with xmalloc.
From-SVN: r4902
1993-07-10 21:38:19 +00:00
Richard Stallman
328d079707 (HARD_REG_ELT_TYPE): New unsigned type to avoid signed arithmetic overflow.
(HARD_REG_ELT_TYPE): New unsigned type to
avoid signed arithmetic overflow.
(HARD_REG_SET): Define as HARD_REG_ELT_TYPE, or array thereof.
(HARD_CONST): Always cast to HARD_REG_ELT_TYPE.
(*_HARD_REG_*): Use unsigned HARD_CONST and HARD_REG_ELT_TYPE
types instead of assuming HOST_WIDE_INT.

From-SVN: r4901
1993-07-10 19:26:27 +00:00
Richard Stallman
344080e610 (REGSET_ELT_TYPE): Make unsigned to avoid signed arithmetic overflow.
From-SVN: r4900
1993-07-10 19:25:58 +00:00
Richard Stallman
0fa2faf052 Check for symlinks being available in /tmp.
From-SVN: r4899
1993-07-10 19:06:09 +00:00
Richard Stallman
c270f7968a (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): New definitions.
From-SVN: r4898
1993-07-10 06:01:35 +00:00
Jeff Law
2be154deb4 pa.md (dbra and movb patterns): Fix constraints so that FP registers are never preferred.
* pa.md (dbra and movb patterns): Fix constraints so that FP
	registers are never preferred.

From-SVN: r4897
1993-07-09 18:39:51 -06:00
Jeff Law
1400469c00 Fix typos in last change.
From-SVN: r4896
1993-07-09 17:36:57 -06:00
Richard Stallman
c21953c3b9 (clipper_builtin_saveregs): Changes to go with va-clipper.h changes.
From-SVN: r4895
1993-07-09 22:20:36 +00:00
Richard Stallman
9e91edcefb Make var/stdargs compatible with apogee's acc.
(__gnuc_va_list): Replace __va_f and __va_r with __va_reg.
(__va_list, _SYS_INT_STDARG_H): New defines.
(va_arg): Corresponding changes.

From-SVN: r4894
1993-07-09 22:19:58 +00:00
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