platform/upstream/gcc.git
30 years ago(output_call): Avoid use of jsr.n r1, this loses on
John Hassey [Wed, 8 Sep 1993 15:31:02 +0000 (15:31 +0000)]
(output_call): Avoid use of jsr.n r1, this loses on
        the 88110.

From-SVN: r5285

30 years ago(define_attr): Expand list of instruction attributes.
Richard Kenner [Wed, 8 Sep 1993 14:50:35 +0000 (10:50 -0400)]
(define_attr): Expand list of instruction attributes.

(define_function_unit): Compute delay information based upon processor type
and expand functional unit types.
(mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): Use expanded
attributes.
(load with update): Likewise.

From-SVN: r5284

30 years ago(rs6000_cpu, rs6000_cpu_string): New variables.
Richard Kenner [Wed, 8 Sep 1993 14:49:49 +0000 (10:49 -0400)]
(rs6000_cpu, rs6000_cpu_string): New variables.

(rs6000_override_options): New function.

From-SVN: r5283

30 years ago(MASK_*, TARGET_*): Add target masks and tests.
Richard Kenner [Wed, 8 Sep 1993 14:49:18 +0000 (10:49 -0400)]
(MASK_*, TARGET_*): Add target masks and tests.

(TARGET_SWITCHES): Add target switches for various architectures and mnemonics
options.
(TARGET_OPTIONS): Add cpu type as special target option.
(OVERRIDE_OPTIONS): Call rs6000_override_options to decipher.

From-SVN: r5282

30 years ago(output_init_element): When adding to constructor_pending_elts, copy field.
Richard Stallman [Wed, 8 Sep 1993 10:36:19 +0000 (10:36 +0000)]
(output_init_element): When adding to constructor_pending_elts, copy field.

From-SVN: r5281

30 years ago(make_tree, case CONST_INT): Properly set high part if unsigned.
Richard Kenner [Wed, 8 Sep 1993 10:15:49 +0000 (06:15 -0400)]
(make_tree, case CONST_INT): Properly set high part if unsigned.

From-SVN: r5280

30 years ago(push_init_level): Diagnose extra brace group at end of record.
Richard Stallman [Wed, 8 Sep 1993 09:56:15 +0000 (09:56 +0000)]
(push_init_level): Diagnose extra brace group at end of record.

(push_init_level): Diagnose extra brace group at end
of record.  Set constructor_type to 0.
(pop_init_level): Don't output anything if constructor_type is 0.
(process_init_element): Do nothing if constructor_type is 0.

From-SVN: r5279

30 years ago(c_build_type_variant): Allocate new type in same obstack as old one.
Richard Kenner [Tue, 7 Sep 1993 23:11:15 +0000 (19:11 -0400)]
(c_build_type_variant): Allocate new type in same obstack as old one.

From-SVN: r5278

30 years ago(digest_init): Fix error message text.
Richard Stallman [Tue, 7 Sep 1993 21:46:24 +0000 (21:46 +0000)]
(digest_init): Fix error message text.

From-SVN: r5277

30 years ago(expand_binop): Must always widen second operand of shift.
Richard Kenner [Tue, 7 Sep 1993 18:54:27 +0000 (14:54 -0400)]
(expand_binop): Must always widen second operand of shift.

From-SVN: r5276

30 years ago(schedule_block): Correct type of BIT.
Richard Kenner [Tue, 7 Sep 1993 18:40:27 +0000 (14:40 -0400)]
(schedule_block): Correct type of BIT.

From-SVN: r5275

30 years ago(fold): Don't try to process an RTL_EXPR.
Richard Kenner [Tue, 7 Sep 1993 18:32:05 +0000 (14:32 -0400)]
(fold): Don't try to process an RTL_EXPR.

From-SVN: r5274

30 years ago(dbxout_type): Handle enum constants bigger than one word.
Richard Stallman [Tue, 7 Sep 1993 12:27:26 +0000 (12:27 +0000)]
(dbxout_type): Handle enum constants bigger than one word.

Don't print big unsigned values as negative.

From-SVN: r5273

30 years ago(default_conversion): For enum that's unsigned,
Richard Stallman [Tue, 7 Sep 1993 12:26:58 +0000 (12:26 +0000)]
(default_conversion): For enum that's unsigned,

if it's at least as wide as int, convert to an unsigned type.

