Commit Graph

2923 Commits

Author SHA1 Message Date
Richard Kenner cf526dcc5c (copy_rtx): A CONST can be shared if it contains a SYMBOL_REF.
A SCRATCH must be shared.
A MEM may be shared if it is at a constant address.

From-SVN: r2924
1992-12-27 06:53:32 -05:00
Richard Kenner b851ea098e (copy_rtx_if_shared): A CONST can be shared if it contains a
SYBOL_REF.

From-SVN: r2923
1992-12-27 06:52:59 -05:00
Richard Kenner 818b11b942 (subst, comparison cases): Expand any compound operation that is an operand...
(subst, comparison cases): Expand any compound operation that is an
operand; rerun subst on simplified result in one new case.

From-SVN: r2922
1992-12-27 06:52:16 -05:00
Richard Stallman 3b94d087e8 (expand_expr, constructor case): If we made a stack slot,
set MEM_IN_STRUCT_P if the type warrants it.

From-SVN: r2921
1992-12-27 08:08:17 +00:00
Richard Stallman f5df292efc (store_bit_field): If VALUE needs to be narrowed, do
it with gen_lowpart, not an explicit SUBREG.

From-SVN: r2920
1992-12-27 03:55:29 +00:00
Richard Kenner 66212c2f76 (make_node, case 'c'): For INTEGER_CST, use size of struct containing constant, just like for reals.
(make_node, case 'c'): For INTEGER_CST, use size of struct containing
constant, just like for reals.  Also, clean up code to avoid confusing
fallthrough.

From-SVN: r2919
1992-12-26 22:18:12 -05:00
Richard Kenner 0570c42392 Include rs6000/xm-rs6000.h instead of xm-rs6000.h.
From-SVN: r2918
1992-12-26 21:34:51 -05:00
Richard Kenner d737b6aba8 Include rs6000/rs6000.h instead of rs6000.h.
From-SVN: r2917
1992-12-26 21:34:16 -05:00
Richard Kenner fae937a896 Include a29k/a29k.h instead of a29k.h.
From-SVN: r2916
1992-12-26 21:32:35 -05:00
Richard Kenner 8d162cabbb (check_format): Using both a precision and the `0' flag is only a problem on `d'...
(check_format): Using both a precision and the `0' flag is only a
problem on `d', `i', `o', `u', `x', and `X' conversions.

From-SVN: r2915
1992-12-26 18:11:58 -05:00
Richard Kenner eae957a8b8 (gen_lowpart_for_combine): Allow MODE to be wider than a word in
restricted circumstances.

From-SVN: r2914
1992-12-26 18:11:20 -05:00
Richard Stallman bc957254f8 Minor typographical changes.
From-SVN: r2913
1992-12-26 22:09:40 +00:00
Richard Stallman 8b70e6ecb0 (_KR, _SVID, _NO_PROTOTYPE): Define if -traditional.
From-SVN: r2912
1992-12-26 08:55:33 +00:00
Richard Kenner 4fa6c9377d (divsf3): Fix typo in mode of DIV.
From-SVN: r2911
1992-12-25 07:30:21 -05:00
Richard Stallman db5289188b (install-dir): Add missing semicolon.
From-SVN: r2910
1992-12-25 07:08:21 +00:00
Richard Stallman 94a06349ff Don't change bitfield types to int.
From-SVN: r2909
1992-12-24 23:27:02 +00:00
Richard Stallman 613876aba3 Fix comment in last change.
From-SVN: r2908
1992-12-24 20:03:24 +00:00
Richard Stallman 223630a49b (TARGET_DEFAULT): Override.
From-SVN: r2907
1992-12-24 20:02:49 +00:00
Richard Stallman 28f48090d8 (CPP_SPEC): Avoid repeated def of _M_SYSV.
From-SVN: r2906
1992-12-24 01:20:02 +00:00
Richard Stallman 64310c926a Correct the modification of endian.h.
From-SVN: r2905
1992-12-23 23:36:27 +00:00
Richard Stallman be0bad5e6d Add special fixes for netinet/in.h and sys/endian.h.
From-SVN: r2904
1992-12-23 20:30:24 +00:00
Richard Stallman b3fc0c9876 (store_parm_decls): Use TYPE_MAIN_VARIANT to compare types.
From-SVN: r2903
1992-12-22 22:56:39 +00:00
Richard Stallman b93249c36d Add special fixes for netinet/in.h and sys/endian.h.
From-SVN: r2902
1992-12-22 22:40:52 +00:00
Richard Stallman 20e52bf16a (ASM_OUTPUT_CASE_END): Use switch_table_difference_label_flag.
From-SVN: r2901
1992-12-21 11:09:43 +00:00
Richard Kenner e8030e8c02 Consistently use `&' in constraint of MATCH_SCRATCH.
Always use a reg as 4th arg of dmac/fmac even if ignored by insn.
Uses of `b' as a constraint in multi-word reload patterns should be `c'.

