platform/upstream/gcc.git
31 years ago(expand_binop): For complex mult, compute res in each alternative, not before.
Richard Stallman [Sat, 9 Jan 1993 08:51:21 +0000 (08:51 +0000)]
(expand_binop): For complex mult, compute res in each alternative, not before.

From-SVN: r3165

31 years ago(bootstrap): Pass along CC and libdir in first compile.
Richard Stallman [Sat, 9 Jan 1993 08:19:25 +0000 (08:19 +0000)]
(bootstrap): Pass along CC and libdir in first compile.

From-SVN: r3164

31 years ago(yylex): Don't allow @ in identifier outside of Objective C.
Richard Stallman [Sat, 9 Jan 1993 02:56:59 +0000 (02:56 +0000)]
(yylex): Don't allow @ in identifier outside of Objective C.

From-SVN: r3163

31 years agoCygnus<-->FSF merge.
Brendan Kehoe [Sat, 9 Jan 1993 02:03:56 +0000 (21:03 -0500)]
Cygnus<-->FSF merge.

From-SVN: r3162

31 years agoInitial revision
Brendan Kehoe [Sat, 9 Jan 1993 01:58:44 +0000 (20:58 -0500)]
Initial revision

From-SVN: r3161

31 years ago(BYTE_LOAD_EXTEND, LOAD_EXTEND): New macros.
Richard Kenner [Fri, 8 Jan 1993 22:26:25 +0000 (17:26 -0500)]
(BYTE_LOAD_EXTEND, LOAD_EXTEND): New macros.

(subst, simplify_and_const_int, nonzero_bits, num_sign_bit_copies): Use them.
(subst, case SET): Make a SIGN_EXTEND instead of paradoxical SUBREG if
BYTE_LOADS_SIGN_EXTEND; previously only made ZERO_EXTEND.

From-SVN: r3160

31 years agoComment changes.
Richard Stallman [Fri, 8 Jan 1993 22:02:50 +0000 (22:02 +0000)]
Comment changes.

From-SVN: r3159

31 years ago(assign_parm): Fix typo introduced by previous change.
Richard Kenner [Fri, 8 Jan 1993 21:12:18 +0000 (16:12 -0500)]
(assign_parm): Fix typo introduced by previous change.

From-SVN: r3158

31 years ago(plus_xor_ior_operator): New predicate.
Torbjorn Granlund [Fri, 8 Jan 1993 20:09:26 +0000 (20:09 +0000)]
(plus_xor_ior_operator): New predicate.

From-SVN: r3157

31 years agoInitial revision
James Van Artsdalen [Fri, 8 Jan 1993 09:54:02 +0000 (09:54 +0000)]
Initial revision

From-SVN: r3156

31 years ago(perform_*): Move to i386/perform.h.
James Van Artsdalen [Fri, 8 Jan 1993 09:52:03 +0000 (09:52 +0000)]
(perform_*): Move to i386/perform.h.

Include i386/perform.h.

From-SVN: r3155

31 years agopa.h (target_switches): Add "-mtrailing-colon"
Jeff Law [Fri, 8 Jan 1993 00:03:41 +0000 (17:03 -0700)]
pa.h (target_switches): Add "-mtrailing-colon"

* pa.h (target_switches): Add "-mtrailing-colon"
(ASM_OUTPUT_LABEL): If TARGET_TRAILING_COLON then emit
a colon after the label.
(ASM_OUTPUT_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_COMMON): Likewise.
(ASM_OUTPUT_LOCAL): Likewise.

From-SVN: r3154

31 years agoInclude vax/vax.h, not vax.h.
Richard Kenner [Thu, 7 Jan 1993 23:04:57 +0000 (18:04 -0500)]
Include vax/vax.h, not vax.h.

From-SVN: r3153

31 years agoInlcude vax/vax.h, not vax.h.
Richard Kenner [Thu, 7 Jan 1993 23:04:04 +0000 (18:04 -0500)]
Inlcude vax/vax.h, not vax.h.

