Commit 80ffc95e by Kazu Hirata Committed by Kazu Hirata

linux-aout.h: Fix comment formatting.

	* config/sparc/linux-aout.h: Fix comment formatting.
	* config/sparc/linux.h: Likewise.
	* config/sparc/linux64.h: Likewise.
	* config/sparc/lynx.h: Likewise.
	* config/sparc/pbd.h: Likewise.
	* config/sparc/sol2-sld-64.h: Likewise.
	* config/sparc/sol2.h: Likewise.
	* config/sparc/sparc.c: Likewise.
	* config/sparc/sparc.h: Likewise.
	* config/sparc/sparc.md: Likewise.
	* config/sparc/sunos4.h: Likewise.
	* config/sparc/vxsim.h: Likewise.
	* config/sparc/vxsparc.h: Likewise.
	* config/sparc/vxsparc64.h: Likewise.

From-SVN: r46737
parent a79e3a45
2001-11-03 Kazu Hirata <kazu@hxi.com>
* config/sparc/linux-aout.h: Fix comment formatting.
* config/sparc/linux.h: Likewise.
* config/sparc/linux64.h: Likewise.
* config/sparc/lynx.h: Likewise.
* config/sparc/pbd.h: Likewise.
* config/sparc/sol2-sld-64.h: Likewise.
* config/sparc/sol2.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/sparc/sparc.md: Likewise.
* config/sparc/sunos4.h: Likewise.
* config/sparc/vxsim.h: Likewise.
* config/sparc/vxsparc.h: Likewise.
* config/sparc/vxsparc64.h: Likewise.
Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Sat Nov 3 10:37:56 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
......
...@@ -22,18 +22,18 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,18 +22,18 @@ Boston, MA 02111-1307, USA. */
#include <aoutos.h> #include <aoutos.h>
#include <sparc/sparc.h> #include <sparc/sparc.h>
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
/* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is. /* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is.
For now, we play safe. It may change later. */ For now, we play safe. It may change later. */
#if 0 #if 0
#undef MULTIBYTE_CHARS #undef MULTIBYTE_CHARS
#define MULTIBYTE_CHARS 1 #define MULTIBYTE_CHARS 1
#endif #endif
/* We need that too. */ /* We need that too. */
#define HANDLE_SYSV_PRAGMA #define HANDLE_SYSV_PRAGMA
#undef MD_EXEC_PREFIX #undef MD_EXEC_PREFIX
...@@ -93,7 +93,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -93,7 +93,7 @@ Boston, MA 02111-1307, USA. */
#define LINK_SPEC "-m sparclinux" #define LINK_SPEC "-m sparclinux"
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{V} %{v:%{!V:-V}} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} %{fPIC:-K PIC}" "%{V} %{v:%{!V:-V}} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} %{fPIC:-K PIC}"
......
...@@ -21,11 +21,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,11 +21,11 @@ Boston, MA 02111-1307, USA. */
#define LINUX_DEFAULT_ELF #define LINUX_DEFAULT_ELF
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
/* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is. /* GNU/Linux uses ctype from glibc.a. I am not sure how complete it is.
For now, we play safe. It may change later. */ For now, we play safe. It may change later. */
#if 0 #if 0
#undef MULTIBYTE_CHARS #undef MULTIBYTE_CHARS
...@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -43,7 +43,7 @@ Boston, MA 02111-1307, USA. */
/* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
the GNU/Linux magical crtbegin.o file (see crtstuff.c) which the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
provides part of the support for getting C++ file-scope static provides part of the support for getting C++ file-scope static
object constructed before entering `main'. */ object constructed before entering `main'. */
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC \ #define STARTFILE_SPEC \
...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */
#define ENDFILE_SPEC \ #define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s" "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
/* This is for -profile to use -lc_p instead of -lc. */ /* This is for -profile to use -lc_p instead of -lc. */
#undef CC1_SPEC #undef CC1_SPEC
#define CC1_SPEC "%{profile:-p} \ #define CC1_SPEC "%{profile:-p} \
%{sun4:} %{target:} \ %{sun4:} %{target:} \
...@@ -146,7 +146,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -146,7 +146,7 @@ Boston, MA 02111-1307, USA. */
When the -shared link option is used a final link is not being When the -shared link option is used a final link is not being
done. */ done. */
/* If ELF is the default format, we should not use /lib/elf. */ /* If ELF is the default format, we should not use /lib/elf. */
#undef LINK_SPEC #undef LINK_SPEC
#ifdef USE_GNULIBC_1 #ifdef USE_GNULIBC_1
...@@ -179,7 +179,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -179,7 +179,7 @@ Boston, MA 02111-1307, USA. */
#endif #endif
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} \ "%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC} \
......
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#define LINUX_DEFAULT_ELF #define LINUX_DEFAULT_ELF
/* Don't assume anything about the header files. */ /* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C #define NO_IMPLICIT_EXTERN_C
#include <sparc/sysv4.h> #include <sparc/sysv4.h>
...@@ -56,7 +56,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -56,7 +56,7 @@ Boston, MA 02111-1307, USA. */
/* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add /* Provide a STARTFILE_SPEC appropriate for GNU/Linux. Here we add
the GNU/Linux magical crtbegin.o file (see crtstuff.c) which the GNU/Linux magical crtbegin.o file (see crtstuff.c) which
provides part of the support for getting C++ file-scope static provides part of the support for getting C++ file-scope static
object constructed before entering `main'. */ object constructed before entering `main'. */
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
...@@ -196,7 +196,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -196,7 +196,7 @@ Boston, MA 02111-1307, USA. */
When the -shared link option is used a final link is not being When the -shared link option is used a final link is not being
done. */ done. */
/* If ELF is the default format, we should not use /lib/elf. */ /* If ELF is the default format, we should not use /lib/elf. */
#ifdef SPARC_BI_ARCH #ifdef SPARC_BI_ARCH
...@@ -290,7 +290,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -290,7 +290,7 @@ Boston, MA 02111-1307, USA. */
#endif /* !SPARC_BI_ARCH */ #endif /* !SPARC_BI_ARCH */
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{V} \ %{V} \
......
...@@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -45,7 +45,7 @@ Boston, MA 02111-1307, USA. */
#undef LINK_SPEC #undef LINK_SPEC
/* Sparc version of libc.a has references to libm.a (printf calls pow for /* Sparc version of libc.a has references to libm.a (printf calls pow for
instance), so we must always link both. */ instance), so we must always link both. */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "%{mthreads:-L/lib/thread/} \ #define LIB_SPEC "%{mthreads:-L/lib/thread/} \
......
...@@ -77,7 +77,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -77,7 +77,7 @@ Boston, MA 02111-1307, USA. */
/* similar to default, but allows for the table defined by ld with gcc.ifile. /* similar to default, but allows for the table defined by ld with gcc.ifile.
nptrs is always 0. So we need to instead check that __DTOR_LIST__[1] != 0. nptrs is always 0. So we need to instead check that __DTOR_LIST__[1] != 0.
The old check is left in so that the same macro can be used if and when The old check is left in so that the same macro can be used if and when
a future version of gas does support section directives. */ a future version of gas does support section directives. */
#define DO_GLOBAL_DTORS_BODY {int nptrs = *(int *)__DTOR_LIST__; int i; \ #define DO_GLOBAL_DTORS_BODY {int nptrs = *(int *)__DTOR_LIST__; int i; \
if (nptrs == -1 || (__DTOR_LIST__[0] == 0 && __DTOR_LIST__[1] != 0)) \ if (nptrs == -1 || (__DTOR_LIST__[0] == 0 && __DTOR_LIST__[1] != 0)) \
...@@ -102,7 +102,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -102,7 +102,7 @@ Boston, MA 02111-1307, USA. */
} }
*/ */
/* The prefix to add to user-visible assembler symbols. */ /* The prefix to add to user-visible assembler symbols. */
#undef USER_LABEL_PREFIX #undef USER_LABEL_PREFIX
#define USER_LABEL_PREFIX "" #define USER_LABEL_PREFIX ""
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
#endif #endif
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \ %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
......
...@@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */
" "
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \ %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
...@@ -79,7 +79,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -79,7 +79,7 @@ Boston, MA 02111-1307, USA. */
" "
/* However it appears that Solaris 2.0 uses the same reg numbering as /* However it appears that Solaris 2.0 uses the same reg numbering as
the old BSD-style system did. */ the old BSD-style system did. */
#undef DBX_REGISTER_NUMBER #undef DBX_REGISTER_NUMBER
/* Same as sparc.h */ /* Same as sparc.h */
...@@ -91,7 +91,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -91,7 +91,7 @@ Boston, MA 02111-1307, USA. */
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
/* The Solaris 2 assembler uses .skip, not .zero, so put this back. */ /* The Solaris 2 assembler uses .skip, not .zero, so put this back. */
#undef ASM_OUTPUT_SKIP #undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \ #define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t.skip %u\n", (SIZE)) fprintf (FILE, "\t.skip %u\n", (SIZE))
......
...@@ -282,7 +282,7 @@ sparc_override_options () ...@@ -282,7 +282,7 @@ sparc_override_options ()
/* TI ultrasparc I, II, IIi */ /* TI ultrasparc I, II, IIi */
{ "ultrasparc", PROCESSOR_ULTRASPARC, MASK_ISA, MASK_V9 { "ultrasparc", PROCESSOR_ULTRASPARC, MASK_ISA, MASK_V9
/* Although insns using %y are deprecated, it is a clear win on current /* Although insns using %y are deprecated, it is a clear win on current
ultrasparcs. */ ultrasparcs. */
|MASK_DEPRECATED_V8_INSNS}, |MASK_DEPRECATED_V8_INSNS},
{ 0, 0, 0, 0 } { 0, 0, 0, 0 }
}; };
...@@ -907,7 +907,7 @@ cc_arithopn (op, mode) ...@@ -907,7 +907,7 @@ cc_arithopn (op, mode)
enum machine_mode mode ATTRIBUTE_UNUSED; enum machine_mode mode ATTRIBUTE_UNUSED;
{ {
/* XOR is not here because combine canonicalizes (xor (not ...) ...) /* XOR is not here because combine canonicalizes (xor (not ...) ...)
and (xor ... (not ...)) to (not (xor ...)). */ and (xor ... (not ...)) to (not (xor ...)). */
return (GET_CODE (op) == AND return (GET_CODE (op) == AND
|| GET_CODE (op) == IOR); || GET_CODE (op) == IOR);
} }
...@@ -1339,7 +1339,7 @@ sparc_emit_set_const32 (op0, op1) ...@@ -1339,7 +1339,7 @@ sparc_emit_set_const32 (op0, op1)
} }
/* Sparc-v9 code-model support. */ /* Sparc-v9 code-model support. */
void void
sparc_emit_set_symbolic_const64 (op0, op1, temp1) sparc_emit_set_symbolic_const64 (op0, op1, temp1)
rtx op0; rtx op0;
...@@ -1603,7 +1603,7 @@ sparc_emit_set_const64_quick2 (op0, temp, high_bits, low_immediate, shift_count) ...@@ -1603,7 +1603,7 @@ sparc_emit_set_const64_quick2 (op0, temp, high_bits, low_immediate, shift_count)
temp2 = temp; temp2 = temp;
} }
/* Now shift it up into place. */ /* Now shift it up into place. */
emit_insn (gen_rtx_SET (VOIDmode, op0, emit_insn (gen_rtx_SET (VOIDmode, op0,
gen_rtx_ASHIFT (DImode, temp2, gen_rtx_ASHIFT (DImode, temp2,
GEN_INT (shift_count)))); GEN_INT (shift_count))));
...@@ -1718,11 +1718,11 @@ sparc_emit_set_const64_longway (op0, temp, high_bits, low_bits) ...@@ -1718,11 +1718,11 @@ sparc_emit_set_const64_longway (op0, temp, high_bits, low_bits)
if (low3 != const0_rtx) if (low3 != const0_rtx)
emit_insn (gen_rtx_SET (VOIDmode, op0, emit_insn (gen_rtx_SET (VOIDmode, op0,
gen_rtx_IOR (DImode, op0, low3))); gen_rtx_IOR (DImode, op0, low3)));
/* phew... */ /* phew... */
} }
} }
/* Analyze a 64-bit constant for certain properties. */ /* Analyze a 64-bit constant for certain properties. */
static void analyze_64bit_constant static void analyze_64bit_constant
PARAMS ((unsigned HOST_WIDE_INT, PARAMS ((unsigned HOST_WIDE_INT,
unsigned HOST_WIDE_INT, unsigned HOST_WIDE_INT,
...@@ -2116,7 +2116,7 @@ sparc_emit_set_const64 (op0, op1) ...@@ -2116,7 +2116,7 @@ sparc_emit_set_const64 (op0, op1)
return; return;
} }
/* The easiest way when all else fails, is full decomposition. */ /* The easiest way when all else fails, is full decomposition. */
#if 0 #if 0
printf ("sparc_emit_set_const64: Hard constant [%08lx%08lx] neg[%08lx%08lx]\n", printf ("sparc_emit_set_const64: Hard constant [%08lx%08lx] neg[%08lx%08lx]\n",
high_bits, low_bits, ~high_bits, ~low_bits); high_bits, low_bits, ~high_bits, ~low_bits);
...@@ -4680,7 +4680,7 @@ function_arg_pass_by_reference (cum, mode, type, named) ...@@ -4680,7 +4680,7 @@ function_arg_pass_by_reference (cum, mode, type, named)
else else
{ {
return ((type && TREE_CODE (type) == ARRAY_TYPE) return ((type && TREE_CODE (type) == ARRAY_TYPE)
/* Consider complex values as aggregates, so care for TCmode. */ /* Consider complex values as aggregates, so care for TCmode. */
|| GET_MODE_SIZE (mode) > 16 || GET_MODE_SIZE (mode) > 16
|| (type && AGGREGATE_TYPE_P (type) || (type && AGGREGATE_TYPE_P (type)
&& int_size_in_bytes (type) > 16)); && int_size_in_bytes (type) > 16));
...@@ -6847,7 +6847,7 @@ sparc_flat_function_prologue (file, size) ...@@ -6847,7 +6847,7 @@ sparc_flat_function_prologue (file, size)
} }
/* Do any necessary cleanup after a function to restore stack, frame, /* Do any necessary cleanup after a function to restore stack, frame,
and regs. */ and regs. */
static void static void
sparc_flat_function_epilogue (file, size) sparc_flat_function_epilogue (file, size)
...@@ -7131,7 +7131,7 @@ hypersparc_adjust_cost (insn, link, dep_insn, cost) ...@@ -7131,7 +7131,7 @@ hypersparc_adjust_cost (insn, link, dep_insn, cost)
{ {
case TYPE_STORE: case TYPE_STORE:
case TYPE_FPSTORE: case TYPE_FPSTORE:
/* Get the delay iff the address of the store is the dependence. */ /* Get the delay iff the address of the store is the dependence. */
if (GET_CODE (pat) != SET || GET_CODE (dep_pat) != SET) if (GET_CODE (pat) != SET || GET_CODE (dep_pat) != SET)
return cost; return cost;
...@@ -7173,7 +7173,7 @@ hypersparc_adjust_cost (insn, link, dep_insn, cost) ...@@ -7173,7 +7173,7 @@ hypersparc_adjust_cost (insn, link, dep_insn, cost)
break; break;
case REG_DEP_ANTI: case REG_DEP_ANTI:
/* Anti-dependencies only penalize the fpu unit. */ /* Anti-dependencies only penalize the fpu unit. */
if (insn_type == TYPE_IALU || insn_type == TYPE_SHIFT) if (insn_type == TYPE_IALU || insn_type == TYPE_SHIFT)
return 0; return 0;
break; break;
...@@ -7290,7 +7290,7 @@ ultrasparc_adjust_cost (insn, link, dep_insn, cost) ...@@ -7290,7 +7290,7 @@ ultrasparc_adjust_cost (insn, link, dep_insn, cost)
if (dep_type == TYPE_IALU if (dep_type == TYPE_IALU
&& cost < 2) && cost < 2)
return 2; return 2;
/* Otherwise check as for integer conditional moves. */ /* Otherwise check as for integer conditional moves. */
case TYPE_CMOVE: case TYPE_CMOVE:
/* Conditional moves involving integer registers wait until /* Conditional moves involving integer registers wait until
...@@ -7307,7 +7307,7 @@ ultrasparc_adjust_cost (insn, link, dep_insn, cost) ...@@ -7307,7 +7307,7 @@ ultrasparc_adjust_cost (insn, link, dep_insn, cost)
break; break;
case REG_DEP_ANTI: case REG_DEP_ANTI:
/* Divide and square root lock destination registers for full latency. */ /* Divide and square root lock destination registers for full latency. */
if (! SLOW_FP (dep_type)) if (! SLOW_FP (dep_type))
return 0; return 0;
break; break;
...@@ -8149,7 +8149,7 @@ set_extends (insn) ...@@ -8149,7 +8149,7 @@ set_extends (insn)
switch (GET_CODE (SET_SRC (pat))) switch (GET_CODE (SET_SRC (pat)))
{ {
/* Load and some shift instructions zero extend. */ /* Load and some shift instructions zero extend. */
case MEM: case MEM:
case ZERO_EXTEND: case ZERO_EXTEND:
/* sethi clears the high bits */ /* sethi clears the high bits */
...@@ -8191,7 +8191,7 @@ set_extends (insn) ...@@ -8191,7 +8191,7 @@ set_extends (insn)
case ASHIFT: case ASHIFT:
case LSHIFTRT: case LSHIFTRT:
return GET_MODE (SET_SRC (pat)) == SImode; return GET_MODE (SET_SRC (pat)) == SImode;
/* Positive integers leave the high bits zero. */ /* Positive integers leave the high bits zero. */
case CONST_DOUBLE: case CONST_DOUBLE:
return ! (CONST_DOUBLE_LOW (SET_SRC (pat)) & 0x80000000); return ! (CONST_DOUBLE_LOW (SET_SRC (pat)) & 0x80000000);
case CONST_INT: case CONST_INT:
...@@ -8206,7 +8206,7 @@ set_extends (insn) ...@@ -8206,7 +8206,7 @@ set_extends (insn)
} }
} }
/* We _ought_ to have only one kind per function, but... */ /* We _ought_ to have only one kind per function, but... */
static rtx sparc_addr_diff_list; static rtx sparc_addr_diff_list;
static rtx sparc_addr_list; static rtx sparc_addr_list;
...@@ -8402,7 +8402,7 @@ sparc_v8plus_shift (operands, insn, opcode) ...@@ -8402,7 +8402,7 @@ sparc_v8plus_shift (operands, insn, opcode)
} }
/* Return 1 if DEST and SRC reference only global and in registers. */ /* Return 1 if DEST and SRC reference only global and in registers. */
int int
sparc_return_peephole_ok (dest, src) sparc_return_peephole_ok (dest, src)
......
...@@ -1359,7 +1359,7 @@ enum reg_class { NO_REGS, FPCC_REGS, I64_REGS, GENERAL_REGS, FP_REGS, ...@@ -1359,7 +1359,7 @@ enum reg_class { NO_REGS, FPCC_REGS, I64_REGS, GENERAL_REGS, FP_REGS,
#define N_REG_CLASSES (int) LIM_REG_CLASSES #define N_REG_CLASSES (int) LIM_REG_CLASSES
/* Give names of register classes as strings for dump file. */ /* Give names of register classes as strings for dump file. */
#define REG_CLASS_NAMES \ #define REG_CLASS_NAMES \
{ "NO_REGS", "FPCC_REGS", "I64_REGS", "GENERAL_REGS", "FP_REGS", \ { "NO_REGS", "FPCC_REGS", "I64_REGS", "GENERAL_REGS", "FP_REGS", \
...@@ -1448,7 +1448,7 @@ extern const char leaf_reg_remap[]; ...@@ -1448,7 +1448,7 @@ extern const char leaf_reg_remap[];
.md file for v8 and v9. .md file for v8 and v9.
'd' and 'b' are used for single and double precision VIS operations, 'd' and 'b' are used for single and double precision VIS operations,
if TARGET_VIS. if TARGET_VIS.
'h' is used for V8+ 64 bit global and out registers. */ 'h' is used for V8+ 64 bit global and out registers. */
#define REG_CLASS_FROM_LETTER(C) \ #define REG_CLASS_FROM_LETTER(C) \
(TARGET_V9 \ (TARGET_V9 \
...@@ -1655,7 +1655,7 @@ extern const char leaf_reg_remap[]; ...@@ -1655,7 +1655,7 @@ extern const char leaf_reg_remap[];
/* When a parameter is passed in a register, stack space is still /* When a parameter is passed in a register, stack space is still
allocated for it. allocated for it.
!v9: All 6 possible integer registers have backing store allocated. !v9: All 6 possible integer registers have backing store allocated.
v9: Only space for the arguments passed is allocated. */ v9: Only space for the arguments passed is allocated. */
/* ??? Ideally, we'd use zero here (as the minimum), but zero has special /* ??? Ideally, we'd use zero here (as the minimum), but zero has special
meaning to the backend. Further, we need to be able to detect if a meaning to the backend. Further, we need to be able to detect if a
varargs/unprototyped function is called, as they may want to spill more varargs/unprototyped function is called, as they may want to spill more
...@@ -1698,7 +1698,7 @@ extern const char leaf_reg_remap[]; ...@@ -1698,7 +1698,7 @@ extern const char leaf_reg_remap[];
? (TARGET_FPU && FLOAT_MODE_P (MODE) ? 32 : 8) \ ? (TARGET_FPU && FLOAT_MODE_P (MODE) ? 32 : 8) \
: 8) : 8)
/* ??? FIXME -- seems wrong for v9 structure passing... */ /* ??? FIXME -- seems wrong for v9 structure passing... */
#define BASE_INCOMING_ARG_REG(MODE) \ #define BASE_INCOMING_ARG_REG(MODE) \
(TARGET_ARCH64 \ (TARGET_ARCH64 \
? (TARGET_FPU && FLOAT_MODE_P (MODE) ? 32 \ ? (TARGET_FPU && FLOAT_MODE_P (MODE) ? 32 \
...@@ -2023,7 +2023,7 @@ LFLGNN"ID":" \ ...@@ -2023,7 +2023,7 @@ LFLGNN"ID":" \
We use some combination of instructions to produce the We use some combination of instructions to produce the
proper condition codes, but some flag combinations can not proper condition codes, but some flag combinations can not
be generated in this way. If this happens an unimplemented be generated in this way. If this happens an unimplemented
instruction will be executed to abort the program. */ instruction will be executed to abort the program. */
#if TARGET_ARCH32 #if TARGET_ARCH32
...@@ -2182,7 +2182,7 @@ LFLGRET"ID":\n\ ...@@ -2182,7 +2182,7 @@ LFLGRET"ID":\n\
#define RETURN_ADDR_IN_PREVIOUS_FRAME #define RETURN_ADDR_IN_PREVIOUS_FRAME
/* This is the offset of the return address to the true next instruction to be /* This is the offset of the return address to the true next instruction to be
executed for the current function. */ executed for the current function. */
#define RETURN_ADDR_OFFSET \ #define RETURN_ADDR_OFFSET \
(8 + 4 * (! TARGET_ARCH64 && current_function_returns_struct)) (8 + 4 * (! TARGET_ARCH64 && current_function_returns_struct))
...@@ -2431,7 +2431,7 @@ LFLGRET"ID":\n\ ...@@ -2431,7 +2431,7 @@ LFLGRET"ID":\n\
of a movtf pattern are both MEMs with \ of a movtf pattern are both MEMs with \
REG+REG address, then only one of them \ REG+REG address, then only one of them \
gets converted to an offsetable \ gets converted to an offsetable \
address. */ \ address. */ \
&& (MODE != TFmode \ && (MODE != TFmode \
|| (TARGET_FPU && TARGET_ARCH64 \ || (TARGET_FPU && TARGET_ARCH64 \
&& TARGET_V9 \ && TARGET_V9 \
...@@ -2441,7 +2441,7 @@ LFLGRET"ID":\n\ ...@@ -2441,7 +2441,7 @@ LFLGRET"ID":\n\
because then mem_min_alignment is \ because then mem_min_alignment is \
likely to be zero after reload and the \ likely to be zero after reload and the \
forced split would lack a matching \ forced split would lack a matching \
splitter pattern. */ \ splitter pattern. */ \
&& (TARGET_ARCH64 || optimize \ && (TARGET_ARCH64 || optimize \
|| (MODE != DFmode \ || (MODE != DFmode \
&& MODE != DImode))) \ && MODE != DImode))) \
...@@ -2451,7 +2451,7 @@ LFLGRET"ID":\n\ ...@@ -2451,7 +2451,7 @@ LFLGRET"ID":\n\
else if (RTX_OK_FOR_BASE_P (op1)) \ else if (RTX_OK_FOR_BASE_P (op1)) \
{ \ { \
if ((RTX_OK_FOR_INDEX_P (op0) \ if ((RTX_OK_FOR_INDEX_P (op0) \
/* See the previous comment. */ \ /* See the previous comment. */ \
&& (MODE != TFmode \ && (MODE != TFmode \
|| (TARGET_FPU && TARGET_ARCH64 \ || (TARGET_FPU && TARGET_ARCH64 \
&& TARGET_V9 \ && TARGET_V9 \
...@@ -2495,7 +2495,7 @@ LFLGRET"ID":\n\ ...@@ -2495,7 +2495,7 @@ LFLGRET"ID":\n\
&& CONSTANT_P (op1) \ && CONSTANT_P (op1) \
/* We can't allow TFmode, because an offset \ /* We can't allow TFmode, because an offset \
greater than or equal to the alignment (8) \ greater than or equal to the alignment (8) \
may cause the LO_SUM to overflow if !v9. */\ may cause the LO_SUM to overflow if !v9. */\
&& (MODE != TFmode || TARGET_V9)) \ && (MODE != TFmode || TARGET_V9)) \
goto ADDR; \ goto ADDR; \
} \ } \
...@@ -2604,7 +2604,7 @@ do { \ ...@@ -2604,7 +2604,7 @@ do { \
(! TARGET_PTR64 ? SImode : flag_pic ? SImode : TARGET_CM_MEDLOW ? SImode : DImode) (! TARGET_PTR64 ? SImode : flag_pic ? SImode : TARGET_CM_MEDLOW ? SImode : DImode)
#else #else
/* If assembler does not have working .subsection -1, we use DImode for pic, as otherwise /* If assembler does not have working .subsection -1, we use DImode for pic, as otherwise
we have to sign extend which slows things down. */ we have to sign extend which slows things down. */
#define CASE_VECTOR_MODE \ #define CASE_VECTOR_MODE \
(! TARGET_PTR64 ? SImode : flag_pic ? DImode : TARGET_CM_MEDLOW ? SImode : DImode) (! TARGET_PTR64 ? SImode : flag_pic ? DImode : TARGET_CM_MEDLOW ? SImode : DImode)
#endif #endif
...@@ -2612,7 +2612,7 @@ do { \ ...@@ -2612,7 +2612,7 @@ do { \
/* Define as C expression which evaluates to nonzero if the tablejump /* Define as C expression which evaluates to nonzero if the tablejump
instruction expects the table to contain offsets from the address of the instruction expects the table to contain offsets from the address of the
table. table.
Do not define this if the table should contain absolute addresses. */ Do not define this if the table should contain absolute addresses. */
/* #define CASE_VECTOR_PC_RELATIVE 1 */ /* #define CASE_VECTOR_PC_RELATIVE 1 */
/* Specify the tree operation to be used to convert reals to integers. */ /* Specify the tree operation to be used to convert reals to integers. */
...@@ -2663,7 +2663,7 @@ do { \ ...@@ -2663,7 +2663,7 @@ do { \
#define PROMOTE_PROTOTYPES (TARGET_ARCH32) #define PROMOTE_PROTOTYPES (TARGET_ARCH32)
/* Define this to be nonzero if shift instructions ignore all but the low-order /* Define this to be nonzero if shift instructions ignore all but the low-order
few bits. */ few bits. */
#define SHIFT_COUNT_TRUNCATED 1 #define SHIFT_COUNT_TRUNCATED 1
/* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits
...@@ -2903,7 +2903,7 @@ do { \ ...@@ -2903,7 +2903,7 @@ do { \
#define ASM_BYTE_OP "\t.byte\t" #define ASM_BYTE_OP "\t.byte\t"
#define ASM_FLOAT ".single" #define ASM_FLOAT ".single"
#define ASM_DOUBLE ".double" #define ASM_DOUBLE ".double"
#define ASM_LONGDOUBLE ".xxx" /* ??? Not known (or used yet). */ #define ASM_LONGDOUBLE ".xxx" /* ??? Not known (or used yet). */
/* Output before read-only data. */ /* Output before read-only data. */
...@@ -2973,7 +2973,7 @@ do { \ ...@@ -2973,7 +2973,7 @@ do { \
#define ASM_GLOBALIZE_LABEL(FILE,NAME) \ #define ASM_GLOBALIZE_LABEL(FILE,NAME) \
do { fputs ("\t.global ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0) do { fputs ("\t.global ", FILE); assemble_name (FILE, NAME); fputs ("\n", FILE);} while (0)
/* The prefix to add to user-visible assembler symbols. */ /* The prefix to add to user-visible assembler symbols. */
#define USER_LABEL_PREFIX "_" #define USER_LABEL_PREFIX "_"
......
...@@ -2152,7 +2152,7 @@ ...@@ -2152,7 +2152,7 @@
} }
} }
/* This makes sure we will not get rematched due to splittage. */ /* This makes sure we will not get rematched due to splittage. */
if (! CONSTANT_P (operands[1]) || input_operand (operands[1], HImode)) if (! CONSTANT_P (operands[1]) || input_operand (operands[1], HImode))
; ;
else if (CONSTANT_P (operands[1]) else if (CONSTANT_P (operands[1])
...@@ -2250,7 +2250,7 @@ ...@@ -2250,7 +2250,7 @@
operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]), operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]),
operands[1])); operands[1]));
/* This makes sure we will not get rematched due to splittage. */ /* This makes sure we will not get rematched due to splittage. */
if (! CONSTANT_P (operands[1]) || input_operand (operands[1], SImode)) if (! CONSTANT_P (operands[1]) || input_operand (operands[1], SImode))
; ;
else if (CONSTANT_P (operands[1]) else if (CONSTANT_P (operands[1])
...@@ -2428,7 +2428,7 @@ ...@@ -2428,7 +2428,7 @@
operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]), operands[1] = validize_mem (force_const_mem (GET_MODE (operands[0]),
operands[1])); operands[1]));
/* This makes sure we will not get rematched due to splittage. */ /* This makes sure we will not get rematched due to splittage. */
if (! CONSTANT_P (operands[1]) || input_operand (operands[1], DImode)) if (! CONSTANT_P (operands[1]) || input_operand (operands[1], DImode))
; ;
else if (TARGET_ARCH64 else if (TARGET_ARCH64
...@@ -3560,7 +3560,7 @@ ...@@ -3560,7 +3560,7 @@
"" ""
" "
{ {
/* Force TFmode constants into memory. */ /* Force TFmode constants into memory. */
if (GET_CODE (operands[0]) == REG if (GET_CODE (operands[0]) == REG
&& CONSTANT_P (operands[1])) && CONSTANT_P (operands[1]))
{ {
...@@ -3578,7 +3578,7 @@ ...@@ -3578,7 +3578,7 @@
} }
/* Handle MEM cases first, note that only v9 guarentees /* Handle MEM cases first, note that only v9 guarentees
full 16-byte alignment for quads. */ full 16-byte alignment for quads. */
if (GET_CODE (operands[0]) == MEM) if (GET_CODE (operands[0]) == MEM)
{ {
if (register_operand (operands[1], TFmode) if (register_operand (operands[1], TFmode)
......
...@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
: "r" (ms_flags), "r" (ms_saveret)); : "r" (ms_flags), "r" (ms_saveret));
/* SunOS has on_exit instead of atexit. */ /* SunOS has on_exit instead of atexit. */
/* The man page says it returns int. */ /* The man page says it returns int. */
extern int on_exit PARAMS ((void *, void *)); extern int on_exit PARAMS ((void *, void *));
#define ON_EXIT(FUNC) on_exit ((FUNC), 0) #define ON_EXIT(FUNC) on_exit ((FUNC), 0)
#define NEED_ATEXIT #define NEED_ATEXIT
...@@ -34,14 +34,14 @@ Boston, MA 02111-1307, USA. */ ...@@ -34,14 +34,14 @@ Boston, MA 02111-1307, USA. */
#define CC1_SPEC "-fno-builtin %{sun4:} %{target:}" #define CC1_SPEC "-fno-builtin %{sun4:} %{target:}"
/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). /* The sun bundled assembler doesn't accept -Yd, (and neither does gas).
It's safe to pass -s always, even if -g is not used. */ It's safe to pass -s always, even if -g is not used. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC \ #define ASM_SPEC \
"%{V} %{v:%{!V:-V}} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \ "%{V} %{v:%{!V:-V}} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s \
%{fpic:-K PIC} %{fPIC:-K PIC}" %{fpic:-K PIC} %{fPIC:-K PIC}"
/* However it appears that Solaris 2.0 uses the same reg numbering as /* However it appears that Solaris 2.0 uses the same reg numbering as
the old BSD-style system did. */ the old BSD-style system did. */
#undef DBX_REGISTER_NUMBER #undef DBX_REGISTER_NUMBER
/* Same as sparc.h */ /* Same as sparc.h */
...@@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -52,7 +52,7 @@ Boston, MA 02111-1307, USA. */
#undef PREFERRED_DEBUGGING_TYPE #undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
/* The Solaris 2 assembler uses .skip, not .zero, so put this back. */ /* The Solaris 2 assembler uses .skip, not .zero, so put this back. */
#undef ASM_OUTPUT_SKIP #undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \ #define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t.skip %u\n", (SIZE)) fprintf (FILE, "\t.skip %u\n", (SIZE))
......
...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "" #define LIB_SPEC ""
/* Provide required defaults for linker -e. */ /* Provide required defaults for linker -e. */
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}" #define LINK_SPEC "%{!nostdlib:%{!r*:%{!e*:-e start}}}"
......
...@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
/* We need to prohibit dots in constructor labels so that we can build a /* We need to prohibit dots in constructor labels so that we can build a
table of { string, address } entries for each non-static name in a table of { string, address } entries for each non-static name in a
program. The address, being of the form &name, it cannot contain a dot or program. The address, being of the form &name, it cannot contain a dot or
C will try to parse it as a &struct.field phrase. */ C will try to parse it as a &struct.field phrase. */
#undef NO_DOLLAR_IN_LABEL #undef NO_DOLLAR_IN_LABEL
#undef DOLLARS_IN_IDENTIFIERS #undef DOLLARS_IN_IDENTIFIERS
#define DOLLARS_IN_IDENTIFIERS 1 #define DOLLARS_IN_IDENTIFIERS 1
......
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