gcc.git
28 years ago(process_pragma): Take the IDENTIFIER_POINTER tree
Jim Wilson [Wed, 17 Apr 1996 19:11:28 +0000 (12:11 -0700)]
(process_pragma): Take the IDENTIFIER_POINTER tree
node instead of a character.

From-SVN: r11840

28 years ago(HANDLE_PRAGMA): Expect/pass 2nd arg of NODE, not CH.
Jim Wilson [Wed, 17 Apr 1996 19:10:02 +0000 (12:10 -0700)]
(HANDLE_PRAGMA): Expect/pass 2nd arg of NODE, not CH.

From-SVN: r11839

28 years ago(check_newline): Rewrite to use tokens.
Jim Wilson [Wed, 17 Apr 1996 18:54:58 +0000 (11:54 -0700)]
(check_newline): Rewrite to use tokens.

(handle_sysv_pragma): Take a token instead of a character.

From-SVN: r11838

28 years ago(choose_temp_base): Undo renaming. Yeesh.
Doug Evans [Wed, 17 Apr 1996 18:46:32 +0000 (18:46 +0000)]
(choose_temp_base): Undo renaming.  Yeesh.

From-SVN: r11837

28 years ago(choose_tmpdir): Renamed from choose_temp_base.
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

28 years agoDon't include sys/file.h ifdef NO_SYS_FILE_H.
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

28 years ago(alpha_emit_conditional_move): Fix some bugs in previous change and do
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

28 years ago(push_reload): Add extra reload for inside of SUBREG if
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

28 years ago(do_store_flag): Rewrite last change to avoid compiler
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

28 years ago(xp-bit.c): Fix typo in source file name.
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

28 years agoh8300.md (andhi3): If 2nd operand is a CONST_INT that meets the 'J' constraint...
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

28 years ago(addsidi3_2): Handle non-MEM overlap case.
Richard Kenner [Tue, 16 Apr 1996 21:43:09 +0000 (17:43 -0400)]
(addsidi3_2): Handle non-MEM overlap case.

From-SVN: r11829

28 years ago(clear_limbo_values): New function.
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

28 years agoOverride trampoline macros.
Richard Kenner [Tue, 16 Apr 1996 20:59:21 +0000 (16:59 -0400)]
Override trampoline macros.

From-SVN: r11827

28 years ago(FINISH_INIT_TRAMPOLINE): Rename to FINALIZE_TRAMPOLINE.
Richard Kenner [Tue, 16 Apr 1996 20:58:31 +0000 (16:58 -0400)]
(FINISH_INIT_TRAMPOLINE): Rename to FINALIZE_TRAMPOLINE.

From-SVN: r11826

28 years agoInstead of redefining INITIALIZE_TRAMPOLINE, make use of the new FINISH_INIT_TRAMPOLINE.
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

28 years agoGreatly simplify the run-time trampoline code:
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

28 years ago(assemble_trampoline_template): No such function if no
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

28 years ago(expand_function_end): Allow TRAMPOLINE_TEMPLATE
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

28 years ago(_objc_thread_id): Correct return type from int to _objc_thread_id.
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

28 years ago(make_field_assignment): Allow XOR in final case.
Richard Kenner [Tue, 16 Apr 1996 20:02:20 +0000 (16:02 -0400)]
(make_field_assignment): Allow XOR in final case.

From-SVN: r11820

28 years ago(TARGET_SWITCHES): Don't remove MASK_68060 with -msoft-float.
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

28 years ago(ashlsi_16, lshrsi_16): Disable pattern for TARGET_68060; this special
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

28 years ago(MULL_COST, MULW_COST, RTX_COSTS): Add costs for TARGET_68060.
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

28 years ago(cmov* define_expands): Use it.
Richard Kenner [Tue, 16 Apr 1996 14:54:45 +0000 (10:54 -0400)]
(cmov* define_expands): Use it.

From-SVN: r11816

28 years ago(alpha_emit_conditional_move): Declare it.
Richard Kenner [Tue, 16 Apr 1996 14:54:13 +0000 (10:54 -0400)]
(alpha_emit_conditional_move): Declare it.

From-SVN: r11815

28 years ago(alpha_emit_conditional_move): New function.
Richard Kenner [Tue, 16 Apr 1996 14:53:48 +0000 (10:53 -0400)]
(alpha_emit_conditional_move): New function.

From-SVN: r11814

28 years ago(struct function): New field returns_pointer.
Richard Kenner [Tue, 16 Apr 1996 14:19:48 +0000 (10:19 -0400)]
(struct function): New field returns_pointer.

