OSDN Git Service

pf3gnuchains/gcc-fork.git
27 years ago(expand_call): For assign_stack_temp call in PARALLEL case,
wilson [Mon, 8 Jul 1996 22:16:35 +0000 (22:16 +0000)]
(expand_call): For assign_stack_temp call in PARALLEL case,
get mode from type instead of using BLKmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12414 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(aggregate_value_p): If hard_function_value returns
wilson [Mon, 8 Jul 1996 22:11:03 +0000 (22:11 +0000)]
(aggregate_value_p): If hard_function_value returns
a non-REG, then return 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12413 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(function_arg): Add explicit checks for FIELD_DECLs.
wilson [Mon, 8 Jul 1996 21:59:51 +0000 (21:59 +0000)]
(function_arg): Add explicit checks for FIELD_DECLs.
(mips_function_value): Add explicit checks for FIELD_DECLs, and save
them in the array FIELDS.  When returning structure with 1 float field,
enclose it in a PARALLEL and set the PARALLEL mode correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12412 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(function_arg): Add explicit checks for FIELD_DECLs.
wilson [Mon, 8 Jul 1996 21:55:32 +0000 (21:55 +0000)]
(function_arg): Add explicit checks for FIELD_DECLs.
(mips_function_value): Add explicit checks for FIELD_DECLs, and save
them in the array FIELDS.  When returning structure with 1 float field,
enclose it in a PARALLEL and set the PARALLEL mode correctly.
* mips/mips.md (call_value): Call gen_call_value_multiple_internal0
only if there are multiple return values.  Strip the PARALLEL off
if there there is only one return value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12411 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * First cut at support for the H8/S.
law [Mon, 8 Jul 1996 21:02:16 +0000 (21:02 +0000)]
    * First cut at support for the H8/S.
        * h8300/h8300.c (h8300_init_once): Handle the H8/S (treat it
        like the H8/300H).
        (dosize, adds_subs_operand, one_insn_adds_subs_operand): Likewise.
        (output_adds_subs, const_costs, print_operand): Likewise.
        (output_simode_bld, h8300_adjust_insn_length): Likewise.
        (push_order, pop_order): Reverse.
        (function_prologue): Try to use ldm.l and stm.l insns
        on the H8/S.  Minor cleanups.
        (function_epilogue): Likewise.
        (asm_file_start): Emit ".h8300s" when compiling for the H8/S.
        * h8300/h8300.h (CPP_SPEC): Handle the H8/S.
        (TARGET_H8300S): New target.
        (TARGET_SWITCHES): Add "-ms" and "-mno-s".
        (BITS_PER_WORD): Handle the H8/S (treat it like the H8/300H).
        (UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY): Likewise.
        (BIGGEST_ALIGNMENT, BIGGEST_FIELD_ALIGNMENT): Likewise.
        (INITIALIZE_TRAMPOLINE, MOVE_MAX, Pmode): Likewise.
        * h8300/h8300.md: Handle H8/S just like H8/300H
        throughout the entire file.
        * h8300/t-h8300 (MULTILIB_OPTIONS): Build "-ms" libraries
        too.
        (MULTILIB_DIRNAMES): Put H8/S libraries in "h8300s" directory.
        * h8300/lib1funcs.asm: Emit ".h8300s" pseudo-op when generating
        h8300s object files.  Otherwise treat the H8/S just like the H8/300H.
        * ginclude/stdarg.h: Handle the H8/S.
        * ginclude/varargs.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12410 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * ginclude/stdarg.h: Handle the H8/S.
law [Mon, 8 Jul 1996 20:29:33 +0000 (20:29 +0000)]
    * ginclude/stdarg.h: Handle the H8/S.
        * ginclude/varargs.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12409 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * sparc/sol2.h (LINK_SPEC): Don't pass `-z text' if
