Richard Kenner [Sat, 15 Feb 1997 23:49:22 +0000 (18:49 -0500)]
(fold): Don't assume a nonexplicit constant cannot equal an explicit one.
From-SVN: r13650
Richard Kenner [Sat, 15 Feb 1997 23:45:23 +0000 (18:45 -0500)]
(cmpsi): Added insn with appropriate constraints for TARGET_5200;
changed condition of existing insn to !TARGET_5200.
From-SVN: r13649
Richard Kenner [Sat, 15 Feb 1997 23:41:50 +0000 (18:41 -0500)]
(output_function_prologue): Add CRDS and MOTOROLA probe code.
(print_operand): Do not output '.' if CRDS.
From-SVN: r13648
Richard Kenner [Sat, 15 Feb 1997 23:41:32 +0000 (18:41 -0500)]
(PRINT_OPERAND): Turned off: use default.
(ASM_OUTPUT_{FLOAT,DOUBLE}_OPERAND): Defined.
(SGS_NO_LI,STRUCTURE_SIZE_BOUNDARY,IMMEDIATE_PREFIX): Defined.
(NEED_PROBE): Defined instead of HAVE_probe and gen_probe.
(FUNCTION_{PRO,EPI}LOGUE): Do not access FPA registers.
From-SVN: r13647
Richard Kenner [Sat, 15 Feb 1997 23:41:08 +0000 (18:41 -0500)]
(PRINT_OPERAND): Turned off: use default.
(ASM_OUTPUT_{FLOAT,DOUBLE}_OPERAND): Defined.
From-SVN: r13646
Richard Kenner [Sat, 15 Feb 1997 23:40:49 +0000 (18:40 -0500)]
(PRINT_OPERAND): Turned off: use default.
(ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}_OPERAND): Defined.
From-SVN: r13645
Richard Kenner [Sat, 15 Feb 1997 23:40:22 +0000 (18:40 -0500)]
(PRINT_OPERAND_FLOAT): Removed.
(ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}_OPERAND): Defined.
(PRINT_OPERAND): Turned off: use default.
From-SVN: r13644
Richard Kenner [Sat, 15 Feb 1997 23:26:43 +0000 (18:26 -0500)]
(set_spec): Fix comment-in-comment typo.
From-SVN: r13643
Richard Kenner [Sat, 15 Feb 1997 22:54:15 +0000 (17:54 -0500)]
(COMPILERS): Moved before GCC_PASSES.
(GCC_PASSES): Use $(COMPILERS) instead of cc1$(exeext).
From-SVN: r13642
Richard Kenner [Sat, 15 Feb 1997 22:25:35 +0000 (17:25 -0500)]
(process_command): Allocate space for terminating null.
From-SVN: r13641
Richard Kenner [Sat, 15 Feb 1997 22:21:31 +0000 (17:21 -0500)]
(FUNCTION_PROLOGUE): Delete.
From-SVN: r13640
Richard Kenner [Sat, 15 Feb 1997 22:21:19 +0000 (17:21 -0500)]
Adjust size by STARTING_FRAME_OFFSET.
From-SVN: r13639
Richard Kenner [Sat, 15 Feb 1997 13:42:02 +0000 (08:42 -0500)]
(expand_divmod): prefer divmod in same mode over div in wider mode.
From-SVN: r13638
Richard Kenner [Sat, 15 Feb 1997 13:27:41 +0000 (08:27 -0500)]
(zero_extendqi[hs]i2+3): Ensure operating on REG.
From-SVN: r13637
Richard Kenner [Sat, 15 Feb 1997 13:15:55 +0000 (08:15 -0500)]
Update comments.
From-SVN: r13636
Richard Kenner [Sat, 15 Feb 1997 13:10:59 +0000 (08:10 -0500)]
(STORE_FLAG_VALUE): Write so works on both 32 and 64-bit host.
From-SVN: r13635
Stan Cox [Fri, 14 Feb 1997 20:41:12 +0000 (20:41 +0000)]
(libgcc.a): Correct target dependencies
From-SVN: r13634
Stan Cox [Fri, 14 Feb 1997 20:37:33 +0000 (20:37 +0000)]
* config/svr4.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): set the current-section variable to text.
From-SVN: r13633
Brendan Kehoe [Wed, 12 Feb 1997 21:08:06 +0000 (16:08 -0500)]
Initial revision
From-SVN: r13632
Jim Wilson [Wed, 12 Feb 1997 20:49:17 +0000 (12:49 -0800)]
(LIBGCC2_DEBUG_CFLAGS): New macro.
(LIBGCC2_CFLAGS): Use it.
From-SVN: r13631
Jim Wilson [Wed, 12 Feb 1997 20:39:27 +0000 (12:39 -0800)]
(output_type): Do early exit only if TYPE_CONTEXT is NULL or if TYPE_CONTEXT is another type (e.g.
(output_type): Do early exit only if TYPE_CONTEXT is NULL
or if TYPE_CONTEXT is another type (e.g. a nested type).
From-SVN: r13630
Mike Stump [Wed, 12 Feb 1997 20:23:55 +0000 (20:23 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13629
Michael Meissner [Tue, 11 Feb 1997 21:01:23 +0000 (21:01 +0000)]
Declare malloc and friends
From-SVN: r13628
Joern Rennecke [Tue, 11 Feb 1997 20:53:36 +0000 (20:53 +0000)]
(calc_live_regs): need not save MACL/MACH when not live, and in leaf function.
From-SVN: r13627
Joern Rennecke [Tue, 11 Feb 1997 19:59:59 +0000 (19:59 +0000)]
(calc_live_regs): exclude RETURN_ADDRESS_POINTER_REGNUM.
From-SVN: r13626
Joern Rennecke [Tue, 11 Feb 1997 19:59:59 +0000 (19:59 +0000)]
(ELIMINABLE_REGS): updated comments.
From-SVN: r13625
Jeff Law [Mon, 10 Feb 1997 21:50:17 +0000 (14:50 -0700)]
stmt.c (group_case_nodes): Recognize more opportunities to group case nodes.
* stmt.c (group_case_nodes): Recognize more opportunities to
group case nodes.
From-SVN: r13624
Richard Kenner [Sun, 9 Feb 1997 19:05:39 +0000 (14:05 -0500)]
(assign_stack_temp): Clear MEM flags from reuse.
From-SVN: r13623
Richard Kenner [Sat, 8 Feb 1997 22:37:43 +0000 (17:37 -0500)]
(update_equiv_regs): Fix error in last change.
From-SVN: r13622
Mike Stump [Fri, 7 Feb 1997 21:01:43 +0000 (21:01 +0000)]
pa.h (RETURN_ADDR_RTX): Fix to ignore export stubs.
* pa.h (RETURN_ADDR_RTX): Fix to ignore export stubs.
* pa.c (return_addr_rtx): Define.
From-SVN: r13621
Doug Evans [Fri, 7 Feb 1997 20:09:10 +0000 (20:09 +0000)]
Initial revision
From-SVN: r13620
Doug Evans [Fri, 7 Feb 1997 18:56:45 +0000 (18:56 +0000)]
toplev.c (main): Delete redundant settings of flag_no_inline and warn_inline if not optimizating.
* toplev.c (main): Delete redundant settings of flag_no_inline
and warn_inline if not optimizating.
From-SVN: r13619
Doug Evans [Fri, 7 Feb 1997 18:56:07 +0000 (18:56 +0000)]
cse.c (invalidate_from_clobbers): Delete unnecessary test for (clobber nil).
* cse.c (invalidate_from_clobbers): Delete unnecessary test for
(clobber nil).
From-SVN: r13618
Richard Kenner [Fri, 7 Feb 1997 18:10:26 +0000 (13:10 -0500)]
(const_binop): Don't call size_int if low < 0.
From-SVN: r13617
Jeff Law [Fri, 7 Feb 1997 17:48:54 +0000 (10:48 -0700)]
Makefile.in (stmp-multilib-sub): Add missing "else true" clauses to work around make bug on some systems.
* Makefile.in (stmp-multilib-sub): Add missing "else true"
clauses to work around make bug on some systems.
From-SVN: r13616
Richard Kenner [Fri, 7 Feb 1997 13:19:33 +0000 (08:19 -0500)]
(instantiate_virtual_regs_1, case USE, CLOBBER): Fix error in last change.
From-SVN: r13615
Mike Stump [Fri, 7 Feb 1997 03:54:48 +0000 (03:54 +0000)]
i formatting tweaks
From-SVN: r13614
Mike Stump [Fri, 7 Feb 1997 01:17:32 +0000 (01:17 +0000)]
except.c (find_exception_handler_labels): Initialize label array with zeroes.
* except.c (find_exception_handler_labels): Initialize label array
with zeroes.
From-SVN: r13613
Jason Merrill [Thu, 6 Feb 1997 19:32:49 +0000 (19:32 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13612
Jeff Law [Thu, 6 Feb 1997 05:16:18 +0000 (22:16 -0700)]
* pa/pa.md (post_ldwm): Fix typos.
From-SVN: r13611
Doug Evans [Wed, 5 Feb 1997 20:57:03 +0000 (20:57 +0000)]
vxm68k.h (WCHAR_TYPE,WCHAR_TYPE_SIZE,SIZE_TYPE): Fix.
* m68k/vxm68k.h (WCHAR_TYPE,WCHAR_TYPE_SIZE,SIZE_TYPE): Fix.
(PTRDIFF_TYPE): Define.
From-SVN: r13610
Ian Lance Taylor [Wed, 5 Feb 1997 16:20:04 +0000 (16:20 +0000)]
Don't always align reload stack slots to BIGGEST_ALIGNMENT
From-SVN: r13609
Jim Wilson [Wed, 5 Feb 1997 00:29:03 +0000 (16:29 -0800)]
(find_reloads_address_1, case POST_INC): Don't use
ADDR_TYPE here.
From-SVN: r13608
Jeff Law [Tue, 4 Feb 1997 23:36:26 +0000 (16:36 -0700)]
flow.c (life_analysis): Delete obvious no-op moves which use SUBREGs.
* flow.c (life_analysis): Delete obvious no-op moves
which use SUBREGs.
From-SVN: r13607
Richard Kenner [Tue, 4 Feb 1997 11:14:25 +0000 (06:14 -0500)]
Update documentation.
From-SVN: r13606
Mike Stump [Tue, 4 Feb 1997 03:09:59 +0000 (03:09 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13605
Mike Stump [Tue, 4 Feb 1997 02:31:49 +0000 (02:31 +0000)]
90th Cygnus<->FSF quick merge
From-SVN: r13604
Jim Wilson [Tue, 4 Feb 1997 01:00:11 +0000 (17:00 -0800)]
(find_cross_jump): Don't allow old-style and volatile asms
to match.
From-SVN: r13603
Doug Evans [Mon, 3 Feb 1997 20:51:21 +0000 (20:51 +0000)]
sol2.h (ASM_SHORT,ASM_LONG): Set to .uahalf/.uaword.
* sparc/sol2.h (ASM_SHORT,ASM_LONG): Set to .uahalf/.uaword.
* sparc/sysv4.h (ASM_LONG): Define.
(ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Use ASM_LONG.
From-SVN: r13602
Joern Rennecke [Mon, 3 Feb 1997 18:17:13 +0000 (18:17 +0000)]
Update comment about BSR.
From-SVN: r13601
Ian Lance Taylor [Mon, 3 Feb 1997 18:04:00 +0000 (18:04 +0000)]
Add INPADDR_ADDRESS and OUTADDR_ADDRESS reload types
From-SVN: r13600
Richard Kenner [Mon, 3 Feb 1997 01:15:14 +0000 (20:15 -0500)]
(__sel_register_typed_name): Eliminate compiler warnings with explicit cast.
From-SVN: r13599
Richard Kenner [Mon, 3 Feb 1997 00:57:44 +0000 (19:57 -0500)]
(__objc_runtime_mutex): Eliminate leading underscore from name of objc
mutex and thread structures.
From-SVN: r13598
Richard Kenner [Mon, 3 Feb 1997 00:54:47 +0000 (19:54 -0500)]
Prototypes for new functions.
(__objc_runtime_mutex): Eliminate leading underscore from name of objc
mutex and thread structures.
From-SVN: r13597
Richard Kenner [Mon, 3 Feb 1997 00:53:23 +0000 (19:53 -0500)]
(objc_condition_{,de}allocate): New functions.
(objc_condition_{wait,broadcast,signal}): New functions.
(__objc_runtime_mutex): Eliminate leading underscore
from name of objc mutex and thread structures.
From-SVN: r13596
Richard Kenner [Mon, 3 Feb 1997 00:52:38 +0000 (19:52 -0500)]
(objc_condition_{,de}allocate): New functions.
(objc_condition_{wait,broadcast,signal}): New functions.
(__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex
and thread structures.
From-SVN: r13595
Richard Kenner [Mon, 3 Feb 1997 00:51:58 +0000 (19:51 -0500)]
(objc_condition_{,de}allocate): New functions.
(objc_condition_{wait,broadcast,signal}): New functions.
(__objc_runtime_mutex): Eliminate leading underscore from name of objc
mutex and thread structures.
From-SVN: r13594
Richard Kenner [Mon, 3 Feb 1997 00:42:48 +0000 (19:42 -0500)]
(hash_delete): Step through the hash nodes versus using hash_next to
increase efficiency.
From-SVN: r13593
Richard Kenner [Mon, 3 Feb 1997 00:42:25 +0000 (19:42 -0500)]
(__objc_forward): Replace call to abort function with call to
objc_error function.
From-SVN: r13592
Richard Kenner [Mon, 3 Feb 1997 00:42:01 +0000 (19:42 -0500)]
Remove error handling declarations.
From-SVN: r13591
Richard Kenner [Mon, 3 Feb 1997 00:41:41 +0000 (19:41 -0500)]
Declare error handling functions and typedef for user specified error handler function.
Declare error handling functions and typedef for user specified error
handler function. Define error codes used by the runtime library.
From-SVN: r13590
Richard Kenner [Mon, 3 Feb 1997 00:41:03 +0000 (19:41 -0500)]
(objc_verror): New function.
(objc_fatal): Remove function.
(objc_set_error_handler): New function.
(_objc_error_handler): New global variable.
(__alpha__): Remove unneeded code.
(objc_error): Allow user specified error handler function to trap and
handle the objc error. Added an error code parameter which indicates
the specific error that occured.
(objc_malloc, objc_atomic_malloc): Replace call to objc_fatal function
with call to objc_error function.
(objc_valloc, objc_realloc, objc_calloc): Likewise.
From-SVN: r13589
Richard Kenner [Mon, 3 Feb 1997 00:40:12 +0000 (19:40 -0500)]
(init_check_module_version): Replace call to abort function with call
to objc_error function.
From-SVN: r13588
Richard Kenner [Mon, 3 Feb 1997 00:39:52 +0000 (19:39 -0500)]
(objc_sizeof_type, objc_alignof_type): Replace call to abort function with call to objc_error function.
(objc_sizeof_type, objc_alignof_type): Replace call to abort function
with call to objc_error function.
(objc_skip_typespec): Likewise.
From-SVN: r13587
Richard Kenner [Mon, 3 Feb 1997 00:39:22 +0000 (19:39 -0500)]
(objc_get_class): Replace call to abort function with call to
objc_error function.
From-SVN: r13586
Richard Kenner [Mon, 3 Feb 1997 00:39:00 +0000 (19:39 -0500)]
Replace call to abort or __objc_fatal functions with call to objc_error function throughout the complete file.
Replace call to abort or __objc_fatal functions with call to
objc_error function throughout the complete file.
(__objc_finish_read_root_object): Use hash table instead of list.
From-SVN: r13585
Richard Kenner [Mon, 3 Feb 1997 00:38:23 +0000 (19:38 -0500)]
(-error:): Call objc_error function instead of using function pointer.
From-SVN: r13584
Richard Kenner [Sun, 2 Feb 1997 13:24:57 +0000 (08:24 -0500)]
(encode_aggregate_within): New function.
(encode_aggregate): Generates encodings for unions similar to those for
structs except surrounded by parenthesis instead of braces.
From-SVN: r13583
Richard Kenner [Sun, 2 Feb 1997 13:07:46 +0000 (08:07 -0500)]
(process_init_element): When popping levels, don't blow up if
constructor_max_index not set due to previous error.
From-SVN: r13582
Richard Kenner [Sun, 2 Feb 1997 12:15:44 +0000 (07:15 -0500)]
(start_function): Fix improper installation of last change.
From-SVN: r13581
Richard Kenner [Sun, 2 Feb 1997 11:50:51 +0000 (06:50 -0500)]
(output_scc_di): Add missing CC_STATUS_INIT.
From-SVN: r13580
Richard Kenner [Sun, 2 Feb 1997 11:39:41 +0000 (06:39 -0500)]
(find_split_point, case SET): Fix error in last change.
From-SVN: r13579
Richard Kenner [Sun, 2 Feb 1997 11:28:45 +0000 (06:28 -0500)]
(rescan): Insert a space after `.' as well, to prevent accidental token-pasting (e.g.
(rescan): Insert a space after `.' as well, to prevent accidental
token-pasting (e.g. `.x' -> `.10').
From-SVN: r13578
Richard Kenner [Sun, 2 Feb 1997 11:08:11 +0000 (06:08 -0500)]
(modregno_adjust): Fixed case when reg_renumber invalid.
From-SVN: r13577
Richard Kenner [Sun, 2 Feb 1997 00:11:01 +0000 (19:11 -0500)]
(movqi): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13576
Richard Kenner [Sun, 2 Feb 1997 00:10:45 +0000 (19:10 -0500)]
(output_move_simode_const): Enable use of clr and st insns on TARGET_5200.
From-SVN: r13575
Richard Kenner [Sat, 1 Feb 1997 23:53:54 +0000 (18:53 -0500)]
(process_command): Fix improper use of strncpy.
From-SVN: r13574
Mike Stump [Fri, 31 Jan 1997 23:37:05 +0000 (23:37 +0000)]
* libgcc2.c: Remove extern for malloc and realloc.
From-SVN: r13573
Ian Lance Taylor [Fri, 31 Jan 1997 22:09:12 +0000 (22:09 +0000)]
If we can't substitute an equiv reg only used once, move the
assignment
From-SVN: r13572
Stan Cox [Fri, 31 Jan 1997 21:10:10 +0000 (21:10 +0000)]
(pentiumpro_cost): Added new cost structure for pentiumpro.
From-SVN: r13571
Stan Cox [Fri, 31 Jan 1997 21:09:33 +0000 (21:09 +0000)]
(idiv,imul,fpmul): Added new functional units for pentiumpro.
From-SVN: r13570
Richard Kenner [Thu, 30 Jan 1997 14:34:19 +0000 (09:34 -0500)]
(stack adjust peepholes): Use lea instead of add.w when adding 16 bit
constants on all but TARGET_68040.
From-SVN: r13569
Richard Kenner [Thu, 30 Jan 1997 13:58:00 +0000 (08:58 -0500)]
(TRAMPOLINE_ALIGNMENT): Provide default.
(assemble_trampoline_template): Use TRAMPOLINE_ALIGNMENT instead
of FUNCTION_BOUNDARY.
From-SVN: r13568
Richard Kenner [Thu, 30 Jan 1997 13:57:32 +0000 (08:57 -0500)]
(TRAMPOLINE_ALIGNMENT): Provide default.
(expand_function_end): Use TRAMPOLINE_ALIGNMENT instead of FUNCTION_BOUNDARY.
From-SVN: r13567
Joern Rennecke [Wed, 29 Jan 1997 23:15:10 +0000 (23:15 +0000)]
sh.md (movsi_i, movsi_ie, movhi_i, movhi+1): Use type pcload for immediate operands where appropriate.
sh.md (movsi_i, movsi_ie, movhi_i, movhi+1): Use type pcload for
immediate operands where appropriate.
(movsf_ie+1): Fail when loading anything but a MEM into
a floating point reguister.
From-SVN: r13566
Joern Rennecke [Wed, 29 Jan 1997 23:00:27 +0000 (23:00 +0000)]
(REG_CLASS_CONTENTS): Add rap to GENERAL_REGS and its superclasses.
From-SVN: r13565
Richard Kenner [Wed, 29 Jan 1997 21:12:37 +0000 (16:12 -0500)]
(force_const_mem): Set MARK instead of clearing it.
(output_constant_pool): Only mark constant pool if -O.
Check mark flag unconditionally.
(mark_constant_pool): Start by clearing all mark flags.
From-SVN: r13564
Richard Kenner [Wed, 29 Jan 1997 21:07:01 +0000 (16:07 -0500)]
(copy_node): Clear TREE_ASM_WRITTEN.
From-SVN: r13563
Richard Kenner [Wed, 29 Jan 1997 21:00:25 +0000 (16:00 -0500)]
(regno_uninitialized): Return 0 if reg is used for args.
From-SVN: r13562
Ian Lance Taylor [Wed, 29 Jan 1997 20:25:29 +0000 (20:25 +0000)]
Add a case where reg_n_refs is cleared
From-SVN: r13561
Stan Cox [Wed, 29 Jan 1997 15:04:46 +0000 (15:04 +0000)]
Fixed comment.
From-SVN: r13560
Stan Cox [Tue, 28 Jan 1997 21:36:08 +0000 (21:36 +0000)]
(ASM_OUTPUT_SECTION_NAME): undefine it so exception sections are setup properly
From-SVN: r13559
Stan Cox [Tue, 28 Jan 1997 21:33:04 +0000 (21:33 +0000)]
Add code to handle alternate sections when
From-SVN: r13558
Joern Rennecke [Mon, 27 Jan 1997 18:32:31 +0000 (18:32 +0000)]
(and_shl_scratch): typo fix for length 8.
From-SVN: r13557
Joern Rennecke [Mon, 27 Jan 1997 18:32:05 +0000 (18:32 +0000)]
(shl_and_kind): typo fix.
From-SVN: r13556
Jeff Law [Mon, 27 Jan 1997 15:59:05 +0000 (08:59 -0700)]
fixincludes: Fix incorrect forward structure declaration in sys/time.h on hpux10.20.
* fixincludes: Fix incorrect forward structure declaration in
sys/time.h on hpux10.20.
From-SVN: r13555
Richard Kenner [Mon, 27 Jan 1997 14:05:27 +0000 (09:05 -0500)]
(STORE_FLAG_VALUE): Make negative.
From-SVN: r13554
Richard Kenner [Mon, 27 Jan 1997 14:05:06 +0000 (09:05 -0500)]
(fold): Don't make COND_EXPR when both expr and one part are comparisons.
From-SVN: r13553
Richard Kenner [Mon, 27 Jan 1997 14:04:44 +0000 (09:04 -0500)]
(emit_store_flag): Properly test for STORE_FLAG_VALUE of just sign bit.
From-SVN: r13552
Richard Kenner [Mon, 27 Jan 1997 14:04:16 +0000 (09:04 -0500)]
(simplify_rtx): Don't do anything with if_then_else_cond result if both one arm and the input are a comparison.
(simplify_rtx): Don't do anything with if_then_else_cond
result if both one arm and the input are a comparison.
(simplify_{rtx,if_then_else,logical,shift_const}): Don't
test STORE_FLAG_VALUE with #if; properly test for just sign bit.
(num_sign_bit_copies, if_then_else_cond): Likewise.
From-SVN: r13551