Commit Graph

353 Commits

Author SHA1 Message Date
Jeff Law
14dc90724e pa.c (output_function_prologue): Use ASM_GENERATE_INTERNAL_LABEL rather than generating one on its own.
* pa.c (output_function_prologue): Use ASM_GENERATE_INTERNAL_LABEL
        rather than generating one on its own.

From-SVN: r6251
1993-12-21 11:06:48 -07:00
Jeff Law
3bf35ccb68 pa.c (compute_frame_size): Remove implicit assumption that %r4 is the frame pointer.
* pa.c (compute_frame_size): Remove implicit assumption that
	%r4 is the frame pointer.

From-SVN: r6247
1993-12-16 16:24:35 -07:00
Jeff Law
ba0bfdacea pa.c (output_function_prologue): Reverse last change.
* pa.c (output_function_prologue): Reverse last change.  Output
        both the function label and the .PROC here.
        * pa.h (ASM_DECLARE_FUNCTION_NAME): Do not output the function
        label or the .PROC here.

From-SVN: r6246
1993-12-16 14:14:18 -07:00
Jeff Law
9473a84ff3 pa.c (output_call): Put temporary label after the RP adjustment.
* pa.c (output_call): Put temporary label after the
        RP adjustment.  "- 8" adjustment is no longer necessary.

From-SVN: r6235
1993-12-14 16:00:41 -07:00
Jeff Law
94c17ca5e6 * x-pa (CC): Do not use absolute path to gcc.
From-SVN: r6234
1993-12-14 15:59:35 -07:00
Jeff Law
081c2fafcf pa.c (output_function_prologue): Do not output the .PROC directive here.
* pa.c (output_function_prologue): Do not output the .PROC directive
	here.

	* pa.h (ASM_DECLARE_FUNCTION_NAME): Emit the .PROC immediately
	after the function's label.

From-SVN: r6233
1993-12-14 14:42:44 -07:00
Jeff Law
a7c1e13f93 pa.h (ASM_FILE_START): Emit a .file directive at the beginning of the output file if...
* pa.h (ASM_FILE_START): Emit a .file directive at the beginning
	of the output file if debug symbols are being generated.

From-SVN: r6232
1993-12-14 14:02:09 -07:00
Jeff Law
a27d3fef51 * pa.h (MAX_OFILE_ALIGNMENT): Define appropriately for the PA.
From-SVN: r6231
1993-12-13 22:39:11 -07:00
Jeff Law
cf4627151e pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY.
* pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_JUMP_IN_DELAY.
	* pa-gux7.h (TARGET_DEFAULT): Likewise.
	* pa-utahmach.h (TARGET_DEFAULT): Likewise.
	* pa.h (TARGET_DEFAULT): Likewise.
	* pa1-ghpux.h (TARGET_DEFAULT): Likewise.
	* pa1-utahmach.h (TARGET_DEFAULT): Likewise.
	* pa1.h (TARGET_DEFAULT): Likewise.

From-SVN: r6230
1993-12-13 22:22:57 -07:00
Jeff Law
5eaf490bc3 pa.md (lo_sum of a function address): Use short form as we have no intention of supporting MPE external calls.
* pa.md (lo_sum of a function address): Use short form as we have
	no intention of supporting MPE external calls.

From-SVN: r6229
1993-12-13 22:20:15 -07:00
Jeff Law
b0ce651a54 pa.c (secondary_reload_class): Function addresses no longer need secondary reloads.
* pa.c (secondary_reload_class): Function addresses no longer
	need secondary reloads.
	(emit_move_sequence): Special handling of function addresses is
	no longer needed.

From-SVN: r6228
1993-12-13 22:20:15 -07:00
Jeff Law
59036ece8f * pa.h (LEGITIMATE_CONSTANT_P): Remove hack for function addresses.
From-SVN: r6227
1993-12-13 22:20:15 -07:00
Richard Kenner
77fc931316 (hppa_legitimize_address): If we can't legitimize, do nothing; don't
call abort.

From-SVN: r6191
1993-12-06 08:01:49 -05:00
Richard Kenner
bb2049d1b8 (ASM_STABS_OP, ASM_STABN_OP): Define.
(ASM_FILE_END): Put a TAB before the .stabs directive.

