Commit Graph

8592 Commits

Author SHA1 Message Date
Richard Kenner
4bc3bc607a (CPP_PREDEFINES): Set __GNUC_MINOR__ to 7.
From-SVN: r8617
1994-12-06 18:42:11 -05:00
Richard Kenner
4ee4851023 Eliminate `set symbol/scope=noGlobal'.
From-SVN: r8616
1994-12-06 18:41:40 -05:00
Jason Merrill
5461708de7 t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if cross-compiling, use the native assembler otherwise.
Mon Dec  5 19:32:48 1994  Jason Merrill  <jason@phydeaux.cygnus.com>

        * sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Don't use PIC if
        cross-compiling, use the native assembler otherwise.

From-SVN: r8615
1994-12-06 20:09:44 +00:00
Roland McGrath
c5350a6ddf (NO_IMPLICIT_EXTERN_C): Define it.
From-SVN: r8614
1994-12-06 11:15:08 +00:00
Roland McGrath
f27719d53e Include "gnu.h".
From-SVN: r8613
1994-12-06 10:49:36 +00:00
Roland McGrath
bc9165144e Initial revision
From-SVN: r8612
1994-12-06 10:48:28 +00:00
Roland McGrath
4e1eb519d6 (dummy.c) [sony]: Include <sys/param.h> and emit newsos4 #ifdef NEWSOS4.
From-SVN: r8611
1994-12-06 07:29:38 +00:00
Doug Evans
c0a3948513 (LIB2FUNCS_EXTRA): Compile fp-bit.c
From-SVN: r8610
1994-12-05 21:59:27 +00:00
Jim Wilson
4ac75a4ea0 (copy_loop_body): Reformat CODE_LABEL_NUMBER macro call
to avoid HPUX compiler bug.

From-SVN: r8609
1994-12-05 11:46:45 -08:00
Doug Evans
5120098826 (negsf2): Flip sign bit if software floating point.
(negdf2,negxf2): Likewise.
(abssf2): Zero sign bit if software floating point.
(absdf2,absxf2): Likewise.

From-SVN: r8608
1994-12-05 18:53:20 +00:00
Richard Kenner
d537c24df2 (EXTRA_CONSTRAINT, case 'R'): Fix error in last change.
From-SVN: r8607
1994-12-05 13:00:30 -05:00
Doug Evans
a1fa1e22f6 (c-parse.h): Split away from c-parse.c for parallel makes.
(bi-parser.h): Likewise with bi-parser.c.

From-SVN: r8606
1994-12-05 05:39:41 +00:00
Doug Evans
088131eed3 Delete this patch:
* reorg.c (fill_slots_from_thread): Create a USE insn for any
	redundant insn we pretend to fill a delay slot with.  Continue
	searching for a suitable delay slot insn at the new USE insn.

From-SVN: r8605
1994-12-05 02:04:24 +00:00
Per Bothner
071a659510 * expr.c (store_constructor): Add support for SET_TYPE.
From-SVN: r8604
1994-12-02 20:17:51 -08:00
Richard Kenner
0be3720296 (xcoff_output_standard_types): Add TARGET_64BIT dependencies.
(xcoff_output_standard_types): Add TARGET_64BIT dependencies.  Add
"wchar", "long long int", and "long long unsigned int" built-in C
types.

From-SVN: r8603
1994-12-02 18:14:05 -05:00
Richard Kenner
9e654916b9 (MASK_64BIT, TARGET_64BIT, SHORT_TYPE_SIZE): Define.
(INT_TYPE_SIZE, MAX_INT_TYPE_SIZE, LONG_TYPE_SIZE): Define.
(MAX_LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, CHAR_TYPE_SIZE): Define.
(FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Define.
(POINTER_SIZE, PARM_BOUNDARY): Depend on TARGET_64BIT.
(BIGGEST_ALIGNMENT, STARTING_FRAME_OFFSET): Likewise.
(FIRST_PARM_OFFSET, REG_PARM_STACK_SPACE): Likewise.
(STACK_POINTER_OFFSET, Pmode, FUNCTION_MODE): TARGET_64BIT dependent.

From-SVN: r8602
1994-12-02 18:13:28 -05:00
Richard Kenner
2132517db0 (expand_inline_function): If called function calls alloca, save and
restore SP around its call.

From-SVN: r8601
1994-12-02 18:11:17 -05:00
Richard Kenner
83b93f40ff (subst_constant): Don't treat all virtual regs as constants, just
those that are off FP and AP, but not SP.

From-SVN: r8600
1994-12-02 18:09:21 -05:00
Richard Kenner
cb06d06aee (EXTRA_CONSTRAINT): Correctly check for SYMBOL_REF referring to the
TOC.

From-SVN: r8599
1994-12-02 18:08:09 -05:00
Richard Kenner
7fec4abdf4 (input_operand): Correctly check for SYMBOL_REF referring to the TOC.
From-SVN: r8598
1994-12-02 18:07:45 -05:00
Mike Stump
3526f73054 fix typo...
From-SVN: r8597
1994-12-02 22:22:12 +00:00
Mike Stump
30ffea6bea i * Makefile.in (BISONFLAGS): Add -yacc so that output winds up in
y.tab.c.

From-SVN: r8596
1994-12-02 18:46:00 +00:00
Jeff Law
0b84a0d328 reorg.c (fill_slots_from_thread): Create a USE insn for any redundant insn we pretend to fill a delay slot with.
* reorg.c (fill_slots_from_thread): Create a USE insn for any
	redundant insn we pretend to fill a delay slot with.  Continue
	searching for a suitable delay slot insn at the new USE insn.

From-SVN: r8595
1994-11-30 18:43:50 -07:00
Richard Kenner
ca89d290d8 (record_dead_and_set_regs_1): Handle SUBREGs.
From-SVN: r8594
1994-11-30 19:12:38 -05:00
Richard Kenner
5c5033c3c7 (convert_move): When emit multiword conversion, force FROM into a new
pseudo-reg if it overlaps TO.

From-SVN: r8593
1994-11-30 19:07:49 -05:00
Richard Kenner
db40b434fa (fold_truthop): Delete BIT_AND_EXPR of constants with masks.
From-SVN: r8592
1994-11-30 19:02:39 -05:00
Richard Kenner
e4f5b48ec2 (floatsidf2): Test BITS_PER_WORD in pattern condition not during build.
Fail if TARGET_POWERPC64.
(floatunssidf2): Likewise.

From-SVN: r8591
1994-11-30 18:51:42 -05:00
Richard Kenner
2e360ab3f7 (BITS_PER_WORD): TARGET_POWERPC64 dependent.
(MAX_BITS_PER_WORD): Define.
(UNITS_PER_WORD): TARGET_POWERPC64 dependent.
(MAX_UNITS_PER_WORD): Define.
(UNITS_PER_FP_WORD): Define.
(HARD_REGNO_NREGS): Use MAX_UNITS_PER_FP_WORD.
(HARD_REGNO_MODE_OK): Likewise.
(CLASS_MAX_NREGS): Likewise.
(MOVE_MAX): TARGET_POWER and TARGET_POWERPC64 dependent.
(MAX_MOVE_MAX): Define.

From-SVN: r8590
1994-11-30 18:51:07 -05:00
Richard Kenner
414d3ee46f (PREDICATE_CODES): Add lwa_operand.
From-SVN: r8589
1994-11-30 18:22:24 -05:00
Richard Kenner
a7a813f79f (lwa_operand): New predicate.
From-SVN: r8588
1994-11-30 18:22:07 -05:00
Richard Kenner
287f13ffdd (extendsidi2): Use lwa_operand predicate.
(sign_extend load with update): New PowerPC64 pattern.

From-SVN: r8587
1994-11-30 18:21:37 -05:00
Richard Kenner
5c30aff875 (extendsfdf2): SFmode and DFmode register format identical so use define_expand...
(extendsfdf2): SFmode and DFmode register format identical so use
define_expand with paradoxical subreg no-op and accompanying new
define_split.

From-SVN: r8586
1994-11-30 18:18:56 -05:00
Richard Kenner
8ca00751f7 (emit_block_move): Only use movstr if size is small enough constant or
MODE is at least BITS_PER_WORD.

From-SVN: r8585
1994-11-30 18:13:44 -05:00
Richard Kenner
8922eb5b24 (combine_reloads): If using reg dying in this insn as reload reg,
ensure it can't be a secondary output reload reg.

From-SVN: r8584
1994-11-30 18:04:48 -05:00
Richard Kenner
a07805c01c (word_type): Use __attribute__ ((mode (__word__))).
From-SVN: r8583
1994-11-30 15:48:22 -05:00
Richard Kenner
caab5771c8 (decl_attribute): Allow special names (e.g, `word') for mode
attribute.

