platform/upstream/gcc.git
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

28 years ago__sparc_v9__ renamed to __arch64__
Doug Evans [Tue, 20 Feb 1996 01:01:20 +0000 (01:01 +0000)]
__sparc_v9__ renamed to __arch64__

From-SVN: r11324

28 years ago(nonlocal_goto): No longer need USE of %o0.
Richard Kenner [Tue, 20 Feb 1996 00:19:52 +0000 (19:19 -0500)]
(nonlocal_goto): No longer need USE of %o0.

(goto_handler_and_restore): Show uses %o0.

From-SVN: r11323

28 years ago* sparc/sysv4.h (ASM_SPEC): Add %(asm_cpu).
Doug Evans [Tue, 20 Feb 1996 00:18:41 +0000 (00:18 +0000)]
* sparc/sysv4.h (ASM_SPEC): Add %(asm_cpu).

From-SVN: r11322

28 years agosparc.md (cpu attr): Add all cpu variants.
Doug Evans [Tue, 20 Feb 1996 00:17:54 +0000 (00:17 +0000)]
sparc.md (cpu attr): Add all cpu variants.

* sparc/sparc.md (cpu attr): Add all cpu variants.
(negtf2,negdf2,abstf2,absdf2): Use isa attr, not arch attr in
determining insn lengths.

From-SVN: r11321

28 years agosparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
Doug Evans [Tue, 20 Feb 1996 00:17:04 +0000 (00:17 +0000)]
sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.

