platform/upstream/gcc.git
28 years ago(print_operand): Emit .l as scale factor #ifdef MOTOROLA.
Richard Kenner [Mon, 4 Mar 1996 23:40:06 +0000 (18:40 -0500)]
(print_operand): Emit .l as scale factor #ifdef MOTOROLA.

From-SVN: r11427

28 years ago(main): Check new define DEFAULT_A_OUT_NAME.
Richard Kenner [Mon, 4 Mar 1996 23:39:47 +0000 (18:39 -0500)]
(main): Check new define DEFAULT_A_OUT_NAME.

From-SVN: r11426

28 years ago(CRT0STUFF_T_CFLAGS): New macro.
Richard Kenner [Mon, 4 Mar 1996 23:39:06 +0000 (18:39 -0500)]
(CRT0STUFF_T_CFLAGS): New macro.

(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.

From-SVN: r11425

28 years ago(PASS_IN_REG_P): Don't reject BLKmode for SH3e.
Jim Wilson [Mon, 4 Mar 1996 23:38:50 +0000 (15:38 -0800)]
(PASS_IN_REG_P): Don't reject BLKmode for SH3e.

For SH3e, do reject parameter that won't fit entirely in registers.

From-SVN: r11424

28 years ago(mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
Jim Wilson [Mon, 4 Mar 1996 23:07:38 +0000 (15:07 -0800)]
(mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,

smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.

From-SVN: r11423

28 years agoInitial revision
Richard Kenner [Mon, 4 Mar 1996 23:03:33 +0000 (18:03 -0500)]
Initial revision

From-SVN: r11422

28 years agoAccept -moss* as op sys.
Richard Kenner [Mon, 4 Mar 1996 23:03:15 +0000 (18:03 -0500)]
Accept -moss* as op sys.

From-SVN: r11421

28 years agoRemove a Cygnus FSF difference, so the tree will build.
Mike Stump [Mon, 4 Mar 1996 22:46:30 +0000 (22:46 +0000)]
Remove a Cygnus FSF difference, so the tree will build.

From-SVN: r11420

28 years ago(machine_dependent_reorg): In TARGET_RELAX code...
Jim Wilson [Mon, 4 Mar 1996 22:37:57 +0000 (14:37 -0800)]
(machine_dependent_reorg): In TARGET_RELAX code...

(machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.

From-SVN: r11419

28 years agoUpdate copyright.
Doug Evans [Mon, 4 Mar 1996 20:18:45 +0000 (20:18 +0000)]
Update copyright.

From-SVN: r11418

28 years agoFix typo in last change.
Michael Meissner [Mon, 4 Mar 1996 20:06:58 +0000 (20:06 +0000)]
Fix typo in last change.

From-SVN: r11417

28 years agoAdd attribute((longcall)) support
Michael Meissner [Mon, 4 Mar 1996 16:34:29 +0000 (16:34 +0000)]
Add attribute((longcall)) support

From-SVN: r11416

28 years ago(significand_size): Don't test the modes, but their sizes.
Richard Kenner [Mon, 4 Mar 1996 13:57:43 +0000 (08:57 -0500)]
(significand_size): Don't test the modes, but their sizes.

From-SVN: r11415

28 years ago(xstrdup): Declare instead of instead of strdup.
Richard Kenner [Mon, 4 Mar 1996 13:42:03 +0000 (08:42 -0500)]
(xstrdup): Declare instead of instead of strdup.

(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.

From-SVN: r11414

28 years ago(strdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:40:48 +0000 (08:40 -0500)]
(strdup): Delete.

(float_label):  xstrdup instead of strdup.

From-SVN: r11413

28 years ago(bc_expand_function_start): Likewise.
Richard Kenner [Mon, 4 Mar 1996 13:40:01 +0000 (08:40 -0500)]
(bc_expand_function_start): Likewise.

From-SVN: r11412

28 years ago(bc_strdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:39:11 +0000 (08:39 -0500)]
(bc_strdup): Delete.

(bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.

From-SVN: r11411

28 years ago(bc_xstrdup): Delete.
Richard Kenner [Mon, 4 Mar 1996 13:38:39 +0000 (08:38 -0500)]
(bc_xstrdup): Delete.

From-SVN: r11410

28 years ago(xstrdup): Declare.
Richard Kenner [Mon, 4 Mar 1996 13:36:43 +0000 (08:36 -0500)]
(xstrdup): Declare.

From-SVN: r11409

28 years ago(xstrdup): New function.
Richard Kenner [Mon, 4 Mar 1996 13:36:14 +0000 (08:36 -0500)]
(xstrdup): New function.

From-SVN: r11408

28 years ago(xstrdup): Moved from here.
Richard Kenner [Mon, 4 Mar 1996 13:35:34 +0000 (08:35 -0500)]
(xstrdup): Moved from here.

From-SVN: r11407

28 years ago(NO_WAIT_H): Deleted.
Richard Kenner [Mon, 4 Mar 1996 13:24:34 +0000 (08:24 -0500)]
(NO_WAIT_H): Deleted.

From-SVN: r11406

28 years agoNever include wait.h.
Richard Kenner [Mon, 4 Mar 1996 13:23:11 +0000 (08:23 -0500)]
Never include wait.h.

From-SVN: r11405

28 years ago(expand_call): If passing by invisible ref, not const.
Richard Kenner [Sat, 2 Mar 1996 19:30:32 +0000 (14:30 -0500)]
(expand_call): If passing by invisible ref, not const.

From-SVN: r11404

28 years agoh8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of TARGET_ALIGN_STRUCT_300 with TARGE...
Doug Evans [Sat, 2 Mar 1996 18:40:11 +0000 (18:40 +0000)]
h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.

* h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of
TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.
(BIGGEST_ALIGNMENT): Likewise.

From-SVN: r11403

28 years ago(SKIP_CALLERS_UNIMP_P): Make agree with test used in call.
Richard Kenner [Sat, 2 Mar 1996 17:44:23 +0000 (12:44 -0500)]
(SKIP_CALLERS_UNIMP_P): Make agree with test used in call.

From-SVN: r11402

28 years ago(do_jump, case COMPOUND_EXPR): Call preserve_temp_slots.
Richard Kenner [Sat, 2 Mar 1996 15:18:24 +0000 (10:18 -0500)]
(do_jump, case COMPOUND_EXPR): Call preserve_temp_slots.

From-SVN: r11401

28 years ago(fold, case *_DIV_EXPR): Ignore SAVE_EXPR if has RTL.
Richard Kenner [Sat, 2 Mar 1996 13:04:30 +0000 (08:04 -0500)]
(fold, case *_DIV_EXPR): Ignore SAVE_EXPR if has RTL.

From-SVN: r11400

28 years ago84th Cygnus<->FSF merge
Mike Stump [Sat, 2 Mar 1996 01:49:15 +0000 (01:49 +0000)]
84th Cygnus<->FSF merge

From-SVN: r11399

28 years agooptabs.c (emit_cmp_insn): Immediately copy the return value from the library call...
Jeff Law [Fri, 1 Mar 1996 23:00:41 +0000 (16:00 -0700)]
optabs.c (emit_cmp_insn): Immediately copy the return value from the library call into a pseudo register.

        * optabs.c (emit_cmp_insn): Immediately copy the return
        value from the library call into a pseudo register.
        (emit_float_lib_cmp): Likewise.

From-SVN: r11398

28 years agoDefine ASM_OUTPUT_ALIGNED_BSS
Michael Meissner [Fri, 1 Mar 1996 20:34:12 +0000 (20:34 +0000)]
Define ASM_OUTPUT_ALIGNED_BSS

From-SVN: r11397

28 years ago(cmpxf*): XF compare cannot have mem operands.
Stan Cox [Fri, 1 Mar 1996 15:28:23 +0000 (15:28 +0000)]
(cmpxf*): XF compare cannot have mem operands.

From-SVN: r11396

28 years agoRecognize cpu-vendor [ctj]90-cray, default c90-cray-unicos. From tege.
Roland McGrath [Fri, 1 Mar 1996 14:57:49 +0000 (14:57 +0000)]
Recognize cpu-vendor [ctj]90-cray, default c90-cray-unicos.  From tege.

From-SVN: r11392

28 years ago(push_init_level): When output padding to align structure
Jim Wilson [Fri, 1 Mar 1996 01:46:19 +0000 (17:46 -0800)]
(push_init_level): When output padding to align structure
field, set constructor_unfilled_fields.

From-SVN: r11391

28 years ago(dbxout_type, case METHOD_TYPE): Add CHARS (1) call
Jim Wilson [Fri, 1 Mar 1996 01:41:00 +0000 (17:41 -0800)]
(dbxout_type, case METHOD_TYPE): Add CHARS (1) call
after emitting second '#' character.

From-SVN: r11390

28 years ago(i386_return_pops_args): Cleanup extra argument
Stan Cox [Thu, 29 Feb 1996 22:37:10 +0000 (22:37 +0000)]
(i386_return_pops_args): Cleanup extra argument

From-SVN: r11389

28 years agom68k-aout.h (BSS_SECTION_ASM_OP): Define.
Doug Evans [Thu, 29 Feb 1996 22:19:07 +0000 (22:19 +0000)]
m68k-aout.h (BSS_SECTION_ASM_OP): Define.

* m68k/m68k-aout.h (BSS_SECTION_ASM_OP): Define.
(ASM_OUTPUT_BSS): Define.

From-SVN: r11388

28 years agocoff.h (BSS_SECTION_ASM_OP): Define.
Doug Evans [Thu, 29 Feb 1996 22:18:17 +0000 (22:18 +0000)]
coff.h (BSS_SECTION_ASM_OP): Define.

* m68k/coff.h (BSS_SECTION_ASM_OP): Define.
(ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r11387

28 years ago(ASM_OUTPUT_BSS): Define.
Doug Evans [Thu, 29 Feb 1996 22:17:33 +0000 (22:17 +0000)]
(ASM_OUTPUT_BSS): Define.

From-SVN: r11386

28 years agovarasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR, first extract and compare...
Per Bothner [Thu, 29 Feb 1996 18:46:58 +0000 (10:46 -0800)]
varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR, first extract and compare the set length.

* varasm.c (compare_constant_1):  For a SET_TYPE CONSTRUCTOR,
first extract and compare the set length.
* varasm.c (record_constant_1):  For SET_TYPE CONSTRUCTOR,
permanent_obstack.next_free is *end* of available space.

From-SVN: r11385

28 years agopa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and "-mno-long-load-store".
Jeff Law [Thu, 29 Feb 1996 18:17:35 +0000 (11:17 -0700)]
pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and "-mno-long-load-store".

        * pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and
        "-mno-long-load-store".
        (TARGET_LONG_LOAD_STORE): Define.
        * pa.md (symbolic high part): Handle TARGET_LONG_LOAD_STORE.

From-SVN: r11384

28 years ago(cmpxf*): Allow for (compare (reg:XF) (mem:XF)).
Stan Cox [Thu, 29 Feb 1996 16:47:21 +0000 (16:47 +0000)]
(cmpxf*): Allow for (compare (reg:XF) (mem:XF)).

From-SVN: r11383

28 years agoAdd comment regarding BSS_ASM_OP.
Doug Evans [Thu, 29 Feb 1996 03:18:00 +0000 (03:18 +0000)]
Add comment regarding BSS_ASM_OP.

From-SVN: r11382

28 years agoAdd comment regarding .bss.
Doug Evans [Thu, 29 Feb 1996 03:15:55 +0000 (03:15 +0000)]
Add comment regarding .bss.

From-SVN: r11381

28 years ago(EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 03:13:29 +0000 (03:13 +0000)]
(EXTRA_SECTIONS): Delete in_bss.

From-SVN: r11380

28 years agopa.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 03:12:52 +0000 (03:12 +0000)]
pa.h (EXTRA_SECTIONS): Delete in_bss.

* pa/pa.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete bss_section.

From-SVN: r11379

28 years ago(BC_OUTPUT_BSS): Define.
Doug Evans [Thu, 29 Feb 1996 03:11:26 +0000 (03:11 +0000)]
(BC_OUTPUT_BSS): Define.

From-SVN: r11378

28 years agocrds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
Doug Evans [Thu, 29 Feb 1996 03:11:02 +0000 (03:11 +0000)]
crds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.

* m68k/crds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
(BSS_SECTION_ASM_OP): Define.

From-SVN: r11377

28 years ago* i860/paragon.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Undef.
Doug Evans [Thu, 29 Feb 1996 03:10:24 +0000 (03:10 +0000)]
* i860/paragon.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Undef.

From-SVN: r11376

28 years agosvr3gas.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 03:09:45 +0000 (03:09 +0000)]
svr3gas.h (EXTRA_SECTIONS): Delete in_bss.

* i386/svr3gas.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11375

28 years ago(BSS_SECTION_FUNCTION): Delete.
Doug Evans [Thu, 29 Feb 1996 03:09:17 +0000 (03:09 +0000)]
(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11374

28 years agosco5.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 03:08:50 +0000 (03:08 +0000)]
sco5.h (EXTRA_SECTIONS): Delete in_bss.

* i386/sco5.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11373

28 years ago* i386/att.h (BSS_SECTION_FUNCTION): Delete.
Doug Evans [Thu, 29 Feb 1996 03:07:55 +0000 (03:07 +0000)]
* i386/att.h (BSS_SECTION_FUNCTION): Delete.

From-SVN: r11372

28 years agoaix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
Doug Evans [Thu, 29 Feb 1996 03:03:45 +0000 (03:03 +0000)]
aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.

* i386/aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete
BSS_SECTION_FUNCTION.

From-SVN: r11371

28 years ago* gmicro/gmicro.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
Doug Evans [Thu, 29 Feb 1996 03:02:38 +0000 (03:02 +0000)]
* gmicro/gmicro.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.

From-SVN: r11370

28 years agodsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 03:02:01 +0000 (03:02 +0000)]
dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.

* dsp16xx/dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete bss_section.

From-SVN: r11369

28 years ago* convex/convex.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
Doug Evans [Thu, 29 Feb 1996 03:01:12 +0000 (03:01 +0000)]
* convex/convex.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.

From-SVN: r11368

28 years agolynx.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 02:55:54 +0000 (02:55 +0000)]
lynx.h (EXTRA_SECTIONS): Delete in_bss.

* lynx.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
* svr3.h (EXTRA_SECTIONS): Likewise.
(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11367

28 years agolynx.h (EXTRA_SECTIONS): Delete in_bss.
Doug Evans [Thu, 29 Feb 1996 02:54:55 +0000 (02:54 +0000)]
lynx.h (EXTRA_SECTIONS): Delete in_bss.

* lynx.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.

From-SVN: r11366

28 years ago(BC_OUTPUT_BSS): Define.
Doug Evans [Thu, 29 Feb 1996 02:54:09 +0000 (02:54 +0000)]
(BC_OUTPUT_BSS): Define.

From-SVN: r11365

28 years agovarasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP is defined.
Doug Evans [Thu, 29 Feb 1996 02:53:44 +0000 (02:53 +0000)]
varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP is defined.

* varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP
is defined.
(bss_section,asm_output_bss,asm_output_aligned_bss): New functions.
(assemble_variable): Delete redundant test for too large an object.
Rewrite test for uninitialized variables.  Use new macros
ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized
but not common variables.

From-SVN: r11364

28 years ago(FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP registers only when TARGET...
Jim Wilson [Wed, 28 Feb 1996 22:20:46 +0000 (14:20 -0800)]
(FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP registers only when TARGET_SH3E.

(FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP
registers only when TARGET_SH3E.
(PASS_IN_REG_P): Exclude BLKmode only when ! TARGET_SH3E.

From-SVN: r11363

28 years ago83rd Cygnus<->FSF merge
Mike Stump [Wed, 28 Feb 1996 22:01:56 +0000 (22:01 +0000)]
83rd Cygnus<->FSF merge

From-SVN: r11362

28 years agoUpdate NT code so it works
Michael Meissner [Wed, 28 Feb 1996 21:09:54 +0000 (21:09 +0000)]
Update NT code so it works

From-SVN: r11361

28 years agotry to fix NT trampolines
Michael Meissner [Wed, 28 Feb 1996 17:09:44 +0000 (17:09 +0000)]
try to fix NT trampolines

From-SVN: r11360

28 years agofinish up use of 'H' in DImode shifts
David Edelsohn [Wed, 28 Feb 1996 00:37:25 +0000 (00:37 +0000)]
finish up use of 'H' in DImode shifts

From-SVN: r11359

28 years agoUse new 'H' for DImode shifts and use 'h' consistently for SImode
David Edelsohn [Wed, 28 Feb 1996 00:20:40 +0000 (00:20 +0000)]
Use new 'H' for DImode shifts and use 'h' consistently for SImode

From-SVN: r11358

28 years agoadd 'H' to print_operand for six-bit mask
David Edelsohn [Wed, 28 Feb 1996 00:19:30 +0000 (00:19 +0000)]
add 'H' to print_operand for six-bit mask

From-SVN: r11357

28 years agoDImode insv and extzv, movsf split
David Edelsohn [Tue, 27 Feb 1996 21:39:16 +0000 (21:39 +0000)]
DImode insv and extzv, movsf split

From-SVN: r11356

28 years ago(HANDLE_PRAGMA): Delete `return'.
Doug Evans [Tue, 27 Feb 1996 20:01:59 +0000 (20:01 +0000)]
(HANDLE_PRAGMA): Delete `return'.

This change was supposed to have been made on Feb. 1, but somehow
never got checked in.

From-SVN: r11355

28 years agoUpdate copyright message.
Richard Earnshaw [Tue, 27 Feb 1996 13:15:13 +0000 (13:15 +0000)]
Update copyright message.

From-SVN: r11354

28 years agoaof.h (EXTRA_SECTIONS, [...]): Remove readonly data sections.
Richard Earnshaw [Tue, 27 Feb 1996 13:15:13 +0000 (13:15 +0000)]
aof.h (EXTRA_SECTIONS, [...]): Remove readonly data sections.

* arm/aof.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove
readonly data sections.
(READONLYDATA_SECTION, READONLY_DATA_SECTION): Delete.

From-SVN: r11353

28 years agoarm.md (*addsi3_compare0_scratch): New insn.
Richard Earnshaw [Tue, 27 Feb 1996 13:15:13 +0000 (13:15 +0000)]
arm.md (*addsi3_compare0_scratch): New insn.

* arm.md (*addsi3_compare0_scratch): New insn.
(*movsi_compare0, *cmpsi_insn, *cmpsi_shiftsi): Make sure the
compare has mode CC.
(cmp{si,sf,df,xf} expands): Just provide sufficient information
to allow the parameters to be matched properly.
(*cmpsi_negsi): Delete (of dubious validity).
(*cmpsi_shiftsi_swp): New pattern.
(*condbranch_reversed): No longer needs to check REVERSIBLE_CC_MODE.
(mov{si,sf,df}cc, *mov{si,sf,df}{,_hard,_soft}_insn): The mode of the
IF_THEN_ELSE must be appropriate to the target (not void).
(*and_scc): Match cc_register, not reversible_cc_register.
(*ior_compare_compare): Delete.
(split for ior_compare_compare + condjump): Delete.
(*impossible_cond_compare): Delete.
(*condition_compare_ior): Delete.
(*cond_move): Mode for the IF_THEN_ELSE must be SImode.
(*and_scc_scc): Delete.
(split for and_scc_scc + condjump): Delete.
(*impossible_cond_branch_and): Delete.
(*cmp_ite0, *cmp_ite1): New patterns.
(if_compare_not): Should be an anonymous pattern.
(Peephole for move and compare): Compare mode must be mode CCmode.
(Split pattern for comparing shifted reg then branch): Delete.
(*loadqi_compare): Delete, replaced with a split pattern to do
the same thing.
(*cond_move_not): Match cc_register, not reversible_cc_register.
(load/store multiple peepholes): Rewrite using the above
functions.
(all patterns taking immediate_operand): If the code later assumes
this is a CONST_INT, then match const_int_operand instead.

From-SVN: r11352

28 years agoarm.c (aof_text_section): Remove pseudo read-only hack.
Richard Earnshaw [Tue, 27 Feb 1996 13:15:13 +0000 (13:15 +0000)]
arm.c (aof_text_section): Remove pseudo read-only hack.

* arm.c (aof_text_section): Remove pseudo read-only hack.  Doesn't
take a parameter any more.
(arm_current_cc): Now an enum.
(ARM_INVERSE_CONDITION_CODE): Moved to arm.h
(revsersible_cc_register): Delete.
(dominant_cc_register): New function.
(select_dominance_cc_mode): New function.
(arm_select_cc_mode): New function.
(output_return_instruction): New parameter REVERSE, used to
reverse the condition of a conditional return.  All callers
changed.
(arm_print_operand case 'D'): Only suppress condition printing
if the operand is a NULL pointer.
(get_arm_condition_code): Now a static function returning
enum arm_cond_code.  Handle dominance expressions.  Return enum
values rather than integers.
({load,store}_multiple_sequence): New functions.
(emit_{ldm,stm}_seq): New functions.

From-SVN: r11351

28 years agoarm.h (enum arm_cond_code): New enum.
Richard Earnshaw [Tue, 27 Feb 1996 13:15:13 +0000 (13:15 +0000)]
arm.h (enum arm_cond_code): New enum.

* arm.h (enum arm_cond_code): New enum.
(ARM_INVERSE_CONDITION_CODE): Moved here from arm.c.
(SELECT_CC_MODE): Call arm_select_cc_mode to do the work.
(PREDICATE_CODES): Add dominant_cc_register; delete
reversible_cc_register.

From-SVN: r11350

28 years agosparc.md: Add sparclet scheduling parameters.
Doug Evans [Mon, 26 Feb 1996 22:25:48 +0000 (22:25 +0000)]
sparc.md: Add sparclet scheduling parameters.

* sparc/sparc.md: Add sparclet scheduling parameters.
(compare define_insn's): Move close to compare define_expand's.
(32 bit multiply patterns): Use for TARGET_SPARCLET.
(smacsi,smacdi,umacdi): Multiply/accumulate patterns for the sparclet.

From-SVN: r11349

28 years agoFix typo in last change.
Jeff Law [Mon, 26 Feb 1996 17:29:16 +0000 (10:29 -0700)]
Fix typo in last change.

From-SVN: r11348

28 years agoChange copyright.
Michael Meissner [Mon, 26 Feb 1996 14:32:34 +0000 (14:32 +0000)]
Change copyright.

From-SVN: r11347

28 years agofix movsf typo
David Edelsohn [Sun, 25 Feb 1996 00:12:16 +0000 (00:12 +0000)]
fix movsf typo

From-SVN: r11346

28 years agoFlush stdout/stderr in fatal_init.
Michael Meissner [Sat, 24 Feb 1996 15:02:21 +0000 (15:02 +0000)]
Flush stdout/stderr in fatal_init.

From-SVN: r11345

28 years ago* pa.md (abssi2): Rework to avoid matching constraints.
Jeff Law [Sat, 24 Feb 1996 07:04:43 +0000 (00:04 -0700)]
* pa.md (abssi2): Rework to avoid matching constraints.

From-SVN: r11344

28 years agopa.c (override_options): Warn if both PIC code generation and profiling are requested.
Jeff Law [Fri, 23 Feb 1996 16:23:13 +0000 (09:23 -0700)]
pa.c (override_options): Warn if both PIC code generation and profiling are requested.

        * pa.c (override_options): Warn if both PIC code generation and
        profiling are requested.

From-SVN: r11343

28 years ago(sched_analyze): Record NOTE_INSN_SETJMP if no CALL_INSN as prev;
Richard Kenner [Fri, 23 Feb 1996 13:47:27 +0000 (08:47 -0500)]
(sched_analyze): Record NOTE_INSN_SETJMP if no CALL_INSN as prev;

preserve CONST_CALL_P bit.
(reemit_notes): Restore CONST_CALL_P.

From-SVN: r11342

28 years ago(reload): For special CONST_CALL_P NOTE_INSN_SETJMP, mark all
Richard Kenner [Fri, 23 Feb 1996 13:46:45 +0000 (08:46 -0500)]
(reload): For special CONST_CALL_P NOTE_INSN_SETJMP, mark all
call-saved regs as used.

From-SVN: r11341

28 years ago(expand_builtin...
Richard Kenner [Fri, 23 Feb 1996 13:46:04 +0000 (08:46 -0500)]
(expand_builtin...

(expand_builtin, case BUILT_IN_SETJMP): Set CONST_CALL_P on
NOTE_INSN_SETJMP instead of emitting USE insns for call-saved regs.

From-SVN: r11340

28 years ago* sparc/sparc.md (cpu attr): Add sparc{lite,let} implementations.
Doug Evans [Thu, 22 Feb 1996 02:49:46 +0000 (02:49 +0000)]
* sparc/sparc.md (cpu attr): Add sparc{lite,let} implementations.

From-SVN: r11339

28 years agosparc.c (sparc_cpu_string): Delete.
Doug Evans [Thu, 22 Feb 1996 02:49:00 +0000 (02:49 +0000)]
sparc.c (sparc_cpu_string): Delete.

* sparc/sparc.c (sparc_cpu_string): Delete.
(sparc_select): New global.
(sparc_override_options): Handle -mtune=xxx.

From-SVN: r11338

28 years agosparc.h (enum processor_type): Declare.
Doug Evans [Thu, 22 Feb 1996 02:47:54 +0000 (02:47 +0000)]
sparc.h (enum processor_type): Declare.

* sparc/sparc.h (enum processor_type): Declare.
(sparc_cpu_attr): Define.
(TARGET_OPTIONS): Add -mtune=.
(sparc_select): Declare.
(sparc_cpu_string): Delete.
(FIRST_PSEUDO_REGISTER): Set to 100.
({FIXED,CALL_USED}_REGISTERS): Merge !v9/v9 cases.
(CONDITIONAL_REGISTER_USAGE): Mark %g5 as fixed if !v9.
Mark %g1 as fixed if v9.  Fix v9-only regs if !v9.
Mark fp{16..47} as call-saved if v9.
(enum reg_class): Merge !v9/v9 cases.
(REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise.
(REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Likewise.
(FP_REG_CLASS_P,SPARC_REGISTER_NAMES): Likewise.
(REG_CLASS_FROM_LETTER): Test TARGET_V9 at runtime.

From-SVN: r11337

28 years ago(consttable_end): Delete call to text_section.
Doug Evans [Thu, 22 Feb 1996 00:56:13 +0000 (00:56 +0000)]
(consttable_end): Delete call to text_section.

(align_4): Delete call to readonly_data_section.

From-SVN: r11336

28 years ago(demangle_template): Initialize is_bool.
Jason Merrill [Wed, 21 Feb 1996 19:28:20 +0000 (19:28 +0000)]
(demangle_template): Initialize is_bool.

(demangle_template): Initialize is_bool.  Correctly
|        handle 0 as a pointer value parameter.

From-SVN: r11335

28 years ago(decl_function_context): Do decl_function_context right for
Jason Merrill [Wed, 21 Feb 1996 19:12:32 +0000 (19:12 +0000)]
(decl_function_context): Do decl_function_context right for
|       function-local classes.

From-SVN: r11334

28 years agoc-typeck.c (initializer_constant_valid_p): Don't dereference a null pointer on partia...
Jeff Law [Wed, 21 Feb 1996 17:44:20 +0000 (10:44 -0700)]
c-typeck.c (initializer_constant_valid_p): Don't dereference a null pointer on partial structure initialization.

        * c-typeck.c (initializer_constant_valid_p): Don't dereference
        a null pointer on partial structure initialization.

From-SVN: r11333

28 years agoremove verbatim symbol test
David Edelsohn [Wed, 21 Feb 1996 16:46:19 +0000 (16:46 +0000)]
remove verbatim symbol test

From-SVN: r11332

28 years agoremove verbatim symbol test for section descriptors of externals
David Edelsohn [Wed, 21 Feb 1996 16:43:24 +0000 (16:43 +0000)]
remove verbatim symbol test for section descriptors of externals

From-SVN: r11331

28 years ago(validate_else): Don't loop given `#endif /'.
Paul Eggert [Wed, 21 Feb 1996 03:55:32 +0000 (03:55 +0000)]
(validate_else): Don't loop given `#endif /'.

Handle multiple adjacent backslash-newlines correctly.
Accept a new parameter LIMIT to specify end of input;
this prevents confusion when the input contains '\0' characters.

(collect_expansion): Fix off-by-1 error when searching for `*/'
at end of a comment used for traditional token concatenation.

(macarg1): Fix off-by-1 error when skipping past `*/'
at end of comment.

From-SVN: r11330

28 years ago(twice unrolled GO_IF_HARD_REG_EQUAL): Add missing \.
Doug Evans [Tue, 20 Feb 1996 21:12:15 +0000 (21:12 +0000)]
(twice unrolled GO_IF_HARD_REG_EQUAL): Add missing \.

From-SVN: r11329

28 years ago82nd Cygnus<->FSF merge
Mike Stump [Tue, 20 Feb 1996 20:35:10 +0000 (20:35 +0000)]
82nd Cygnus<->FSF merge

From-SVN: r11328

28 years agopa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.
Jeff Law [Tue, 20 Feb 1996 19:22:49 +0000 (12:22 -0700)]
pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.

        * pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.

        * pa.c (hppa_expand_epilogue): Always emit a blockage insn
        before cutting back the stack.

From-SVN: r11327

28 years ago(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.
Doug Evans [Tue, 20 Feb 1996 05:37:36 +0000 (05:37 +0000)]
(sparc_override_options): Error if -mcpu=v9 and v9 support not compiled in.

From-SVN: r11326

28 years ago(CPP_PREDEFINES): Delete __GCC_NEW_VARARGS__.
Doug Evans [Tue, 20 Feb 1996 05:23:04 +0000 (05:23 +0000)]
(CPP_PREDEFINES): Delete __GCC_NEW_VARARGS__.

Add -Acpu(sparc) -Amachine(sparc).

From-SVN: r11325