From-SVN: r8582
1994-11-30 15:48:00 -05:00
Richard Kenner
077e4b0117 (ibmrt): Add more cases for various forms of BSD.
From-SVN: r8581
1994-11-29 17:01:25 -05:00
Richard Kenner
84430d2cc0 (init_optabs): Don't set functions for rotl and rotr.
From-SVN: r8580
1994-11-29 16:50:22 -05:00
Richard Kenner
39e7161505 (expand_shift): Open-code rotate even if by a variable.
From-SVN: r8579
1994-11-29 16:49:53 -05:00
Jeff Law
e1a4071f3a explow.c (hard_function_value): Change a register in BLKmode to a register in a sufficiently wide integer mode.
* explow.c (hard_function_value): Change a register in BLKmode
	to a register in a sufficiently wide integer mode.

From-SVN: r8578
1994-11-28 22:45:16 -07:00
Jeff Law
4c485b6355 stmt.c (expand_return): For BLKmode structure returns...
* stmt.c (expand_return): For BLKmode structure returns, copy
	the return value from memory into the return registers.  Use
	an integer mode rather than BLKmode for returning structures
	in registers.

From-SVN: r8577
1994-11-28 22:44:58 -07:00
Jeff Law
203436d9aa integrate.c (function_cannot_inline_p): Do not inline functions which return a BLKmode value in registers.
* integrate.c (function_cannot_inline_p): Do not inline functions
	which return a BLKmode value in registers.