From-SVN: r3152

31 years ago(specs): Use GCC_FOR_TARGET.
Jim Wilson [Thu, 7 Jan 1993 22:42:37 +0000 (14:42 -0800)]
(specs): Use GCC_FOR_TARGET.

From-SVN: r3151

31 years ago(install-common): Install c++ and g++ only if cc1plus built.
Jim Wilson [Thu, 7 Jan 1993 22:40:34 +0000 (14:40 -0800)]
(install-common): Install c++ and g++ only if cc1plus built.

From-SVN: r3150

31 years ago(stdio.h): Fix the rename prototype on the rs6000,
Jim Wilson [Thu, 7 Jan 1993 22:35:20 +0000 (14:35 -0800)]
(stdio.h): Fix the rename prototype on the rs6000,

which conflicted with c++ use of new.

From-SVN: r3149

31 years ago(start_decl): Correct order of parameter declarations.
Jim Wilson [Thu, 7 Jan 1993 22:31:22 +0000 (14:31 -0800)]
(start_decl): Correct order of parameter declarations.

From-SVN: r3148

31 years ago(CC): Add -U__STDC__.
Richard Stallman [Thu, 7 Jan 1993 21:52:20 +0000 (21:52 +0000)]
(CC): Add -U__STDC__.

From-SVN: r3147

31 years ago(__udiv_w_sdiv): Replace hard-coded constants 31 with (SI_TYPE_SIZE - 1).
Torbjorn Granlund [Thu, 7 Jan 1993 21:46:47 +0000 (21:46 +0000)]
(__udiv_w_sdiv): Replace hard-coded constants 31 with (SI_TYPE_SIZE - 1).

From-SVN: r3146

31 years agoAdd floating point ld/st indexed patterns.
Torbjorn Granlund [Thu, 7 Jan 1993 21:30:22 +0000 (21:30 +0000)]
Add floating point ld/st indexed patterns.

From-SVN: r3145

31 years ago(output_floatsisf2, output_floatsidf2): Remove.
Torbjorn Granlund [Thu, 7 Jan 1993 20:32:15 +0000 (20:32 +0000)]
(output_floatsisf2, output_floatsidf2): Remove.

From-SVN: r3144

31 years ago(FIXED_REGISTERS): Make register 112 (SAR) not fixed.
Torbjorn Granlund [Thu, 7 Jan 1993 20:31:59 +0000 (20:31 +0000)]
(FIXED_REGISTERS): Make register 112 (SAR) not fixed.

From-SVN: r3143

31 years ago(reg 112:SI recognizers): Remove.
Torbjorn Granlund [Thu, 7 Jan 1993 20:30:22 +0000 (20:30 +0000)]
(reg 112:SI recognizers): Remove.

(main move:SI recognizer): Add alternative for greg -> reg 112.
(floatsisf2 patterns): Put output template here, don't
call output_floatsiXf2.
(floatsidf2 patterns): Likewise.
(floatunssidf2, floatunssisf2): New patterns.
(floatdisf2, floatdidf2): New patterns.
(fix_truncsfdi2, fix_truncdfdi2): New patterns.
(rotrsi3, rotlsi3): New patterns.
(shd optimizers): 2 new patterns.
(ashlsi3, ashrsi3, lshrsi3): Rewrite not to mention SAR.
(zvdep32, vextrs32): New named recognizers.

From-SVN: r3142

31 years ago(reload) [SMALL_REGISTER_CLASSES]: When adding an extra need if the insn uses the...
Richard Stallman [Thu, 7 Jan 1993 05:42:33 +0000 (05:42 +0000)]
(reload) [SMALL_REGISTER_CLASSES]: When adding an extra need if the insn uses the function value return register...

(reload) [SMALL_REGISTER_CLASSES]: When adding an extra
need if the insn uses the function value return register,
likewise add an extra single-reg need for each class in which
the insn needs a group.

From-SVN: r3141

