Commit Graph

2010 Commits

Author SHA1 Message Date
Richard Kenner
fb623df501 (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
1993-09-08 10:49:18 -04:00
Richard Stallman
ebf3718c05 (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
1993-09-07 10:21:11 +00:00
Richard Stallman
966963e68b Don't declare abort.
From-SVN: r5266
1993-09-06 12:36:01 +00:00
Richard Kenner
76229ac8db (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
1993-09-05 06:44:00 -04:00
Michael Meissner
3c58aa350d pass -v/-dn to elf linker.
From-SVN: r5256
1993-09-03 21:54:58 +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
Richard Kenner
e600165c51 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
1993-09-02 19:18:55 -04:00
Michael Meissner
729105f4a5 Fix typo.
From-SVN: r5253
1993-09-02 22:17:51 +00:00
Michael Meissner
ae1ac70285 ELF now omits leading underscores.
From-SVN: r5251
1993-09-02 18:35:26 +00:00
Michael Meissner
92832bb59a Update basic block profiling.
From-SVN: r5249
1993-09-02 10:50:41 +00:00
Richard Kenner
9d436547f7 Clean up case and remove leading zeros from hex constants.
From-SVN: r5248
1993-09-01 21:57:02 -04:00
Jim Wilson
dcac138d8e (truncdfsf2): Round to single instead of doing nothing.
From-SVN: r5247
1993-09-01 16:57:46 -07:00
Richard Kenner
e7113111af (movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.
Fix bugs relating to order in which moves are done.

From-SVN: r5243
1993-09-01 18:42:37 -04:00
Richard Kenner
7ea555a4fc (SECONDARY_MEMORY_NEEDED): New macro.
From-SVN: r5242
1993-09-01 18:41:53 -04:00
Richard Kenner
eb4e800377 (input_operand): Allow "easy" FP constants.
From-SVN: r5241
1993-09-01 18:41:28 -04:00
Jim Wilson
67d4766b4a New file.
From-SVN: r5235
1993-08-31 14:17:04 -07:00
Richard Kenner
9d7877e3c8 (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
1993-08-31 06:35:25 -04:00
Richard Kenner
37c37a579c (output_toc): Use TARGET_NO_FP_IN_TOC.
From-SVN: r5227
1993-08-29 18:34:12 -04:00
Richard Kenner
72847b95da (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
1993-08-29 18:33:46 -04:00
Jim Wilson
4418d41b54 (SELECT_SECTION): Simplify sdata_section test.
From-SVN: r5225
1993-08-28 12:22:32 -07:00
Jim Wilson
02881b1b79 (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
1993-08-28 12:19:20 -07:00
Jim Wilson
bf97b9672d (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
1993-08-28 12:04:13 -07:00
Jim Wilson
e228410eeb (EXTRA_CONSTRAINT): Delete 'S'.
From-SVN: r5222
1993-08-28 12:03:39 -07:00
Richard Kenner
561260fe80 (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.
From-SVN: r5220
1993-08-27 15:43:01 -04:00
Jim Wilson
642a35f1b4 (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
1993-08-27 10:16:17 -07:00
Jim Wilson
1875cc8859 (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
1993-08-27 10:15:28 -07: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
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
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
Richard Kenner
2aaf11def1 (scc): Fix typo in scc with compare and set.
From-SVN: r5188
1993-08-19 18:27:01 -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
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