Commit Graph

4873 Commits

Author SHA1 Message Date
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
Doug Evans
b583eed865 Parameterize libgcc.a and install-libgcc (LIBGCC and INSTALL_LIBGCC).
From-SVN: r4843
1993-07-05 15:35:24 +00:00
Doug Evans
e02b99578f (get_narrower): Preserve unsignedness when bitschange == 0.
From-SVN: r4842
1993-07-05 06:25:00 +00:00
Richard Stallman
ccc9803602 (store_field): Test STRICT_ALIGNMENT at run time.
(expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield.

From-SVN: r4841
1993-07-05 03:31:42 +00:00
Richard Stallman
06c94bceeb (store_split_bit_field, extract_split_bit_field):
Handle fields split across more than 2 aligned units.

From-SVN: r4840
1993-07-05 03:30:59 +00:00
Richard Stallman
626e18ea3f (error, fatal, fatal_perror): Say collect2, not collect.
From-SVN: r4839
1993-07-04 18:02:51 +00:00
Richard Stallman
982a975ec6 (primary): In statement expression case,
if compstmt returns something other than a BLOCK,
return it unchanged.

From-SVN: r4838
1993-07-04 06:56:42 +00:00
Jeff Law
5d5c854105 pa.md (call expanders): Emit different patterns for named calls and indirect calls.
* pa.md (call expanders): Emit different patterns for named calls
	and indirect calls.
	(call_internal_symref, call_internal_reg): New patterns.
	(call_internal): Deleted.  Now handled by call_interal_{symref,reg}.
	(call_value_internal_symref, call_value_internal_reg): New patterns.
	(call_value_internal): Deleted.  Now handled by
	call_value_internal_{symref,reg).

From-SVN: r4837
1993-07-03 16:55:32 -06:00