From-SVN: r5272

30 years ago(build_enumerator): Choose type properly for wide constants.
Richard Stallman [Tue, 7 Sep 1993 12:26:20 +0000 (12:26 +0000)]
(build_enumerator): Choose type properly for wide constants.

(finish_enum): Always set type of the enumerators to the enum type.

From-SVN: r5271

30 years ago(LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG):
Richard Stallman [Tue, 7 Sep 1993 10:21:11 +0000 (10:21 +0000)]
(LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG):

Definitions copied from sparc/sol2.h.
(CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite.

From-SVN: r5270

30 years ago(insn_name_ptr): Define for debugging.
Richard Kenner [Mon, 6 Sep 1993 18:42:55 +0000 (14:42 -0400)]
(insn_name_ptr): Define for debugging.

(walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not XVECEXP.

From-SVN: r5269

30 years ago(emit_libcall_block): Don't move insns that reference things set in
Richard Kenner [Mon, 6 Sep 1993 17:27:49 +0000 (13:27 -0400)]
(emit_libcall_block): Don't move insns that reference things set in
previous insns.

From-SVN: r5268

30 years ago(modified_between_p): Handle vectors.
Richard Kenner [Mon, 6 Sep 1993 17:27:22 +0000 (13:27 -0400)]
(modified_between_p): Handle vectors.

(modified_in_p): New function.
(refers_to_regno_p): If setting AP, FP, or SP, we clobber the virtual
registers.

From-SVN: r5267

30 years agoDon't declare abort.
Richard Stallman [Mon, 6 Sep 1993 12:36:01 +0000 (12:36 +0000)]
Don't declare abort.

From-SVN: r5266

30 years ago(abort): Correct volatile function declaration.
Jim Wilson [Mon, 6 Sep 1993 05:03:16 +0000 (22:03 -0700)]
(abort): Correct volatile function declaration.

From-SVN: r5265

30 years ago(USER_H): Add va-h8300.h.
Doug Evans [Mon, 6 Sep 1993 02:05:33 +0000 (02:05 +0000)]
(USER_H): Add va-h8300.h.

From-SVN: r5264

30 years ago(grokdeclarator): For PARM_DECLs, only call
Richard Stallman [Sun, 5 Sep 1993 22:35:15 +0000 (22:35 +0000)]
(grokdeclarator): For PARM_DECLs, only call
c_build_type_variant is constp or volatilep is true.

From-SVN: r5263

30 years agocollect2.c (our_file_name, [...]): deleted.
Doug Evans [Sun, 5 Sep 1993 22:20:29 +0000 (22:20 +0000)]
collect2.c (our_file_name, [...]): deleted.

        * collect2.c (our_file_name, last_file_name): deleted.
        (our_file_names): New variable.
        (is_in_prefix_list): New function.
        (find_a_file): Call is_in_prefix_list.
        (main): Make COLLECT_NAMES a list of our invocations.
        If we've invoked ourselves, try again with ld_file_name.

From-SVN: r5262

30 years ago(assign_parms): When parm needs conversion on entry,
Richard Stallman [Sun, 5 Sep 1993 20:01:32 +0000 (20:01 +0000)]
(assign_parms): When parm needs conversion on entry,

don't store it back in the slot where it was passed.

From-SVN: r5261

30 years ago(print_operand): Convert fprintf of single letters to putc and convert fprintf of...
Richard Kenner [Sun, 5 Sep 1993 10:44:00 +0000 (06:44 -0400)]
(print_operand): Convert fprintf of single letters to putc and convert fprintf of constant strings to fputs.

(print_operand): Convert fprintf of single letters to putc and convert
fprintf of constant strings to fputs.
Output '%u' operand as hexadecimal.

From-SVN: r5260

30 years ago(truthvalue_conversion): A complex value is nonzero if either part is
Richard Kenner [Sat, 4 Sep 1993 15:16:10 +0000 (11:16 -0400)]
(truthvalue_conversion): A complex value is nonzero if either part is
nonzero, not if both parts are nonzero.

From-SVN: r5259

30 years ago(build_enumerator): Apply default conversion to constant-expression.
Richard Kenner [Fri, 3 Sep 1993 23:02:27 +0000 (19:02 -0400)]
(build_enumerator): Apply default conversion to constant-expression.

From-SVN: r5258

30 years ago(skip_if_group): Check for traditional mode when skipping ahead to
Richard Kenner [Fri, 3 Sep 1993 22:03:32 +0000 (18:03 -0400)]
(skip_if_group): Check for traditional mode when skipping ahead to
next #, ignore unless at beginning of line.

From-SVN: r5257

30 years agopass -v/-dn to elf linker.
Michael Meissner [Fri, 3 Sep 1993 21:54:58 +0000 (21:54 +0000)]
pass -v/-dn to elf linker.

From-SVN: r5256

30 years agopa.h (READONLY_DATA_ASM_OP): Define.
Jeff Law [Fri, 3 Sep 1993 05:53:48 +0000 (23:53 -0600)]
pa.h (READONLY_DATA_ASM_OP): Define.

* pa.h (READONLY_DATA_ASM_OP): Define.
(READONLY_DATA_SECTION): Define.
(EXTRA_SECTIONS): Add in_readonly_data.
(EXTRA_SECTION_FUNCTIONS): Add readonly_data.

From-SVN: r5255

30 years agoImprove generated code for C400 Clipper.
Richard Kenner [Thu, 2 Sep 1993 23:18:55 +0000 (19:18 -0400)]
Improve generated code for C400 Clipper.

(TARGET_SWITCHES): New options `c300' `c400'.
(TARGET_C300, TARGET_C400): New defines.
(TARGET_DEFAULT): Define as TARGET_C300.
(CONDITIONAL_REGISTER_USAGE): New define.

From-SVN: r5254

30 years agoFix typo.
Michael Meissner [Thu, 2 Sep 1993 22:17:51 +0000 (22:17 +0000)]
Fix typo.

From-SVN: r5253

30 years ago(__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros.
Doug Evans [Thu, 2 Sep 1993 21:39:58 +0000 (21:39 +0000)]
(__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros.

(INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them.

From-SVN: r5252

30 years agoELF now omits leading underscores.
Michael Meissner [Thu, 2 Sep 1993 18:35:26 +0000 (18:35 +0000)]
ELF now omits leading underscores.

From-SVN: r5251

30 years agoAdd spaces in basic block output.
Michael Meissner [Thu, 2 Sep 1993 10:55:40 +0000 (10:55 +0000)]
Add spaces in basic block output.

From-SVN: r5250

30 years agoUpdate basic block profiling.
Michael Meissner [Thu, 2 Sep 1993 10:50:41 +0000 (10:50 +0000)]
Update basic block profiling.

From-SVN: r5249

30 years agoClean up case and remove leading zeros from hex constants.
Richard Kenner [Thu, 2 Sep 1993 01:57:02 +0000 (21:57 -0400)]
Clean up case and remove leading zeros from hex constants.

From-SVN: r5248

30 years ago(truncdfsf2): Round to single instead of doing nothing.
Jim Wilson [Wed, 1 Sep 1993 23:57:46 +0000 (16:57 -0700)]
(truncdfsf2): Round to single instead of doing nothing.

From-SVN: r5247

30 years ago(jump_optimize): When optimize conditional jump around
Jim Wilson [Wed, 1 Sep 1993 23:20:32 +0000 (16:20 -0700)]
(jump_optimize): When optimize conditional jump around
unconditional jump, handle case where prev_label can be zero.

From-SVN: r5246

30 years ago(finish_decl): For static const variables, preserve
Jim Wilson [Wed, 1 Sep 1993 22:59:32 +0000 (15:59 -0700)]
(finish_decl): For static const variables, preserve
initializers instead of discarding them.

From-SVN: r5245

30 years ago(find_reloads): Bump REJECT for a hard register; just not for a
Richard Kenner [Wed, 1 Sep 1993 22:46:03 +0000 (18:46 -0400)]
(find_reloads): Bump REJECT for a hard register; just not for a
pseudo.

From-SVN: r5244

30 years ago(movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.
Richard Kenner [Wed, 1 Sep 1993 22:42:37 +0000 (18:42 -0400)]
(movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.

Fix bugs relating to order in which moves are done.

From-SVN: r5243

30 years ago(SECONDARY_MEMORY_NEEDED): New macro.
Richard Kenner [Wed, 1 Sep 1993 22:41:53 +0000 (18:41 -0400)]
(SECONDARY_MEMORY_NEEDED): New macro.

From-SVN: r5242

30 years ago(input_operand): Allow "easy" FP constants.
Richard Kenner [Wed, 1 Sep 1993 22:41:28 +0000 (18:41 -0400)]
(input_operand): Allow "easy" FP constants.

From-SVN: r5241

30 years ago(find_reloads_address_1): Handle SUBREGs same as REGs.
Jim Wilson [Wed, 1 Sep 1993 22:07:57 +0000 (15:07 -0700)]
(find_reloads_address_1): Handle SUBREGs same as REGs.

From-SVN: r5240

30 years agocollect2.c (is_ctor_dtor): Make sizeof argument match the string.
Mike Stump [Wed, 1 Sep 1993 22:06:56 +0000 (22:06 +0000)]
collect2.c (is_ctor_dtor): Make sizeof argument match the string.

        * collect2.c (is_ctor_dtor): Make sizeof argument match the
        string.

From-SVN: r5239

30 years ago* Makefile.in (start.encap): Build g++ here also.
Brendan Kehoe [Wed, 1 Sep 1993 19:02:25 +0000 (15:02 -0400)]
* Makefile.in (start.encap): Build g++ here also.

From-SVN: r5238

30 years ago(make_compound_operation): Handle the case (and (xor/ior (lshift...) (lshift...)...
Jim Wilson [Tue, 31 Aug 1993 22:08:25 +0000 (15:08 -0700)]
(make_compound_operation): Handle the case (and (xor/ior (lshift...) (lshift...)) ...).

(make_compound_operation): Handle the case
(and (xor/ior (lshift...) (lshift...)) ...).
(make_field_assignment): In get_pos_from_mask call, only invert
bits in mode mask.

From-SVN: r5237

30 years ago(push_reload): Abort is secondary_reload wants same
Jim Wilson [Tue, 31 Aug 1993 21:22:41 +0000 (14:22 -0700)]
(push_reload): Abort is secondary_reload wants same
class as an input reload.

From-SVN: r5236

30 years agoNew file.
Jim Wilson [Tue, 31 Aug 1993 21:17:04 +0000 (14:17 -0700)]
New file.

From-SVN: r5235

30 years ago(libgcc1.a, libgcc2.a): Don't use set -e.
Jim Wilson [Tue, 31 Aug 1993 21:06:04 +0000 (14:06 -0700)]
(libgcc1.a, libgcc2.a): Don't use set -e.

From-SVN: r5234

30 years ago(xsys-protos.h): Use fixtmp.c not tmp.c, and delete
Jim Wilson [Tue, 31 Aug 1993 20:38:04 +0000 (13:38 -0700)]
(xsys-protos.h): Use fixtmp.c not tmp.c, and delete
it afterwards.

From-SVN: r5233

30 years ago(assign_stack_temp): When allocate a slot too large,
Jim Wilson [Tue, 31 Aug 1993 20:30:12 +0000 (13:30 -0700)]
(assign_stack_temp): When allocate a slot too large,

split extra off into a slot of its own.
(combine_temp_slots): New function.
(free_temp_slots, pop_temp_slots): Call combine_temp_slots.

From-SVN: r5232

30 years ago(zero_extendqisi2...
Richard Kenner [Tue, 31 Aug 1993 10:35:25 +0000 (06:35 -0400)]
(zero_extendqisi2...

(zero_extendqisi2, zero_extendqihi2): Change anonymous patterns to use 16-bit
and 32-bit hexadecimal values and masks instead of bit ranges if constant.
(rotlsi3, lshrsi3, move condition codes, scc insns): Likewise.

From-SVN: r5231

30 years ago(struct c_function): Remove unneeded enum_next_value.
Richard Kenner [Tue, 31 Aug 1993 10:25:38 +0000 (06:25 -0400)]
(struct c_function): Remove unneeded enum_next_value.

(push_c_function_context, pop_c_function_context): Don't save it.

From-SVN: r5230

30 years ago(convert_arguments): If PROMOTE_PROTOTYPE, promote all integral types
Richard Kenner [Mon, 30 Aug 1993 20:14:26 +0000 (16:14 -0400)]
(convert_arguments): If PROMOTE_PROTOTYPE, promote all integral types
shorter than int, including short enums.

From-SVN: r5229

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