Commit f8e52397 by Richard Henderson

alpha.h (TARGET_SWITCHES): Document switches.

        * alpha.h (TARGET_SWITCHES): Document switches.
        (TARGET_OPTIONS): Likewise.

From-SVN: r24626
parent 5ad98185
...@@ -186,25 +186,29 @@ extern enum alpha_fp_trap_mode alpha_fptm; ...@@ -186,25 +186,29 @@ extern enum alpha_fp_trap_mode alpha_fptm;
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 \
{ {"no-soft-float", MASK_FP}, \ { {"no-soft-float", MASK_FP, "Use hardware fp"}, \
{"soft-float", - MASK_FP}, \ {"soft-float", - MASK_FP, "Do not use hardware fp"}, \
{"fp-regs", MASK_FPREGS}, \ {"fp-regs", MASK_FPREGS, "Use fp registers"}, \
{"no-fp-regs", - (MASK_FP|MASK_FPREGS)}, \ {"no-fp-regs", - (MASK_FP|MASK_FPREGS), "Do not use fp registers"}, \
{"alpha-as", -MASK_GAS}, \ {"alpha-as", -MASK_GAS, "Do not assume GAS"}, \
{"gas", MASK_GAS}, \ {"gas", MASK_GAS, "Assume GAS"}, \
{"ieee-conformant", MASK_IEEE_CONFORMANT}, \ {"ieee-conformant", MASK_IEEE_CONFORMANT, \
{"ieee", MASK_IEEE|MASK_IEEE_CONFORMANT}, \ "Request IEEE-conformant math library routines (OSF/1)"}, \
{"ieee-with-inexact", MASK_IEEE_WITH_INEXACT|MASK_IEEE_CONFORMANT}, \ {"ieee", MASK_IEEE|MASK_IEEE_CONFORMANT, \
{"build-constants", MASK_BUILD_CONSTANTS}, \ "Emit IEEE-conformant code, without inexact exceptions"}, \
{"float-vax", MASK_FLOAT_VAX}, \ {"ieee-with-inexact", MASK_IEEE_WITH_INEXACT|MASK_IEEE_CONFORMANT, \
{"float-ieee", -MASK_FLOAT_VAX}, \ "Emit IEEE-conformant code, with inexact exceptions"}, \
{"bwx", MASK_BWX}, \ {"build-constants", MASK_BUILD_CONSTANTS, \
{"no-bwx", -MASK_BWX}, \ "Do not emit complex integer constants to read-only memory"}, \
{"cix", MASK_CIX}, \ {"float-vax", MASK_FLOAT_VAX, "Use VAX fp"}, \
{"no-cix", -MASK_CIX}, \ {"float-ieee", -MASK_FLOAT_VAX, "Do not use VAX fp"}, \
{"max", MASK_MAX}, \ {"bwx", MASK_BWX, "Emit code for the byte/word ISA extension"}, \
{"no-max", -MASK_MAX}, \ {"no-bwx", -MASK_BWX, ""}, \
{"", TARGET_DEFAULT | TARGET_CPU_DEFAULT} } {"cix", MASK_CIX, "Emit code for the counting ISA extension"}, \
{"no-cix", -MASK_CIX, ""}, \
{"max", MASK_MAX, "Emit code for the motion video ISA extension"}, \
{"no-max", -MASK_MAX, ""}, \
{"", TARGET_DEFAULT | TARGET_CPU_DEFAULT, ""} }
#define TARGET_DEFAULT MASK_FP|MASK_FPREGS #define TARGET_DEFAULT MASK_FP|MASK_FPREGS
...@@ -237,11 +241,16 @@ extern char *alpha_mlat_string; /* For -mmemory-latency= */ ...@@ -237,11 +241,16 @@ extern char *alpha_mlat_string; /* For -mmemory-latency= */
#define TARGET_OPTIONS \ #define TARGET_OPTIONS \
{ \ { \
{"cpu=", &alpha_cpu_string}, \ {"cpu=", &alpha_cpu_string, \
{"fp-rounding-mode=", &alpha_fprm_string}, \ "Generate code for a given CPU"}, \
{"fp-trap-mode=", &alpha_fptm_string}, \ {"fp-rounding-mode=", &alpha_fprm_string, \
{"trap-precision=", &alpha_tp_string}, \ "Control the generated fp rounding mode"}, \
{"memory-latency=", &alpha_mlat_string}, \ {"fp-trap-mode=", &alpha_fptm_string, \
"Control the IEEE trap mode"}, \
{"trap-precision=", &alpha_tp_string, \
"Control the precision given to fp exceptions"}, \
{"memory-latency=", &alpha_mlat_string, \
"Tune expected memory latency"}, \
} }
/* Attempt to describe CPU characteristics to the preprocessor. */ /* Attempt to describe CPU characteristics to the preprocessor. */
......
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