From-SVN: r6173
1993-12-02 06:39:06 -05:00
Richard Stallman
11734ce8b4 (RETURN_IN_MEMORY): Define.
From-SVN: r6100
1993-11-15 10:26:25 +00:00
Richard Stallman
e31f69f1a3 (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit
pass by value structures.

From-SVN: r6077
1993-11-13 00:21:17 +00:00
Richard Stallman
2878315f41 (negscc): Add mode for NEG.
From-SVN: r6044
1993-11-09 20:18:35 +00:00
Torbjorn Granlund
6f45095de2 (decrement_and_branch_until_zero): Add missing `return'.
From-SVN: r6018
1993-11-06 01:32:21 +00:00
Richard Stallman
687c8bf5f7 (NO_IMPLICIT_EXTERN_C): Define.
From-SVN: r6016
1993-11-05 21:51:44 +00:00
Torbjorn Granlund
5ac6158d0b (REGISTER_MOVE_COST): Decrease cost for move from
SHIFT_REGS to avoid regclass overflow.

From-SVN: r5986
1993-11-03 21:09:55 +00:00
Richard Kenner
f55ef7b071 Initial revision
From-SVN: r5950
1993-10-30 17:19:15 -04:00
Richard Stallman
0859592396 (output_dbra): Fix argument number in addi at end.
From-SVN: r5948
1993-10-30 20:33:33 +00:00
Torbjorn Granlund
669054c144 (emit_move_sequence): Fix typo, Pmode' was mode'.
From-SVN: r5924
1993-10-28 00:58:04 +00:00
Richard Stallman
3529be8371 (output_arg_descriptor): Do not stop searching if a USE
for the static link or struct value register is found.

From-SVN: r5879
1993-10-24 07:22:00 +00:00
Torbjorn Granlund
77a2f6986f (TRAMPOLINE_TEMPLATE): Rewrite.
(TRAMPOLINE_SIZE): Update with new size.
(INITIALIZE_TRAMPOLINE): Rewrite.

From-SVN: r5838
1993-10-20 22:10:38 +00:00
Torbjorn Granlund
bdc87462e7 (cacheflush): Split into dcacheflush and icacheflush.
Rewrite to use space regs correctly.

From-SVN: r5837
1993-10-20 22:10:08 +00:00
Jeff Law
6358b911d4 pa.md (indexing loads and stores): Provide variants which avoid reload problems with shift-add operations.
* pa.md (indexing loads and stores): Provide variants which avoid
	reload problems with shift-add operations.

From-SVN: r5793
1993-10-17 19:40:57 -06:00
Jeff Law
ee80d1cd86 * pa.h (READONLY_DATA_SECTION): Disable.
From-SVN: r5791
1993-10-17 19:37:34 -06:00
Richard Kenner
d969caf829 Define SHIFT_COUNT_TRUNCATED to have a value of 1.
From-SVN: r5732
1993-10-11 07:43:24 -04:00
Jeff Law
f1c7ce822f pa.c (legitimize_pic_address): Delete unused variables.
* pa.c (legitimize_pic_address): Delete unused variables.
	(output_block_move, output_ior): Likewise.
	(hppa_builtin_saveregs): Likewise.
	(emit_move_sequence): Add parens as suggested by -Wall.
	(compute_frame_size): Likewise.
	(output_ascii): Return type is "void".
	(hppa_expand_prologue, import_milli): Likewise.

From-SVN: r5726
1993-10-10 21:23:10 -06:00
Jeff Law
e8cfae5c8e pa.c (output_function_prologue): Pass the highest register number saved for ENTRY_GR and ENTRY_FR directives...
* pa.c (output_function_prologue):  Pass the highest register
	number saved for ENTRY_GR and ENTRY_FR directives rather
	than the number	of registers saved.
	(hppa_expand_prologue):  Account for %r4 when it's being
	used as a frame pointer.

From-SVN: r5718
1993-10-10 20:32:35 -06:00
Jeff Law
68386e1e3c pa.c (output_function_prologue): Pass on information about the number of callee saved general and floating point...
* pa.c (output_function_prologue): Pass on information about the
	number of callee saved general and floating point registers which
	are saved by the current function's prologue.
	(hppa_expand_prologue): Keep track of the number of callee
	register saves done for general and floating point registers.

From-SVN: r5641
1993-10-06 13:29:13 -06:00
Doug Evans
65c4237934 (CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
From-SVN: r5557
1993-10-02 08:55:06 +00:00
Torbjorn Granlund
37328f92f8 (LINK_SPEC): Pass "-a -archive" when debugging.
(LIB_SPEC): Make sure to add space between flags.

From-SVN: r5546
1993-10-01 22:19:39 +00:00
Torbjorn Granlund
d4c5360df0 (LIB_SPEC): Make sure to add space between flags.
From-SVN: r5545
1993-10-01 22:18:47 +00:00
Jeff Law
c83eb049b8 pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, not all HPUX linkers handle it correctly.
* pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace,
	not all HPUX linkers handle it correctly.

From-SVN: r5484
1993-09-26 21:10:56 -06:00
Richard Kenner
9a63901fb7 Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete
BYTE_LOADS_{SIGN,ZERO}_EXTEND.

From-SVN: r5477
1993-09-25 08:29:59 -04:00
Jeff Law
e543f7513a * pa.h (ASM_FILE_START): Fix access information for $LIT$ subspace.
From-SVN: r5331
1993-09-15 14:16:33 -06:00
Ian Lance Taylor
b857971992 Set CROSS_LIBGCC1 to be libgcc1.null
From-SVN: r5298
1993-09-09 20:05:26 +00:00
Jeff Law
41ded2895e 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
1993-09-02 23:53:48 -06: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
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
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
Jeff Law
dfeddf46e3 * pa.md (untyped_call): New define_expand.
From-SVN: r5192
1993-08-22 21:38:16 -06: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