Richard Kenner [Thu, 8 Dec 1994 20:40:54 +0000 (15:40 -0500)]
(extend_operator): New predicate.
From-SVN: r8630
Richard Kenner [Thu, 8 Dec 1994 19:33:33 +0000 (14:33 -0500)]
(do_include): Don't turn newline markers into spaces when expanding an
include file name.
From-SVN: r8629
Richard Kenner [Thu, 8 Dec 1994 19:19:11 +0000 (14:19 -0500)]
(discard_comments): If traditional, replace a comment with nothing
instead of with a space.
From-SVN: r8628
Richard Kenner [Thu, 8 Dec 1994 19:13:25 +0000 (14:13 -0500)]
(char_name): New var.
(initialize_char_syntax): Initialize it.
(handle_directive): Use it to simplify printing of diagnostics.
Warn about '\r' too.
(create_definition, do_pragma, do_endif, make_assertion): Be consistent
about skipping all horizontal white space, not just space and tab.
From-SVN: r8627
Richard Kenner [Thu, 8 Dec 1994 18:49:36 +0000 (13:49 -0500)]
(CRT_END): Add dummy refs to ___brk_addr, __environ and atexit if
__linux__ and __PIC__ defined.
From-SVN: r8626
Richard Kenner [Thu, 8 Dec 1994 02:57:53 +0000 (21:57 -0500)]
(distribute_notes): If can't find place for REG_DEAD note, add an INSN
with a USE to hold it.
From-SVN: r8625
Richard Kenner [Wed, 7 Dec 1994 21:51:43 +0000 (16:51 -0500)]
New pattern for ior between SImode target and zero_extended value.
From-SVN: r8624
Richard Kenner [Wed, 7 Dec 1994 21:42:35 +0000 (16:42 -0500)]
(preserve_momentary): New function.
From-SVN: r8623
Doug Evans [Wed, 7 Dec 1994 20:58:08 +0000 (20:58 +0000)]
(locate_and_pad_parm): Do padding before rounding
so pad_below knows how much is needed.
From-SVN: r8622
Steve Chamberlain [Wed, 7 Dec 1994 02:04:12 +0000 (02:04 +0000)]
*** empty log message ***
From-SVN: r8621
Steve Chamberlain [Wed, 7 Dec 1994 01:52:01 +0000 (01:52 +0000)]
*** empty log message ***
From-SVN: r8620
Richard Kenner [Wed, 7 Dec 1994 00:11:19 +0000 (19:11 -0500)]
(init_decl_processing): Implement built-in functions fabsf, sqrtf,
sinf, cosf, fabsl, sqrtl, sinl, cosl.
From-SVN: r8619
Richard Kenner [Wed, 7 Dec 1994 00:05:08 +0000 (19:05 -0500)]
Fix comments.
From-SVN: r8618
Richard Kenner [Tue, 6 Dec 1994 23:42:11 +0000 (18:42 -0500)]
(CPP_PREDEFINES): Set __GNUC_MINOR__ to 7.
From-SVN: r8617
Richard Kenner [Tue, 6 Dec 1994 23:41:40 +0000 (18:41 -0500)]
Eliminate `set symbol/scope=noGlobal'.
From-SVN: r8616
Jason Merrill [Tue, 6 Dec 1994 20:09:44 +0000 (20:09 +0000)]
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
Roland McGrath [Tue, 6 Dec 1994 11:15:08 +0000 (11:15 +0000)]
(NO_IMPLICIT_EXTERN_C): Define it.
From-SVN: r8614
Roland McGrath [Tue, 6 Dec 1994 10:49:36 +0000 (10:49 +0000)]
Include "gnu.h".
From-SVN: r8613
Roland McGrath [Tue, 6 Dec 1994 10:48:28 +0000 (10:48 +0000)]
Initial revision
From-SVN: r8612
Roland McGrath [Tue, 6 Dec 1994 07:29:38 +0000 (07:29 +0000)]
(dummy.c) [sony]: Include <sys/param.h> and emit newsos4 #ifdef NEWSOS4.
From-SVN: r8611
Doug Evans [Mon, 5 Dec 1994 21:59:27 +0000 (21:59 +0000)]
(LIB2FUNCS_EXTRA): Compile fp-bit.c
From-SVN: r8610
Jim Wilson [Mon, 5 Dec 1994 19:46:45 +0000 (11:46 -0800)]
(copy_loop_body): Reformat CODE_LABEL_NUMBER macro call
to avoid HPUX compiler bug.
From-SVN: r8609
Doug Evans [Mon, 5 Dec 1994 18:53:20 +0000 (18:53 +0000)]
(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
Richard Kenner [Mon, 5 Dec 1994 18:00:30 +0000 (13:00 -0500)]
(EXTRA_CONSTRAINT, case 'R'): Fix error in last change.
From-SVN: r8607
Doug Evans [Mon, 5 Dec 1994 05:39:41 +0000 (05:39 +0000)]
(c-parse.h): Split away from c-parse.c for parallel makes.
(bi-parser.h): Likewise with bi-parser.c.
From-SVN: r8606
Doug Evans [Mon, 5 Dec 1994 02:04:24 +0000 (02:04 +0000)]
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
Per Bothner [Sat, 3 Dec 1994 04:17:51 +0000 (20:17 -0800)]
* expr.c (store_constructor): Add support for SET_TYPE.
From-SVN: r8604
Richard Kenner [Fri, 2 Dec 1994 23:14:05 +0000 (18:14 -0500)]
(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
Richard Kenner [Fri, 2 Dec 1994 23:13:28 +0000 (18:13 -0500)]
(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
Richard Kenner [Fri, 2 Dec 1994 23:11:17 +0000 (18:11 -0500)]
(expand_inline_function): If called function calls alloca, save and
restore SP around its call.
From-SVN: r8601
Richard Kenner [Fri, 2 Dec 1994 23:09:21 +0000 (18:09 -0500)]
(subst_constant): Don't treat all virtual regs as constants, just
those that are off FP and AP, but not SP.
From-SVN: r8600
Richard Kenner [Fri, 2 Dec 1994 23:08:09 +0000 (18:08 -0500)]
(EXTRA_CONSTRAINT): Correctly check for SYMBOL_REF referring to the
TOC.
From-SVN: r8599
Richard Kenner [Fri, 2 Dec 1994 23:07:45 +0000 (18:07 -0500)]
(input_operand): Correctly check for SYMBOL_REF referring to the TOC.
From-SVN: r8598
Mike Stump [Fri, 2 Dec 1994 22:22:12 +0000 (22:22 +0000)]
fix typo...
From-SVN: r8597
Mike Stump [Fri, 2 Dec 1994 18:46:00 +0000 (18:46 +0000)]
i * Makefile.in (BISONFLAGS): Add -yacc so that output winds up in
y.tab.c.
From-SVN: r8596
Jeff Law [Thu, 1 Dec 1994 01:43:50 +0000 (18:43 -0700)]
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
Richard Kenner [Thu, 1 Dec 1994 00:12:38 +0000 (19:12 -0500)]
(record_dead_and_set_regs_1): Handle SUBREGs.
From-SVN: r8594
Richard Kenner [Thu, 1 Dec 1994 00:07:49 +0000 (19:07 -0500)]
(convert_move): When emit multiword conversion, force FROM into a new
pseudo-reg if it overlaps TO.
From-SVN: r8593
Richard Kenner [Thu, 1 Dec 1994 00:02:39 +0000 (19:02 -0500)]
(fold_truthop): Delete BIT_AND_EXPR of constants with masks.
From-SVN: r8592
Richard Kenner [Wed, 30 Nov 1994 23:51:42 +0000 (18:51 -0500)]
(floatsidf2): Test BITS_PER_WORD in pattern condition not during build.
Fail if TARGET_POWERPC64.
(floatunssidf2): Likewise.
From-SVN: r8591
Richard Kenner [Wed, 30 Nov 1994 23:51:07 +0000 (18:51 -0500)]
(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
Richard Kenner [Wed, 30 Nov 1994 23:22:24 +0000 (18:22 -0500)]
(PREDICATE_CODES): Add lwa_operand.
From-SVN: r8589
Richard Kenner [Wed, 30 Nov 1994 23:22:07 +0000 (18:22 -0500)]
(lwa_operand): New predicate.
From-SVN: r8588
Richard Kenner [Wed, 30 Nov 1994 23:21:37 +0000 (18:21 -0500)]
(extendsidi2): Use lwa_operand predicate.
(sign_extend load with update): New PowerPC64 pattern.
From-SVN: r8587
Richard Kenner [Wed, 30 Nov 1994 23:18:56 +0000 (18:18 -0500)]
(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
Richard Kenner [Wed, 30 Nov 1994 23:13:44 +0000 (18:13 -0500)]
(emit_block_move): Only use movstr if size is small enough constant or
MODE is at least BITS_PER_WORD.
From-SVN: r8585
Richard Kenner [Wed, 30 Nov 1994 23:04:48 +0000 (18:04 -0500)]
(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
Richard Kenner [Wed, 30 Nov 1994 20:48:22 +0000 (15:48 -0500)]
(word_type): Use __attribute__ ((mode (__word__))).
From-SVN: r8583
Richard Kenner [Wed, 30 Nov 1994 20:48:00 +0000 (15:48 -0500)]
(decl_attribute): Allow special names (e.g, `word') for mode
attribute.
From-SVN: r8582
Richard Kenner [Tue, 29 Nov 1994 22:01:25 +0000 (17:01 -0500)]
(ibmrt): Add more cases for various forms of BSD.
From-SVN: r8581
Richard Kenner [Tue, 29 Nov 1994 21:50:22 +0000 (16:50 -0500)]
(init_optabs): Don't set functions for rotl and rotr.
From-SVN: r8580
Richard Kenner [Tue, 29 Nov 1994 21:49:53 +0000 (16:49 -0500)]
(expand_shift): Open-code rotate even if by a variable.
From-SVN: r8579
Jeff Law [Tue, 29 Nov 1994 05:45:16 +0000 (22:45 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:44:58 +0000 (22:44 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:44:47 +0000 (22:44 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:44:19 +0000 (22:44 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:44:06 +0000 (22:44 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:43:47 +0000 (22:43 -0700)]
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
Jeff Law [Tue, 29 Nov 1994 05:40:37 +0000 (22:40 -0700)]
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
Mike Stump [Tue, 29 Nov 1994 01:33:07 +0000 (01:33 +0000)]
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
Mike Stump [Tue, 29 Nov 1994 00:59:16 +0000 (00:59 +0000)]
49th Cygnus<->FSF merge
From-SVN: r8570
Jim Wilson [Tue, 29 Nov 1994 00:58:52 +0000 (16:58 -0800)]
(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
Jim Wilson [Tue, 29 Nov 1994 00:58:04 +0000 (16:58 -0800)]
(store_bit_field, extract_bit_field): Consistently use
SLOW_UNALIGNED_ACCESS instead of STRICT_ALIGNMENT.
From-SVN: r8568
Jim Wilson [Tue, 29 Nov 1994 00:53:27 +0000 (16:53 -0800)]
(create_definition): Error if comma not followed by an identifier.
(create_definition): Error if comma not followed by an
identifier.
(collect_expansion): Error if # used in macro with no arguments.
From-SVN: r8567
Richard Kenner [Mon, 28 Nov 1994 23:52:57 +0000 (18:52 -0500)]
(FLAGS_TO_PASS): Fix typo in GCC_FOR_TARGET.
From-SVN: r8566
Jim Wilson [Mon, 28 Nov 1994 23:03:16 +0000 (15:03 -0800)]
(finish_decl): Use DECL_CONTEXT instead of
current_binding_level to identify file-scope variables.
From-SVN: r8565
Michael Meissner [Fri, 25 Nov 1994 23:57:41 +0000 (23:57 +0000)]
Add comment on ffs to say why optimizing it further is a bad idea.
From-SVN: r8564
Steve Chamberlain [Thu, 24 Nov 1994 04:38:49 +0000 (04:38 +0000)]
*** empty log message ***
From-SVN: r8563
Richard Kenner [Wed, 23 Nov 1994 22:23:50 +0000 (17:23 -0500)]
(TARGET_DEFAULT): Forbid usage of bitfield instructions.
From-SVN: r8562
Richard Kenner [Wed, 23 Nov 1994 22:23:24 +0000 (17:23 -0500)]
(everywhere): Correct range is -0x1fffffff to 0x20000000, others have to be loaded with movd.
(everywhere): Correct range is -0x1fffffff to 0x20000000, others have to be
loaded with movd.
Shortcircuit with TARGET_32532 as early as possible.
(movsi): Use movd to load unknown symbol values. to allow
From-SVN: r8561
Richard Kenner [Wed, 23 Nov 1994 22:22:53 +0000 (17:22 -0500)]
Add -mhimem to support linking above 0x20000000 boundary.
Fix meaning of BASE_REG_NEEDED.
(print_operand): Removed dead code.
From-SVN: r8560
Richard Kenner [Wed, 23 Nov 1994 22:21:54 +0000 (17:21 -0500)]
Add -mhimem to support linking above 0x20000000 boundary.
(CONST_COSTS): Correct range is -0x1fff to 0x2000.
From-SVN: r8559
Richard Kenner [Wed, 23 Nov 1994 21:51:08 +0000 (16:51 -0500)]
Add cases for romp-ibm-aix and romp-ibm-bsd.
From-SVN: r8558
Jim Wilson [Wed, 23 Nov 1994 19:42:41 +0000 (11:42 -0800)]
(mips_output_external): Exclude __builtin_next_arg from list
of used external functions.
From-SVN: r8557
Jim Wilson [Wed, 23 Nov 1994 19:25:55 +0000 (11:25 -0800)]
(arith_reg_operand): Disallow MACH_REG and MACL_REG.
From-SVN: r8556
Jim Wilson [Wed, 23 Nov 1994 19:09:15 +0000 (11:09 -0800)]
(SECONDARY_MEMORY_NEEDED_RTX, SECONDARY_MEMORY_NEEDED_MODE):
Use MODE not mode.
From-SVN: r8555
Richard Kenner [Wed, 23 Nov 1994 18:30:35 +0000 (13:30 -0500)]
(emit_move_insn): If splitting up into individual words and X is a push_operand...
(emit_move_insn): If splitting up into individual words and X is a
push_operand, do the push and reference top of stack.
From-SVN: r8554
Doug Evans [Wed, 23 Nov 1994 02:39:37 +0000 (02:39 +0000)]
(ASM_OUTPUT_SECTION_NAME): Define.
From-SVN: r8553
Richard Kenner [Tue, 22 Nov 1994 22:41:55 +0000 (17:41 -0500)]
(gen_lowpart_common): Do nothing if size is greater than twice host
wordsize, not just if equal.
From-SVN: r8552
Richard Kenner [Tue, 22 Nov 1994 22:40:46 +0000 (17:40 -0500)]
(fold_convert): Don't fold conversion if it would produce constant
larger than we can support.
From-SVN: r8551
Richard Kenner [Tue, 22 Nov 1994 19:38:02 +0000 (14:38 -0500)]
(emit_no_conflict_block): Just emit the insns if the block contains
something not an INSN or has an embedded block.
From-SVN: r8550
Richard Kenner [Tue, 22 Nov 1994 11:29:12 +0000 (06:29 -0500)]
(layout_type): Use ptr_mode instead of equivalent call to
mode_for_size.
From-SVN: r8549
Richard Kenner [Tue, 22 Nov 1994 11:28:38 +0000 (06:28 -0500)]
(init_emit): Set REGNO_POINTER_FLAG for HARD_FRAME_POINTER_REGNUM.
(ptr_mode): Add definition.
(init_emit_once): Initialize ptr_mode.
From-SVN: r8548
Richard Kenner [Tue, 22 Nov 1994 11:27:59 +0000 (06:27 -0500)]
(ptr_mode): Add declaration.
From-SVN: r8547
Richard Kenner [Tue, 22 Nov 1994 03:21:24 +0000 (22:21 -0500)]
(output_constant): When eliminating conversions, treat ARRAY_TYPE like
a record.
From-SVN: r8546
Richard Kenner [Mon, 21 Nov 1994 23:41:30 +0000 (18:41 -0500)]
(movqi): Fix typo in push/pop case.
From-SVN: r8545
Richard Kenner [Mon, 21 Nov 1994 23:11:52 +0000 (18:11 -0500)]
(gen_insn): Use GET_MODE_WIDER_MODE macro instead of directly
accessing the array.
From-SVN: r8544
Richard Kenner [Mon, 21 Nov 1994 22:59:03 +0000 (17:59 -0500)]
(LINK_SPEC): New overriding defintion.
From-SVN: r8543
Richard Kenner [Mon, 21 Nov 1994 22:43:56 +0000 (17:43 -0500)]
(input_operand): Allow a SYMBOL_REF referring to a symbol in the TOC.
From-SVN: r8542
Jim Wilson [Mon, 21 Nov 1994 19:40:36 +0000 (11:40 -0800)]
(operand_subword): For CONST_DOUBLE, add case to
handle BITS_PER_WORD of 16.
From-SVN: r8541
Doug Evans [Mon, 21 Nov 1994 19:38:52 +0000 (19:38 +0000)]
(dp-bit.c): Fix typos.
From-SVN: r8540
Jim Wilson [Mon, 21 Nov 1994 19:37:26 +0000 (11:37 -0800)]
(reload): When decrement max_groups of superclass, can
only do so if the group_size is smaller than the current group.
From-SVN: r8539
Jim Wilson [Mon, 21 Nov 1994 19:06:09 +0000 (11:06 -0800)]
(yylex): Do warn about floating point out of range if target floating-point format is IEEE.
(yylex): Do warn about floating point out of range if
target floating-point format is IEEE. Use warning instead of
pedwarn to avoid getting errors.
From-SVN: r8538
Doug Evans [Mon, 21 Nov 1994 18:50:41 +0000 (18:50 +0000)]
(CPP_PREDEFINES): Add -Acpu and -Amachine.
From-SVN: r8537
Doug Evans [Mon, 21 Nov 1994 18:49:13 +0000 (18:49 +0000)]
(CPP_PREDEFINES): Add -Acpu and -Amachine.
(DBX_DEBUGGING_INFO): Define.
From-SVN: r8536
Doug Evans [Mon, 21 Nov 1994 18:36:39 +0000 (18:36 +0000)]
(MULTILIB_MATCHES): Treat m68302/m68332 like m68000.
From-SVN: r8535
Doug Evans [Mon, 21 Nov 1994 17:15:24 +0000 (17:15 +0000)]
Delete duplicate of sparc-*.
From-SVN: r8534
Jeff Law [Mon, 21 Nov 1994 05:59:27 +0000 (22:59 -0700)]
pa.c (output_call): When emitting an inline long-call...
* pa.c (output_call): When emitting an inline long-call, use LP%
and RP% prefixes to get the function's address.
From-SVN: r8533
Richard Kenner [Sun, 20 Nov 1994 18:19:46 +0000 (13:19 -0500)]
(objc-parse.y): Fix typo.
From-SVN: r8532
Richard Kenner [Sun, 20 Nov 1994 12:00:14 +0000 (07:00 -0500)]
Initial revision
From-SVN: r8531