Commit Graph

417 Commits

Author SHA1 Message Date
Richard Kenner
c276186e8e Initial revision
From-SVN: r9503
1995-04-27 08:05:51 -04:00
Jim Wilson
4cfd37163a (CPP_SPEC): Define.
From-SVN: r9466
1995-04-25 16:18:01 -07:00
Richard Kenner
2ac5334923 (divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some surrounding trash.
(divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some
surrounding trash.
(divmodhi4, udivmodhi4): Added these insns.

From-SVN: r9440
1995-04-25 15:45:30 -04:00
Per Bothner
b2b6cc0a55 (FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen.
From-SVN: r9415
1995-04-18 17:23:29 -07:00
Torbjorn Granlund
28d29b39bc (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
(smulsi3_highpart): Likewise.

(const_umulsi3_highpart): Use const_uint32_operand instead
of immediate_operand for op3.  Delete mode.
(const_smulsi3_highpart): Analogous change.

From-SVN: r9307
1995-04-03 22:54:09 +00:00
Torbjorn Granlund
67cd4f83cf (const_uint32_operand): New function.
(const_sint32_operand): New function.

From-SVN: r9306
1995-04-03 22:53:36 +00:00
Richard Kenner
3378918eed Remove #include of machine/ansi.h.
From-SVN: r9277
1995-03-31 18:34:12 -05:00
Jason Merrill
0600f3fab5 Move SunOS 4 assembler flags from default_compilers into ASM_SPEC.
From-SVN: r9197
1995-03-16 23:18:10 +00:00
Richard Kenner
22859ae8bd ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing SImode,
HImode, and QImode operands.

From-SVN: r9183
1995-03-14 18:38:25 -05:00
Doug Evans
63a33c9463 * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude.
From-SVN: r9157
1995-03-10 18:46:44 +00:00
Richard Kenner
f590249e80 (sqrtsf2,sqrtdf2): Use fp precision specifiers.
From-SVN: r9112
1995-03-02 18:18:24 -05:00
Richard Kenner
8b109b37fc Added arg to RETURN_POPS_ARGS.
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Doug Evans
cf9be6f0ef (OVERRIDE_OPTIONS): Add missing ';' to SUBTARGET_OVERRIDE_OPTIONS.
From-SVN: r8988
1995-02-21 15:09:36 +00:00
Doug Evans
ac57a94327 Initial revision
From-SVN: r8966
1995-02-18 17:35:43 +00:00
Doug Evans
51600f3d9e lynx.h (FUNCTION_VALUE): Redefine.
* m68k/lynx.h (FUNCTION_VALUE): Redefine.
	(LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, NEEDS_UNTYPED_CALL): Likewise.

From-SVN: r8964
1995-02-18 17:26:23 +00:00
Michael Meissner
2f7a07c294 Rename files.
From-SVN: r8935
1995-02-13 20:31:46 +00:00
Jim Wilson
bd2e6d530f (RTX_COSTS): Fix typo from last change.
From-SVN: r8931
1995-02-13 11:07:29 -08:00
Richard Kenner
5788afc6aa (RETURN_IN_MEMORY): Fix error in last change.
From-SVN: r8906
1995-02-11 14:58:14 -05:00
Torbjorn Granlund
272627c184 (__udivsi3, __divsi3, __umodsi3, __modsi3):
Rewrite to actually work for more than a few small operands,
and to be reasonably small.
(__mulsi3): Eliminate usage of link register (i.e. a6).
(shift patterns): Delete.
(__umulsi3): Delete.

From-SVN: r8880
1995-02-06 21:57:18 +00:00
Torbjorn Granlund
d35a9101b9 (LIB1ASMFUNCS): Remove _umulsi3.
From-SVN: r8879
1995-02-06 21:56:55 +00:00
Torbjorn Granlund
3296aff4d6 (RTX_COSTS): Add special cases for a plain 68000.
From-SVN: r8869
1995-02-06 02:42:29 +00:00
Richard Kenner
3826a3da7f Update comments.
From-SVN: r8811
1995-01-25 14:40:53 -05:00
Richard Kenner
d9c875c712 (DEFAULT_PCC_STRUCT_RETURN): Define as zero.
(RETURN_IN_MEMORY): Small aggregates are to be returned in d0.

From-SVN: r8805
1995-01-25 12:53:36 -05:00
Richard Kenner
801aee461f (zero_extendsidi2): New pattern.
(extendqidi2, extendhidi2, extendsidi2, extendplussidi): New patterns.
(adddia_sexthishl32, adddid_sexthishl32): New patterns.
(adddi_dilshr32, adddi_dishl32, adddi_mem): New patterns.
(adddi3, subdi3): Allow more alternatives.
(subdia_sexthishl32, subdid_sexthishl32): New patterns.
(subdi_dishl32, subdi_mem): New patterns.
(negdi2): New pattern.
(ashldi_sexthi, ashldi_const32, ashldi_const, ashldi3): New patterns.
(subreg1ashrdi_const32, ashrdi_const32): New patterns.
(ashrdi_const32_mem, ashrdi_const, ashrdi3): New patterns.
(subreg1lshrdi_const32, lshrdi_const32, lshrdi_const, lshrdi3): Ditto.
(lshrsi_31): New pattern.
(lshrsi_16, lshrsi_17_24): New names for old unnamed patterns.

From-SVN: r8753
1995-01-13 20:36:09 -05:00
Richard Kenner
f1d947250e (fullword move): Call output_move_const_into_data_reg.
From-SVN: r8752
1995-01-13 20:29:19 -05:00
Richard Kenner
8dbda09ab5 (CONST_COSTS): Call const_int_cost.
From-SVN: r8751
1995-01-13 20:28:45 -05:00
Richard Kenner
0ce6f9fb5c (use_movqi, const_method): New functions.
(const_int_cost, output_move_const_into_data_reg): Likewise.
(singlemove_string): Call output_move_const_into_data_reg.

From-SVN: r8750
1995-01-13 20:28:25 -05:00
Ian Lance Taylor
40dc28fcab On a NeXT, <limits.h> is sometimes not in /usr/include, so look elsewhere
From-SVN: r8689
1994-12-22 17:16:22 +00:00
Richard Kenner
0e73100c7e (sqrtsf2, sinsf2, sindf2, sinxf2): Define.
(cossf2, cosdf2, cosxf2): Likewise.
(sqrtxf2): Operand 1 now XFmode.

From-SVN: r8685
1994-12-21 15:36:31 -05:00
Richard Kenner
54dad0c260 (adddi3, subdi3): New patterns.
From-SVN: r8684
1994-12-21 14:39:36 -05:00
Richard Kenner
b43fc29608 (IMMEDIATE_PREFIX): Really define.
From-SVN: r8651
1994-12-13 18:22:14 -05:00
Richard Kenner
d38248f679 (FUNCTION_EXTRA_EPILOGUE): Fix typo in mov.l opcode.
From-SVN: r8650
1994-12-13 18:21:44 -05:00
Richard Kenner
f723f6ef7b (cmpsi): Make this into a define_expand; legitimize PIC addresses if necessary.
(cmpsi): Make this into a define_expand; legitimize PIC addresses if
necessary.
Old cmpsi code now unnamed define_insn pattern.

From-SVN: r8642
1994-12-10 16:57:40 -05:00
Richard Kenner
7bc89c296c (bsetmemqi, bclrmemqi): New patterns to set bit in memory byte with
bit number dynamic (use bclr/bset instructions).

From-SVN: r8631
1994-12-08 15:41:17 -05:00
Richard Kenner
16f323bef3 (extend_operator): New predicate.
From-SVN: r8630
1994-12-08 15:40:54 -05:00
Richard Kenner
61314cb469 New pattern for ior between SImode target and zero_extended value.
From-SVN: r8624
1994-12-07 16:51:43 -05:00
Doug Evans
5120098826 (negsf2): Flip sign bit if software floating point.
(negdf2,negxf2): Likewise.
(abssf2): Zero sign bit if software floating point.
(absdf2,absxf2): Likewise.

From-SVN: r8608
1994-12-05 18:53:20 +00:00
Richard Kenner
ac7400c632 (movqi): Fix typo in push/pop case.
From-SVN: r8545
1994-11-21 18:41:30 -05:00
Doug Evans
2029232eda (MULTILIB_MATCHES): Treat m68302/m68332 like m68000.
From-SVN: r8535
1994-11-21 18:36:39 +00:00
Jim Wilson
2655599b8f (addsf3): After using swap for 16 bit rotate,
branch back only if count still greater than 0.

From-SVN: r8529
1994-11-19 15:56:33 -08:00
Doug Evans
291cab5be1 Initial revision
From-SVN: r8507
1994-11-18 03:50:28 +00:00
Doug Evans
0d64f74cb3 Initial revision
From-SVN: r8496
1994-11-17 23:58:35 +00:00
Doug Evans
75ec92347c Usage change.
Usage change.  Now is top level target description for bare m68k
boards using coff format.

From-SVN: r8495
1994-11-17 23:52:38 +00:00
Doug Evans
b76f773b54 m68k-coff.h renamed to coff.h.
From-SVN: r8493
1994-11-17 23:21:49 +00:00
Doug Evans
e73646fec6 Initial revision
From-SVN: r8492
1994-11-17 23:19:59 +00:00
Jason Merrill
9a2073d855 (FUNCTION_VALUE): Use
POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).

From-SVN: r8459
1994-11-16 00:48:05 +00:00
Jason Merrill
2df330f4d2 Don't define __PTR_TO_INT and
__INT_TO_PTR.

From-SVN: r8457
1994-11-16 00:45:41 +00:00
Jason Merrill
d377038a55 Define __PTR_TO_INT and __INT_TO_PTR.
From-SVN: r8455
1994-11-16 00:45:41 +00:00
Jason Merrill
b92f397852 (FUNCTION_VALUE): Use POINTER_TYPE_P rather than checking the type against POINTER_TYPE (to include references).
(FUNCTION_VALUE): Use
        POINTER_TYPE_P rather than checking the type against POINTER_TYPE
        (to include references).
 Don't define __PTR_TO_INT and
        __INT_TO_PTR.

From-SVN: r8453
1994-11-16 00:45:41 +00:00
Richard Kenner
858e1c67f7 (FUNCTION_{PRO,EPI}LOGUE): No longer defined.
(FUNCTION_EXTRA_EPILOGUE): Define.

From-SVN: r8418
1994-11-10 19:12:45 -05:00