Commit Graph

5404 Commits

Author SHA1 Message Date
Brendan Kehoe b5a9fbb3d1 Cygnus<->FSF merge.
From-SVN: r5217
1993-08-26 18:30:59 -04:00
Doug Evans a11e44af0b Initial revision
From-SVN: r5216
1993-08-26 21:57:10 +00:00
Doug Evans 0b2c164809 add h8/300h support
From-SVN: r5215
1993-08-26 21:57:10 +00:00
Richard Kenner 904762c89e (apply_args_egister_offset): Don't use ANSI-style definition.
From-SVN: r5214
1993-08-26 05:58:46 -04:00
Jeff Law bd5d175ab8 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
1993-08-25 17:38:10 -06:00
Richard Kenner 673596d8b2 format_char_info_print_table, "p"): Allow width.
From-SVN: r5212
1993-08-25 19:16:55 -04:00
Richard Kenner 53322b0c5f (output_{pro,epi}log): Don't need no-ops after calls to functions to
save and restore FP regs.

From-SVN: r5211
1993-08-24 18:36:11 -04:00
Jeff Law 9bf99417c6 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
1993-08-24 14:40:20 -06:00
Jeff Law 90c10ed896 * pa.c (compute_frame_size): Always align stack to 64 byte boundary.
From-SVN: r5209
1993-08-24 14:40:02 -06:00
Michael Meissner 1c7e67ca64 -mlarge-align support; block profiling support
From-SVN: r5208
1993-08-24 19:43:07 +00:00
Jeff Law 0a7dd6e79e 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
1993-08-24 12:03:33 -06:00
Kresten Krab Thorup b783df230b Initial revision
From-SVN: r5206
1993-08-24 10:05:25 +00:00
Kresten Krab Thorup 772fa04a92 (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
1993-08-24 10:01:23 +00:00
Kresten Krab Thorup 2224b8ccb3 (nil_method): Don't define it, import it from sendmsg.c.
(arglist_t): Data-definition changed.

From-SVN: r5204
1993-08-24 10:00:49 +00:00
Kresten Krab Thorup 62b9a71206 (CLS_SETNUMBER): Clear old number
From-SVN: r5203
1993-08-24 10:00:19 +00:00
Kresten Krab Thorup 499056939e (class_pose_as): lazy copy dtables.
#include sarray.h
(class_pose_as): Rewritten

From-SVN: r5202
1993-08-24 09:59:41 +00:00
Kresten Krab Thorup 0b3d89ca54 (-performv): Use new objc_msg_sendv.
From-SVN: r5201
1993-08-24 09:59:14 +00:00
Kresten Krab Thorup a62354a0db (sendmsg.c, fflags, xforward): Targets removed;
(OBJC_O): Added encoding.o;
(OBJC_H): Added encoding.h, removed mutex.h.

From-SVN: r5200
1993-08-24 09:58:45 +00:00
Kresten Krab Thorup 30c0e2df8c (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
1993-08-24 09:56:48 +00:00
Kresten Krab Thorup fb2ca25a9d (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
1993-08-24 09:53:21 +00:00
Jeff Law 87881feba5 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
1993-08-23 17:37:04 -06:00
Richard Kenner 94092294e0 (ASM_LONG): Move from dpx2.h.
From-SVN: r5196
1993-08-23 18:45:43 -04:00
Richard Kenner 9161998e10 (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
1993-08-23 18:45:15 -04:00
Richard Kenner 35e66bd1d9 (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
1993-08-23 18:33:11 -04:00
Michael Meissner 6bf1675f90 If NO_UNDERSCORE is defined, elf compiler defaults to -mno-underscores
From-SVN: r5193
1993-08-23 14:56:10 +00:00
Jeff Law dfeddf46e3 * pa.md (untyped_call): New define_expand.
From-SVN: r5192
1993-08-22 21:38:16 -06:00
Jeff Law b4af138b01 * expr.c (expand_builtin_apply): Fix typo.
From-SVN: r5191
1993-08-22 21:37:09 -06:00
Ian Lance Taylor 7560d6cb1e Correct last change.
From-SVN: r5190
1993-08-20 16:25:56 +00:00
Jim Wilson 00d4ca1c64 (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
1993-08-19 16:17:58 -07:00
Richard Kenner 2aaf11def1 (scc): Fix typo in scc with compare and set.
From-SVN: r5188
1993-08-19 18:27:01 -04:00
Richard Kenner 423012407e (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
1993-08-19 16:20:37 -04:00
Richard Kenner 2df46b06a2 (fold): Handle EQ_EXPR and NE_EXPR where both args are comparisons or
BIT_AND_EXPR with constant 1.

From-SVN: r5186
1993-08-19 08:28:38 -04:00
Jim Wilson 0dc92bf6bc (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
1993-08-18 20:36:41 -07:00
Richard Kenner f0343c7490 (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
1993-08-18 19:30:08 -04:00
Richard Kenner 0840fd91a3 (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
1993-08-18 17:48:33 -04:00
Jeff Law 9d53c94264 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
1993-08-18 10:34:05 -06:00
Jeff Law 42e86f8524 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
1993-08-18 10:26:12 -06:00
Jeff Law 1bc695cdac 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
1993-08-18 00:50:55 -06:00
Jeff Law 44552b6a5b 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
1993-08-18 00:45:51 -06:00
Jeff Law ba365a1952 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
1993-08-18 00:45:41 -06:00
Jeff Law 6641552950 * pa.h (TARGET_KERNEL): Delete switch and all references to it.
From-SVN: r5177
1993-08-18 00:45:29 -06:00
Jeff Law 7b0ba51e9b 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
1993-08-18 00:41:27 -06:00
Jeff Law 794b7f5667 * pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensions are on by default.
From-SVN: r5175
1993-08-18 00:38:13 -06:00
Jeff Law 9a735993c7 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
1993-08-18 00:35:21 -06:00
Jeff Law c87ba6712c 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
1993-08-18 00:34:51 -06:00
Jeff Law 7426c95997 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
1993-08-18 00:28:39 -06:00
Jeff Law e30f390e6f * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint.
From-SVN: r5171
1993-08-18 00:23:25 -06:00
Jeff Law 9ec9ad5798 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
1993-08-18 00:22:49 -06:00
Richard Kenner 228e0c5f6c (tablejump): Now SImode and uses cased.
From-SVN: r5169
1993-08-16 18:59:00 -04:00
Richard Kenner 386d1816b7 (ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead of .word.
(CASE_VECTOR_MODE): Now SImode; was HImode.

From-SVN: r5168
1993-08-16 18:58:36 -04:00