Commit Graph

1826 Commits

Author SHA1 Message Date
Richard Kenner
266007a7d6 (movstr_optab): New variable.
(init_expr_once): Initialize it.
(emit_block_move): Rework code that generates movstrxx insns to check
predicates and use an optab.

From-SVN: r1827
1992-08-14 07:40:16 -04:00
Richard Kenner
efb07da787 (life_analysis, propagate_block, dump_flow_info): Add more missing
casts to REGSET_ELT_TYPE.

From-SVN: r1826
1992-08-14 07:39:24 -04:00
Torbjorn Granlund
858a47b165 Fix spelling errors in comments.
From-SVN: r1825
1992-08-14 11:33:04 +00:00
Richard Stallman
542bc952de (convert): When converting to variant of same type, fold.
From-SVN: r1824
1992-08-14 08:36:14 +00:00
Richard Stallman
70038ec981 Fix typo in previous change.
From-SVN: r1823
1992-08-14 08:34:32 +00:00
Richard Stallman
ea80ee4427 (assemble_variable): Change error message for unknown size.
From-SVN: r1822
1992-08-14 08:10:10 +00:00
Richard Stallman
a7f64d523d (finish_decl): Avoid cascading messages for tentative
definitions with incomplete types.

From-SVN: r1821
1992-08-14 08:09:22 +00:00
Richard Stallman
8c31e6b602 (finding all .h files): Look for links as well as ordinary files.
(memory.h): Fix versions 1.2 and 1.3 as well as 1.4.

From-SVN: r1820
1992-08-14 05:12:31 +00:00
Richard Stallman
1b971d4306 (build_component_ref): Don't warn for compound and conditional expressions when pedantic.
(build_component_ref): Don't warn for compound and
conditional expressions when pedantic.  These are valid in ANSI C.

From-SVN: r1819
1992-08-13 23:25:49 +00:00
Richard Stallman
4491de59e2 Rename vms to vax-vms; split long lines.
From-SVN: r1818
1992-08-13 21:29:09 +00:00
Richard Stallman
b47bae4114 Assemble libgcc2 routines twice, preserving
lowercase function names the second time.

From-SVN: r1817
1992-08-13 21:28:35 +00:00
Richard Stallman
882ed71084 Delete junk line inserted by mistake in last patch.
From-SVN: r1816
1992-08-13 21:19:29 +00:00
Jim Wilson
9799853d29 (TARGET_SWITCHES): Make -m68040 set 01007 not 01000.
From-SVN: r1815
1992-08-13 13:52:29 -07:00
Tom Wood
109140655e (contains): Return the number of insns.
(reposition_prologue_and_epilogue_notes): Count all the prologue and
        epilogue insns.

From-SVN: r1814
1992-08-13 20:49:10 +00:00
Tom Wood
e5ed215546 (regclass): Don't scan the constraints if there aren't any operands.
(regclass): Don't scan the constraints if there aren't
        any operands.  Don't look for a commutative constraint in the last
        operand.

From-SVN: r1813
1992-08-13 20:48:40 +00:00
Jim Wilson
e913669934 (CPP_SPEC): For -mv8, define __sparc_v8__ not __sparcv8__
From-SVN: r1812
1992-08-13 12:19:17 -07:00
Jim Wilson
d9d3acb651 (__sparclite__): Define umul_ppmm, udiv_qrnnd, and count_leading_zeros for this sparc architecture variant.
(__sparclite__): Define umul_ppmm, udiv_qrnnd, and
count_leading_zeros for this sparc architecture variant.
(__sparc_v8__): Changed from __sparc8__.

From-SVN: r1811
1992-08-13 12:17:15 -07:00
Jeff Law
493368c3fe (output_function_prlogue): Resotre "rp" after the call to mcount.
From-SVN: r1810
1992-08-13 09:37:16 -06:00
Torbjorn Granlund
57b3a4f11a (movsf recognizer): Output fcpy,sgl', not fcpy'.
From Jeff Law: (zdepi in HImode): Move this pattern after the standard
movhi patterns.

From-SVN: r1809
1992-08-13 10:58:56 +00:00
Michael Meissner
0246361d42 Correctly find object file, after gcc.c changes
From-SVN: r1808
1992-08-12 15:44:37 +00:00
Richard Stallman
6a1746af42 (operand_equal_p): Make it clear that this function tests for indistinguishable values, not for equality as computed by `=='...
(operand_equal_p): Make it clear that this function
tests for indistinguishable values, not for equality as computed by
`=='; the distinction is important for IEEE NaNs and -0.0.

From-SVN: r1807
1992-08-12 07:43:50 +00:00
Richard Stallman
e92b33f508 (final_scan_insn): Call dwarfout_begin_block and
dwarfout_end_block even for -g1.

From-SVN: r1806
1992-08-12 07:28:49 +00:00
Richard Stallman
b428127320 (TARGET_68040): Test for 01000 or 0400.
(TARGET_SWITCHES): Rename -m68040 to -m68020-40.
Rename -m68040-only to -m68040.

From-SVN: r1805
1992-08-12 07:28:03 +00:00
Richard Stallman
882e061d82 (TARGET_DEFAULT): Make value 0.
From-SVN: r1804
1992-08-12 07:23:53 +00:00
Richard Stallman
d56f7c6c55 (amigaunix/amix): Use sysv4 as os.
From-SVN: r1803
1992-08-12 06:51:16 +00:00
Jim Wilson
b43e4bcbcf (unroll_loop): Delete call to unroll_block_trees.
From-SVN: r1802
1992-08-11 12:56:20 -07:00
Jim Wilson
94dc8b5670 (loop_number_first_block, loop_number_last_block,
loop_number_block_level): Delete.
(find_loop_tree_blocks): Completely rewritten to use
identify_blocks.
(unroll_block_trees): Completely rewritten to use reorder blocks.

