Doug Evans [Wed, 17 Apr 1996 18:41:12 +0000 (18:41 +0000)]
(choose_tmpdir): Renamed from choose_temp_base.
#include <stdio.h>.
From-SVN: r11836
Doug Evans [Wed, 17 Apr 1996 18:27:45 +0000 (18:27 +0000)]
Don't include sys/file.h ifdef NO_SYS_FILE_H.
(choose_temp_base): Make tmp,usrtmp static locals.
From-SVN: r11835
Richard Kenner [Wed, 17 Apr 1996 12:40:51 +0000 (08:40 -0400)]
(alpha_emit_conditional_move): Fix some bugs in previous change and do
some cleanup.
From-SVN: r11834
Jim Wilson [Wed, 17 Apr 1996 01:04:32 +0000 (18:04 -0700)]
(push_reload): Add extra reload for inside of SUBREG if
it is CONSTANT_P.
From-SVN: r11833
Jim Wilson [Wed, 17 Apr 1996 00:31:44 +0000 (17:31 -0700)]
(do_store_flag): Rewrite last change to avoid compiler
warnings.
From-SVN: r11832
Jim Wilson [Tue, 16 Apr 1996 22:51:51 +0000 (15:51 -0700)]
(xp-bit.c): Fix typo in source file name.
From-SVN: r11831
Jeff Law [Tue, 16 Apr 1996 22:08:32 +0000 (16:08 -0600)]
h8300.md (andhi3): If 2nd operand is a CONST_INT that meets the 'J' constraint...
* h8300/h8300.md (andhi3): If 2nd operand is a CONST_INT that
meets the 'J' constraint, then only two bytes are needed for
this insn. Improve code generated for the h8300h when both
operands are registers.
(iorhi3, xorhi3): Likewise. Rework to be nearly identical to andhi3.
(andsi3): If 2nd operand is a CONST_INT that meets the 'J'
constraint, then only two bytes are need for this insn.
Improve code generated for the h8300h regardless of the
type of the 2nd operand. Make this pattern work on the h8300 too.
(iorsi3, xorsi3): Likewise. Rework to be nearly identical to andsi3.
(iorqi3_internal): Make this pattern look more like andqi3_internal.
(one_cmplhi2, one_cmplsi2): Fix length computation for H8300H.
From-SVN: r11830
Richard Kenner [Tue, 16 Apr 1996 21:43:09 +0000 (17:43 -0400)]
(addsidi3_2): Handle non-MEM overlap case.
From-SVN: r11829
Richard Kenner [Tue, 16 Apr 1996 21:32:49 +0000 (17:32 -0400)]
(clear_limbo_values): New function.
(pushdecl): Call it for function body blocks.
From-SVN: r11828
Richard Kenner [Tue, 16 Apr 1996 20:59:21 +0000 (16:59 -0400)]
Override trampoline macros.
From-SVN: r11827
Richard Kenner [Tue, 16 Apr 1996 20:58:31 +0000 (16:58 -0400)]
(FINISH_INIT_TRAMPOLINE): Rename to FINALIZE_TRAMPOLINE.
From-SVN: r11826
Richard Kenner [Tue, 16 Apr 1996 20:58:11 +0000 (16:58 -0400)]
Instead of redefining INITIALIZE_TRAMPOLINE, make use of the new FINISH_INIT_TRAMPOLINE.
Instead of redefining INITIALIZE_TRAMPOLINE, make use of the new
FINISH_INIT_TRAMPOLINE.
(FINISH_INIT_TRAMPOLINE): Rename to FINALIZE_TRAMPOLINE
From-SVN: r11825
Richard Kenner [Tue, 16 Apr 1996 20:57:31 +0000 (16:57 -0400)]
Greatly simplify the run-time trampoline code:
(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Delete define.
(TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Changed.
(TRAMPOLINE_ALIGN): No point aligning to cache line.
(FINISH_INIT_TRAMPOLINE): New define.
From-SVN: r11824
Richard Kenner [Tue, 16 Apr 1996 20:51:58 +0000 (16:51 -0400)]
(assemble_trampoline_template): No such function if no
TRAMPOLINE_TEMPLATE.
From-SVN: r11823
Richard Kenner [Tue, 16 Apr 1996 20:51:20 +0000 (16:51 -0400)]
(expand_function_end): Allow TRAMPOLINE_TEMPLATE
to be omitted on systems for which it is not cost effective.
From-SVN: r11822
Richard Kenner [Tue, 16 Apr 1996 20:31:17 +0000 (16:31 -0400)]
(_objc_thread_id): Correct return type from int to _objc_thread_id.
From-SVN: r11821
Richard Kenner [Tue, 16 Apr 1996 20:02:20 +0000 (16:02 -0400)]
(make_field_assignment): Allow XOR in final case.
From-SVN: r11820
Richard Kenner [Tue, 16 Apr 1996 16:03:10 +0000 (12:03 -0400)]
(TARGET_SWITCHES): Don't remove MASK_68060 with -msoft-float.
From-SVN: r11819
Richard Kenner [Tue, 16 Apr 1996 15:33:38 +0000 (11:33 -0400)]
(ashlsi_16, lshrsi_16): Disable pattern for TARGET_68060; this special
case is not faster for that cpu.
From-SVN: r11818
Richard Kenner [Tue, 16 Apr 1996 15:33:00 +0000 (11:33 -0400)]
(MULL_COST, MULW_COST, RTX_COSTS): Add costs for TARGET_68060.
From-SVN: r11817
Richard Kenner [Tue, 16 Apr 1996 14:54:45 +0000 (10:54 -0400)]
(cmov* define_expands): Use it.
From-SVN: r11816
Richard Kenner [Tue, 16 Apr 1996 14:54:13 +0000 (10:54 -0400)]
(alpha_emit_conditional_move): Declare it.
From-SVN: r11815
Richard Kenner [Tue, 16 Apr 1996 14:53:48 +0000 (10:53 -0400)]
(alpha_emit_conditional_move): New function.
From-SVN: r11814
Richard Kenner [Tue, 16 Apr 1996 14:19:48 +0000 (10:19 -0400)]
(struct function): New field returns_pointer.
From-SVN: r11813
Richard Kenner [Tue, 16 Apr 1996 14:19:07 +0000 (10:19 -0400)]
(push_function_context_{to,from}): Save and restore
current_function_returns_pointer.
From-SVN: r11812
Richard Kenner [Tue, 16 Apr 1996 14:10:51 +0000 (10:10 -0400)]
(ENDFILE_SPEC): Add missing `%s'.
From-SVN: r11811
Richard Kenner [Tue, 16 Apr 1996 13:20:17 +0000 (09:20 -0400)]
(LIB_SPEC): Deleted.
(BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Define.
From-SVN: r11810
Richard Kenner [Tue, 16 Apr 1996 13:19:18 +0000 (09:19 -0400)]
Initial revision
From-SVN: r11809
Richard Kenner [Tue, 16 Apr 1996 13:18:56 +0000 (09:18 -0400)]
(INSTALL_ASSERT_H): New definition.
(CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): New definitions.
From-SVN: r11808
Richard Kenner [Tue, 16 Apr 1996 13:06:08 +0000 (09:06 -0400)]
(TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.
From-SVN: r11807
Richard Kenner [Tue, 16 Apr 1996 12:53:07 +0000 (08:53 -0400)]
(final_scan_insn): Allow removal of redundant test and compare
instructions that use clobbers.
From-SVN: r11806
Richard Kenner [Tue, 16 Apr 1996 12:37:28 +0000 (08:37 -0400)]
(expand_builtin, case BUILT_IN_LONGJMP): Make a decl for __dummy, so
we can call make_function_rtl on it.
From-SVN: r11805
Richard Kenner [Tue, 16 Apr 1996 10:21:39 +0000 (06:21 -0400)]
(expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR with a
variable-size return.
From-SVN: r11804
Jim Wilson [Mon, 15 Apr 1996 23:06:00 +0000 (16:06 -0700)]
(do_store_flag): Before calling exact_log2, remove any
sign extension bits.
From-SVN: r11803
Ian Lance Taylor [Mon, 15 Apr 1996 21:39:45 +0000 (21:39 +0000)]
Fix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>
From-SVN: r11802
Jim Wilson [Mon, 15 Apr 1996 19:10:36 +0000 (12:10 -0700)]
(emit_reload_insns): Call reload_reg_reaches_end_p for every reg of multi-reg spill register.
(emit_reload_insns): Call reload_reg_reaches_end_p for
every reg of multi-reg spill register. Invalidate old info for multi
reg spill registers when only part survives to the end.
From-SVN: r11801
Mike Stump [Mon, 15 Apr 1996 18:46:12 +0000 (18:46 +0000)]
function.c (preserve_temp_slots): Only preserve temporaries that happen to be at the current level.
* function.c (preserve_temp_slots): Only preserve temporaries that
happen to be at the current level.
Fixes p7325.C.
From-SVN: r11800
Doug Evans [Mon, 15 Apr 1996 18:07:51 +0000 (18:07 +0000)]
rtl.h: #include "gansidecl.h".
* rtl.h: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
(NULL,GENERIC_PTR,NULL_PTR): Delete.
* tree.h: Likewise.
From-SVN: r11799
Doug Evans [Mon, 15 Apr 1996 18:06:42 +0000 (18:06 +0000)]
rtl.h: #include "gansidecl.h".
* rtl.h: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,STDIO_PROTO): Delete.
(NULL,GENERIC_PTR,NULL_PTR): Delete.
From-SVN: r11798
Doug Evans [Mon, 15 Apr 1996 18:05:24 +0000 (18:05 +0000)]
recog.h: #include "gansidecl.h".
* recog.h: #include "gansidecl.h".
(PROTO,const): Delete.
From-SVN: r11797
Doug Evans [Mon, 15 Apr 1996 18:04:42 +0000 (18:04 +0000)]
machmode.h: #include "gansidecl.h".
* machmode.h: #include "gansidecl.h".
(PROTO): Delete.
(HAVE_MACHINE_MODES): Move definition to standard place.
From-SVN: r11796
Doug Evans [Mon, 15 Apr 1996 18:01:14 +0000 (18:01 +0000)]
* genattr.c (main): Delete printing of "#define PROTO".
From-SVN: r11795
Doug Evans [Mon, 15 Apr 1996 17:59:56 +0000 (17:59 +0000)]
gcc.c: #include "gansidecl.h".
* gcc.c: #include "gansidecl.h".
(PROTO,VPROTO,PVPROTO,VPROTO,VA_START,NULL): Delete.
(GENERIC_PTR,NULL_PTR,P_tmpdir): Delete.
(choose_temp_base): Declare as extern, delete internal copy.
(concat): Rewrite to take a variable number of arguments.
(choose_temp_base_try,concat[346]): Delete.
(translate_options,set_spec,process_command,do_spec_1,
is_directory,main): Always use concat, not concat[346]. Pass
NULL_PTR as trailing arg to concat.
From-SVN: r11794
Doug Evans [Mon, 15 Apr 1996 17:58:45 +0000 (17:58 +0000)]
fix-header.c: #include "gansidecl.h".
* fix-header.c: #include "gansidecl.h".
(const): Delete.
From-SVN: r11793
Doug Evans [Mon, 15 Apr 1996 17:57:27 +0000 (17:57 +0000)]
* expr.h (const): Delete.
From-SVN: r11792
Doug Evans [Mon, 15 Apr 1996 17:56:39 +0000 (17:56 +0000)]
demangle.h: #include "gansidecl.h".
* demangle.h: #include "gansidecl.h".
(PROTO,PTR,const): Delete.
From-SVN: r11791
Doug Evans [Mon, 15 Apr 1996 17:51:25 +0000 (17:51 +0000)]
cpphash.c: #include "gansidecl.h".
* cpphash.c: #include "gansidecl.h".
(NULL,const,volatile): Delete.
From-SVN: r11790
Doug Evans [Mon, 15 Apr 1996 17:49:08 +0000 (17:49 +0000)]
collect2.c: #include "gansidecl.h".
* collect2.c: #include "gansidecl.h".
(const,PROTO): Delete.
(P_tmpdir): Delete.
(choose_temp_base): Declare as extern, delete internal copy.
(main): Update call to choose_temp_base.
From-SVN: r11789
Doug Evans [Mon, 15 Apr 1996 17:47:09 +0000 (17:47 +0000)]
Makefile.in (xgcc): Depend on and link in choose-temp.o.
* Makefile.in (xgcc): Depend on and link in choose-temp.o.
(collect2): Likewise.
(choose-temp.o): Add.
From-SVN: r11788
Doug Evans [Mon, 15 Apr 1996 17:43:05 +0000 (17:43 +0000)]
Initial revision
From-SVN: r11787
Richard Kenner [Mon, 15 Apr 1996 12:49:02 +0000 (08:49 -0400)]
(invalidate_skipped_set): Ignore CLOBBER after calling
note_mem_written, not before.
From-SVN: r11786
Richard Kenner [Mon, 15 Apr 1996 12:21:56 +0000 (08:21 -0400)]
(notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
CC_NO_OVERFLOW.
From-SVN: r11785
Richard Kenner [Mon, 15 Apr 1996 12:21:33 +0000 (08:21 -0400)]
(TARGET_SWITCHES): Fix typo in "c68000" entry.
From-SVN: r11784
Richard Kenner [Mon, 15 Apr 1996 12:21:03 +0000 (08:21 -0400)]
(tstdi): Optimized for "d" case.
(movqi): Allow moving "i" into "a".
(zero_extendsidi2): Alternatives merged.
(extendplussidi): Fixed when operands 0 and 1 share a register.
(adddi_sexthishl32): Constraints reordered for better reload.
(adddi3,subdi_sexthishl32,subdi3,negdi2): Likewise.
(ashldi_sexthi): Accept "m" as operand 0.
(ashldi_const32): Alternatives merged.
(ashift patterns): Output "lsl" instead of "asl".
(beq0_di): If condition codes already set, output only branch insn.
(bne0_di,bge0_di,blt0_di): Likewise.
From-SVN: r11783
Richard Kenner [Mon, 15 Apr 1996 12:06:07 +0000 (08:06 -0400)]
(eadd1): Check for overflow on X plus X.
From-SVN: r11782
Richard Kenner [Mon, 15 Apr 1996 12:02:21 +0000 (08:02 -0400)]
(HAVE_SYSV_PRAGMA): Removed definition.
From-SVN: r11781
Richard Kenner [Mon, 15 Apr 1996 12:01:51 +0000 (08:01 -0400)]
(HAVE_SYSV_PRAGMA): Define.
(SET_ASM_OP): Define.
From-SVN: r11780
Richard Kenner [Mon, 15 Apr 1996 11:52:17 +0000 (07:52 -0400)]
(bc_expand_increment): Change declaration to return void.
From-SVN: r11779
Richard Kenner [Mon, 15 Apr 1996 11:46:28 +0000 (07:46 -0400)]
(find_dead_or_set_registers): Only kill spill regs after label made
before jump2.
From-SVN: r11778
Richard Kenner [Mon, 15 Apr 1996 11:46:02 +0000 (07:46 -0400)]
(max_label_num_after_reload): New variable.
(rest_of_compilation): Set it.
From-SVN: r11777
Richard Kenner [Mon, 15 Apr 1996 11:28:50 +0000 (07:28 -0400)]
(CC): Pass -b $(host), not target.
From-SVN: r11776
Richard Kenner [Mon, 15 Apr 1996 09:12:16 +0000 (05:12 -0400)]
(expand_field_assignment): Take SUBREG_WORD into account when have STRICT_LOW_PART.
(expand_field_assignment): Take SUBREG_WORD into account when have
STRICT_LOW_PART.
(make_extraction): Make a STRICT_LOW_PART at any low-order word.
From-SVN: r11775
Jeff Law [Mon, 15 Apr 1996 07:46:10 +0000 (01:46 -0600)]
flags.h (flag_function_sections): Declare.
* flags.h (flag_function_sections): Declare.
* toplev.c (flag_function_sections): Define.
(compile_file): Add warnings when -ffunction-sections is
used with -g, or profiling. Disable -ffunction-sections
when profiling is used. Add warning when -ffunction-sections
is used on a target that doesn't support it.
* varasm.c (named_section): Make a copy of the section name
in case the original is in temporary storage.
(function_section): Set DECL_SECTION_NAME for each function
if flag_function_sections is on and the target supports it.
* dbxout.c (dbxout_function_end): New function.
(dbxout_function): Call dbxout_function_end if using extensions
and flag_function_sections is on.
* sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function
section's name with ".text%" when -ffunction-sections.
From-SVN: r11774
Richard Kenner [Mon, 15 Apr 1996 00:42:14 +0000 (20:42 -0400)]
(try_combine): When substituting in output of I2, ensure dest isn't
clobbered in I2.
From-SVN: r11773
Doug Evans [Sun, 14 Apr 1996 23:37:25 +0000 (23:37 +0000)]
(main): Delete redundant test for -p used with -fbytecode.
From-SVN: r11772
Richard Kenner [Sun, 14 Apr 1996 23:01:38 +0000 (19:01 -0400)]
(finish_enum): Don't crash if no type can represent all enumeration values.
From-SVN: r11771
Richard Kenner [Sun, 14 Apr 1996 22:56:28 +0000 (18:56 -0400)]
(ftruncdf2): Enable for m68060 systems.
From-SVN: r11770
Richard Kenner [Sun, 14 Apr 1996 22:52:47 +0000 (18:52 -0400)]
(expand_end_case): Move conversion of case_list before
check_for_full_enumeration_handling.
From-SVN: r11769
Richard Kenner [Sun, 14 Apr 1996 22:49:18 +0000 (18:49 -0400)]
(range_test): Don't convert hi_cst or lo_cst to unsigned when folding
signed range tests.
From-SVN: r11768
Richard Kenner [Sun, 14 Apr 1996 12:56:17 +0000 (08:56 -0400)]
(real_value_from_int_cst): New arg, TYPE.
Pass mode to REAL_VALUE_FROM_INT.
(build_real_from_int_cst): Properly deal with truncation.
From-SVN: r11767
Richard Kenner [Sun, 14 Apr 1996 12:55:37 +0000 (08:55 -0400)]
(fold_convert): Add new arg to REAL_VALUE_FROM_INT.
From-SVN: r11766
Richard Kenner [Sun, 14 Apr 1996 12:54:55 +0000 (08:54 -0400)]
(simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
From-SVN: r11765
Richard Kenner [Sun, 14 Apr 1996 12:54:19 +0000 (08:54 -0400)]
(ereal_from_{int,uint}): Add new arg, MODE.
From-SVN: r11764
Richard Kenner [Sun, 14 Apr 1996 12:53:43 +0000 (08:53 -0400)]
(ereal_from_{int,uint}): New arg, MODE.
From-SVN: r11763
Richard Kenner [Sun, 14 Apr 1996 12:20:54 +0000 (08:20 -0400)]
(combine_instructions): In initial scan of insns, handle a REG_INC note's affect on sign bit copies and nonzero bits.
(combine_instructions): In initial scan of insns, handle a REG_INC
note's affect on sign bit copies and nonzero bits.
(set_nonzero_bits_and_sign_copies): Treat a zero SET arg as a CLOBBER.
From-SVN: r11762
Richard Kenner [Sun, 14 Apr 1996 11:52:23 +0000 (07:52 -0400)]
(objc_skip_typespec): Don't abort for _C_UNDEF.
From-SVN: r11761
Doug Evans [Sun, 14 Apr 1996 03:43:53 +0000 (03:43 +0000)]
(TARGET_DEFAULT): Comment out TARGET_CPU_DEFAULT support for now.
(MULTLIB_DEFAULTS): Always little-endian for now.
From-SVN: r11760
Richard Kenner [Sun, 14 Apr 1996 00:35:30 +0000 (20:35 -0400)]
Initial revision
From-SVN: r11759
Richard Kenner [Sun, 14 Apr 1996 00:18:03 +0000 (20:18 -0400)]
(CHECK_FLOAT_VALUE): Define.
(ASM_OUTPUT_FLOAT): Print the value in hex.
From-SVN: r11758
Richard Kenner [Sun, 14 Apr 1996 00:16:55 +0000 (20:16 -0400)]
(check_float_value): New function.
From-SVN: r11757
Doug Evans [Sat, 13 Apr 1996 19:07:47 +0000 (19:07 +0000)]
Initial revision
From-SVN: r11756
Doug Evans [Sat, 13 Apr 1996 19:05:54 +0000 (19:05 +0000)]
arm.c (use_return_insn): Don't use return for naked functions.
* arm/arm.c (use_return_insn): Don't use return for naked functions.
(arm_valid_machine_decl_attribute): New function.
(arm_naked_function_p): New function.
(output_func_prologue): Naked functions don't have prologues.
(arm_expand_prologue): Likewise.
(output_func_epilogue): Likewise with epilogues.
From-SVN: r11755
Jeff Law [Sat, 13 Apr 1996 15:35:46 +0000 (09:35 -0600)]
h8300.c (adds_subs_operand): Fix thinko in last change.
* h8300/h8300.c (adds_subs_operand): Fix thinko in last change.
* h8300/h8300.md (subhi3): Turn into a define_expand.
(subhi3 using adds_subs): New pattern.
(H8300 subhi): Derived from old subhi pattern. Simplified.
(H8300H subhi): Likewise.
(subsi using adds_subs): New pattern. Only used on H8300H.
(subsi_h8300): Allow "a" registers as destination.
(subsi_h8300h): Allow "a" registers as destination. Simplify.
* h8300/h8300.md (bcs_qiqi, bcs_hihi, bs_hiqi): Fix thinkos
in last change.
From-SVN: r11754
Richard Kenner [Sat, 13 Apr 1996 12:59:35 +0000 (08:59 -0400)]
(ASM_DECLARE_FUNCTION_NAME): Don't write anything to asm file, because
everything is handled in FUNCTION_PROLOGUE.
From-SVN: r11753
Richard Kenner [Sat, 13 Apr 1996 11:55:30 +0000 (07:55 -0400)]
(alpha_emit_set_const_1): Renamed from alpha_emit_set_const and static.
Remove change of Nov 26; again use normal mechanism for SImode.
(alpha_emit_set_const): New function.
From-SVN: r11752
Jeff Law [Sat, 13 Apr 1996 06:37:29 +0000 (00:37 -0600)]
h8300.md: Add more comments about things which seem wrong...
* h8300.md: Add more comments about things which seem
wrong, stupid, or just don't make any sense yet.
* h8300.c (adds_subs_operand): New function.
(output_adds_subs): New function.
* h8300.md (addhi3): Turn into a define_expand.
(addhi3 using adds_subs): New pattern.
(H8300 addhi): Derived from old addhi pattern. Simplified.
(H8300H addhi): Likewise.
(addsi using adds_subs): New pattern. Only used on H8300H.
(addsi_h8300): Allow "a" registers as destination.
(addsi_h8300h): Simplify. Allow "a" registers as destination.
* h8300.md (bcs): New attribute type.
(default_length): Compute correct length for bcs insns.
(bcs_qiqi, bcs_hihi, bs_hiqi): Use new type and update
to account for correct length computation.
* h8300.md (movhi_internal): Demand at least one operand to
be a register.
(movsi_h8300): Optimize loading certain constants.
(movsi_h8300h): Likewise.
* h8300.h (NO_FUNCTION_CSE): Comment out.
(FUNCTION_ARG_REGNO_P): Properly define for TARGET_QUICKCALL.
(RETURN_IN_MEMORY): Don't return small structs in regs.
From-SVN: r11751
Per Bothner [Sat, 13 Apr 1996 00:06:54 +0000 (17:06 -0700)]
config.guess: Combine two OSF1 rules.
* config.guess: Combine two OSF1 rules.
Also recognize field test versions. From mjr@zk3.dec.com.
* config.guess (dgux): Use /usr/bin/uname rather than uname,
because GNU uname does not support -p. From pmr@pajato.com.
From-SVN: r11712
Jeff Law [Fri, 12 Apr 1996 23:57:07 +0000 (17:57 -0600)]
Fix typo.
From-SVN: r11711
Mike Stump [Fri, 12 Apr 1996 23:55:07 +0000 (23:55 +0000)]
86th Cygnus<->FSF quick merge
From-SVN: r11710
Jeff Law [Fri, 12 Apr 1996 23:49:19 +0000 (17:49 -0600)]
h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
* h8300/h8300.c (const_costs): -4 and 4 are cheap on the h8300h.
(notice_update_cc): Remove references to "value2" field.
From-SVN: r11709
Jeff Law [Fri, 12 Apr 1996 23:23:05 +0000 (17:23 -0600)]
h8300.c (dosize): Remove unused "fped" argument.
* h8300/h8300.c (dosize): Remove unused "fped" argument. All callers
changed. Handle add/sub of 5-8 bytes efficiently on the h8300h.
From-SVN: r11708
Jeff Law [Fri, 12 Apr 1996 22:21:28 +0000 (16:21 -0600)]
h8300.c (print_operand): Handle new 'R' case for accessing the 8-bit area.
* h8300/h8300.c (print_operand): Handle new 'R' case for accessing
the 8-bit area. Make code for 'Y' fall into code for 'R' when
operand is not a register. Update some comments.
(h8300_tiny_data_p): New function.
(h8300_valid_machine_decl_attribute): Handle "tiny_data" attribute.
* h8300/h8300.h (OK_FOR_U): Handle memory references into the
8-bit area.
(ENCODE_SECTION_INFO): Mark SYMBOL_REFs which refer to the 8-bit
area.
* h8300/h8300.md (many patterns): Use 'R' rather than 'X' for
operands that may be memory accesses into the 8-bit area.
(btst pattern): New pattern to set the cc0 (zbit) based on
data in the 8-bit area.
* h8300/h8300.md (one_cmplsi2): Fix length computation for h8300h.
From-SVN: r11707
Doug Evans [Fri, 12 Apr 1996 18:47:39 +0000 (18:47 +0000)]
aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
* arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
(ASM_OUTPUT_ADDR_{VEC,DIFF_ELT}): Likewise.
From-SVN: r11706
Doug Evans [Fri, 12 Apr 1996 18:41:09 +0000 (18:41 +0000)]
(CPP_PREDEFINES): Define __semi__ instead of semi.
From-SVN: r11705
Doug Evans [Fri, 12 Apr 1996 18:34:14 +0000 (18:34 +0000)]
arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...)) to avoid using indirect_operand (reload problems).
* arm/arm.md (*ldmsi,*stmsi): Use (mem (match_operand ...))
to avoid using indirect_operand (reload problems).
From-SVN: r11704
Jason Merrill [Fri, 12 Apr 1996 16:42:46 +0000 (16:42 +0000)]
(dbxout_typedefs): Don't emit incomplete types yet.
(dbxout_symbol): Use DECL_ARTIFICIAL to recognize C++ implicit
typedefs.
From-SVN: r11703
Doug Evans [Fri, 12 Apr 1996 01:56:09 +0000 (01:56 +0000)]
t-winnt (winnt.o): Rewrite based on .c.o rule.
* i386/t-winnt (winnt.o): Rewrite based on .c.o rule.
(oldnames.o,spawnv.o): Add rules for.
From-SVN: r11702
Jeff Law [Thu, 11 Apr 1996 20:10:57 +0000 (14:10 -0600)]
lib1funcs.asm (modnorm): New function(s).
* lib1funcs.asm (modnorm): New function(s). Like divnorm,
but gets the sign bit right for modulo operations.
(__modhi3, modsi3): Use modnorm.
From-SVN: r11701
Stan Cox [Thu, 11 Apr 1996 17:00:35 +0000 (17:00 +0000)]
Minor EXTRA_SPECS fixes.
From-SVN: r11700
Richard Kenner [Thu, 11 Apr 1996 13:04:53 +0000 (09:04 -0400)]
(expand_call): In inlining case, if BEFORE_CALLS is zero, start
looking at first insn.
From-SVN: r11699