6832 Commits

Author SHA1 Message Date
Michael Meissner
65624c8ef3 Provide HANDLE_PRAGMA_WEAK and ASM_OUTPUT_DEF.
From-SVN: r6845
1994-03-22 20:50:40 +00:00
Per Bothner
8fb0620c66 Make sstring buf extern (rather than "common").
From-SVN: r6844
1994-03-21 16:04:34 -08:00
Richard Kenner
e3a771613f (preserve_temp_slots): If argument is REG, see if it is address of a
temp slot we know about.

From-SVN: r6843
1994-03-21 17:15:32 -05:00
Richard Kenner
987c71d9bc (expand_expr, case ADDR_EXPR): Update temp slot address if we put it
in a register; mark result as pointer.

From-SVN: r6842
1994-03-21 17:14:41 -05:00
Jim Wilson
88bdba96d9 (source_label_number): New variable.
(dbxout_source_file): Use it.  Output an Ltext label.

From-SVN: r6841
1994-03-21 14:08:57 -08:00
Jim Wilson
a1a77352f6 (duplicate_decls): When pedantic, warn when any static
declaraction follows a non-static.

From-SVN: r6840
1994-03-21 14:07:03 -08:00
Jim Wilson
387fd02d7e (seq, sne, sgt, slt, sge, sle): Add support for
!TARGET_HARD_QUAD.

From-SVN: r6839
1994-03-21 14:05:05 -08:00
Richard Kenner
ce0e109b79 (reload): More accurately compute nongroup needs.
(reloads_conflict): New function.

From-SVN: r6838
1994-03-21 16:58:47 -05:00
Doug Evans
3bd4f3b8c9 (__builtin_saveregs): Fix return type.
From-SVN: r6837
1994-03-21 21:20:56 +00:00
Richard Kenner
6ab832bc31 (FIXED_REGNO_P): Treate global regs as fixed.
(CHEAP_REGNO): Renamed from CHEAP_REG.
(CHEAP_REG): New macro; user var in hard reg is cheap.
(COST): Pass RTL to CHEAP_REG, not regno.
(rtx_cost, case REG): Likewise.