From-SVN: r1801
1992-08-11 12:55:01 -07:00
Jim Wilson
a6b83e54f5 (loop_number_first_block, loop_number_last_block,
loop_number_block_level): Delete declarations.

From-SVN: r1800
1992-08-11 12:53:15 -07:00
Jim Wilson
07e857c23f (loop_optimize): Delete uses of loop_number_first_block,
loop_number_last_block, loop_number_block_level.  Correct call of
find_loop_tree_blocks.  Add call to unroll_block_trees.

From-SVN: r1799
1992-08-11 12:52:01 -07:00
Jim Wilson
ba534a45c7 (identify_blocks): Declare.
(rtx, tree): Move undefs to the very end.

From-SVN: r1798
1992-08-11 12:50:24 -07:00
Jim Wilson
fc289cd166 (identify_blocks): Handle case where no block nodes exist.
(identify_blocks): Handle case where no block nodes
exist.  Use xmalloc not alloca for block_vector.
(reorder_blocks): New argument top_block.  Handle case where no
block nodes exist.  Always clear BLOCK_SUBBLOCKS (block) when
adding it to the block tree.
(all_blocks): Handle case where vector is zero. Store current
block at offset 0 in vector, not n_blocks.  Don't count current
block twice in n_blocks.

From-SVN: r1797
1992-08-11 12:49:26 -07:00
Jim Wilson
715e6efb42 (copy_loop_body): Only copy VTOP note if it will end up
before a loop exit test.

From-SVN: r1796
1992-08-11 12:42:35 -07:00
Michael Meissner
899eb12d04 Eliminate externs within {}.
From-SVN: r1795
1992-08-11 13:25:14 +00:00
Richard Stallman
001af58715 (parser_build_binary_op): Warn about expressions like `1<=i<=N'.
From-SVN: r1794
1992-08-11 09:21:37 +00:00
Richard Stallman
b5c525860d (fold): Don't fold (A op B ? A : C) if A is IEEE
floating point, because A might be -0.0 or NaN.

From-SVN: r1793
1992-08-11 08:33:24 +00:00
Richard Stallman
a6bf434760 Improve err msg for unknown config.
(read_specs): Cast args of xmalloc and read to unsigned.

From-SVN: r1792
1992-08-11 08:26:06 +00:00
Michael Meissner
3aaa90c773 Call gen_rtx, not gen_reg_rtx.
From-SVN: r1791
1992-08-11 02:10:59 +00:00
Torbjorn Granlund
2792f73522 (output_zdepi): Declare.
From-SVN: r1790
1992-08-10 10:22:45 +00:00
Torbjorn Granlund
c819adf2dd (output_zdepi): New function (contents from pa.md).
From-SVN: r1789
1992-08-10 10:21:57 +00:00
Torbjorn Granlund
ba0443bbb2 (Recognizer for zdepi_operand in HImode): New pattern.
(Recognizer for zdepi_operand in SImode): Call output_zdepi for output.
(shift patterns and recognizers): Handle 32 bit ints and truncate them for output.

From-SVN: r1788
1992-08-10 10:14:48 +00:00
Michael Meissner
f093cb8f4b emit_move_insn only takes two arguments.
From-SVN: r1787
1992-08-10 02:31:55 +00:00
Michael Meissner
6610a1b06a Treat call_pop, call_value_pop like call, call_insn.
From-SVN: r1786
1992-08-09 22:12:07 +00:00
Michael Meissner
f837a86171 Add prototype support.
From-SVN: r1785
1992-08-08 15:19:34 +00:00
Richard Stallman
e83d45c45e (default_conversion): Fix bug that
promotes short to unsigned if sizeof(short) == sizeof(int).

From-SVN: r1784
1992-08-07 07:21:41 +00:00
Richard Stallman
5f31db15fb (default_compilers): For output of as when -c is not used,
use %g, rather than %b, because the file is going to be deleted anyway.

From-SVN: r1783
1992-08-07 07:17:12 +00:00
Richard Stallman
8f300dc330 (final_scan_insn): Use ASM_OUTPUT_ADDR_DIFF_ELT
and ASM_OUTPUT_ADDR_VEC_ELT only if defined.

From-SVN: r1782
1992-08-07 04:17:06 +00:00
Richard Stallman
42dfa47fbd (finish_decl): Don't do expand_decl_init for FUNCTION_DECL.
(finish_struct):  If bit field is of an unsigned
type that promotes to int, promote it unsigned if traditional
or if it is the same size as int.
(start_function):  Ditto for function return value.
(finish_function): Test only can_reach_end for the warning
about reaching the end of a non-void function.
(poplevel): If apparently nested inline function has
DECL_ABSTRACT_ORIGIN, don't output it; propagate TREE_ADDRESSABLE.
(pushdecl): When copying inline details into an extern decl,
copy DECL_RESULT, TREE_ASM_WRITTEN.  Set DECL_ABSTRACT_ORIGIN.

From-SVN: r1781
1992-08-07 04:06:43 +00:00
Richard Stallman
5b00b2b943 Don't include real.h.
From-SVN: r1780
1992-08-07 04:05:01 +00:00
Richard Stallman
24b09b503b Include real.h.
From-SVN: r1779
1992-08-07 04:01:31 +00:00
Richard Stallman
d8c8b8e36b (mark_used_regs): Do recurse in setting of global hard reg.
Do set reg_next_use for global hard reg.

From-SVN: r1778
1992-08-07 04:00:44 +00:00