Commit 14f45d6b by David S. Miller Committed by David S. Miller

sparc.h (TARGET_SWITCHES, [...]): Add descriptions.

	* config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
	Add descriptions.
	* config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
	* config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.

From-SVN: r25827
parent 46eb0ae4
Wed Mar 17 18:20:24 1999 David S. Miller <davem@redhat.com>
* config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
Add descriptions.
* config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
* config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.
Wed Mar 17 14:51:19 1999 Richard Henderson <rth@cygnus.com> Wed Mar 17 14:51:19 1999 Richard Henderson <rth@cygnus.com>
* alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes * alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes
......
...@@ -80,8 +80,8 @@ crtbegin.o%s \ ...@@ -80,8 +80,8 @@ crtbegin.o%s \
/* V9 chips can handle either endianness. */ /* V9 chips can handle either endianness. */
#undef SUBTARGET_SWITCHES #undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \ #define SUBTARGET_SWITCHES \
{"big-endian", -MASK_LITTLE_ENDIAN}, \ {"big-endian", -MASK_LITTLE_ENDIAN, "Generate code for big endian" }, \
{"little-endian", MASK_LITTLE_ENDIAN}, {"little-endian", MASK_LITTLE_ENDIAN, "Generate code for little endian" },
#undef BYTES_BIG_ENDIAN #undef BYTES_BIG_ENDIAN
#define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN) #define BYTES_BIG_ENDIAN (! TARGET_LITTLE_ENDIAN)
......
...@@ -569,42 +569,42 @@ extern int target_flags; ...@@ -569,42 +569,42 @@ extern int target_flags;
An empty string NAME is used to identify the default VALUE. */ An empty string NAME is used to identify the default VALUE. */
#define TARGET_SWITCHES \ #define TARGET_SWITCHES \
{ {"fpu", MASK_FPU | MASK_FPU_SET}, \ { {"fpu", MASK_FPU | MASK_FPU_SET, "Use hardware fp" }, \
{"no-fpu", -MASK_FPU}, \ {"no-fpu", -MASK_FPU, "Do not use hardware fp" }, \
{"no-fpu", MASK_FPU_SET}, \ {"no-fpu", MASK_FPU_SET, "Do not use hardware fp" }, \
{"hard-float", MASK_FPU | MASK_FPU_SET}, \ {"hard-float", MASK_FPU | MASK_FPU_SET, "Use hardware fp" }, \
{"soft-float", -MASK_FPU}, \ {"soft-float", -MASK_FPU, "Do not use hardware fp" }, \
{"soft-float", MASK_FPU_SET}, \ {"soft-float", MASK_FPU_SET, "Do not use hardware fp" }, \
{"epilogue", MASK_EPILOGUE}, \ {"epilogue", MASK_EPILOGUE, "Use FUNCTION_EPILOGUE" }, \
{"no-epilogue", -MASK_EPILOGUE}, \ {"no-epilogue", -MASK_EPILOGUE, "Do not use FUNCTION_EPILOGUE" }, \
{"unaligned-doubles", MASK_UNALIGNED_DOUBLES}, \ {"unaligned-doubles", MASK_UNALIGNED_DOUBLES, "Assume possible double misalignment" },\
{"no-unaligned-doubles", -MASK_UNALIGNED_DOUBLES}, \ {"no-unaligned-doubles", -MASK_UNALIGNED_DOUBLES, "Assume all doubles are aligned" }, \
{"impure-text", MASK_IMPURE_TEXT}, \ {"impure-text", MASK_IMPURE_TEXT, "Pass -assert pure-text to linker" }, \
{"no-impure-text", -MASK_IMPURE_TEXT}, \ {"no-impure-text", -MASK_IMPURE_TEXT, "Do not pass -assert pure-text to linker" }, \
{"flat", MASK_FLAT}, \ {"flat", MASK_FLAT, "Use flat register window model" }, \
{"no-flat", -MASK_FLAT}, \ {"no-flat", -MASK_FLAT, "Do not use flat register window model" }, \
{"app-regs", MASK_APP_REGS}, \ {"app-regs", MASK_APP_REGS, "Use ABI reserved registers" }, \
{"no-app-regs", -MASK_APP_REGS}, \ {"no-app-regs", -MASK_APP_REGS, "Do not use ABI reserved registers" }, \
{"hard-quad-float", MASK_HARD_QUAD}, \ {"hard-quad-float", MASK_HARD_QUAD, "Use hardware quad fp instructions" }, \
{"soft-quad-float", -MASK_HARD_QUAD}, \ {"soft-quad-float", -MASK_HARD_QUAD, "Do not use hardware quad fp instructions" }, \
{"v8plus", MASK_V8PLUS}, \ {"v8plus", MASK_V8PLUS, "Compile for v8plus ABI" }, \
{"no-v8plus", -MASK_V8PLUS}, \ {"no-v8plus", -MASK_V8PLUS, "Do not compile for v8plus ABI" }, \
{"vis", MASK_VIS}, \ {"vis", MASK_VIS, "Utilize Visual Instruction Set" }, \
{"no-vis", -MASK_VIS}, \ {"no-vis", -MASK_VIS, "Do not utilize Visual Instruction Set" }, \
/* ??? These are deprecated, coerced to -mcpu=. Delete in 2.9. */ \ /* ??? These are deprecated, coerced to -mcpu=. Delete in 2.9. */ \
{"cypress", 0}, \ {"cypress", 0, "Optimize for Cypress processors" }, \
{"sparclite", 0}, \ {"sparclite", 0, "Optimize for SparcLite processors" }, \
{"f930", 0}, \ {"f930", 0, "Optimize for F930 processors" }, \
{"f934", 0}, \ {"f934", 0, "Optimize for F934 processors" }, \
{"v8", 0}, \ {"v8", 0, "Use V8 Sparc ISA" }, \
{"supersparc", 0}, \ {"supersparc", 0, "Optimize for SuperSparc processors" }, \
/* End of deprecated options. */ \ /* End of deprecated options. */ \
{"ptr64", MASK_PTR64}, \ {"ptr64", MASK_PTR64, "Pointers are 64-bit" }, \
{"ptr32", -MASK_PTR64}, \ {"ptr32", -MASK_PTR64, "Pointers are 32-bit" }, \
{"32", -MASK_64BIT}, \ {"32", -MASK_64BIT, "Use 32-bit ABI" }, \
{"64", MASK_64BIT}, \ {"64", MASK_64BIT, "Use 64-bit ABI" }, \
{"stack-bias", MASK_STACK_BIAS}, \ {"stack-bias", MASK_STACK_BIAS, "Use stack bias" }, \
{"no-stack-bias", -MASK_STACK_BIAS}, \ {"no-stack-bias", -MASK_STACK_BIAS, "Do not use stack bias" }, \
SUBTARGET_SWITCHES \ SUBTARGET_SWITCHES \
{ "", TARGET_DEFAULT}} { "", TARGET_DEFAULT}}
...@@ -660,12 +660,12 @@ extern enum processor_type sparc_cpu; ...@@ -660,12 +660,12 @@ extern enum processor_type sparc_cpu;
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
{ "cpu=", &sparc_select[1].string }, \ { "cpu=", &sparc_select[1].string, "Use features of and schedule code for given CPU" }, \
{ "tune=", &sparc_select[2].string }, \ { "tune=", &sparc_select[2].string, "Schedule code for given CPU" }, \
{ "cmodel=", &sparc_cmodel_string }, \ { "cmodel=", &sparc_cmodel_string, "Use given Sparc code model" }, \
{ "align-loops=", &sparc_align_loops_string }, \ { "align-loops=", &sparc_align_loops_string, "Loop code aligned to this power of 2" }, \
{ "align-jumps=", &sparc_align_jumps_string }, \ { "align-jumps=", &sparc_align_jumps_string, "Jump targets are aligned to this power of 2" }, \
{ "align-functions=", &sparc_align_funcs_string }, \ { "align-functions=", &sparc_align_funcs_string, "Function starts are aligned to this power of 2" }, \
SUBTARGET_OPTIONS \ SUBTARGET_OPTIONS \
} }
......
...@@ -29,12 +29,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,12 +29,12 @@ Boston, MA 02111-1307, USA. */
/* -mlive-g0 is only supported on the sparclet. */ /* -mlive-g0 is only supported on the sparclet. */
#undef SUBTARGET_SWITCHES #undef SUBTARGET_SWITCHES
#define SUBTARGET_SWITCHES \ #define SUBTARGET_SWITCHES \
{"big-endian", -MASK_LITTLE_ENDIAN}, \ {"big-endian", -MASK_LITTLE_ENDIAN, "Generate code for big endian" }, \
{"little-endian", MASK_LITTLE_ENDIAN}, \ {"little-endian", MASK_LITTLE_ENDIAN, "Generate code for little endian" }, \
{"live-g0", MASK_LIVE_G0}, \ {"live-g0", MASK_LIVE_G0, "Use g0 as a normal register" }, \
{"no-live-g0", -MASK_LIVE_G0}, \ {"no-live-g0", -MASK_LIVE_G0, "Register g0 is fixed with a zero value" }, \
{"broken-saverestore", MASK_BROKEN_SAVERESTORE}, \ {"broken-saverestore", MASK_BROKEN_SAVERESTORE, "Enable save/restore bug workarounds" }, \
{"no-broken-saverestore", -MASK_BROKEN_SAVERESTORE}, {"no-broken-saverestore", -MASK_BROKEN_SAVERESTORE, "Disable save/restore bug workarouns" },
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "%{mlittle-endian:-EL} %(asm_cpu)" #define ASM_SPEC "%{mlittle-endian:-EL} %(asm_cpu)"
......
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