From-SVN: r6836
1994-03-21 07:36:48 -05:00
Richard Kenner
a61e5d28e9 (PRINT_OPERAND): Print float infinity and NaN's as +/-99e999.
From-SVN: r6835
1994-03-20 19:38:40 -05:00
Richard Kenner
1e6c6f1118 (ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a quadword boundary...
(ALIGN_SYMTABLE_OFFSET): Define to align symbol table sections to a
quadword boundary, to avoid alignment problems with native nm on
OSF1/1.3 and higher.

From-SVN: r6834
1994-03-20 17:42:01 -05:00
Richard Kenner
c9b03ca379 (update_headers): Align symbol table sections, using ALIGN_SYMTABLE_OFFSET.
(update_headers): Align symbol table sections, using
ALIGN_SYMTABLE_OFFSET. Provide a default definition which does no
alignment.

From-SVN: r6833
1994-03-20 17:41:13 -05:00
Richard Kenner
11147ebea5 (try_split): Rename third parameter as LAST.
(try_split): Rename third parameter as LAST.  Recursively call
try_split for each new insn created.

From-SVN: r6832
1994-03-20 06:50:18 -05:00
Richard Kenner
e048778fca (mark_used_regs_combine): Correct typo.
From-SVN: r6831
1994-03-20 06:38:17 -05:00
Richard Kenner
d6e283961c (CHECK_FLOAT_VALUE): Add missing continuation character.
From-SVN: r6830
1994-03-20 06:28:18 -05:00
Richard Kenner
0afbe93d23 (build_real): Add `overflow' var; pass to CHECK_FLOAT_VALUE.
From-SVN: r6829
1994-03-20 06:27:53 -05:00
Richard Kenner
d8a6c3ebeb (attrib): Use identifier' instead of IDENTIFIER' since names that
are (e.g.) typedef names are still OK.

From-SVN: r6828
1994-03-19 18:02:29 -05:00
Jim Wilson
eedd251f16 (expand_expr, case ABS_EXPR): Fix typo in last change.
From-SVN: r6827
1994-03-19 14:43:50 -08:00
Richard Kenner
6e25d15912 (newpat_used_regs): New variable.
(mark_used_regs_combine): New function.
(try_combine): Use them.
(reg_dead_at_p): Registers marked in newpat_used_regs must always be
considered to be live.

From-SVN: r6826
1994-03-19 17:13:23 -05:00
Richard Kenner
1c78fc5220 (GO_IF_INDEXABLE_BASE): Make compatible with m68k.h.
From-SVN: r6825
1994-03-19 08:44:44 -05:00
Richard Kenner
35a3523cbf (output_epilogue, insn_names): Write correct names for patterns before
first named pattern.

From-SVN: r6824
1994-03-19 08:35:45 -05:00
Richard Kenner
875fbf803b (SELECT_SECTION): Fix typo (arg names) in last change.
From-SVN: r6823
1994-03-19 07:13:32 -05:00
Richard Kenner
1ff1a2d220 (grokdeclarator): Use signed version of `sizetype' for type of array
index.

From-SVN: r6822
1994-03-19 06:29:25 -05:00
Richard Kenner
79c844cdca (const_binop): Avoid initialized aggregate local variables, for
antique compilers.

From-SVN: r6821
1994-03-19 06:25:26 -05:00
Jim Wilson
ed8969fa7d (SELECT_SECTION): Variables go in readonly data
only if the initializer is constant.

From-SVN: r6820
1994-03-18 15:43:00 -08:00
Jim Wilson
07aeab22c0 (assemble_variable): Likewise.
From-SVN: r6819
1994-03-18 15:31:17 -08:00
Richard Kenner
bdfd4e3106 (HARD_REGNO_MODE_OK): Allow DImode in FP registers.
(CONDITIONAL_REGISTER_USAGE): Delete ppcas mention from comment.
(RTX_COSTS): Costs based upon processor_type enum.

From-SVN: r6818
1994-03-18 17:53:28 -05:00
Richard Kenner
c764f757d5 (common_mode_defined): New variable.
(output_prolog): Define external common-mode calls.

From-SVN: r6817
1994-03-18 17:53:04 -05:00
Richard Kenner
8ffd9c51e4 (divmodsi4, udivsi3, divsi3, udivmodsi4): Add AIX common-mode cases.
(mulh_call, mull_call, divss_call, divus_call, quoss_call, quous_call):
AIX common-mode call patterns.
(ashlsi3): More TARGET_POWERPC to ! TARGET_POWER changes.
(addsf3, subsf3, mulsf3, divsf3, etc.): Change TARGET_POWER
to ! TARGET_POWERPC.
(fix_truncdfsi2): Use POWER/2 and PowerPC FP convert instruction.
(fpcvtsi): New pattern.
(mulsidi3): Add AIX common-mode case, add imul attribute to POWER
pattern, add PowerPC pattern, flag input operands as commutative.
(smulsi3_highpart): Add AIX common-mode case.
(movsi matcher): Add mtjmpr attribute to ! TARGET_POWER case.
(movsf): Clean up load from memory or integer register test.
(movdi matcher): Add FP register support.
(smulsi3_highpart): New patterns.
(umulsi3_highpart_power): New pattern.

From-SVN: r6816
1994-03-18 17:52:27 -05:00
Jim Wilson
1052937bba (SELECT_RTX_SECTION): Add.
(ASM_SPEC): Pass -K to assembler when PIC.

From-SVN: r6815
1994-03-18 12:47:03 -08:00
Jim Wilson
445ae75f12 (SELECT_RTX_SECTION): Delete.
From-SVN: r6814
1994-03-18 12:46:20 -08:00
Jim Wilson
2d879387e2 (include_prefix): New variable.
(process_command): Add path/include to include_prefix when see a
-Bpath option.
(do_spec_1, case 'I'): Pass include_prefix directories to cpp with
the -isystem option.

From-SVN: r6813
1994-03-18 12:37:22 -08:00
Jim Wilson
b0866c745a (before_system, last_before_system): New variables.
(main): Handle -isystem option.  Insert -isystem directories in
search chain at first_system_include.

From-SVN: r6812
1994-03-18 12:35:42 -08:00
Jim Wilson
5ea7a4ae88 (scan_loop): New variable loop_depth.
(scan_loop): New variable loop_depth.	Increment and
decrement on LOOP_BEG and LOOP_END notes.  Only use LOOP_VTOP note
if loop_depth is zero.
(strength_reduce): Likewise.

From-SVN: r6811
1994-03-18 12:31:41 -08:00
Jim Wilson
4c1b367c41 (FIXUNS_TRUNCTFSI2_LIBCALL): Define.
From-SVN: r6810
1994-03-18 12:29:08 -08:00
Jim Wilson
927c745d80 (init_optabs): Use FIXUNS_TRUNCTFSI2_LIBCALL macro.
From-SVN: r6809
1994-03-18 12:26:04 -08:00
Per Bothner
a6458cef63 stor-layout.c (layout_type, [...]): Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.
* stor-layout.c (layout_type, case BOOLEAN_TYPE):
 Set TREE_UNSIGNED unless TYPE_MIN_VALUE is negative.

From-SVN: r6808
1994-03-17 21:33:36 -08:00
Jim Wilson
7dcf01c29c (pushdecl): Call lookup_name for external references.
Delete code to check external references against global
declarations.
(redeclaration_error_message): If newdecl has block scope, then
return string only if olddecl has the same scope.

From-SVN: r6807
1994-03-17 15:45:04 -08:00
Jim Wilson
597681f6d1 (shorten_compare): When simplify compare against
zero, check for restype_ptr unsigned instead of primop0 unsigned.

From-SVN: r6806
1994-03-17 15:39:11 -08:00
Jim Wilson
6b972c4f89 (expand_call): Undo Feb 27 change.
(expand_call): Undo Feb 27 change.  Set nregs to -1 for
normal case.

From-SVN: r6805
1994-03-17 15:36:20 -08:00
Ian Lance Taylor
5a157bc426 Define BYTE_ORDER in <sys/byteorder.h> as on UnixWare 1.1
From-SVN: r6804
1994-03-17 22:43:02 +00:00
Richard Kenner
e2a77f994d (layout_type, case INTEGER_TYPE): Properly test for nonnegative lower
bound.

From-SVN: r6803
1994-03-17 06:02:16 -05:00
Ian Lance Taylor
2109bb54ef Don't declare last parameter of stdarg function to be register.
From-SVN: r6802
1994-03-16 17:40:38 +00:00
Jeff Law
608f0dd2b1 pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high bits of address passed to icacheflush.
* pa.h (INITIALIZE_TRAMPOLINE): Do not mask off high
        bits of address passed to icacheflush.

From-SVN: r6801
1994-03-16 10:06:39 -07:00
Jeff Law
3c9a7b64d9 pa.h (WCHAR_TYPE): Use "unsigned int" by default.
* pa.h (WCHAR_TYPE): Use "unsigned int" by default.
	(WCHAR_TYPE_SIZE): Change appropriately.
	* pa-ghiux.h, pa-ghpux.h, pa-gux7.h, pa-hiux.h, pa-hpux.h,
	pa-hpux7.h (WCHAR_TYPE): Delete definition.
	(WCHAR_TYPE_SIZE): Likewise.
	* pa-osf.h (WCHAR_TYPE): Override appropriately for OSF1.
	(WCHAR_TYPE_SIZE): Likewise.

From-SVN: r6800
1994-03-16 10:05:24 -07:00
Jeff Law
d13a220a06 * pa.md (DImode lo_sum): Add earlyclobber for alternative one.
From-SVN: r6799
1994-03-16 10:03:01 -07:00
Jeff Law
cface0264d pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.
* pa.h (ASM_OUTPUT_ADDR_DIFF_ELT): Rewrite to match
	ASM_OUTPUT_ADDR_VEC_ELT which is PIC-safe.

From-SVN: r6798
1994-03-16 10:01:27 -07:00
Richard Kenner
f8eb03658e (FUNCTION_PROLOGUE): Load sb through r0 if TARGET_REGPARM is false.
From-SVN: r6797
1994-03-16 09:07:29 -05:00
Richard Kenner
bc69bfacd4 (global_symbolic_reference_mentioned_p): Recurse only
if GET_CODE (op) == CONST.

From-SVN: r6796
1994-03-16 09:07:11 -05:00