Commit Graph

6756 Commits

Author SHA1 Message Date
Per Bothner
70b78a2622 Removed un-used STRING_TYPE.
From-SVN: r6569
1994-02-15 19:52:30 -08:00
Richard Kenner
0de689b7ad (real_value_truncate): If requested mode is not supported, return the
unmodified input instead of aborting.

From-SVN: r6568
1994-02-15 19:36:35 -05:00
Richard Kenner
79777b798c (expand_increment): Handle both BAD_SUBREG and POST.
From-SVN: r6567
1994-02-15 19:30:29 -05:00
Ian Lance Taylor
a37adfc784 Make byteorder.h a here document, rather than copying it from the
source directory.

From-SVN: r6566
1994-02-15 23:28:03 +00:00
Ian Lance Taylor
4d29f799e6 Don't install <sys/byteorder.h>.
From-SVN: r6565
1994-02-15 23:23:23 +00:00
Ian Lance Taylor
9a52cd0d2e fixincludes no longer depends on cpp.
fixincludes no longer depends on cpp.  Remove fixinc.ready, don't pass
xgcc to fixincludes

From-SVN: r6564
1994-02-15 22:04:22 +00:00
Ian Lance Taylor
224b1df055 Use __SIZE_TYPE__ for size_t type, rather than running gcc to get it.
From-SVN: r6563
1994-02-15 22:03:40 +00:00
Ian Lance Taylor
e138174b5b (output_prolog): Use RS6000_ITRUNC and RS6000_UITRUNC, not "itrunc" and
"uitrunc".

From-SVN: r6562
1994-02-15 16:11:51 +00:00
Ian Lance Taylor
3c64f04b4f (fix_truncdfsi2, fixuns_truncdfsi2): Use RS6000_ITRUNC and RS6000_UITRUNC,
not "itrunc" and "uitrunc".

From-SVN: r6561
1994-02-15 16:10:58 +00:00
Ian Lance Taylor
9929b5751b Define RS6000_ITRUNC and RS6000_UITRUNC
From-SVN: r6560
1994-02-15 16:10:25 +00:00
Stan Cox
9230dc4633 (TM_RCS_ID) Removed ANSI C dependency.
From-SVN: r6559
1994-02-15 15:13:26 +00:00
Richard Kenner
cb1fcd8ce3 (lang_options): Add -W{no,}extern-inline.
From-SVN: r6558
1994-02-14 19:21:28 -05:00
Richard Kenner
bfa1514a0c (main): Move unused arg ++i out of call to printf.
From-SVN: r6557
1994-02-14 19:19:02 -05:00
Richard Kenner
1e83f71a41 (main): Remove unused args in call to fprintf.
From-SVN: r6556
1994-02-14 19:18:27 -05:00
Richard Kenner
da2c9ff982 (optimize_reg_copy): A register that dies in a CALL_INSN doesn't cross
that call.

From-SVN: r6555
1994-02-14 19:16:58 -05:00
Richard Kenner
c764eafd0d (eifrac): If FIXUNS_TRUNC_LIKE_FIX_TRUNC, convert on positive overflow
as if unsigned.

From-SVN: r6554
1994-02-14 19:14:45 -05:00
Richard Kenner
7aaf8abb28 (default_compilers): Generate and use .ii files in the intermediate
stage of compiling C++ source.

From-SVN: r6553
1994-02-14 19:13:05 -05:00
Richard Kenner
21a64bf134 (simplify_shift_const, case AND): When remaking binary operation, do
it in SHIFT_MODE.

From-SVN: r6552
1994-02-14 19:08:15 -05:00
Ian Lance Taylor
314fc5a925 (output_epilog): Don't output a traceback table if
flag_inhibit_size_directive is set.