31 years agoentered into RCS
Roland McGrath [Thu, 7 Jan 1993 05:40:40 +0000 (05:40 +0000)]
entered into RCS

From-SVN: r3140

31 years agoFix typos.
Brendan Kehoe [Thu, 7 Jan 1993 01:52:42 +0000 (20:52 -0500)]
Fix typos.

From-SVN: r3139

31 years agoalpha.h (ASM_FILE_START): Change .verstamp ident for BL10.
Brendan Kehoe [Thu, 7 Jan 1993 01:38:58 +0000 (20:38 -0500)]
alpha.h (ASM_FILE_START): Change .verstamp ident for BL10.

        * alpha.h (ASM_FILE_START): Change .verstamp ident for BL10.
        * alpha.md (div/mod): Change calling sequence to agree with BL10.

From-SVN: r3138

31 years agoDon't "make LIB absolute" if already absolute,
Richard Stallman [Thu, 7 Jan 1993 00:31:40 +0000 (00:31 +0000)]
Don't "make LIB absolute" if already absolute,

to avoid problems with the automounter.

From-SVN: r3137

31 years ago(assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and
Richard Stallman [Thu, 7 Jan 1993 00:08:40 +0000 (00:08 +0000)]
(assemble_real): Use `ASM_OUTPUT_BYTE_FLOAT' and
`ASM_OUTPUT_SHORT_FLOAT' for QFmode and HFmode respectively.

From-SVN: r3136

31 years ago(init_reload): Add entries in 'reload_in_optab' for QFmode and HFmode.
Richard Stallman [Thu, 7 Jan 1993 00:08:15 +0000 (00:08 +0000)]
(init_reload): Add entries in 'reload_in_optab' for QFmode and HFmode.

From-SVN: r3135

31 years ago(init_optabs): Add optab entries for QFmode and HFmode.
Richard Stallman [Thu, 7 Jan 1993 00:07:47 +0000 (00:07 +0000)]
(init_optabs): Add optab entries for QFmode and HFmode.

From-SVN: r3134

31 years ago(convert_move): Added code to support new modes QFmode and HFmode.
Richard Stallman [Thu, 7 Jan 1993 00:05:59 +0000 (00:05 +0000)]
(convert_move): Added code to support new modes QFmode and HFmode.

From-SVN: r3133

31 years ago* pa.c (print_operand): Always use "<>" instead of "!=".
Jeff Law [Wed, 6 Jan 1993 23:14:43 +0000 (16:14 -0700)]
* pa.c (print_operand): Always use "<>" instead of "!=".

From-SVN: r3132

31 years agopa.h (target_switches): Add "-mdisable-fpregs" and "-mdisable-indexing.
Jeff Law [Wed, 6 Jan 1993 23:11:59 +0000 (16:11 -0700)]
pa.h (target_switches): Add "-mdisable-fpregs" and "-mdisable-indexing.

* pa.h (target_switches): Add "-mdisable-fpregs" and
"-mdisable-indexing.
(CONDITIONAL_REGISTER_USAGE): If TARGET_DISABLE_FPREGS, then mark
all FP registers as fixed.

From-SVN: r3131

31 years agopa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING.
Jeff Law [Wed, 6 Jan 1993 23:10:44 +0000 (16:10 -0700)]
pa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING.

* pa.md (indexed loads): Disable if TARGET_DISABLE_INDEXING.
(mulsi3, xmpyu): Disable xmpyu if TARGET_DISABLE_FPREGS.

From-SVN: r3130

31 years agoInitial revision
Jeff Law [Wed, 6 Jan 1993 23:09:03 +0000 (16:09 -0700)]
Initial revision

From-SVN: r3129

31 years agoentered into RCS
Richard Stallman [Wed, 6 Jan 1993 22:41:12 +0000 (22:41 +0000)]
entered into RCS

From-SVN: r3128

31 years agoFix typos in last change.
Jeff Law [Wed, 6 Jan 1993 21:58:24 +0000 (14:58 -0700)]
Fix typos in last change.

From-SVN: r3127

31 years agoRecreate x-iris file.
Michael Meissner [Wed, 6 Jan 1993 19:44:43 +0000 (19:44 +0000)]
Recreate x-iris file.

From-SVN: r3126

31 years agopa.md (fmpyadd peepholes): Cleanups suggested by Tege.
Jeff Law [Wed, 6 Jan 1993 19:41:32 +0000 (12:41 -0700)]
pa.md (fmpyadd peepholes): Cleanups suggested by Tege.

From-SVN: r3125

31 years agopa.c (fmpyaddoperands, [...]): Cleanups suggested by Tege.
Jeff Law [Wed, 6 Jan 1993 19:41:06 +0000 (12:41 -0700)]
pa.c (fmpyaddoperands, [...]): Cleanups suggested by Tege.

* pa.c (fmpyaddoperands, fmpysuboperands): Cleanups suggested by
Tege.

From-SVN: r3124

31 years agopa.md (movqi, [...]): Discourage regclass from preferring anything which involves...
Jeff Law [Wed, 6 Jan 1993 17:47:46 +0000 (10:47 -0700)]
pa.md (movqi, [...]): Discourage regclass from preferring anything which involves a FP<->GR copy.

* pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Discourage
regclass from preferring anything which involves a FP<->GR copy.

From-SVN: r3123

31 years agopa.md (millicode expands): Change operand 3 in the expand pattern from a clobber...
Jeff Law [Wed, 6 Jan 1993 17:22:26 +0000 (10:22 -0700)]
pa.md (millicode expands): Change operand 3 in the expand pattern from a clobber of a match_scratch to a...

* pa.md (millicode expands): Change operand 3 in the expand
pattern from a clobber of a match_scratch to a clobber of a
match_operand with a register predicate.  Make appropriate
change in the generated RTL.
(millicode insns): Clobber a match_operand with a register
predicate instead of a match_scratch expression.
* pa.c (emit_hpdiv_const): Likewise.

From-SVN: r3122

31 years agopa.md (millicode expands): Change operand 3 in the expand pattern from a clobber...
Jeff Law [Wed, 6 Jan 1993 17:22:10 +0000 (10:22 -0700)]
pa.md (millicode expands): Change operand 3 in the expand pattern from a clobber of a match_scratch to a...

* pa.md (millicode expands): Change operand 3 in the expand
pattern from a clobber of a match_scratch to a clobber of a
match_operand with a register predicate.  Make appropriate
change in the generated RTL.
(millicode insns): Clobber a match_operand with a register
predicate instead of a match_scratch expression.
* pa.c (emit_hpdiv_const): Likewise.

* pa.md (movsi, movhi, movqi, movdi): Use reg_or_0_operand
consistently.

From-SVN: r3121

31 years agoFix spelling typo.
Jeff Law [Wed, 6 Jan 1993 15:55:05 +0000 (08:55 -0700)]
Fix spelling typo.

From-SVN: r3120

31 years agoDon't "make LIB absolute" if already absolute,
Richard Stallman [Wed, 6 Jan 1993 10:54:53 +0000 (10:54 +0000)]
Don't "make LIB absolute" if already absolute,

to avoid problems with the automounter.

From-SVN: r3119

31 years ago(limits.h): Add #ifndef/#endif around macros that
Richard Stallman [Wed, 6 Jan 1993 10:11:52 +0000 (10:11 +0000)]
(limits.h):  Add #ifndef/#endif around macros that
are supposed to be defined in float.h.

From-SVN: r3118

31 years ago(DEBUG_PRINT_REG): Print regno along with printable name.
James Van Artsdalen [Wed, 6 Jan 1993 07:47:31 +0000 (07:47 +0000)]
(DEBUG_PRINT_REG): Print regno along with printable name.

(CONST_COSTS): Handle integer CONST_DOUBLE correctly.
(PREFERRED_RELOAD_CLASS): Allow integer CONST_DOUBLE into int regs.

From-SVN: r3117

31 years agoRenamed sparcv4.h to sysv4.h.
James Van Artsdalen [Wed, 6 Jan 1993 07:44:32 +0000 (07:44 +0000)]
Renamed sparcv4.h to sysv4.h.

From-SVN: r3116

31 years ago(yylex): Make tokstart an unsigned char *.
Richard Stallman [Wed, 6 Jan 1993 07:28:08 +0000 (07:28 +0000)]
(yylex): Make tokstart an unsigned char *.

From-SVN: r3115

31 years agoUse new file names for included i860 files.
James Van Artsdalen [Wed, 6 Jan 1993 07:16:38 +0000 (07:16 +0000)]
Use new file names for included i860 files.

From-SVN: r3114

31 years agoUse new file names for included sparc files.
James Van Artsdalen [Wed, 6 Jan 1993 06:37:55 +0000 (06:37 +0000)]
Use new file names for included sparc files.

From-SVN: r3113

31 years agoHandle PA configuration files in new subdirectory.
Jeff Law [Wed, 6 Jan 1993 04:53:12 +0000 (21:53 -0700)]
Handle PA configuration files in new subdirectory.

From-SVN: r3112

31 years agoInclude tahoe.h from tahoe/ subdir.
Richard Stallman [Wed, 6 Jan 1993 04:32:00 +0000 (04:32 +0000)]
Include tahoe.h from tahoe/ subdir.

From-SVN: r3111

31 years agoFix unknown symbol error when linking gen* programs.
Michael Meissner [Wed, 6 Jan 1993 03:12:17 +0000 (03:12 +0000)]
Fix unknown symbol error when linking gen* programs.

From-SVN: r3110

31 years ago(Xmu.h): Add missing ${LIB}/.
Jim Wilson [Wed, 6 Jan 1993 03:01:33 +0000 (19:01 -0800)]
(Xmu.h): Add missing ${LIB}/.

From-SVN: r3109

31 years ago(expand_call): Pass NULL_RTX to INIT_CUMULATIVE_ARGS.
Jim Wilson [Wed, 6 Jan 1993 02:59:56 +0000 (18:59 -0800)]
(expand_call): Pass NULL_RTX to INIT_CUMULATIVE_ARGS.

From-SVN: r3108

31 years ago(assign_parms): Pass NULL_RTX to INIT_CUMULATIVE_*.
Jim Wilson [Wed, 6 Jan 1993 02:59:28 +0000 (18:59 -0800)]
(assign_parms): Pass NULL_RTX to INIT_CUMULATIVE_*.

From-SVN: r3107

31 years ago(emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS.
Jim Wilson [Wed, 6 Jan 1993 02:58:54 +0000 (18:58 -0800)]
(emit_library_call): Pass NULL_TREE to INIT_CUMULATIVE_ARGS.

From-SVN: r3106

31 years ago(install-dir): Only make includedir once.
Jim Wilson [Wed, 6 Jan 1993 02:48:33 +0000 (18:48 -0800)]
(install-dir): Only make includedir once.

From-SVN: r3105

31 years ago(do_line): Add pedantic warnings for out of range line
Jim Wilson [Wed, 6 Jan 1993 02:45:34 +0000 (18:45 -0800)]
(do_line): Add pedantic warnings for out of range line
numbers, and non-space characters after the filename.

From-SVN: r3104

31 years ago(c_sizeof): Call force_fit_type only for INTEGER_CST.
Richard Stallman [Tue, 5 Jan 1993 22:52:25 +0000 (22:52 +0000)]
(c_sizeof): Call force_fit_type only for INTEGER_CST.

From-SVN: r3103

31 years agoMove MIPS files into config/mips.
Michael Meissner [Tue, 5 Jan 1993 20:06:50 +0000 (20:06 +0000)]
Move MIPS files into config/mips.

From-SVN: r3102

31 years agoRename decls for vars renamed to _objc_alloc, _objc_dealloc,
Richard Stallman [Tue, 5 Jan 1993 19:55:35 +0000 (19:55 +0000)]
Rename decls for vars renamed to _objc_alloc, _objc_dealloc,

_objc_realloc, _objc_copy, _objc_error.

From-SVN: r3101

31 years ago(component_declarator): Allow attribute after nameless field.
Richard Stallman [Tue, 5 Jan 1993 09:10:17 +0000 (09:10 +0000)]
(component_declarator): Allow attribute after nameless field.

From-SVN: r3100

31 years agoUse new file names for included m68k files.
James Van Artsdalen [Tue, 5 Jan 1993 08:56:35 +0000 (08:56 +0000)]
Use new file names for included m68k files.

From-SVN: r3099

31 years agoChange m68ksgs.h reference to m68k/sgs.h.
James Van Artsdalen [Tue, 5 Jan 1993 08:56:09 +0000 (08:56 +0000)]
Change m68ksgs.h reference to m68k/sgs.h.

From-SVN: r3098

31 years agoUse new files for included m68k files.
James Van Artsdalen [Tue, 5 Jan 1993 08:54:51 +0000 (08:54 +0000)]
Use new files for included m68k files.

From-SVN: r3097

31 years agoUse new file names for included m68k files.
James Van Artsdalen [Tue, 5 Jan 1993 08:47:27 +0000 (08:47 +0000)]
Use new file names for included m68k files.

From-SVN: r3096

31 years agoUse new file names for included m68k files.
James Van Artsdalen [Tue, 5 Jan 1993 08:27:46 +0000 (08:27 +0000)]
Use new file names for included m68k files.

From-SVN: r3095

31 years agoUse new file names for included ns32k files.
James Van Artsdalen [Tue, 5 Jan 1993 05:54:06 +0000 (05:54 +0000)]
Use new file names for included ns32k files.

From-SVN: r3094

31 years ago($os alternatives for sco and isc): Preserve the specified os version if any.
Richard Stallman [Tue, 5 Jan 1993 05:43:42 +0000 (05:43 +0000)]
($os alternatives for sco and isc): Preserve the specified os version if any.

Each alternative handles both 386 and 486, preserving distinction.
($basic_machine alternatives for sco and isc): Deleted.
(i[34]86v32, i[34]86v, i[34]86v4):
Handle both cpus together, preserving distinction.

From-SVN: r3093

31 years ago(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL):
Richard Stallman [Tue, 5 Jan 1993 04:46:25 +0000 (04:46 +0000)]
(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL):

Alternate definitions if NO_UNDERSCORES.

From-SVN: r3092

31 years ago(making dirs and links): If we already made subdirs for a dir foo and foo turns out...
Richard Stallman [Tue, 5 Jan 1993 02:11:29 +0000 (02:11 +0000)]
(making dirs and links): If we already made subdirs for a dir foo and foo turns out to be a symlink outside /usr/include...

(making dirs and links): If we already made subdirs
for a dir foo and foo turns out to be a symlink outside /usr/include,
after we have made a dir for it in ./root/, make similar subdirs there.

From-SVN: r3091

31 years agoInitial revision
Jim Wilson [Mon, 4 Jan 1993 21:58:36 +0000 (13:58 -0800)]
Initial revision

From-SVN: r3090

31 years agoDelete `no change needed' messages.
Jim Wilson [Mon, 4 Jan 1993 21:55:26 +0000 (13:55 -0800)]
Delete `no change needed' messages.

From-SVN: r3089

31 years agoDelete `no change needed' messages. Delete all uses of `ex'.
Jim Wilson [Mon, 4 Jan 1993 21:55:03 +0000 (13:55 -0800)]
Delete `no change needed' messages.  Delete all uses of `ex'.

From-SVN: r3088

31 years ago(install-common-headers): Pipe grep output to /dev/null.
Torbjorn Granlund [Mon, 4 Jan 1993 19:05:01 +0000 (19:05 +0000)]
(install-common-headers): Pipe grep output to /dev/null.

From-SVN: r3087

31 years ago(CC): Add -w.
Richard Stallman [Mon, 4 Jan 1993 09:04:54 +0000 (09:04 +0000)]
(CC): Add -w.

From-SVN: r3086

31 years agoFix typo (missing line) in last change.
Jeff Law [Mon, 4 Jan 1993 06:56:54 +0000 (23:56 -0700)]
Fix typo (missing line) in last change.

From-SVN: r3085

31 years ago(perform_*): Rename macro args to arg0, arg1.
Richard Stallman [Mon, 4 Jan 1993 05:46:01 +0000 (05:46 +0000)]
(perform_*): Rename macro args to arg0, arg1.

From-SVN: r3084

31 years ago* pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
Jeff Law [Mon, 4 Jan 1993 02:37:17 +0000 (19:37 -0700)]
* pa.h (JUMP_TABLES_IN_TEXT_SECTION): Define.

From-SVN: r3083

31 years agojump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc is...
Jeff Law [Mon, 4 Jan 1993 02:22:40 +0000 (19:22 -0700)]
jump.c (jump_optimize, [...]): Do this regardless of BRANCH_COST if HAVE_incscc is defined.

* jump.c (jump_optimize, case if (foo) b++):  Do this regardless
of BRANCH_COST if HAVE_incscc is defined.

From-SVN: r3082

31 years agopa.md (scc insn): Name this pattern "scc".
Jeff Law [Mon, 4 Jan 1993 02:22:25 +0000 (19:22 -0700)]
pa.md (scc insn): Name this pattern "scc".

* pa.md (scc insn): Name this pattern "scc".
(negscc, incscc, cmov): New patterns.

From-SVN: r3081

31 years ago* pa.c (incscc_operator): New function.
Jeff Law [Mon, 4 Jan 1993 02:22:04 +0000 (19:22 -0700)]
* pa.c (incscc_operator): New function.

From-SVN: r3080

31 years ago* pa.h (apparent_fsize, actual_fsize): Delete useless declarations.
Jeff Law [Mon, 4 Jan 1993 02:19:14 +0000 (19:19 -0700)]
* pa.h (apparent_fsize, actual_fsize): Delete useless declarations.

From-SVN: r3079

31 years ago(main): Recognize and remove .cxx as filename suffix.
Richard Stallman [Mon, 4 Jan 1993 01:38:18 +0000 (01:38 +0000)]
(main): Recognize and remove .cxx as filename suffix.

From-SVN: r3078

31 years agoBump meissner version # to 34.
Michael Meissner [Mon, 4 Jan 1993 00:42:18 +0000 (00:42 +0000)]
Bump meissner version # to 34.

From-SVN: r3077

31 years agoAllow saving FP regs at offset 0 of sp (leaf func that saves no GP regs).
Michael Meissner [Mon, 4 Jan 1993 00:37:33 +0000 (00:37 +0000)]
Allow saving FP regs at offset 0 of sp (leaf func that saves no GP regs).

From-SVN: r3076

31 years ago(block_alloc): Generalize tying so we can tie any operand with the output unless...
Richard Kenner [Mon, 4 Jan 1993 00:00:20 +0000 (19:00 -0500)]
(block_alloc): Generalize tying so we can tie any operand with the output unless some operand must be in the same register as the output...

(block_alloc): Generalize tying so we can tie any operand with the
output unless some operand must be in the same register as the output,
in which case only try tying that operand.

From-SVN: r3075

31 years ago(rtx_alloc): Clear common area of rtx in a portable manner.
Richard Kenner [Sun, 3 Jan 1993 23:59:45 +0000 (18:59 -0500)]
(rtx_alloc): Clear common area of rtx in a portable manner.

From-SVN: r3074

31 years agopa.h (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () now does the whole calcula...
Jeff Law [Sun, 3 Jan 1993 19:06:42 +0000 (12:06 -0700)]
pa.h (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size () now does the whole calculation, including rounding.

* pa.h  (INITIAL_FRAME_POINTER_OFFSET): compute_frame_size ()
now does the whole calculation, including rounding.
(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Don't pass leaf_function
to output_function_{prologue,epilogue}.
(DELAY_SLOTS_FOR_EPILOGUE): Call hppa_epilogue_delay_slots ().

From-SVN: r3073

31 years agopa.c (apparent_fsize): Delete variable.
Jeff Law [Sun, 3 Jan 1993 19:06:11 +0000 (12:06 -0700)]
pa.c (apparent_fsize): Delete variable.

* pa.c  (apparent_fsize): Delete variable.
(compute_frame_size): Many changes. Return the total frame size,
including space for "magic" stuff at the top of the stack and any
rounding for the Snake.
(output_function_prologue): Don't take a leaf_function argument;
Decide that based on frame size and frame_pointer_needed.
Don't emit any frame diddling code if actual_fsize is 0.
(output_function_epilogue): Don't take leaf_function argument.
Don't do anything if no frame.
Keep stack pointer aligned to 64 bytes before loading from old
frame pointer.
(hppa_epilogue_delay_slots): Only if there is no frame will we
have an empty delay slot to fill.
(eligible_for_epilogue_delay): Don't check "leaf_function" anymore.

From-SVN: r3072

31 years agopa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
Jeff Law [Sun, 3 Jan 1993 19:03:54 +0000 (12:03 -0700)]
pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.

* pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
Give HIGH expressions a small cost with CONST, SYMBOL_REF,
and LABEL_REF being twice as expensive as HIGH.

From-SVN: r3071

31 years agopa.c (fmpyaddoperands): Verifys given registers are suitable for use in fmpyadd instr...
Jeff Law [Sun, 3 Jan 1993 19:02:45 +0000 (12:02 -0700)]
pa.c (fmpyaddoperands): Verifys given registers are suitable for use in fmpyadd instructions.

* pa.c (fmpyaddoperands): Verifys given registers are suitable for
use in fmpyadd instructions.
(fmpysuboperands): Likewise, but for fmpysub instructions.

From-SVN: r3070

31 years agopa.md (fmpyadd peepholes): New peepholes to issue independent floating point multiply...
Jeff Law [Sun, 3 Jan 1993 19:02:27 +0000 (12:02 -0700)]
pa.md (fmpyadd peepholes): New peepholes to issue independent floating point multiply and add instructions...

* pa.md (fmpyadd peepholes): New peepholes to issue independent
floating point multiply and add instructions at the same time.
(fmpysub peepholes): Likewise for multiply and subtract instructions.

From-SVN: r3069

31 years agopa.c (hppa_save_pic_table_rtx): New variable.
Jeff Law [Sun, 3 Jan 1993 18:59:12 +0000 (11:59 -0700)]
pa.c (hppa_save_pic_table_rtx): New variable.

* pa.c (hppa_save_pic_table_rtx): New variable.
(finalize_pic): Setup hppa_save_pic_table_rtx..

From-SVN: r3068

31 years agopa.h (FIXED_REGISTERS, [...]): r3 isn't fixed!
Jeff Law [Sun, 3 Jan 1993 18:58:56 +0000 (11:58 -0700)]
pa.h (FIXED_REGISTERS, [...]): r3 isn't fixed!

* pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed!
(REG_ALLOC_ORDER): Move r3 up in the allocation order.
(HAVE_ATEXIT): Define.

From-SVN: r3067

31 years agopa.md (call, call_value): If flag_pic, emit restore of PIC table register.
Jeff Law [Sun, 3 Jan 1993 18:58:36 +0000 (11:58 -0700)]
pa.md (call, call_value): If flag_pic, emit restore of PIC table register.

* pa.md (call, call_value): If flag_pic, emit restore of PIC table
register.
(call_interal, call_value_internal): Name matching insns.
(movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't
match memory to memory moves.

From-SVN: r3066