Commit d9c875c7 by Richard Kenner

(DEFAULT_PCC_STRUCT_RETURN): Define as zero.

(RETURN_IN_MEMORY): Small aggregates are to be returned in d0.

From-SVN: r8805
parent 2e420a17
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
SysV68 Motorola 3300 Delta Series. SysV68 Motorola 3300 Delta Series.
Copyright (C) 1987, 1993, 1994 Free Software Foundation, Inc. Copyright (C) 1987, 1993, 1994, 1995 Free Software Foundation, Inc.
Coptributed by Abramo and Roberto Bagnara (bagnara@dipisa.di.unipi.it) Coptributed by Abramo and Roberto Bagnara (bagnara@dipisa.di.unipi.it)
based on Alex Crain's 3B1 definitions. based on Alex Crain's 3B1 definitions.
Maintained by Philippe De Muyter (phdm@info.ucl.ac.be).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -170,6 +171,15 @@ output_file_directive ((FILE), main_input_filename) ...@@ -170,6 +171,15 @@ output_file_directive ((FILE), main_input_filename)
1, 1, 0, 0, 0, 0, 0, 1, \ 1, 1, 0, 0, 0, 0, 0, 1, \
1, 1, 0, 0, 0, 0, 0, 0} 1, 1, 0, 0, 0, 0, 0, 0}
/* This will return small structs in d0. */
#define RETURN_IN_MEMORY(type) \
(AGGREGATE_TYPE_P (type) \
&& GET_MODE_SIZE (TYPE_MODE (type)) > UNITS_PER_WORD)
/* Don't default to pcc-struct-return, because we have already specified
exactly how to return structures in the RETURN_IN_MEMORY macro. */
#define DEFAULT_PCC_STRUCT_RETURN 0
/* If TARGET_68881, return SF and DF values in fp0 instead of d0. */ /* If TARGET_68881, return SF and DF values in fp0 instead of d0. */
/* NYI: If FP=M68881U return SF and DF values in d0. */ /* NYI: If FP=M68881U return SF and DF values in d0. */
/* NYI: If -mold return pointer in a0 and d0 */ /* NYI: If -mold return pointer in a0 and d0 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment