Commit Graph

132 Commits

Author SHA1 Message Date
Richard Kenner
4652f1d455 (function_unit fpu2): Fix typo: had `rios12'.
From-SVN: r5369
1993-09-19 16:26:39 -04:00
Richard Kenner
e477bbc768 (PREDICATE_CODES): Fix more typos.
From-SVN: r5368
1993-09-19 16:19:55 -04:00
Richard Kenner
2661cdd98d (attribute "cpu"): Change from "rios" to "rios1"; all uses changed.
From-SVN: r5362
1993-09-19 11:44:28 -04:00
Richard Kenner
49947f1830 (rs6000_override_options): Change processor type to "rios1"; allow "rios" as synonym.
(rs6000_override_options): Change processor type to "rios1"; allow "rios"
as synonym.
Add synonyms for "mpc6xx".

From-SVN: r5361
1993-09-19 11:43:53 -04:00
Richard Kenner
f86fe1fbd3 (enum processor_type): Change from RIOS to RIOS1.
(PROCESSOR_DEFAULT): Likewise.

From-SVN: r5360
1993-09-19 11:43:02 -04:00
Richard Kenner
f863464496 (PREDICATE_CODES): Fix typos and add missing entries.
From-SVN: r5356
1993-09-19 09:08:00 -04:00
Richard Kenner
cfb557c409 (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
1993-09-08 10:50:35 -04:00
Richard Kenner
5248c9618c (rs6000_cpu, rs6000_cpu_string): New variables.
(rs6000_override_options): New function.

From-SVN: r5283
1993-09-08 10:49:49 -04:00
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 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
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
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
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
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
3d91674b87 (subsi3): Merge alternatives.
(comparison patterns): Eliminate generation of "sfi."; no such instruction
exists.

From-SVN: r5151
1993-08-13 07:50:22 -04:00
Richard Kenner
b19003d879 (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
1993-08-12 19:02:25 -04:00
Jim Wilson
02892e0694 Add new parameter to move_block_from_reg calls.
From-SVN: r5018
1993-07-28 10:21:14 -07:00
Richard Kenner
04780ee7ea Add variants of call and call_value patterns for calls to functions defined in the same file.
Add variants of call and call_value patterns for calls to functions
defined in the same file.  Omit the TOC pointer reload after such
calls.

From-SVN: r4943
1993-07-19 18:10:12 -04:00
Richard Kenner
b4f892eb33 (ENCODE_SECTION_INFO): New macro.
(PREDICATE_CODES): Add current_file_function_operand.

From-SVN: r4942
1993-07-19 18:09:32 -04:00
Richard Kenner
2af3d377ff (current_file_function_operand): New function.
From-SVN: r4941
1993-07-19 18:09:05 -04:00
Richard Kenner
66be803d8b Initial revision
From-SVN: r4850
1993-07-05 17:52:43 -04:00
Richard Kenner
ddec4fb361 (CLIB): No longer need -lm.
From-SVN: r4849
1993-07-05 17:49:33 -04:00
Richard Kenner
870dfbc8c1 (call patterns): Use %. in cror.
From-SVN: r4848
1993-07-05 17:48:42 -04:00
Richard Kenner
11117bb9ad (CPP_PREDEFINES): Define _AIX32.
(ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as csect
name.
(RS6000_CROR_BIT_NUMBER): New macro.
(PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid.

From-SVN: r4847
1993-07-05 17:48:04 -04:00
Richard Kenner
a8b3aeda41 (input_operand): Fix missing operand on a return.
(print_operand): Add new code '.'.
(rs6000_sa_size): Delete unused variable `i'.
(output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER.

From-SVN: r4846
1993-07-05 17:47:21 -04:00
Richard Kenner
f62f398a28 Remove #define of alloca to __builtin_alloca.
From-SVN: r4756
1993-06-26 11:43:50 -04:00
Richard Kenner
a0466a6824 (print_operand, case 'J'): Write out shift count of 0, not 32 for bit
31 of CCR.

From-SVN: r4707
1993-06-21 19:21:04 -04:00
Richard Kenner
785e6a26da (movsf, movdf): Handle a move from an integer register before reload.
This can happen if the user uses asm to put a floating point variable
in an integer register.

From-SVN: r4666
1993-06-11 21:49:20 -04:00
Richard Kenner
11e5fe42ca (rs6000_gen_section_name): Only replace last period in filename with section...
(rs6000_gen_section_name): Only replace last period in filename with
section name and correct calculation of string length.

From-SVN: r4665
1993-06-11 21:45:00 -04:00
Richard Kenner
c225ba7b56 (ffs): Delete pattern containing nonexistant instruction.
From-SVN: r4620
1993-06-01 07:41:08 -04:00
Richard Kenner
225211e226 (SHORT_IMMEDIATES_SIGN_EXTEND): Define.
From-SVN: r4507
1993-05-19 18:11:13 -04:00
Richard Kenner
b45863ecee (movqi, movhi, movsi): Make sure that address returned from
force_const_mem is valid.

From-SVN: r4475
1993-05-15 13:23:58 -04:00
Richard Kenner
0c61c94649 (rs6000_makes_calls): If profiling, say we make calls.
From-SVN: r4467
1993-05-15 09:11:49 -04:00
Richard Kenner
b542afe93f (fix_truncdfsi2, fixuns_truncdfsi2, trunc_call): Fix typo in type of
FIX and UNSIGNED_RIX rtl.

From-SVN: r4444
1993-05-13 21:49:43 -04:00
Richard Kenner
e6f948e3de (untyped_call, blockage): New patterns.
From-SVN: r4169
1993-04-16 20:26:58 -04:00
Richard Kenner
fa5679bb7f (adddi3/subdi3): Allow immediate constants.
From-SVN: r4101
1993-04-12 15:28:24 -04:00
Richard Kenner
9854d9edf8 (print_operand): Sort all cases in alphabetical order.
(print_operand, case 'G'): New case.
(output_epilog): Know that "GNU Obj-C" is the language string for Objective-C.

From-SVN: r4100
1993-04-12 15:27:55 -04:00
Brendan Kehoe
6eff269e95 define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
From-SVN: r3954
1993-03-31 15:09:44 -05:00
Richard Kenner
e76e75bb70 (mov[qhs]i): Allow moving a special reg to itself.
From-SVN: r3891
1993-03-27 08:21:59 -05:00
Richard Kenner
469adec3fb Clean up whitespace.
From-SVN: r3865
1993-03-24 08:18:04 -05:00
Richard Kenner
f25359b5e2 (EXTRA_SECTION_FUNCTIONS, ASM_DECLARE_FUNCTION_NAME): Don't output tab
before .csect pseudo-op.

From-SVN: r3864
1993-03-24 08:03:22 -05:00