* sparc/sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
(MASK_IMPURE_TEXT, TARGET_IMPURE_TEXT): Define.
(LINK_SPEC): Only add `-assert pure-text' if -mimpure-text wasn't used.

* sparc/sparc.h (TARGET_CPU_sparc{,let,lite,64}): Define.
({CPP,ASM}_DEFAULT_SPEC): Set from TARGET_CPU_foo.
(SPARC_ARCH64 CPP_PREDEFINES): Define __arch64__.
(CPP_SPEC): Add %(cpp_cpu).
(CPP_CPU_SPEC): Define.
(CC1_SPEC): Convert -m<cpu> to -mcpu=<cpu>.
(ASM_SPEC): Add %(asm_cpu).
(ASM_CPU_SPEC): Define.
(EXTRA_SPECS,SUBTARGET_EXTRA_SPECS): Define.
(OVERRIDE_OPTIONS): Call SUBTARGET_OVERRIDE_OPTIONS after
sparc_override_options.
({MASK,TARGET}_SUPERSPARC): Delete.
({MASK,TARGET}_SPARCLET): Define.
(MASK_ISA): Renamed from MASK_CPUS.
({MASK,TARGET}_FRW): Delete.
(TARGET_SWITCHES): Delete no-{v8,sparclite}.
(sparc_cpu,sparc_cpu_string): Declare.
({SUB,}TARGET_OPTIONS): Define.
(FIXED_REGISTERS): Add definitions for sparc64 in 32 bit mode.
(CONDITIONAL_REGISTER_USAGE): Don't set fixed_regs[234] if sparc64.
Don't set call_used_regs[48..80] for sparc64 in 32 bit mode.
Don't clobber fixed_regs[234] if -ffixed- was passed.
(FRAME_POINTER_REQUIRED,INITIAL_FRAME_POINTER_OFFSET,
BASE_{INCOMING_ARG,OUTGOING_VALUE}_REG,INCOMING_REGNO,OUTGOING_REGNO,
FUNCTION_{PROLOGUE,EPILOGUE},DELAY_SLOTS_FOR_EPILOGUE): TARGET_FRW
renamed to TARGET_FLAT.
(ADJUST_COST): Change test for supersparc.

From-SVN: r11320

28 years agoUpdate copyright.
Doug Evans [Tue, 20 Feb 1996 00:15:02 +0000 (00:15 +0000)]
Update copyright.

From-SVN: r11319

28 years agosparc.c (sparc_cpu_string,sparc_cpu): New globals.
Doug Evans [Tue, 20 Feb 1996 00:14:03 +0000 (00:14 +0000)]
sparc.c (sparc_cpu_string,sparc_cpu): New globals.

* sparc/sparc.c (sparc_cpu_string,sparc_cpu): New globals.
(sparc_override_options): Set ISA and CPU from sparc_cpu_string.
Delete tests for v9 switches if not v9.

From-SVN: r11318

28 years agosp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
Doug Evans [Tue, 20 Feb 1996 00:12:28 +0000 (00:12 +0000)]
sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.

* sparc/sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
  (CPP_PREDEFINES): Define __arch64__.

From-SVN: r11317

28 years agosp64-aout.h: #include aoutos.h.
Doug Evans [Tue, 20 Feb 1996 00:11:32 +0000 (00:11 +0000)]
sp64-aout.h: #include aoutos.h.

* sparc/sp64-aout.h: #include aoutos.h.
(TARGET_DEFAULT): Add MASK_APP_REGS.
(JUMP_TABLES_IN_TEXT_SECTION,READONLY_DATA_SECTION): Delete.

From-SVN: r11316

28 years agosol2.h (CPP_SPEC): Use %(cpp_cpu).
Doug Evans [Tue, 20 Feb 1996 00:10:42 +0000 (00:10 +0000)]
sol2.h (CPP_SPEC): Use %(cpp_cpu).

* sparc/sol2.h (CPP_SPEC): Use %(cpp_cpu).
(ASM_SPEC): Likewise.
(ASM_{DEFAULT,CPU}_SPEC): Use Solaris syntax for sparc64.

From-SVN: r11315

28 years agolite.h: #include aoutos.h.
Doug Evans [Tue, 20 Feb 1996 00:08:09 +0000 (00:08 +0000)]
lite.h: #include aoutos.h.

* sparc/lite.h: #include aoutos.h.
(TARGET_DEFAULT): Use MASK_FOO values.

From-SVN: r11314

28 years ago(force_to_mode, case IOR): Fix typo in commuting IOR and LSHIFTRT.
Richard Kenner [Tue, 20 Feb 1996 00:02:54 +0000 (19:02 -0500)]
(force_to_mode, case IOR): Fix typo in commuting IOR and LSHIFTRT.

From-SVN: r11313

28 years ago* sparc/t-sparcbare (MULTILIB_*): -mv8 renamed to -mcpu=v8.
Doug Evans [Mon, 19 Feb 1996 23:56:30 +0000 (23:56 +0000)]
* sparc/t-sparcbare (MULTILIB_*): -mv8 renamed to -mcpu=v8.

From-SVN: r11312

28 years agot-sparclite (MULTILIB_*): Delete msoft-float and mno-flat, they're the defaults.
Doug Evans [Mon, 19 Feb 1996 23:55:03 +0000 (23:55 +0000)]
t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat, they're the defaults.

* sparc/t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat,
they're the defaults.  Add -mcpu=f934 as synonym for -mfpu.

From-SVN: r11311

28 years agoupdate movdf and movsf splits for 64-bits
David Edelsohn [Mon, 19 Feb 1996 22:45:01 +0000 (22:45 +0000)]
update movdf and movsf splits for 64-bits

From-SVN: r11310

28 years agoremove operand_subword from easy_fp_const
David Edelsohn [Mon, 19 Feb 1996 22:27:14 +0000 (22:27 +0000)]
remove operand_subword from easy_fp_const
support DImode const in TOC

From-SVN: r11309

28 years agoadd AIX assembler doubleword integer syntax
David Edelsohn [Mon, 19 Feb 1996 22:26:19 +0000 (22:26 +0000)]
add AIX assembler doubleword integer syntax

From-SVN: r11308

28 years ago(SWITCH_TAKES_ARG): Restore -R.
Doug Evans [Mon, 19 Feb 1996 18:37:21 +0000 (18:37 +0000)]
(SWITCH_TAKES_ARG): Restore -R.

From-SVN: r11307

28 years ago(EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Zmode.
Richard Earnshaw [Mon, 19 Feb 1996 17:50:20 +0000 (17:50 +0000)]
(EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Zmode.

(SELECT_CC_MODE): return CC_Zmode if the operand is QImode.  Allow LT
and GE comparisons in CC_NOOVmode.
(PREDICATE_CODES): add offsettable_memory_operand and
alignable_memory_operand.

From-SVN: r11306

28 years ago(*zeroextract[qs]i_compare0_scratch): Use const_int_operand for operands 1 and 2.
Richard Earnshaw [Mon, 19 Feb 1996 17:50:20 +0000 (17:50 +0000)]
(*zeroextract[qs]i_compare0_scratch): Use const_int_operand for operands 1 and 2.

(*zeroextract[qs]i_compare0_scratch): Use const_int_operand
for operands 1 and 2.
(split patterns for aligned memory half-word operations): New patterns.
(movhi): Handle memory accesses where the alignment is known in a more
efficient manner.
(*compareqi_eq0): Use CC_Zmode.

From-SVN: r11305

28 years ago(offsettable_memory_operand): New function.
Richard Earnshaw [Mon, 19 Feb 1996 17:50:20 +0000 (17:50 +0000)]
(offsettable_memory_operand): New function.

(alignable_memory_operand): New function.
(gen_rotated_half_load): New function.
(get_arm_condition_code): Extract the mode of the comparison and
use it to generate the correct return value.

From-SVN: r11304

28 years agofix typo in nor.
Michael Meissner [Mon, 19 Feb 1996 13:31:24 +0000 (13:31 +0000)]
fix typo in nor.

From-SVN: r11303

28 years agoUnroll hard register loops if <= 4*HOST_BITS_PER_WIDE_INT registers
Michael Meissner [Mon, 19 Feb 1996 13:23:44 +0000 (13:23 +0000)]
Unroll hard register loops if <= 4*HOST_BITS_PER_WIDE_INT registers

From-SVN: r11302

28 years ago(call_operand): If in REG, only reg 27 valid.
Richard Kenner [Mon, 19 Feb 1996 12:17:19 +0000 (07:17 -0500)]
(call_operand): If in REG, only reg 27 valid.

From-SVN: r11301

28 years ago(operand_subword): For 32-bit targets, return
Richard Earnshaw [Mon, 19 Feb 1996 11:57:13 +0000 (11:57 +0000)]
(operand_subword): For 32-bit targets, return
the appropriate subword of extended precision CONST_DOUBLEs.

From-SVN: r11300

28 years agowarn_sign_compare
Jason Merrill [Mon, 19 Feb 1996 10:32:37 +0000 (10:32 +0000)]
warn_sign_compare

From-SVN: r11299

28 years agowarn_sign_compare
Jason Merrill [Mon, 19 Feb 1996 10:22:57 +0000 (10:22 +0000)]
warn_sign_compare

From-SVN: r11298

28 years ago(yylex...
Richard Kenner [Mon, 19 Feb 1996 02:13:37 +0000 (21:13 -0500)]
(yylex...

(yylex, case '0'..'9','.'): For cases '0' and '1', check for single
digit constant before resorting to general number processing.

From-SVN: r11297

28 years ago(const_umulsi3_highpart): Disable for TARGET_M68060.
Richard Kenner [Mon, 19 Feb 1996 02:06:13 +0000 (21:06 -0500)]
(const_umulsi3_highpart): Disable for TARGET_M68060.

(ftruncdf2, ftruncsf2, muldf3, mulsidi3): Likewise.
(smulsi3_highpart, umulsi3_highpart, umulsidi3): Likewise.

From-SVN: r11296

28 years ago(TARGET_68060): New macro.
Richard Kenner [Mon, 19 Feb 1996 02:05:45 +0000 (21:05 -0500)]
(TARGET_68060): New macro.

(TARGET_SWITCHES): Add -m68060.

From-SVN: r11295

28 years ago(DBX_NO_XREFS): Removed.
Richard Kenner [Mon, 19 Feb 1996 00:29:36 +0000 (19:29 -0500)]
(DBX_NO_XREFS): Removed.

From-SVN: r11294

28 years agoInstall latest version of last patch.
Richard Kenner [Mon, 19 Feb 1996 00:26:39 +0000 (19:26 -0500)]
Install latest version of last patch.

From-SVN: r11293

28 years agoFix typo in comments.
Richard Kenner [Sun, 18 Feb 1996 18:44:00 +0000 (13:44 -0500)]
Fix typo in comments.

From-SVN: r11292

28 years ago(check_format_info): Warn about `L' if -pedantic.
Richard Kenner [Sun, 18 Feb 1996 18:29:45 +0000 (13:29 -0500)]
(check_format_info): Warn about `L' if -pedantic.

From-SVN: r11291

28 years agoc-typeck.c (convert_for_assignment): Bring back conversion to union without a cast...
Paul Eggert [Fri, 16 Feb 1996 20:13:23 +0000 (20:13 +0000)]
c-typeck.c (convert_for_assignment): Bring back conversion to union without a cast...

* c-typeck.c (convert_for_assignment):
Bring back conversion to union without a cast,
undoing the Jan 16 change, but with the following differences:

* The union must have the transparent_union attribute.
* The conversion must be for a function argument.
* Warn consistently about such conversions if pedantic.
* Do not warn about an assignment incompatibility for one union member
  if another union member is compatible with no warning.

From-SVN: r11290

28 years ago(ix86_expand_binary_operator): Allow for operand1 of MINUS to be CONST_INT
Stan Cox [Fri, 16 Feb 1996 16:59:27 +0000 (16:59 +0000)]
(ix86_expand_binary_operator): Allow for operand1 of MINUS to be CONST_INT

From-SVN: r11289

28 years ago(OPTIMIZATION_OPTIONS): call optimization_options
Stan Cox [Fri, 16 Feb 1996 16:51:26 +0000 (16:51 +0000)]
(OPTIMIZATION_OPTIONS): call optimization_options

From-SVN: r11288

28 years ago(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.
Richard Kenner [Fri, 16 Feb 1996 13:39:42 +0000 (08:39 -0500)]
(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.

From-SVN: r11287

28 years agoDon't include alpha.h.
Richard Kenner [Fri, 16 Feb 1996 13:39:20 +0000 (08:39 -0500)]
Don't include alpha.h.

(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.

From-SVN: r11286

28 years ago(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int.
Richard Kenner [Fri, 16 Feb 1996 13:38:40 +0000 (08:38 -0500)]
(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int.

From-SVN: r11285