Commit Graph

854 Commits

Author SHA1 Message Date
Michael Meissner
e837539976 Do cld before each string move/compare.
From-SVN: r2125
1992-09-15 18:44:07 +00:00
Torbjorn Granlund
304f705fef Clean up indentation.
From-SVN: r2116
1992-09-13 16:02:23 +00:00
Torbjorn Granlund
0e7f4c1941 (compute_xdepi_operands_from_integer): New function.
Some code come from output_zdepi.
(output_zdepi): Removed. (depi_cint_operand): New name for zdepi_operand.
(consec_zeros_p, and_operand, ior_mask_p, ior_operand,
output_and, output_ior): New functions.
(output_load_address): Removed.  Nothing uses it.

From-SVN: r2115
1992-09-13 15:39:59 +00:00
Torbjorn Granlund
7254dbd497 (output_and, output_ior): Declare.
(CONST_OK_FOR_LETTER_P): Add 'O' and 'P'.

From-SVN: r2114
1992-09-13 15:38:06 +00:00
Torbjorn Granlund
876662ef35 (several patterns): Make sure # of attribute alternatives match # of constraint alternatives.
(several patterns): Make sure # of attribute alternatives
match # of constraint alternatives.
Return assembler output template instead of calling output_asm_insn.
Don't write to operands[n] for n >= max operand number in the
pattern, use xoperands instead.
(casesi): Rewrite.  Used to be buggy and slow.
(and-not patterns): Make them canonical.  Put operands in the right order.
(negsi2): Don't use @ for just one output template.
(movstrsi): Change `!= 4' => `< 4' in test for alignment.
(adddi3): Extend to handle CONST_INT.
(ior-with-immediate optimizer): New pattern.
(and-with-immediate optimizer): New pattern.
(sCC, bCC expanders): Remove constraints.
(high:DI recognizer): Add return \"\".

From-SVN: r2113
1992-09-13 15:28:38 +00:00
Jeff Law
e9cfad814f pa.md (non-[cf]branch define_delay): Use a single delay description for the delay slots in "branch"...
* pa.md	(non-[cf]branch define_delay): Use a single delay description
	for the delay slots in "branch", "call", and "milli" insns.
	(fbranch define_delay): fbranches have a single delay slot which
	may be nullified when the branch is taken (regardless of direction
	or distance to the target.)
	(in_branch_delay attribute): Disallow fbranch insns explicitly.
	(floating point branches): Use "fbranch" attribute for these insns.
	Update output template to properly handle nullification.

From-SVN: r2107
1992-09-11 10:39:13 -06:00
Richard Stallman
4f61da45f3 (SIZE_TYPE): Defined.
From-SVN: r2103
1992-09-11 05:07:29 +00:00
Richard Stallman
92b170eee9 Comment changes.
From-SVN: r2102
1992-09-11 02:01:46 +00:00
Michael Meissner
ed50ab354c Do not allow memory->memory moves to be generated.
From-SVN: r2097
1992-09-10 21:37:46 +00:00
Torbjorn Granlund
a2a5059bb6 (casesi): Add `&' to constraint for clobber operand.
From-SVN: r2096
1992-09-10 16:47:30 +00:00
Richard Stallman
f167e25de4 (.nope): Really store into environ.
From-SVN: r2088
1992-09-09 09:03:13 +00:00
Richard Stallman
1b6374aa53 (ASM_OUTPUT_OPCODE): Deleted.
From-SVN: r2078
1992-09-08 21:55:42 +00:00
Richard Stallman
08611787e3 (FSGLMUL_USE_S): Defined.
From-SVN: r2073
1992-09-07 06:17:38 +00:00
Richard Stallman
ea0470bf6c (fsglmul pattern): If FSGLMUL_USE_S, opcode has .s, not .x.
From-SVN: r2072
1992-09-07 06:17:16 +00:00
Jeff Law
2040c37b07 pa.c (output_function_prologue): Undo Aug.
* pa.c (output_function_prologue): Undo Aug. 13 change.
	If profiling, then this function makes calls.  Reflect this in
	CALLINFO.
	(output_function_epilogue): If profiling, then be restore "rp" here.

	* pa.c (use_milli_regs): Deleted.

From-SVN: r2065
1992-09-06 18:42:04 -06:00
Jeff Law
29662692f4 pa.md (indirect_jump): Annul the next instruction if the delay slot could not be filled instead of...
* pa.md (indirect_jump): Annul the next instruction if the delay
	slot could not be filled instead of emitting a nop.

	* pa.md (use_milli_regs attribute): Deleted, not necessary anymore.
	All references deleted.

From-SVN: r2064
1992-09-06 18:41:25 -06:00
Torbjorn Granlund
d17ce9af86 (MOVE_MAX): Define as 4.
From-SVN: r2063
1992-09-06 21:37:08 +00:00
Torbjorn Granlund
a9a55844f9 (hard_regno_mode_ok): Don't abort if unknown mode,
return 0 instead.  Declare argument MODE as `enum machine_mode'.

