(TARGET_DEFAULT,VALUE_REGNO,FUNCTION_VALUE_REGNO): Move to unx386.h.
authorJames Van Artsdalen <jrv@gnu.org>
Mon, 31 Aug 1992 07:03:32 +0000 (07:03 +0000)
committerJames Van Artsdalen <jrv@gnu.org>
Mon, 31 Aug 1992 07:03:32 +0000 (07:03 +0000)
From-SVN: r1999

gcc/config/i386/aix386.h
gcc/config/i386/gas.h
gcc/config/i386/sequent.h
gcc/config/i386/sun.h
gcc/config/i386/sysv3.h
gcc/config/i386/sysv4.h

index 3cd191e5238716c1742d32f37520ff9af4527efb..133df6f167638f1bdfe87a063120bffd942ff426 100644 (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
 \f
-/* 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.  */
 
index eeb0483c88d0ef042e17950a99b00757f7fabb6a..4617e10f668913d276e2cf6f04496ee56356afb7 100644 (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.  */
 \f
-/* 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);
index d134215650fdae841677217b8dab79dca061e5d7..a8720280000e906e019df578660e517beb19d919 100644 (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. */
 
index 2c84e9fecf9c1ae9dbe5ae398436ed568af4b697..5bc96f9716343b780efb5c4c00aa652cd399181d 100644 (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
index 4cdbedaf4e1f9818e96af6ea1342c9c40f6086b5..41b40151a8095f8b476c2bfb3d2b48b6a4e3a249 100644 (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)
 \f
-/* 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
index 7d4871f23dce026a7b7c0522b7493c85f754caf6..c3caacb78431380b2d0514328c2a731a31ab252e 100644 (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.  */