From-SVN: r11813

28 years ago(push_function_context_{to,from}): Save and restore
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

28 years ago(ENDFILE_SPEC): Add missing `%s'.
Richard Kenner [Tue, 16 Apr 1996 14:10:51 +0000 (10:10 -0400)]
(ENDFILE_SPEC): Add missing `%s'.

From-SVN: r11811

28 years ago(LIB_SPEC): Deleted.
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

28 years agoInitial revision
Richard Kenner [Tue, 16 Apr 1996 13:19:18 +0000 (09:19 -0400)]
Initial revision

From-SVN: r11809

28 years ago(INSTALL_ASSERT_H): New definition.
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

28 years ago(TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.
Richard Kenner [Tue, 16 Apr 1996 13:06:08 +0000 (09:06 -0400)]
(TRAMPOLINE_ALIGNMENT): Specify alignment in bits, not bytes.

From-SVN: r11807

28 years ago(final_scan_insn): Allow removal of redundant test and compare
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

28 years ago(expand_builtin, case BUILT_IN_LONGJMP): Make a decl for __dummy, so
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

28 years ago(expand_assignment): Don't pre-evaluate RHS if a CALL_EXPR with a
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

28 years ago(do_store_flag): Before calling exact_log2, remove any
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

28 years agoFix undefined VOIDFUNCPTR in VxWorks 5.2 <time.h>
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

28 years ago(emit_reload_insns): Call reload_reg_reaches_end_p for every reg of multi-reg spill...
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

28 years agofunction.c (preserve_temp_slots): Only preserve temporaries that happen to be at...
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

28 years agortl.h: #include "gansidecl.h".
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

28 years agortl.h: #include "gansidecl.h".
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

28 years agorecog.h: #include "gansidecl.h".
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

28 years agomachmode.h: #include "gansidecl.h".
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

28 years ago* genattr.c (main): Delete printing of "#define PROTO".
Doug Evans [Mon, 15 Apr 1996 18:01:14 +0000 (18:01 +0000)]
* genattr.c (main): Delete printing of "#define PROTO".

From-SVN: r11795

28 years agogcc.c: #include "gansidecl.h".
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

28 years agofix-header.c: #include "gansidecl.h".
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

28 years ago* expr.h (const): Delete.
Doug Evans [Mon, 15 Apr 1996 17:57:27 +0000 (17:57 +0000)]
* expr.h (const): Delete.

From-SVN: r11792

28 years agodemangle.h: #include "gansidecl.h".
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

28 years agocpphash.c: #include "gansidecl.h".
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

28 years agocollect2.c: #include "gansidecl.h".
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

28 years agoMakefile.in (xgcc): Depend on and link in choose-temp.o.
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

28 years agoInitial revision
Doug Evans [Mon, 15 Apr 1996 17:43:05 +0000 (17:43 +0000)]
Initial revision

From-SVN: r11787

28 years ago(invalidate_skipped_set): Ignore CLOBBER after calling
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

28 years ago(notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set
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

28 years ago(TARGET_SWITCHES): Fix typo in "c68000" entry.
Richard Kenner [Mon, 15 Apr 1996 12:21:33 +0000 (08:21 -0400)]
(TARGET_SWITCHES): Fix typo in "c68000" entry.

From-SVN: r11784

28 years ago(tstdi): Optimized for "d" case.
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

28 years ago(eadd1): Check for overflow on X plus X.
Richard Kenner [Mon, 15 Apr 1996 12:06:07 +0000 (08:06 -0400)]
(eadd1): Check for overflow on X plus X.

From-SVN: r11782

28 years ago(HAVE_SYSV_PRAGMA): Removed definition.
Richard Kenner [Mon, 15 Apr 1996 12:02:21 +0000 (08:02 -0400)]
(HAVE_SYSV_PRAGMA): Removed definition.

From-SVN: r11781

28 years ago(HAVE_SYSV_PRAGMA): Define.
Richard Kenner [Mon, 15 Apr 1996 12:01:51 +0000 (08:01 -0400)]
(HAVE_SYSV_PRAGMA): Define.

(SET_ASM_OP): Define.

From-SVN: r11780

28 years ago(bc_expand_increment): Change declaration to return void.
Richard Kenner [Mon, 15 Apr 1996 11:52:17 +0000 (07:52 -0400)]
(bc_expand_increment): Change declaration to return void.

From-SVN: r11779

28 years ago(find_dead_or_set_registers): Only kill spill regs after label made
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

28 years ago(max_label_num_after_reload): New variable.
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

28 years ago(CC): Pass -b $(host), not target.
Richard Kenner [Mon, 15 Apr 1996 11:28:50 +0000 (07:28 -0400)]
(CC): Pass -b $(host), not target.

From-SVN: r11776

28 years ago(expand_field_assignment): Take SUBREG_WORD into account when have STRICT_LOW_PART.
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

28 years agoflags.h (flag_function_sections): Declare.
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

28 years ago(try_combine): When substituting in output of I2, ensure dest isn't
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

28 years ago(main): Delete redundant test for -p used with -fbytecode.
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

28 years ago(finish_enum): Don't crash if no type can represent all enumeration values.
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

28 years ago(ftruncdf2): Enable for m68060 systems.
Richard Kenner [Sun, 14 Apr 1996 22:56:28 +0000 (18:56 -0400)]
(ftruncdf2): Enable for m68060 systems.

From-SVN: r11770

28 years ago(expand_end_case): Move conversion of case_list before
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

28 years ago(range_test): Don't convert hi_cst or lo_cst to unsigned when folding
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

28 years ago(real_value_from_int_cst): New arg, TYPE.
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

28 years ago(fold_convert): Add new arg to REAL_VALUE_FROM_INT.
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

28 years ago(simplify_unary_operation): Add new arg to REAL_VALUE_FROM_INT.
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

28 years ago(ereal_from_{int,uint}): Add new arg, MODE.
Richard Kenner [Sun, 14 Apr 1996 12:54:19 +0000 (08:54 -0400)]
(ereal_from_{int,uint}): Add new arg, MODE.

From-SVN: r11764

28 years ago(ereal_from_{int,uint}): New arg, MODE.
Richard Kenner [Sun, 14 Apr 1996 12:53:43 +0000 (08:53 -0400)]
(ereal_from_{int,uint}): New arg, MODE.

From-SVN: r11763

28 years ago(combine_instructions): In initial scan of insns, handle a REG_INC note's affect...
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

28 years ago(objc_skip_typespec): Don't abort for _C_UNDEF.
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

28 years ago(TARGET_DEFAULT): Comment out TARGET_CPU_DEFAULT support for now.
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

28 years agoInitial revision
Richard Kenner [Sun, 14 Apr 1996 00:35:30 +0000 (20:35 -0400)]
Initial revision

From-SVN: r11759

28 years ago(CHECK_FLOAT_VALUE): Define.
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

28 years ago(check_float_value): New function.
Richard Kenner [Sun, 14 Apr 1996 00:16:55 +0000 (20:16 -0400)]
(check_float_value): New function.

From-SVN: r11757

28 years agoInitial revision
Doug Evans [Sat, 13 Apr 1996 19:07:47 +0000 (19:07 +0000)]
Initial revision

From-SVN: r11756

28 years agoarm.c (use_return_insn): Don't use return for naked functions.
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

28 years agoh8300.c (adds_subs_operand): Fix thinko in last change.
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

28 years ago(ASM_DECLARE_FUNCTION_NAME): Don't write anything to asm file, because
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

28 years ago(alpha_emit_set_const_1): Renamed from alpha_emit_set_const and static.
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

28 years agoh8300.md: Add more comments about things which seem wrong...
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

28 years agoconfig.guess: Combine two OSF1 rules.
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

28 years agoFix typo.
Jeff Law [Fri, 12 Apr 1996 23:57:07 +0000 (17:57 -0600)]
Fix typo.

From-SVN: r11711

28 years ago86th Cygnus<->FSF quick merge
Mike Stump [Fri, 12 Apr 1996 23:55:07 +0000 (23:55 +0000)]
86th Cygnus<->FSF quick merge

From-SVN: r11710

28 years agoh8300.c (const_costs): -4 and 4 are cheap on the h8300h.
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

28 years agoh8300.c (dosize): Remove unused "fped" argument.
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

28 years agoh8300.c (print_operand): Handle new 'R' case for accessing the 8-bit area.
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

28 years agoaout.h (ASM_GENERATE_INTERNAL_LABEL): Use LOCAL_LABEL_PREFIX.
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

28 years ago(CPP_PREDEFINES): Define __semi__ instead of semi.
Doug Evans [Fri, 12 Apr 1996 18:41:09 +0000 (18:41 +0000)]
(CPP_PREDEFINES): Define __semi__ instead of semi.

From-SVN: r11705

28 years agoarm.md (*ldmsi,*stmsi): Use (mem (match_operand ...)) to avoid using indirect_operand...
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

28 years ago(dbxout_typedefs): Don't emit incomplete types yet.
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