From-SVN: r2062
1992-09-06 21:23:36 +00:00
Torbjorn Granlund
d7e2c9328f (HARD_REGNO_MODE_OK): Allow BLKmode.
From-SVN: r2061
1992-09-06 21:10:16 +00:00
James Van Artsdalen
783cdf659a (cmpstrsi): Rewrite expander to handle operands correctly.
From-SVN: r2060
1992-09-06 10:36:53 +00:00
Torbjorn Granlund
838928c2fc (before functions): Remove xmalloc decl.
(arm_asm_output_label): Cast value from xmalloc.

From-SVN: r2058
1992-09-05 22:51:40 +00:00
Torbjorn Granlund
3a7a271921 (storehi): Use match_operand for operand 0.
Use gen_lowpart to change mode of operand 0.
(storeinthi): Use match_operand for operand 0.
Change output code to reassign operand 0.
(truncsihi2, truncsiqi2, trunchiqi2): Remove these patterns.

From-SVN: r2057
1992-09-05 20:36:46 +00:00
Richard Stallman
b18a7b614f (ASM_OUTPUT_OPCODE): Defined.
From-SVN: r2056
1992-09-05 06:40:27 +00:00
Richard Stallman
8f0cc7f0c0 (mulsi3_big): Use low half of result.
Use offset 1 in subregs in actual fmlow insn.
(fmlow pattern): Split this into alternatives for big and little end.

From-SVN: r2055
1992-09-05 03:22:36 +00:00
Torbjorn Granlund
9682683d88 (output_move_double): Use %R to store at auto-incr/decr addr.
(output_move_double): Use %R to store at auto-incr/decr
addr.  Split incr and decr cases for store.