dje [Mon, 8 Jul 1996 18:50:35 +0000 (18:50 +0000)]
* sparc/sol2.h (LINK_SPEC): Don't pass `-z text' if
-shared -mimpure-text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12408 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(__udivsi3): Use faster tstw instead of btst.
tege [Sun, 7 Jul 1996 22:03:19 +0000 (22:03 +0000)]
(__udivsi3): Use faster tstw instead of btst.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12407 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRecognize rtems as an o/s.
dje [Sun, 7 Jul 1996 17:26:50 +0000 (17:26 +0000)]
Recognize rtems as an o/s.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12399 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(get_inner_reference): Delete using alternate mode for bitfield; we
kenner [Thu, 4 Jul 1996 15:44:14 +0000 (15:44 +0000)]
(get_inner_reference): Delete using alternate mode for bitfield; we
don't make bitfields anymore if not needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12398 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoformatting tweaks
mrs [Wed, 3 Jul 1996 23:05:19 +0000 (23:05 +0000)]
formatting tweaks

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12393 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(at SUNOS4_SHARED_LIBRARIES): Fix reference to unistd.h.
kenner [Wed, 3 Jul 1996 22:23:08 +0000 (22:23 +0000)]
(at SUNOS4_SHARED_LIBRARIES): Fix reference to unistd.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12392 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(record_function_format): Define as static.
kenner [Wed, 3 Jul 1996 22:21:37 +0000 (22:21 +0000)]
(record_function_format): Define as static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12391 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoformatting tweaks
mrs [Wed, 3 Jul 1996 22:07:53 +0000 (22:07 +0000)]
formatting tweaks

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(default_conversion): Add bitfield promotions.
kenner [Wed, 3 Jul 1996 21:34:57 +0000 (21:34 +0000)]
(default_conversion): Add bitfield promotions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12389 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(default_compilers): Add null entries for languages we heard of.
kenner [Wed, 3 Jul 1996 21:09:09 +0000 (21:09 +0000)]
(default_compilers): Add null entries for languages we heard of.
(main): If found one of those entries, say compiler not installed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12388 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago formatting tweaks
mrs [Wed, 3 Jul 1996 18:43:21 +0000 (18:43 +0000)]
  formatting tweaks

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12387 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoiformat tweaks
mrs [Wed, 3 Jul 1996 18:41:12 +0000 (18:41 +0000)]
iformat tweaks

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12386 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa.c (fmpy_operands): Define.
law [Wed, 3 Jul 1996 17:19:19 +0000 (17:19 +0000)]
    * pa.c (fmpy_operands): Define.
        (combinable_fmpy): New function.
        (combinable_fadd, combinable_fsub): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12385 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa.md (parallel_addb, parallel_movb): New patterns.
law [Wed, 3 Jul 1996 17:13:54 +0000 (17:13 +0000)]
    * pa.md (parallel_addb, parallel_movb): New patterns.
        (fmpyadd, fmpysub): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12384 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa.c (fmpyaddoperands): Tighten checks. Allow SFmode.
law [Wed, 3 Jul 1996 16:55:40 +0000 (16:55 +0000)]
    * pa.c (fmpyaddoperands): Tighten checks.  Allow SFmode.
        (fmpysuboperands): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12383 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa.c (ireg_or_int5_operand): New function.
law [Wed, 3 Jul 1996 05:34:40 +0000 (05:34 +0000)]
    * pa.c (ireg_or_int5_operand): New function.
        (output_parallel_movb, output_parallel_addb): Likewise.
        (combinable_copy, combinable_add, following_call): Likewise.
        (pa_adjust_insn_length): Handle parallel unconditional branches.
        (output_movb): Handle case were destination is %sar.
        * pa.h: Declare new functions.
        * pa.md (parallel_branch): New "type" attribute.
        (delay slot descriptions): Don't allow "parallel_branches" in
        delay slots.  Fill "parallel_branches" like "branch" insns.
        (movb patterns): Handle %sar as destination register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12382 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * expr.c (compare): If function pointers need canonicalization
law [Tue, 2 Jul 1996 22:59:02 +0000 (22:59 +0000)]
    * expr.c (compare): If function pointers need canonicalization
        before comparisons, canonicalize them.
        (do_store_flag): Do not use an sCC insn for a function pointer
        comparison if function pointers need canonicalization before
        comparing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12381 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoMake Linux target work