From-SVN: r6551
1994-02-14 04:50:40 +00:00
Richard Kenner
b0634e7467 (ADJUST_COST): Call rs6000_adjust_cost.
From-SVN: r6550
1994-02-13 17:47:06 -05:00
Richard Kenner
a06faf84c1 (rs6000_adjust_cost): Renamed from ppc_adjust_cost.
From-SVN: r6549
1994-02-13 17:46:39 -05:00
Ian Lance Taylor
3daf36a4c9 Use ASM_GENERATE_INTERNAL_LABEL rather than assuming what it does
From-SVN: r6548
1994-02-13 22:25:55 +00:00
Ian Lance Taylor
266f3aacd5 Clean up some X11 header files for C++; problems found on RS/6000.
From-SVN: r6547
1994-02-13 22:08:06 +00:00
Michael Meissner
f09dcaa805 Include stdio.h to get STDIO_PROTO correct.
From-SVN: r6546
1994-02-13 18:40:02 +00:00
Doug Evans
fd2c2b2b62 (fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
From-SVN: r6545
1994-02-13 07:34:55 +00:00
Michael Meissner
b9a295c0fc Use i386/xm-osf.h as OSF/1 xm file.
From-SVN: r6544
1994-02-13 00:48:58 +00:00
Richard Kenner
ebef272822 (expand_call): When preserving subexpressions, don't put expensive
arguments directly into hard registers.

From-SVN: r6543
1994-02-12 12:29:24 -05:00
Doug Evans
99360286e5 (PROTO): Define.
Add prototypes for static functions.

From-SVN: r6542
1994-02-12 16:34:43 +00:00
Richard Kenner
b331b7459e (REVERSIBLE_CC_MODE): Define.
From-SVN: r6541
1994-02-12 08:50:50 -05:00
Richard Kenner
9210df584c (REVERSIBLE_CC_MODE): Add default definition.
(reversible_comparison_p): REVERSIBLE_CC_MODE.

(subst): Always simplify true and false arms if if_then_else_cond succeeds.
(subst, case IF_THEN_ELSE): More canonicalizations; delete some redundant
tests.
(if_then_else_cond): Canonicalize (OP (mult COMP A) (mult REV_COMP B)).
(gen_binary): Simplify (REL_OP (compare X Y) 0) here.

From-SVN: r6540
1994-02-12 08:49:59 -05:00
Torbjorn Granlund
be8fe47095 Conditionalize special treatment of
PIC_OFFSET_TABLE_REGNUM on PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.

From-SVN: r6539
1994-02-12 13:48:02 +00:00
Torbjorn Granlund
2ab0a5c41c (expand_shift): Truncate immediate count if SHIFT_COUNT_TRUNCATED.
From-SVN: r6538
1994-02-12 12:40:58 +00:00
Per Bothner
5b6e175e29 Don't treat anonymous fields as belonging to the containing object.
From-SVN: r6537
1994-02-11 18:52:08 -08:00
Torbjorn Granlund
2d4ffae31a (ADJUST_COST): Call ppc_adjust_cost.
From-SVN: r6536
1994-02-12 01:07:26 +00:00
Torbjorn Granlund
a251ffd0ce (ppc_adjust_cost): New function. Adjust for TYPE_JMPREG.
From-SVN: r6535
1994-02-12 01:07:04 +00:00
Torbjorn Granlund
324e52cc5b (definition of "type"): Add "jmpreg" as new type.
Change "mtlr" to "mtjmpr".
(movsi matcher): Pair `c' and `l' in the same constraint alternative.
(return): Set attribute to "jmpreg".
(indirect_jump): Likewise.

From-SVN: r6534
1994-02-12 01:06:14 +00:00
Richard Kenner
5c5e36c544 (mark_jump_label, case LABEL_REF): Update REG_LABEL note if changing
target of jump.

From-SVN: r6533
1994-02-11 20:00:44 -05:00
Doug Evans
b67b29cd33 (VPROTO, VA_START): Define.
From-SVN: r6532
1994-02-12 00:51:50 +00:00
Doug Evans
cc92726311 Surround definition of VPROTO, VA_START with #ifndef VPROTO.
From-SVN: r6531
1994-02-12 00:50:27 +00:00
Richard Kenner
c77c97664f (gen_input_reload): If reg-reg add is not valid, try copying reg-reg
and adding reg-int.

From-SVN: r6530
1994-02-11 17:39:23 -05:00
Richard Kenner
98aad28669 (expand_builtin): If the builtin was called as __builtin_whatever,
pretend we're optimizing.

From-SVN: r6529
1994-02-11 17:35:51 -05:00
Richard Kenner
dc9036088b (record_reg_classes): Fix logic in case of matching operands.
From-SVN: r6528
1994-02-11 17:30:20 -05:00
Doug Evans
9d891e9a7e Don't define _STDARG_H/etc. if not gcc, it may collide with system's header.
From-SVN: r6527
1994-02-11 21:03:09 +00:00
Richard Kenner
e7c692b2cc (c_expand_return): Do not warn about returning the address of a
locally declared extern variable.

From-SVN: r6526
1994-02-10 19:26:21 -05:00
Jeff Law
5921f26b9d * pa.h (IS_ASM_LOGICAL_LINE_SEPARATOR): Define.
From-SVN: r6525
1994-02-10 13:58:23 -07:00
Jeff Law
f7714ced3d final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default definition.
* final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default
        definition.
        (asm_insn_count): Use IS_ASM_LOGICAL_LINE_SEPARATOR rather
        than assuming the logical line separator is ';'.

From-SVN: r6524
1994-02-10 13:58:13 -07:00
Richard Kenner
b80bba2758 (emit_reload_insns): Use new vars for secondary reloads and icodes.
From-SVN: r6523
1994-02-10 09:05:04 -05:00
Richard Kenner
9ec7078b69 (reload_secondary_{reload,icode}): Deleted.
(reload_secondary_{in,out}_{reload,icode}): New variables.
(MATCHES, MERGABLE_RELOADS, MERGE_TO_OTHER): Move to front of file.
(push_secondary_reload): New function, from find_secondary_reload.
(find_secondary_relaod): Deleted.
(push_reload): Call push_secondary_reload.
(combine_reloads): Use new vars for secondary reloads and icodes.

From-SVN: r6522
1994-02-10 09:04:07 -05:00
Richard Kenner
b3338715f9 (reload_secondary_{reload,icode}): Deleted.
(reload_secondary_{in,out}_{reload,icode}): New variables.

From-SVN: r6521
1994-02-10 09:03:01 -05:00
Richard Kenner
c02a7fbba2 (memory_address): Fix error in last change.
From-SVN: r6520
1994-02-10 08:49:33 -05:00