From-SVN: r2051
1992-09-04 21:27:17 +00:00
Torbjorn Granlund
90989852ca (casesi): Use match_dup for second mention of operand 4.
From-SVN: r2040
1992-09-03 05:49:58 +00:00
Jim Wilson
82b5625880 (SImode ldd peepholes): Add `f' to constraints.
From-SVN: r2035
1992-09-02 11:25:15 -07:00
Jim Wilson
1e59a3f81a (handle_pragma_token): Delete.
From-SVN: r2034
1992-09-02 10:45:35 -07:00
Jim Wilson
743ff6783a (HANDLE_PRAGMA): Delete.
From-SVN: r2033
1992-09-02 10:45:11 -07:00
Tom Wood
80d0abe9ad Drop \v in last change.
From-SVN: r2032
1992-09-02 16:38:37 +00:00
Jim Wilson
f36e573d24 Change the location of the Sun bundled C compiler (for backup defaults).
From-SVN: r2031
1992-09-02 09:34:08 -07:00
Tom Wood
883a42e5ad (MOVE_MAX): Express in bytes not bits.
From-SVN: r2030
1992-09-02 16:10:04 +00:00
Tom Wood
ef9429af77 (output_ascii): Output known escape characters and don't
terminate the constant if an octal escape is used.

From-SVN: r2029
1992-09-02 16:09:16 +00:00
Richard Stallman
54ca1d13e7 Initial revision
From-SVN: r2026
1992-09-02 06:19:04 +00:00
Richard Stallman
671b910797 (X_CFLAGS): Deleted.
From-SVN: r2025
1992-09-02 06:18:15 +00:00
Richard Stallman
d2e909818b (gmon.o): gmon-sol2.c is in config/.
From-SVN: r2022
1992-09-02 04:16:01 +00:00
Richard Stallman
61a43ca3ef (handle_pragma_token): Only use if HANDLE_SYSV_PRAGMA isn't defined.
From-SVN: r2021
1992-09-02 04:14:27 +00:00
Timothy Moore
4fc473c177 (CPP_SPEC, TARGET_SWITCHES): new flags: -mnosnake,
-mpa-risc-1-0, -mpa-risc-1-1.
        (ASM_DECLARE_FUNCTION_NAME): Emit argument descriptors for all
        general registers if current_function_varargs.

From-SVN: r2018
1992-09-01 21:27:47 +00:00
Torbjorn Granlund
498ee10c6a (output_move_double): Use ldo' for immediate adds (instead of addi' with bad syntax).
(output_move_double): Use `ldo' for immediate adds (instead of
`addi' with bad syntax).
(output_load_address): Likewise.

From-SVN: r2013
1992-09-01 15:38:03 +00:00
James Van Artsdalen
8c2bf92af1 (TARGET_FLOAT_RETURNS_IN_80387): New macro.
(TARGET_SWITCHES): Add "no-80387", "no-soft-float", "fp-ret-in-387", and
"no-fp-ret-in-387".
Change no* switches to no-*.
(CONDITIONAL_REGISTER_USAGE): Make 387 regs fixed if the 387 is not used
at all.
(REG_CLASS_FROM_LETTER): Constraint letters 'f', 't' and 'u' are NO_REGS
if the 387 is not used.
(TRAMPOLINE_TEMPLATE): Use GEN_INT to generate const_int rtx.

From-SVN: r2001
1992-08-31 07:06:56 +00:00
James Van Artsdalen
bbda1b9c4a (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Moved from unix target files (aix386.h...
(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Moved from unix target
files (aix386.h, i386gas.h, i386sun.h, i386v.h, i386v4.h, i386vgas.h,
seq386.h).
(TARGET_DEFAULT): Make TARGET_IEEE_FP default on.
(VALUE_REGNO): Test for MODE_FLOAT instead of specific modes.
(VALUE_REGNO,FUNCTION_VALUE_REGNO): MODE_FLOAT return reg depends on
TARGET_FLOAT_RETURNS_IN_80387.

From-SVN: r2000
1992-08-31 07:04:09 +00:00
James Van Artsdalen
582329cb76 (TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.
From-SVN: r1999
1992-08-31 07:03:32 +00:00
Tom Wood
5b17704609 (ADJUST_COST): Add definition.
From-SVN: r1985
1992-08-28 13:11:06 +00:00
James Van Artsdalen
664921b428 (movstrsi): Rewrite to handle operands correctly.
From-SVN: r1984
1992-08-28 06:24:41 +00:00
James Van Artsdalen
a199fdd675 (all patterns): Use GEN_INT instead of gen_rtx to get const_ints.
Avoid double-negative "! NON_*" constructs for clarity.
Pass NULL_PTR as null parameter instead of 0.
(sqrtM2): Patterns are only valid if IEEE FP or -ffast-math.
(sinM2,cosM2): New patterns.
(zero_extract test): New pattern.

From-SVN: r1982
1992-08-28 01:43:02 +00:00
James Van Artsdalen
435defd182 (all gen_rtx (CONST_INT) references): Use GEN_INT to generate const_int rtx.
(legitimize_pic_address): Pass NULL_RTX instead of "0" as pointer.

From-SVN: r1981
1992-08-28 01:36:16 +00:00
Michael Meissner
4d032a67aa Pass -shared/-non_shared to MIPS 3.0 linker if passed.
From-SVN: r1968
1992-08-26 21:21:55 +00:00
Tom Wood
9b1e668ec6 (define_function_unit): Correct and simplify memory unit
specification.

From-SVN: r1966
1992-08-26 20:54:09 +00:00
Jim Wilson
ec08cf0a39 (float*, fix*): Rewrite to match hardware...
(float*, fix*): Rewrite to match hardware; take/put
integer input/output from/to fp register instead of memory or
general register.  Delete 6 now obsolete combiner patterns.

From-SVN: r1957
1992-08-25 20:24:03 -07:00
Jim Wilson
5655f8855e (output_floatsisf2, output_floatsidf2, output_floatsitf2): Delete declarations.
From-SVN: r1956
1992-08-25 20:23:24 -07:00