meissner [Tue, 2 Jul 1996 21:58:04 +0000 (21:58 +0000)]
Make Linux target work

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12380 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix int<->floating point conversion routines
meissner [Sat, 29 Jun 1996 11:28:52 +0000 (11:28 +0000)]
Fix int<->floating point conversion routines

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12379 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(convert_memory_address, case PLUS): Fix error in last change.
kenner [Sat, 29 Jun 1996 09:44:27 +0000 (09:44 +0000)]
(convert_memory_address, case PLUS): Fix error in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12378 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * reload1.c (choose_reload_regs): Properly mark spill registers
law [Sat, 29 Jun 1996 03:34:25 +0000 (03:34 +0000)]
    * reload1.c (choose_reload_regs): Properly mark spill registers
        as in use for inherited reloads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12377 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(rotl): Remove extraneous `$'.
kenner [Fri, 28 Jun 1996 23:12:29 +0000 (23:12 +0000)]
(rotl): Remove extraneous `$'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12376 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(objc_thread_id): Use pthread_getunique_np to obtain a thread ID value.
kenner [Fri, 28 Jun 1996 22:50:43 +0000 (22:50 +0000)]
(objc_thread_id): Use pthread_getunique_np to obtain a thread ID value.
(objc_mutex_allocate): Cast mutex->owner to _objc_thread_t.
(objc_mutex_deallocate): Likewise.
(objc_mutex_unlock): Likewise.
(objc_mutex_trylock):  Declare thread_id as _objc_thread_t.
(objc_mutex_lock): Likewise.
(objc_mutex_unlock): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12375 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(ifdef __alpha__): Don't declare `free'.
kenner [Fri, 28 Jun 1996 22:50:18 +0000 (22:50 +0000)]
(ifdef __alpha__): Don't declare `free'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12374 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(asctoeg): `0.0eX' is zero, regardless of the exponent X.
kenner [Fri, 28 Jun 1996 22:37:08 +0000 (22:37 +0000)]
(asctoeg): `0.0eX' is zero, regardless of the exponent X.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12373 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(previous_num_undos): Deleted variable.
kenner [Fri, 28 Jun 1996 22:32:45 +0000 (22:32 +0000)]
(previous_num_undos): Deleted variable.
(MAX_UNDO): Deleted macro.
(struct undo): New field, next.
(struct undobuf): Deleted num_undos and undo.
New fields undos, frees, and previous_undos.
(SUBST, SUBST_INT): Rework to allocate memory and chain undo entries.
(combine_instructions): Initialize undobuf.{undos,previous_undos},
not undobuf.num_undo and previous_num_undos.
(try_combine): Likewise.
(undo_all, gen_rtx_combine): Rework to use new data structures.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12372 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(__objc_block_forward): New function.
kenner [Fri, 28 Jun 1996 20:48:18 +0000 (20:48 +0000)]
(__objc_block_forward): New function.
(get_imp, objc_msg_lookup): Use different forwarding function
when the returning a floating point value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12371 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRemove variables now in t-linux.
kenner [Fri, 28 Jun 1996 20:25:18 +0000 (20:25 +0000)]
Remove variables now in t-linux.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12370 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(BOOT_CFLAGS): Removed.
kenner [Fri, 28 Jun 1996 20:24:34 +0000 (20:24 +0000)]
(BOOT_CFLAGS): Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12369 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(BOOT_CFLAGS): Removed, no longer necessary.
kenner [Fri, 28 Jun 1996 20:24:19 +0000 (20:24 +0000)]
(BOOT_CFLAGS): Removed, no longer necessary.
(CRTSTUFF_T_CFLAGS): Don't define.
(CRTSTUFF_T_CFLAGS_S): Define this instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12368 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(Makefile): xmake_file and tmake_file now already contain the
kenner [Fri, 28 Jun 1996 20:23:55 +0000 (20:23 +0000)]
(Makefile): xmake_file and tmake_file now already contain the
$(srcdir)/config prefix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12367 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(LINK_SPEC): Bring emulation name into sync with Cygnus snapshot.
kenner [Fri, 28 Jun 1996 19:39:44 +0000 (19:39 +0000)]
(LINK_SPEC): Bring emulation name into sync with Cygnus snapshot.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12366 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(FUNCTION_PROFILER): _mcount has non-standard linkage.
kenner [Fri, 28 Jun 1996 19:39:03 +0000 (19:39 +0000)]
(FUNCTION_PROFILER): _mcount has non-standard linkage.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12365 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(alpha_emit_conditional_move): Emit correct code when incoming
kenner [Fri, 28 Jun 1996 19:05:55 +0000 (19:05 +0000)]
(alpha_emit_conditional_move): Emit correct code when incoming
comparison code is NE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12364 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(expand_builtin, case BUILTIN_MEMSET): Open code memset where val == 0.
kenner [Fri, 28 Jun 1996 18:35:10 +0000 (18:35 +0000)]
(expand_builtin, case BUILTIN_MEMSET): Open code memset where val == 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12363 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(init_decl_processing): Register __builtin_memset and memset as
kenner [Fri, 28 Jun 1996 18:32:39 +0000 (18:32 +0000)]
(init_decl_processing): Register __builtin_memset and memset as
builtin functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12362 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(expand_mult_highpart): Use op1 not wide_op1 in expansion of
kenner [Fri, 28 Jun 1996 18:24:24 +0000 (18:24 +0000)]
(expand_mult_highpart): Use op1 not wide_op1 in expansion of
mul_highpart.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12361 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(movdi): Call alpha_emit_set_long_const.
kenner [Fri, 28 Jun 1996 18:23:55 +0000 (18:23 +0000)]
(movdi): Call alpha_emit_set_long_const.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12360 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago({MASK,TARGET}_BUILD_CONSTANTS): New macros.
kenner [Fri, 28 Jun 1996 18:23:12 +0000 (18:23 +0000)]
({MASK,TARGET}_BUILD_CONSTANTS): New macros.
(TARGET_SWITCHES): New target option build-constants.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12359 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(alpha_emit_set_long_const): New function.
kenner [Fri, 28 Jun 1996 18:22:43 +0000 (18:22 +0000)]
(alpha_emit_set_long_const): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12358 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(init_dummy): Only i386-linux (at most) needs ___brk_addr hack.
kenner [Fri, 28 Jun 1996 18:08:53 +0000 (18:08 +0000)]
(init_dummy): Only i386-linux (at most) needs ___brk_addr hack.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12357 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(dbxout_function): Respect NO_DBX_FUNCTION_END.
kenner [Fri, 28 Jun 1996 18:07:33 +0000 (18:07 +0000)]
(dbxout_function): Respect NO_DBX_FUNCTION_END.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12356 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(INITIALIZE_TRAMPOLINE): New definition.
kenner [Fri, 28 Jun 1996 18:06:52 +0000 (18:06 +0000)]
(INITIALIZE_TRAMPOLINE): New definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12355 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
kenner [Fri, 28 Jun 1996 18:06:12 +0000 (18:06 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12354 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(NO_DBX_FUNCTION_END): New macro.
kenner [Fri, 28 Jun 1996 18:05:35 +0000 (18:05 +0000)]
(NO_DBX_FUNCTION_END): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12353 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(output_{pro,epi}log): Flag_inhibit_size_directive
kenner [Fri, 28 Jun 1996 18:04:46 +0000 (18:04 +0000)]
(output_{pro,epi}log): Flag_inhibit_size_directive
should supress .ent, .end, and accompanying directives.
(alpha_output_lineno): Fix polarity on GAS test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12352 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(mips:*:*:UMIPS): Fix typo in last change.
kenner [Fri, 28 Jun 1996 17:28:58 +0000 (17:28 +0000)]
(mips:*:*:UMIPS): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12342 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(adddi3, subdi3, negdi3): New patterns.
kenner [Fri, 28 Jun 1996 00:23:23 +0000 (00:23 +0000)]
(adddi3, subdi3, negdi3): New patterns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12341 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(split_di): New; from i386.c.
kenner [Fri, 28 Jun 1996 00:23:08 +0000 (00:23 +0000)]
(split_di): New; from i386.c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12340 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(force_to_mode, case NE): Fix typo and logical error.
kenner [Thu, 27 Jun 1996 23:42:23 +0000 (23:42 +0000)]
(force_to_mode, case NE): Fix typo and logical error.
(simplify_comparison): Don't swap args if op1 is CONST_INT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12339 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(extract_bit_field): Check TRULY_NOOP_TRUNCATION before
wilson [Thu, 27 Jun 1996 22:48:57 +0000 (22:48 +0000)]
(extract_bit_field): Check TRULY_NOOP_TRUNCATION before
making a SUBREG of a REG.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12338 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoPut spaces between -mips* cases in CC1_SPEC
ian [Thu, 27 Jun 1996 21:52:25 +0000 (21:52 +0000)]
Put spaces between -mips* cases in CC1_SPEC

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12337 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDon't call ADJUST_INSN_LENGTH on an insn inside a sequence
ian [Thu, 27 Jun 1996 15:05:07 +0000 (15:05 +0000)]
Don't call ADJUST_INSN_LENGTH on an insn inside a sequence

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12336 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix thinko in last change.
law [Wed, 26 Jun 1996 23:25:22 +0000 (23:25 +0000)]
Fix thinko in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12335 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa/pa.h (CMP_PSI): Delete.
law [Wed, 26 Jun 1996 23:14:21 +0000 (23:14 +0000)]
    * pa/pa.h (CMP_PSI): Delete.
        (FUNCTION_POINTER_COMPARISON_MODE): Likewise.
        * pa/pa.md (cmppsi); Delete expander.
        (canonicalize_funcptr_for_compare): Renamed from plabel_dereference,
        turned into an expander + anonymous pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12334 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago* pexecute.c (PEXECUTE_VERBOSE): Define.
dje [Wed, 26 Jun 1996 02:43:38 +0000 (02:43 +0000)]
* pexecute.c (PEXECUTE_VERBOSE): Define.
(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12333 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago* gcc.c (PEXECUTE_VERBOSE): Define.
dje [Wed, 26 Jun 1996 02:35:26 +0000 (02:35 +0000)]
* gcc.c (PEXECUTE_VERBOSE): Define.
(execute): Pass PEXECUTE_VERBOSE to pexecute if -v.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12332 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoV.4 PIC changes
meissner [Tue, 25 Jun 1996 18:51:50 +0000 (18:51 +0000)]
V.4 PIC changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12331 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoDo not abort on labels for -fpic
meissner [Tue, 25 Jun 1996 16:25:01 +0000 (16:25 +0000)]
Do not abort on labels for -fpic

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12330 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * pa/pa.h (PARSE_LDD_OUTPUT): Handle dynamic libraries that are
law [Tue, 25 Jun 1996 05:20:55 +0000 (05:20 +0000)]
    * pa/pa.h (PARSE_LDD_OUTPUT): Handle dynamic libraries that are
        loaded "statically".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12329 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * h8300/h8300.c (function_prologue): Update "monitor" prologues.
law [Tue, 25 Jun 1996 05:20:34 +0000 (05:20 +0000)]
    * h8300/h8300.c (function_prologue): Update "monitor" prologues.
        (function_epilogue): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12328 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(create_definition): Diagnose `#define #' only once.
eggert [Mon, 24 Jun 1996 23:07:11 +0000 (23:07 +0000)]
(create_definition): Diagnose `#define #' only once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12327 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(CPP_PREDEFINES): For consistency,
wilson [Mon, 24 Jun 1996 19:23:46 +0000 (19:23 +0000)]
(CPP_PREDEFINES): For consistency,
change to define WIN32, WINNT, and CYGWIN32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12326 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(CPP_PREDEFINES): For consistency,
wilson [Mon, 24 Jun 1996 19:12:14 +0000 (19:12 +0000)]
(CPP_PREDEFINES): For consistency,
change to define WIN32, WINNT, and CYGWIN32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12325 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoMove xor of input into insn doing int->double conversion.
meissner [Mon, 24 Jun 1996 16:17:27 +0000 (16:17 +0000)]
Move xor of input into insn doing int->double conversion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12324 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(call_internal1, call_value_internal1): Delete obsolete code.
wilson [Sat, 22 Jun 1996 00:39:43 +0000 (00:39 +0000)]
(call_internal1, call_value_internal1): Delete obsolete code.
(call_internal2, call_value_internal2, call_value_multiple_internal2):
Delete obsolete code.  Explicitly load SYMBOL_REF into register.
(call_value): Change Pmode to SImode in gen_call_value_internal0 call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12323 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoFix typo
meissner [Thu, 20 Jun 1996 16:43:50 +0000 (16:43 +0000)]
Fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12322 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoAdd support for PowerPC Linux
meissner [Thu, 20 Jun 1996 16:20:05 +0000 (16:20 +0000)]
Add support for PowerPC Linux

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12312 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(move_deaths): New parameter maybe_kill_insn.
kenner [Wed, 19 Jun 1996 21:50:05 +0000 (21:50 +0000)]
(move_deaths): New parameter maybe_kill_insn.
Don't move note if reg killed by maybe_kill_insn.
(try_combine): Pass new arg to move_deaths.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12311 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * toplev.c (flag_keep_static_consts): Define.
brendan [Wed, 19 Jun 1996 19:19:27 +0000 (19:19 +0000)]
    * toplev.c (flag_keep_static_consts): Define.
        (f_options): Add "keep-static-consts" entry.
        (compile_file): Check it in addition to !optimize for emitting
        static const variables.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12310 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago * i386/cygwin32.h (ASM_OUTPUT_SOURCE_LINE): Local symbols begin with L.
dje [Wed, 19 Jun 1996 03:37:06 +0000 (03:37 +0000)]
* i386/cygwin32.h (ASM_OUTPUT_SOURCE_LINE): Local symbols begin with L.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12309 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(asm_output_aligned_bss): Don't emit a skip of size 0.
merrill [Tue, 18 Jun 1996 23:22:04 +0000 (23:22 +0000)]
(asm_output_aligned_bss): Don't emit a skip of size 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12308 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoRecognize -openvms.
ian [Tue, 18 Jun 1996 18:23:57 +0000 (18:23 +0000)]
Recognize -openvms.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12304 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(expand_inline_function): Add missing call to force_operand when
kenner [Tue, 18 Jun 1996 17:51:43 +0000 (17:51 +0000)]
(expand_inline_function): Add missing call to force_operand when
getting structure_value_addr into reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12303 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoWhen not involving named pattern, update condition to
kenner [Tue, 18 Jun 1996 11:37:17 +0000 (11:37 +0000)]
When not involving named pattern, update condition to
include alpha_tp != ALPHA_TP_INSN.
Don't do float_extend as part of other pattern when ALPHA_TP_INSN.
(extendsfsd2): Split into two patterns, depending on value of alpha_tp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12302 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(TARGET_SWITCHES): Have all -mieee options turn on MASK_IEEE_CONFORMANT.
kenner [Tue, 18 Jun 1996 11:36:50 +0000 (11:36 +0000)]
(TARGET_SWITCHES): Have all -mieee options turn on MASK_IEEE_CONFORMANT.
(TARGET_DEFAULT): Use symbolic value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12301 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(override_options): Allow EV4/5 or 21064/21164 for cpu.
kenner [Tue, 18 Jun 1996 11:36:33 +0000 (11:36 +0000)]
(override_options): Allow EV4/5 or 21064/21164 for cpu.
Clean up handling of floating-point options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12300 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(override_options): Treat -o32 as -32 and -n64 same as -64.
kenner [Tue, 18 Jun 1996 11:25:18 +0000 (11:25 +0000)]
(override_options): Treat -o32 as -32 and -n64 same as -64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12299 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(ASM_SPEC): Treat -o32 as -32 and -n64 same as -64.
kenner [Tue, 18 Jun 1996 11:24:46 +0000 (11:24 +0000)]
(ASM_SPEC): Treat -o32 as -32 and -n64 same as -64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12298 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(fatal): Declare A1 and A2 as char *.
kenner [Tue, 18 Jun 1996 11:17:21 +0000 (11:17 +0000)]
(fatal): Declare A1 and A2 as char *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12297 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(find_temp_slot_from_address): Check for overlap from BASE_OFFSET if X
kenner [Tue, 18 Jun 1996 11:12:49 +0000 (11:12 +0000)]
(find_temp_slot_from_address): Check for overlap from BASE_OFFSET if X
is PLUS of virtual_stack_vars_rtx and const.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12296 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(flow_analysis): Fix typo in last change.
kenner [Tue, 18 Jun 1996 11:08:16 +0000 (11:08 +0000)]
(flow_analysis): Fix typo in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12295 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(expand_builtin, case BUILT_IN_{SET,LONG}JMP): Properly handle case
kenner [Tue, 18 Jun 1996 10:53:52 +0000 (10:53 +0000)]
(expand_builtin, case BUILT_IN_{SET,LONG}JMP): Properly handle case
when ptr_mode != Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12294 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(try_combine): Don't use split if dest of new I2 is used between I2
kenner [Tue, 18 Jun 1996 10:37:45 +0000 (10:37 +0000)]
(try_combine): Don't use split if dest of new I2 is used between I2
and I3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12293 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(convert_memory_address, case PLUS, MULT): Don't commute operation
kenner [Tue, 18 Jun 1996 10:33:10 +0000 (10:33 +0000)]
(convert_memory_address, case PLUS, MULT): Don't commute operation
with extension if not adding small integer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12292 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(pointer_int_sum): Convert integer to both signedness and precision of
kenner [Tue, 18 Jun 1996 10:32:43 +0000 (10:32 +0000)]
(pointer_int_sum): Convert integer to both signedness and precision of
sizetype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12291 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(BOOT_LANGUAGES): New variable.
kenner [Tue, 18 Jun 1996 10:23:45 +0000 (10:23 +0000)]
(BOOT_LANGUAGES): New variable.
(bootstrap): Use it to select languages for stage1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12290 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoPut function descriptor in .reldata, not .text
meissner [Tue, 18 Jun 1996 02:38:23 +0000 (02:38 +0000)]
Put function descriptor in .reldata, not .text

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12289 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago* ginclude/stddef.h (wint_t): Don't wrap with #ifndef __cplusplus.
brendan [Mon, 17 Jun 1996 22:03:51 +0000 (22:03 +0000)]
* ginclude/stddef.h (wint_t): Don't wrap with #ifndef __cplusplus.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12288 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(memory): Change r4100/r4300 support.
wilson [Mon, 17 Jun 1996 19:01:47 +0000 (19:01 +0000)]
(memory): Change r4100/r4300 support.
(imuldiv): Add r4300 support.
(high, low): New patterns.
(movsi, movdi): Add LO_SUM support.
(movsi_internal1, movsi_internal2): Use move_operand instead of
general_operand.
(movstrsi_internal, movstrsi_internal2): Delete R constraint.
(call, call_value): Pass address instead of MEM to call_insn_operand.
Call gen_call_{value_}internal0 instead of internal1.
(call_internal0, call_value_internal0, call_multiple_internal0):
New patterns.
(call_internal1, call_internal2, call_value_internal1,
call_value_internal2, call_value_multiple_internal2): Add explicit
MEM before target address.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12287 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(mips_split_addresses, mips_check_split, move_operand):
wilson [Mon, 17 Jun 1996 19:00:17 +0000 (19:00 +0000)]
(mips_split_addresses, mips_check_split, move_operand):
New declarations
(GO_IF_LEGITIMATE_ADDRESS): Reject constant addresses when
mips_split_addresses is TRUE.  Add LO_SUM support.
(LEGITIMIZE_ADDRESS): Add LO_SUM support.
(PREDICATE_CODES): Modify call_insn_operand support.  Add
move_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12286 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(mips_split_addresses): New variable.
wilson [Mon, 17 Jun 1996 18:58:25 +0000 (18:58 +0000)]
(mips_split_addresses): New variable.
(simple_memory_operand): Add comment about mode check.  Add check
for LO_SUM.
(call_insn_operand): OP is now an addresses instead of a MEM.
(move_operand, mips_check_split): New functions.
(mips_count_memory_refs): Add check for LO_SUM.
(mips_move_1word): Add HIGH support.
(mips_address_cost): Delete check for HIGH.
(output_block_move): Handle LO_SUM addresses.
(override_options): Set mips_split_addresses.
(print_operand_address): Add LO_SUM support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12285 138bc75d-0d04-0410-961f-82ee72b054a4

27 years agoInitial revision
law [Mon, 17 Jun 1996 05:19:09 +0000 (05:19 +0000)]
Initial revision

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12284 138bc75d-0d04-0410-961f-82ee72b054a4

27 years ago(LINK_SPEC): Remove -rpath /lib/ option. Ignore -ibcs option.
roland [Sat, 15 Jun 1996 08:35:46 +0000 (08:35 +0000)]
(LINK_SPEC): Remove -rpath /lib/ option.  Ignore -ibcs option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12283 138bc75d-0d04-0410-961f-82ee72b054a4