From-SVN: r8576
1994-11-28 22:44:47 -07:00
Jeff Law
aaf87c453b expr.c (expand_assignment): For BLKmode structure returns...
* expr.c (expand_assignment): For BLKmode structure returns,
	copy the return value from registers into the target memory
	locations.

From-SVN: r8575
1994-11-28 22:44:19 -07:00
Jeff Law
766b19fbaf calls.c (expand_call): Handle returning BLKmode values in registers.
* calls.c (expand_call): Handle returning BLKmode values in
	registers.  Do not try to promote BLKmode.

From-SVN: r8574
1994-11-28 22:44:06 -07:00
Jeff Law
451d86c293 pa.h (DEFAULT_PCC_STRUCT_RETURN): Define as zero.
* pa.h (DEFAULT_PCC_STRUCT_RETURN): Define as zero.
	(RETURN_IN_MEMORY): Only large structs (>8 bytes) and addressable
	structs should be returned in memory.
	ci -u calls.c

From-SVN: r8573
1994-11-28 22:43:47 -07:00
Jeff Law
694b6b6ddb calls.c (expand_call): Do not set is_integrable if the function is not inlineable according to...
* calls.c (expand_call): Do not set is_integrable if the
	function is not inlineable according to function_cannot_inline_p.

From-SVN: r8572
1994-11-28 22:40:37 -07:00
Mike Stump
5603182320 libgcc2.c (__register_exceptions): Find max ending of a segment for end, not min.
* libgcc2.c (__register_exceptions): Find max ending of a segment for
        end, not min.
        * libgcc2.c (__unwind_function): New function to support stack
        unwinding on i[34]86 for g++ exception handling.

From-SVN: r8571
1994-11-29 01:33:07 +00:00
Mike Stump
db5ae43ff2 49th Cygnus<->FSF merge
From-SVN: r8570
1994-11-29 00:59:16 +00:00
Jim Wilson
c7a7ac465e (move_by_pieces, move_by_pieces_ninsns, emit_push_insn,
expand_assignment, store_field, expand_expr): Likewise.
(SLOW_UNALIGNED_ACCESS): Default to STRICT_ALIGNMENT, not zero.

From-SVN: r8569
1994-11-28 16:58:52 -08:00
Jim Wilson
5970d32e6e (store_bit_field, extract_bit_field): Consistently use
SLOW_UNALIGNED_ACCESS instead of STRICT_ALIGNMENT.

From-SVN: r8568
1994-11-28 16:58:04 -08:00