(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.

From-SVN: r1999
This commit is contained in:
James Van Artsdalen 1992-08-31 07:03:32 +00:00
parent a91ae5fb58
commit 582329cb76
6 changed files with 0 additions and 109 deletions

View File

@ -30,10 +30,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "att386.h"
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Use crt1.o as a startup file and crtn.o as a closing file. */
#define STARTFILE_SPEC \
@ -79,20 +75,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ASM_FILE_START_1(FILE) fprintf (FILE, "\t.noopt\n");
#endif
/* Machines that use the AT&T assembler syntax
also return floating point values in an FP register. */
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
If the precise function being called is known, FUNC is its FUNCTION_DECL;
otherwise, FUNC is 0. */
#define VALUE_REGNO(MODE) \
(((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */

View File

@ -43,10 +43,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef DBX_NO_XREFS
#undef DBX_CONTIN_LENGTH
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dunix -Di386"
@ -94,20 +90,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ASM_OUTPUT_LOOP_ALIGN(FILE) \
fprintf ((FILE), "\t.align 2,0x90\n"); /* Use log of 4 as arg. */
/* Machines that use the AT&T assembler syntax
also return floating point values in an FP register. */
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
If the precise function being called is known, FUNC is its FUNCTION_DECL;
otherwise, FUNC is 0. */
#define VALUE_REGNO(MODE) \
(((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
fprintf (FILE, "\t.file\t\"%s\"\n", dump_base_name);

View File

@ -23,10 +23,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "bsd386.h"
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dunix -Di386 -Dsequent"
@ -75,15 +71,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
: (MODE) != QImode) \
&& ! (REGNO == 2 && GET_MODE_UNIT_SIZE (MODE) > 4))
/* Floating-point return values come in the FP register. */
#define VALUE_REGNO(MODE) \
(((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */

View File

@ -24,10 +24,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "sun386.h"
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Use crt0.o as a startup file. */
#define STARTFILE_SPEC \
@ -77,18 +73,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define PCC_BITFIELD_TYPE_MATTERS 1
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
If the precise function being called is known, FUNC is its FUNCTION_DECL;
otherwise, FUNC is 0. */
#define VALUE_REGNO(MODE) \
(((MODE)==SFmode || (MODE)==DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
/* This is partly guess. */
#undef DBX_REGISTER_NUMBER

View File

@ -29,10 +29,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "att386.h"
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Use crt1.o as a startup file and crtn.o as a closing file. */
#define STARTFILE_SPEC \
@ -58,28 +54,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef ASM_FILE_START_1
#define ASM_FILE_START_1(FILE)
/* Machines that use the AT&T assembler syntax
also return floating point values in an FP register. */
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
If the precise function being called is known, FUNC is its FUNCTION_DECL;
otherwise, FUNC is 0. */
#define VALUE_REGNO(MODE) \
(((MODE) == SFmode || (MODE) == DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
#if 0 /* This symbol is expected to exist only on BSD,
and besides, it describes the host rather than the target.
It certainly does not belong here. */
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
#endif
#endif
/* longjmp may fail to restore the registers if called from the same
function that called setjmp. To compensate, the compiler avoids
putting variables in registers in functions that use both setjmp

View File

@ -26,24 +26,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 System V Release 4)");
/* By default, target has a 80387. */
#define TARGET_DEFAULT 1
/* Machines that use the AT&T assembler syntax
also return floating point values in an FP register. */
/* Define how to find the value returned by a function.
VALTYPE is the data type of the value (as a tree).
If the precise function being called is known, FUNC is its FUNCTION_DECL;
otherwise, FUNC is 0. */
#define VALUE_REGNO(MODE) \
(((MODE) == SFmode || (MODE) == DFmode) ? FIRST_FLOAT_REG : 0)
/* 1 if N is a possible register number for a function value. */
#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0 || (N)== FIRST_FLOAT_REG)
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. */