From-SVN: r2900
1992-12-19 20:19:26 -05:00
Richard Kenner 3c243b5108 (secondary_reload_class): Return CR_REGS for larger than word memory,
and BP_REGS for part-word mem with no DW.

From-SVN: r2899
1992-12-19 20:18:53 -05:00
Richard Stallman 3055b3a18a (all.cross): Add `specs' as dep.
From-SVN: r2898
1992-12-20 00:07:38 +00:00
Richard Stallman 08408c5c21 (CC): Delete the -V option.
From-SVN: r2897
1992-12-19 22:52:27 +00:00
Richard Stallman b53241dce5 (build_encode_expr): Terminate the encode string with a null.
(encode_aggregate): Distinguish pointer to record from a
record.  Output fields for record.  Fix unions.

From-SVN: r2896
1992-12-19 09:04:47 +00:00
Richard Stallman 0e9934c8fc (finish_objc) [OBJC_SELECTORS_WITHOUT_LABELS]:
Always call build_selector_translation_table.

From-SVN: r2895
1992-12-19 08:47:33 +00:00
Roland McGrath 1a98554e53 entered into RCS
From-SVN: r2894
1992-12-19 06:32:08 +00:00
Michael Meissner 3f1f8d8c04 Pass QI/HI structures like the MIPS compiler; define SIZE_TYPE to be int by default.
From-SVN: r2893
1992-12-18 23:27:55 +00:00
Roland McGrath d45820250a (install-dir): Added missing then and semicolon.
From-SVN: r2892
1992-12-17 22:51:16 +00:00
Richard Stallman c54a40f714 (CC): New assignment.
From-SVN: r2891
1992-12-17 20:39:03 +00:00
Richard Kenner 858b728c99 (INITIALIZE_TRAMPOLINE): Get function address and toc pointer from
correct place relative to FNADDR.

From-SVN: r2890
1992-12-16 19:23:52 -05:00
Richard Stallman 58055e406c (install-dir): If cross-compiler, create $(tooldir) and $(assertdir).
From-SVN: r2889
1992-12-16 20:50:04 +00:00
Richard Stallman 3a523eebbc (TRAMPOLINE_SECTION): New macro.
From-SVN: r2888
1992-12-16 19:55:05 +00:00
Richard Stallman 375526315d (assemble_trampoline_template): If TRAMPOLINE_SECTION
is defined, put the trampoline template into that section.

From-SVN: r2887
1992-12-16 19:54:41 +00:00
Jim Wilson 8d618585fc (get_secondary_mem): Don't save address if it isn't valid.
From-SVN: r2886
1992-12-16 11:19:12 -08:00
Richard Stallman c8c29f855d (assemble_trampoline_template): Use readonly_data_section, not text_section.
From-SVN: r2885
1992-12-16 18:59:44 +00:00
Michael Meissner 7bea35e746 Rework large stack frame support.
From-SVN: r2884
1992-12-16 17:00:05 +00:00
Richard Kenner f49acdb4d6 (assembler_trampoline_template): Always put template in text section.
From-SVN: r2883
1992-12-16 07:33:01 -05:00
Richard Kenner dd132134f3 (expand_goto): Set LABEL_REF_NONLOCAL_P in the LABEL_REF we make in
the non-local case.

From-SVN: r2882
1992-12-16 07:25:13 -05:00
Tom Wood 381ee8af99 (try_combine): Allow for the case where I3 becomes an
unconditional jump when it is the last nonnote insn.

From-SVN: r2881
1992-12-16 10:03:21 +00:00
Richard Stallman 91216286cd (do_pragma): Use index, not strchr.
From-SVN: r2880
1992-12-16 04:25:58 +00:00
Richard Stallman b84f9d9cd2 (eliminate_regs_in_insn): Test old_body, not new_body, since
people have tested it that way.

From-SVN: r2879
1992-12-16 03:28:06 +00:00
Richard Stallman e063ca5c2d (FUNCTION_PROFILER): Add missing . to label name.
From-SVN: r2878
1992-12-16 03:03:56 +00:00
Richard Stallman 4d411872e3 (eliminate_regs_in_insn): Don't recopy new_body if it is an asm_operands insn.
From-SVN: r2877
1992-12-16 01:30:36 +00:00
Jim Wilson 262121f070 (return peepholes): Add QImode and HImode move/return patterns.
From-SVN: r2876
1992-12-15 16:42:21 -08:00
Richard Kenner 190315a70f Add new UNSPEC_VOLATILE 0 to flush instruction cache.
From-SVN: r2875
1992-12-15 17:41:56 -05:00