platform/upstream/gcc.git
30 years ago(get_parm_info...
Richard Kenner [Mon, 30 Aug 1993 20:13:42 +0000 (16:13 -0400)]
(get_parm_info...

(get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, promote all
integral types shorter than int, including short enums.

From-SVN: r5228

30 years ago(output_toc): Use TARGET_NO_FP_IN_TOC.
Richard Kenner [Sun, 29 Aug 1993 22:34:12 +0000 (18:34 -0400)]
(output_toc): Use TARGET_NO_FP_IN_TOC.

From-SVN: r5227

30 years ago(TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC.
Richard Kenner [Sun, 29 Aug 1993 22:33:46 +0000 (18:33 -0400)]
(TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC.

(TARGET_SWITCHES): Rearrange to have three TOC choices.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC.

From-SVN: r5226

30 years ago(SELECT_SECTION): Simplify sdata_section test.
Jim Wilson [Sat, 28 Aug 1993 19:22:32 +0000 (12:22 -0700)]
(SELECT_SECTION): Simplify sdata_section test.

From-SVN: r5225

30 years ago(CPP_SPEC): Use include_v not include-v.
Jim Wilson [Sat, 28 Aug 1993 19:19:20 +0000 (12:19 -0700)]
(CPP_SPEC): Use include_v not include-v.

(LINK_SPEC): Add missing `-' before `k' option.
(PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG.
(SDB_DEBUGGING_INFO): Define.
(MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-.
(LINK_LIBGCC_SPECIAL_1): Define.
(NAME__MAIN, SYMBOL__MAIN): Define.

From-SVN: r5224

30 years ago(call+1...
Jim Wilson [Sat, 28 Aug 1993 19:04:13 +0000 (12:04 -0700)]
(call+1...

(call+1, call+2, call_value+1, untyped_call+1): Split
into two patterns, one using address_operand and 'p', the other
immediate_operand and 'i'.

From-SVN: r5223

30 years ago(EXTRA_CONSTRAINT): Delete 'S'.
Jim Wilson [Sat, 28 Aug 1993 19:03:39 +0000 (12:03 -0700)]
(EXTRA_CONSTRAINT): Delete 'S'.

From-SVN: r5222

30 years ago(nonzero_bits): Fix reversed test for when we need to insert extra bits when sizes...
Richard Kenner [Fri, 27 Aug 1993 22:47:38 +0000 (18:47 -0400)]
(nonzero_bits): Fix reversed test for when we need to insert extra bits when sizes differ.

(nonzero_bits): Fix reversed test for when we need to insert extra bits when
sizes differ.
(nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning integer
mode; remove now-redundant test.

From-SVN: r5221

30 years ago(LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.
Richard Kenner [Fri, 27 Aug 1993 19:43:01 +0000 (15:43 -0400)]
(LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.

From-SVN: r5220

30 years ago(TARGET_MINIMAL_TOC): New macro.
Jim Wilson [Fri, 27 Aug 1993 17:16:17 +0000 (10:16 -0700)]
(TARGET_MINIMAL_TOC): New macro.

(TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc.
(ELIMINABLE_REGS): Add elimination for r30.
(CAN_ELIMINATE): Add case for r30.
(INITIAL_ELIMINATION_OFFSET): Add case for r30.
(toc_section): When TARET_MINIMAL_TOC, initialize toc_table.

From-SVN: r5219

30 years ago(print_operand_address): When TARGET_MINIMAL_TOC, use r30 instead of r2 for TOC refer...
Jim Wilson [Fri, 27 Aug 1993 17:15:28 +0000 (10:15 -0700)]
(print_operand_address): When TARGET_MINIMAL_TOC, use r30 instead of r2 for TOC references.

(print_operand_address): When TARGET_MINIMAL_TOC, use
r30 instead of r2 for TOC references.
(output_prologue): If TARGET_MINIMAL_TOC, and the constant pool
is needed, then setup r30.
(output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc.

From-SVN: r5218

30 years agoCygnus<->FSF merge.
Brendan Kehoe [Thu, 26 Aug 1993 22:30:59 +0000 (18:30 -0400)]
Cygnus<->FSF merge.

From-SVN: r5217

30 years agoInitial revision
Doug Evans [Thu, 26 Aug 1993 21:57:10 +0000 (21:57 +0000)]
Initial revision

From-SVN: r5216

30 years agoadd h8/300h support
Doug Evans [Thu, 26 Aug 1993 21:57:10 +0000 (21:57 +0000)]
add h8/300h support

From-SVN: r5215

30 years ago(apply_args_egister_offset): Don't use ANSI-style definition.
Richard Kenner [Thu, 26 Aug 1993 09:58:46 +0000 (05:58 -0400)]
(apply_args_egister_offset): Don't use ANSI-style definition.

From-SVN: r5214

30 years agoexpmed.c (store_bit_field): Do not use bitfield instructions for STRICT_ALIGNMENT...
Jeff Law [Wed, 25 Aug 1993 23:38:10 +0000 (17:38 -0600)]
expmed.c (store_bit_field): Do not use bitfield instructions for STRICT_ALIGNMENT machines if...

* expmed.c (store_bit_field): Do not use bitfield instructions for
STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as
the MEM's mode.

From-SVN: r5213

30 years agoformat_char_info_print_table, "p"): Allow width.
Richard Kenner [Wed, 25 Aug 1993 23:16:55 +0000 (19:16 -0400)]
format_char_info_print_table, "p"): Allow width.

From-SVN: r5212

30 years ago(output_{pro,epi}log): Don't need no-ops after calls to functions to
Richard Kenner [Tue, 24 Aug 1993 22:36:11 +0000 (18:36 -0400)]
(output_{pro,epi}log): Don't need no-ops after calls to functions to
save and restore FP regs.

From-SVN: r5211

30 years agopa.h (STACK_BOUNDARY): Stack pointer is always 512 bit (64 byte) aligned.
Jeff Law [Tue, 24 Aug 1993 20:40:20 +0000 (14:40 -0600)]
pa.h (STACK_BOUNDARY): Stack pointer is always 512 bit (64 byte) aligned.

        * pa.h (STACK_BOUNDARY): Stack pointer is always 512 bit (64 byte)
        aligned.

From-SVN: r5210

30 years ago* pa.c (compute_frame_size): Always align stack to 64 byte boundary.
Jeff Law [Tue, 24 Aug 1993 20:40:02 +0000 (14:40 -0600)]
* pa.c (compute_frame_size): Always align stack to 64 byte boundary.

From-SVN: r5209

30 years ago-mlarge-align support; block profiling support
Michael Meissner [Tue, 24 Aug 1993 19:43:07 +0000 (19:43 +0000)]
-mlarge-align support; block profiling support

From-SVN: r5208

30 years agopa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of output_asm_label.
Jeff Law [Tue, 24 Aug 1993 18:03:33 +0000 (12:03 -0600)]
pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of output_asm_label.

* pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead
of output_asm_label.

From-SVN: r5207

30 years agoInitial revision
Kresten Krab Thorup [Tue, 24 Aug 1993 10:05:25 +0000 (10:05 +0000)]
Initial revision

From-SVN: r5206

30 years ago(objc_msg_sendv): Use new encoding facilities.
Kresten Krab Thorup [Tue, 24 Aug 1993 10:01:23 +0000 (10:01 +0000)]
(objc_msg_sendv): Use new encoding facilities.

(__objc_update_dispatch_table_for_class):
        Don't free dtable... (memory leak to make posing work)
(__objc_update_dispatch_table_for_class):
        Free old dispatch table and install a new.

From-SVN: r5205

30 years ago(nil_method): Don't define it, import it from sendmsg.c.
Kresten Krab Thorup [Tue, 24 Aug 1993 10:00:49 +0000 (10:00 +0000)]
(nil_method): Don't define it, import it from sendmsg.c.

(arglist_t): Data-definition changed.

From-SVN: r5204

30 years ago(CLS_SETNUMBER): Clear old number
Kresten Krab Thorup [Tue, 24 Aug 1993 10:00:19 +0000 (10:00 +0000)]
(CLS_SETNUMBER): Clear old number

From-SVN: r5203

30 years ago(class_pose_as): lazy copy dtables.
Kresten Krab Thorup [Tue, 24 Aug 1993 09:59:41 +0000 (09:59 +0000)]
(class_pose_as): lazy copy dtables.

#include sarray.h
(class_pose_as): Rewritten

From-SVN: r5202

30 years ago(-performv): Use new objc_msg_sendv.
Kresten Krab Thorup [Tue, 24 Aug 1993 09:59:14 +0000 (09:59 +0000)]
(-performv): Use new objc_msg_sendv.

From-SVN: r5201

30 years ago(sendmsg.c, fflags, xforward): Targets removed;
Kresten Krab Thorup [Tue, 24 Aug 1993 09:58:45 +0000 (09:58 +0000)]
(sendmsg.c, fflags, xforward): Targets removed;

(OBJC_O): Added encoding.o;
(OBJC_H): Added encoding.h, removed mutex.h.

From-SVN: r5200

30 years ago(offset_is_register): New variable
Kresten Krab Thorup [Tue, 24 Aug 1993 09:56:48 +0000 (09:56 +0000)]
(offset_is_register): New variable

(offset_is_register): New variable
        (forwarding_offset): Use apply_args_register_offset to get
        register offset.
        (encode_method_def, encode_method_prototype): Prepend argument
        offset by '+' if passed in register.
        (apply_args_register_offset): Added declaration.
(generate_method_descriptors, generate_ivar_lists,
        generate_dispatch_tables): Reorganized use of constructors.
        (build_descriptor_table_initializer, build_ivar_list_initializer,
        build_dispatch_table_initializer): Removed argument `int *size'.

From-SVN: r5199

30 years ago(apply_args_register_offset): New function
Kresten Krab Thorup [Tue, 24 Aug 1993 09:53:21 +0000 (09:53 +0000)]
(apply_args_register_offset): New function

(apply_args_register_offset): New function
(apply_args_register_offset): New function
(apply_args_reg_offset): New variable
(apply_args_size): Added initialization of apply_args_reg_offset.

From-SVN: r5198

30 years agopa.h (TARGET_TRAILING_COLON): Delete switch.
Jeff Law [Mon, 23 Aug 1993 23:37:04 +0000 (17:37 -0600)]
pa.h (TARGET_TRAILING_COLON): Delete switch.

* pa.h (TARGET_TRAILING_COLON): Delete switch.
TARGET_GAS now controls the use of trailing colons.

From-SVN: r5197

30 years ago(ASM_LONG): Move from dpx2.h.
Richard Kenner [Mon, 23 Aug 1993 22:45:43 +0000 (18:45 -0400)]
(ASM_LONG): Move from dpx2.h.

From-SVN: r5196

30 years ago(MOTOROLA): Define this.
Richard Kenner [Mon, 23 Aug 1993 22:45:15 +0000 (18:45 -0400)]
(MOTOROLA): Define this.

(VERSADOS): This the name of the DPX2 assembler. Define this in case.
(USG): Define this.
(SGS_NO_LI): define this to suppress jump table usage.
(TARGET_DEFAULT): Define this to 3 inside the conditional USE_GAS since
bitfields do not work a clean way on DPX2.
(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, SELECT_RTX_SECTION):
#undef these.
(READONLY_DATA_SECTION): Define to data_section.
(*_ASM_OP, ASM_OUTPUT_*): Define these accordingly to the native assembler
syntax.
(LONG_DOUBLE_TYPE_SIZE): Set to 64 to not use XFmode.
(REAL_ARITHMETIC): Define this to use the software floating point emulator.
(JUMP_TABLES_IN_TEXT_SECTION): Define this to 1.
(FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Override m68k.h default.
(ASM_OUTPUT_ASCII): add a new variable to take care of the lentgh of the
operand field which must be < 80 chars.
(PRINT_OPERAND_ADDRESS): Override m68k.h default.
(PUT_SDB_TYPE): Output type in decimal.
(PUT_SDB_FUNCTION_[START|END]): Override sdbout.c default.
(PUT_SDB_BLOCK_[START|END]): Override sdbout.c default.

From-SVN: r5195

30 years ago(twoval_comparison_p): Add new arg, SAVE_P; all callers changed.
Richard Kenner [Mon, 23 Aug 1993 22:33:11 +0000 (18:33 -0400)]
(twoval_comparison_p): Add new arg, SAVE_P; all callers changed.

(fold, case EQ_EXPR): If SAVE_P is true after call to twoval_comparison_p
call save_expr on the expression we make.

From-SVN: r5194

30 years agoIf NO_UNDERSCORE is defined, elf compiler defaults to -mno-underscores
Michael Meissner [Mon, 23 Aug 1993 14:56:10 +0000 (14:56 +0000)]
If NO_UNDERSCORE is defined, elf compiler defaults to -mno-underscores

From-SVN: r5193

30 years ago* pa.md (untyped_call): New define_expand.
Jeff Law [Mon, 23 Aug 1993 03:38:16 +0000 (21:38 -0600)]
* pa.md (untyped_call): New define_expand.

From-SVN: r5192

30 years ago* expr.c (expand_builtin_apply): Fix typo.
Jeff Law [Mon, 23 Aug 1993 03:37:09 +0000 (21:37 -0600)]
* expr.c (expand_builtin_apply): Fix typo.

From-SVN: r5191

31 years agoCorrect last change.
Ian Lance Taylor [Fri, 20 Aug 1993 16:25:56 +0000 (16:25 +0000)]
Correct last change.

From-SVN: r5190

31 years ago(simplify_shift_const...
Jim Wilson [Thu, 19 Aug 1993 23:17:58 +0000 (16:17 -0700)]
(simplify_shift_const...

(simplify_shift_const, XOR case): When applying
distributive law, use shift_mode and GET_MODE (varop) instead of
result_mode.

From-SVN: r5189

31 years ago(scc): Fix typo in scc with compare and set.
Richard Kenner [Thu, 19 Aug 1993 22:27:01 +0000 (18:27 -0400)]
(scc): Fix typo in scc with compare and set.

From-SVN: r5188

31 years ago(can_combine_p): Don't reject SUBREG assignments here.
Richard Kenner [Thu, 19 Aug 1993 20:20:37 +0000 (16:20 -0400)]
(can_combine_p): Don't reject SUBREG assignments here.

(subst): Instead, do it here, but also allow it in as a nested SUBREG since
the inner one will be eliminated.
(simplify_and_const_int): Convert (and (neg X) (const_int 1)) to a shift
when X is known to be either 0 or 1.

From-SVN: r5187

31 years ago(fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons or
Richard Kenner [Thu, 19 Aug 1993 12:28:38 +0000 (08:28 -0400)]
(fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons or
BIT_AND_EXPR with constant 1.

From-SVN: r5186

31 years ago(SELECT_SECTION): Put object in sdata only if size is known, i.e.
Jim Wilson [Thu, 19 Aug 1993 03:36:41 +0000 (20:36 -0700)]
(SELECT_SECTION): Put object in sdata only if size is known, i.e.

(SELECT_SECTION): Put object in sdata only if size is
known, i.e. greater than 0.

From-SVN: r5185

31 years ago(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object being...
Richard Kenner [Wed, 18 Aug 1993 23:30:08 +0000 (19:30 -0400)]
(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object being...

(try_combine): Don't split a PARALLEL of a SIGN_EXTEND and the object
being sign extended if we have made assumptions about the form the
I2DEST.

From-SVN: r5184

31 years ago(nonzero_bits): Handle case when BYTE_LOADS_EXTEND is not on and we
Richard Kenner [Wed, 18 Aug 1993 21:48:33 +0000 (17:48 -0400)]
(nonzero_bits): Handle case when BYTE_LOADS_EXTEND is not on and we
are asked for something in a mode wider than it.

From-SVN: r5183

31 years agopa.md (movdf insn): Distinguish between offsettable and nonoffsettable memory locatio...
Jeff Law [Wed, 18 Aug 1993 16:34:05 +0000 (10:34 -0600)]
pa.md (movdf insn): Distinguish between offsettable and nonoffsettable memory locations when...

        * pa.md (movdf insn): Distinguish between offsettable and
        nonoffsettable memory locations when loading/storing a GR.
        (movdi insn): Likewise.  Loading a DImode constant can take
        as many os 4 insns.

From-SVN: r5182

31 years agopa.md (zero_extendqihi2): No need to explicitly set a length, the defaults are correct.
Jeff Law [Wed, 18 Aug 1993 16:26:12 +0000 (10:26 -0600)]
pa.md (zero_extendqihi2): No need to explicitly set a length, the defaults are correct.

        * pa.md (zero_extendqihi2): No need to explicitly set a length,
        the defaults are correct.
        (zero_extendqisi2, floatsisf2, floatsidf2): Likewise.
        (floatdisf2, floatdidf2, fix_truncsfsi2): Likewise.
        (fix_truncdfsi2, fix_truncsfdi2, fix_truncdfdi2): Likewise.

From-SVN: r5181

31 years agopa.c (emit_move_sequence): Check both reload_in_progress and reload_completed when...
Jeff Law [Wed, 18 Aug 1993 06:50:55 +0000 (00:50 -0600)]
pa.c (emit_move_sequence): Check both reload_in_progress and reload_completed when...

* pa.c (emit_move_sequence): Check both reload_in_progress and
reload_completed when choosing a scratch/temporary register.

From-SVN: r5180

31 years agopa.md (high for symbolic operands): TARGET_KERNEL version is now default.
Jeff Law [Wed, 18 Aug 1993 06:45:51 +0000 (00:45 -0600)]
pa.md (high for symbolic operands): TARGET_KERNEL version is now default.

        * pa.md (high for symbolic operands): TARGET_KERNEL version is
        now default.  Delete ! TARGET_KERNEL version.

From-SVN: r5179

31 years agopa.c (emit_move_sequence): Always handle secondary reloads for symbolic addresses.
Jeff Law [Wed, 18 Aug 1993 06:45:41 +0000 (00:45 -0600)]
pa.c (emit_move_sequence): Always handle secondary reloads for symbolic addresses.

        * pa.c (emit_move_sequence): Always handle secondary reloads for
        symbolic addresses.
        (secondary_reload_class): Symbolic operands always need a secondary
        reload from R1_REGS if their target class is not R1_REGS.

From-SVN: r5178

31 years ago* pa.h (TARGET_KERNEL): Delete switch and all references to it.
Jeff Law [Wed, 18 Aug 1993 06:45:29 +0000 (00:45 -0600)]
* pa.h (TARGET_KERNEL): Delete switch and all references to it.

From-SVN: r5177

31 years agopa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.
Jeff Law [Wed, 18 Aug 1993 06:41:27 +0000 (00:41 -0600)]
pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.

        * pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off.
        * pa-hpux7.h (DEFAULT_GDB_EXTENSIONS): Likewise.

From-SVN: r5176

31 years ago* pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensions are on by default.
Jeff Law [Wed, 18 Aug 1993 06:38:13 +0000 (00:38 -0600)]
* pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensions are on by default.

From-SVN: r5175

31 years agopa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.
Jeff Law [Wed, 18 Aug 1993 06:35:21 +0000 (00:35 -0600)]
pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.

        * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS.
        * pa-gux7.h, pa-utahmach.h, pa.h (TARGET_DEFAULT): Likewise.
        * pa1-ghpux.h, pa1-utahmach.h, pa1.h (TARGET_DEFAULT): Likewise.

From-SVN: r5174

31 years agopa.h (TARGET_GAS): New target flag to control use of GAS specific assembler directives.
Jeff Law [Wed, 18 Aug 1993 06:34:51 +0000 (00:34 -0600)]
pa.h (TARGET_GAS): New target flag to control use of GAS specific assembler directives.

        * pa.h (TARGET_GAS): New target flag to control use of GAS specific
        assembler directives.
        (TARGET_SWITCHES): Support -mgas and -mno-gas.
        (ASM_DECLARE_FUNCTION_NAME): If TARGET_GAS, then emit .PARAM directives
        for static functions so that argument relocations work.

From-SVN: r5173

31 years agopa.c (hppa_legitimize_address): Rework address computation for x[n - m] so that probl...
Jeff Law [Wed, 18 Aug 1993 06:28:39 +0000 (00:28 -0600)]
pa.c (hppa_legitimize_address): Rework address computation for x[n - m] so that problems with implicit space...

        * pa.c (hppa_legitimize_address): Rework address computation
        for x[n - m] so that problems with implicit space register
        selection are avoided.

From-SVN: r5172

31 years ago* pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint.
Jeff Law [Wed, 18 Aug 1993 06:23:25 +0000 (00:23 -0600)]
* pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint.

From-SVN: r5171

31 years agopa.md (call_internal_symref): Make pattern unavailable if TARGET_LONG_CALLS.
Jeff Law [Wed, 18 Aug 1993 06:22:49 +0000 (00:22 -0600)]
pa.md (call_internal_symref): Make pattern unavailable if TARGET_LONG_CALLS.

        * pa.md (call_internal_symref): Make pattern unavailable if
        TARGET_LONG_CALLS.
        (call_value_internal_symref): Likewise.

From-SVN: r5170

31 years ago(tablejump): Now SImode and uses cased.
Richard Kenner [Mon, 16 Aug 1993 22:59:00 +0000 (18:59 -0400)]
(tablejump): Now SImode and uses cased.

From-SVN: r5169

31 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.
Richard Kenner [Mon, 16 Aug 1993 22:58:36 +0000 (18:58 -0400)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.

(CASE_VECTOR_MODE): Now SImode; was HImode.

From-SVN: r5168

31 years ago(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.
Richard Kenner [Mon, 16 Aug 1993 22:58:03 +0000 (18:58 -0400)]
(ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.

From-SVN: r5167

31 years ago(fold...
Richard Kenner [Mon, 16 Aug 1993 22:47:39 +0000 (18:47 -0400)]
(fold...

(fold, case EQ_EXPR): Re-enable converting signed MOD operations to
unsigned when inside comparisons against zero, but only when the
second operand of the MOD is an integral power of two.

From-SVN: r5166

31 years agoFixed va_list problem in _int_varargs.h
John Hassey [Mon, 16 Aug 1993 19:42:38 +0000 (19:42 +0000)]
Fixed va_list problem in _int_varargs.h

From-SVN: r5165

31 years ago*** empty log message ***
Roland McGrath [Mon, 16 Aug 1993 19:10:25 +0000 (19:10 +0000)]
*** empty log message ***

From-SVN: r5164

31 years ago(use_crosses_set_p): Check for partially overlapping hard regs.
Richard Kenner [Mon, 16 Aug 1993 15:16:14 +0000 (11:16 -0400)]
(use_crosses_set_p): Check for partially overlapping hard regs.

From-SVN: r5163

31 years agoreorg.c (find_end_label): If a suitable RETURN insn exists at the end of the current...
Jeff Law [Mon, 16 Aug 1993 00:16:56 +0000 (18:16 -0600)]
reorg.c (find_end_label): If a suitable RETURN insn exists at the end of the current function...

        * reorg.c (find_end_label): If a suitable RETURN insn exists at
        the end of the current function, place a label in front of it
        for the end_of_function_label.

From-SVN: r5162

31 years ago(declare_hidden_char_array): New function to factor out duplicate code in declare_fun...
Richard Stallman [Sun, 15 Aug 1993 09:30:20 +0000 (09:30 +0000)]
(declare_hidden_char_array): New function to factor out duplicate code in declare_function_name.

(declare_hidden_char_array): New function to
factor out duplicate code in declare_function_name.
Don't set DECL_EXTERNAL (which is illegal without TREE_PUBLIC)
to prevent output; instead, set TREE_ASM_WRITTEN.

(declare_function_name): Use declare_hidden_char_array.

From-SVN: r5161

31 years ago(check_format): For scan of "%["...
Richard Stallman [Sat, 14 Aug 1993 03:22:24 +0000 (03:22 +0000)]
(check_format): For scan of "%["...

(check_format): For scan of "%[", skip over scan set
til closing ']' to avoid processing it as ordinary format characters.

From-SVN: r5160

31 years ago(expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P appropriately when
Richard Kenner [Fri, 13 Aug 1993 23:26:34 +0000 (19:26 -0400)]
(expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P appropriately when
the result is a MEM.

From-SVN: r5159

31 years ago(ASM_OUTPUT_ALIGN_CODE): Override as no-op.
Richard Stallman [Fri, 13 Aug 1993 21:09:57 +0000 (21:09 +0000)]
(ASM_OUTPUT_ALIGN_CODE): Override as no-op.

From-SVN: r5158

31 years agoComment fix.
Richard Stallman [Fri, 13 Aug 1993 19:00:02 +0000 (19:00 +0000)]
Comment fix.

From-SVN: r5157

31 years ago(ASM_OUTPUT_ALIGN_CODE): Override to avoid generating a second argument.
Richard Stallman [Fri, 13 Aug 1993 18:59:37 +0000 (18:59 +0000)]
(ASM_OUTPUT_ALIGN_CODE): Override to avoid generating a second argument.

From-SVN: r5156

31 years ago(LONG_DOUBLE_TYPE_SIZE): Define to 128.
Jim Wilson [Fri, 13 Aug 1993 18:32:32 +0000 (11:32 -0700)]
(LONG_DOUBLE_TYPE_SIZE): Define to 128.

From-SVN: r5155

31 years ago(expand_inline_function): Copy args that are in hard regs instead of
Richard Kenner [Fri, 13 Aug 1993 18:30:00 +0000 (14:30 -0400)]
(expand_inline_function): Copy args that are in hard regs instead of
substiting them directly into insns.

From-SVN: r5154

31 years ago(GET_REAL, PUT_REAL): Add TFmode versions.
Jim Wilson [Fri, 13 Aug 1993 18:28:49 +0000 (11:28 -0700)]
(GET_REAL, PUT_REAL): Add TFmode versions.

(MAXDECEXP, MINDECEXP): New decimal exponent limits
that vary with definition of LONG_DOUBLE_TYPE_SIZE.
(endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg):
Add cases for TFmode.
(etartdouble): New function converts REAL_VALUE_TYPE to TFmode
for use by ASM_OUTPUT_LONG_DOUBLE.
(edivm, emulm): Ifdef out, replace by faster multiply and divide.
(etoe113, toe113, e113toe): New type conversions for TFmode.
(asctoe113, e113toasc): New TFmode binary <-> decimal conversions.
(at top level): Define constants ezero, eone, emtens, etens, ...
in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and
set NE to 10.  Otherwise, the internal format remains 12 bytes wide.
(etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned
DImode float and fix, for real.c used in a libgcc-of-last-resort.
(esqrt): New function, correctly rounded square root for libgcc.
(etodec): Delete ifdef'd version.
(eroundi, eroundui): Rename to efixi, efixui and always
round towards zero.
From frank@atom.ansto.gov.au (Frank Crawford):
(etoibm, toibm, ibmtoe): New conversions for IBM 370 float format.
(e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53,
asctoeg, make_nan): Ifdef for IBM.

From-SVN: r5153

31 years ago(REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is...
Jim Wilson [Fri, 13 Aug 1993 18:27:32 +0000 (11:27 -0700)]
(REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is 128 bits.

(REAL_VALUE_TYPE): Define array at least 20 bytes wide
if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE
when long double is TFmode.
(REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round
towards zero.

From-SVN: r5152

31 years ago(subsi3): Merge alternatives.
Richard Kenner [Fri, 13 Aug 1993 11:50:22 +0000 (07:50 -0400)]
(subsi3): Merge alternatives.

(comparison patterns): Eliminate generation of "sfi."; no such instruction
exists.

From-SVN: r5151

31 years ago(output_init_element): Don't call default_conversion for a STRING_CST if type is...
Richard Stallman [Fri, 13 Aug 1993 05:59:36 +0000 (05:59 +0000)]
(output_init_element): Don't call default_conversion for a STRING_CST if type is directly suitable for it.

(output_init_element): Don't call default_conversion
for a STRING_CST if type is directly suitable for it.
(digest_init): Eliminate a lot of code that checks the variable
'element', since element is always 0 in these code paths.

(build_c_cast): For (void *) (FOO *) 0, return a nop_expr
so it doesn't count as a null pointer constant.
(convert_for_assignment, build_binary_op): Pedantically warn about
that case if looking for a null_pointer_constant.
(build_conditional_expr): Likewise.

From-SVN: r5150

31 years ago(CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.
Richard Stallman [Fri, 13 Aug 1993 01:24:18 +0000 (01:24 +0000)]
(CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.

From-SVN: r5149

31 years ago(attribute "type"): Add new type, "branch".
Richard Kenner [Thu, 12 Aug 1993 23:02:25 +0000 (19:02 -0400)]
(attribute "type"): Add new type, "branch".

(attribute "length"): New attribute; put on all insns that don't have default
length.
(branch patterns): If conditional branch won't reach, take conditional branch
around an unconditional branch.

(plus): Split (plus (COMPARISON FOO ...) ...) at FOO.

From-SVN: r5148

31 years agoAdd -m{,no-}underscore support.
Michael Meissner [Thu, 12 Aug 1993 21:16:23 +0000 (21:16 +0000)]
Add -m{,no-}underscore support.

From-SVN: r5147

31 years agoDo not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.
Michael Meissner [Thu, 12 Aug 1993 21:14:02 +0000 (21:14 +0000)]
Do not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.

From-SVN: r5146

31 years ago(legitimize_pic_address): Delete 4th arg SCRATCH.
Jim Wilson [Thu, 12 Aug 1993 17:52:48 +0000 (10:52 -0700)]
(legitimize_pic_address): Delete 4th arg SCRATCH.

Fix all callers.
(emit_move_sequence): Delete 3rd arg SCRATCH_REG.  Fix all
callers.  If operand1 is an invalid PIC address, then legitimize
it before doing anything else.

From-SVN: r5145

31 years ago(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.
Jim Wilson [Thu, 12 Aug 1993 17:52:01 +0000 (10:52 -0700)]
(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.

(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid
PIC addresses.
(CONSTANT_ADDRESS_P): Reject invalid PIC addresses.
(LEGITIMATE_PIC_OPERAND_P): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses.
(LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address.

From-SVN: r5144

31 years ago(reload_insi): Delete.
Jim Wilson [Thu, 12 Aug 1993 17:51:16 +0000 (10:51 -0700)]
(reload_insi): Delete.

(*): Fix all callers of legitimize_pic_address and emit_move_sequence.

From-SVN: r5143

31 years ago(thread_prologue_and_epilogue_insns): For the
Jim Wilson [Thu, 12 Aug 1993 17:45:57 +0000 (10:45 -0700)]
(thread_prologue_and_epilogue_insns): For the
epilogue, put USE insns immediately before the return insn.

From-SVN: r5142

31 years ago(sched_analyze_insn): Handle USE before a JUMP_INSN just
Jim Wilson [Thu, 12 Aug 1993 17:45:15 +0000 (10:45 -0700)]
(sched_analyze_insn): Handle USE before a JUMP_INSN just
like a USE before a CALL_INSN.

From-SVN: r5141

31 years ago(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
Jim Wilson [Thu, 12 Aug 1993 17:41:35 +0000 (10:41 -0700)]
(ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.

(ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE.

From-SVN: r5140

31 years ago(store_expr): Don't return TEMP if it's a MEM.
Richard Stallman [Thu, 12 Aug 1993 08:06:01 +0000 (08:06 +0000)]
(store_expr): Don't return TEMP if it's a MEM.

From-SVN: r5139

31 years ago(CONSTRUCTOR_NAME_FORMAT): Removed.
Per Bothner [Thu, 12 Aug 1993 02:56:55 +0000 (19:56 -0700)]
(CONSTRUCTOR_NAME_FORMAT): Removed.

From-SVN: r5138

31 years ago(build_module_descriptor): Use new function get_file_function_name.
Per Bothner [Thu, 12 Aug 1993 02:45:47 +0000 (19:45 -0700)]
(build_module_descriptor):  Use new function get_file_function_name.

From-SVN: r5137

31 years ago(get_file_function_name): New function.
Per Bothner [Thu, 12 Aug 1993 02:43:49 +0000 (19:43 -0700)]
(get_file_function_name):  New function.

From-SVN: r5136

31 years agoreorg.c (try_merge_delay_insns): Fix typo.
Jeff Law [Wed, 11 Aug 1993 23:49:36 +0000 (17:49 -0600)]
reorg.c (try_merge_delay_insns): Fix typo.

* reorg.c (try_merge_delay_insns): Fix typo.
(fill_simple_delay_slots): Only access the JUMP_LABEL field
if the INSN needing delay slots is a JUMP_INSN.

From-SVN: r5135

31 years ago(combine_instructions): Fix typo on test of basic block number.
Richard Kenner [Wed, 11 Aug 1993 21:58:31 +0000 (17:58 -0400)]
(combine_instructions): Fix typo on test of basic block number.

From-SVN: r5134

31 years agoGet size_t typedef using gcc, not cc
Ian Lance Taylor [Wed, 11 Aug 1993 13:22:45 +0000 (13:22 +0000)]
Get size_t typedef using gcc, not cc

From-SVN: r5133

31 years ago*** empty log message ***
Roland McGrath [Wed, 11 Aug 1993 07:27:10 +0000 (07:27 +0000)]
*** empty log message ***

From-SVN: r5132

31 years ago(SLOW_UNALIGNED_ACCESS): Define, but allow override.
Richard Stallman [Wed, 11 Aug 1993 05:22:55 +0000 (05:22 +0000)]
(SLOW_UNALIGNED_ACCESS): Define, but allow override.

(store_bit_field): Test that instead of STRICT_ALIGNMENT.
Also, allow fetching as non-bitfield if memory is aligned enough.
(extract_bit_field): Install code here like that in store_bit_field.

From-SVN: r5131

31 years ago*** empty log message ***
Richard Stallman [Tue, 10 Aug 1993 21:27:23 +0000 (21:27 +0000)]
*** empty log message ***

From-SVN: r5130

31 years ago(cse_insn): After inserting src_eqv...
Jim Wilson [Tue, 10 Aug 1993 19:11:27 +0000 (12:11 -0700)]
(cse_insn): After inserting src_eqv...

(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.

From-SVN: r5129