OSDN Git Service

* config/c4x/c4x.h (TARGET_SWITCHES): Add documentation.
authorm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Mar 1999 14:45:58 +0000 (14:45 +0000)
committerm.hayes <m.hayes@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Mar 1999 14:45:58 +0000 (14:45 +0000)
* config/c4x/c4x.h (TARGET_OPTIONS): Add documentation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25865 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/c4x/c4x.h

index 2771d79..bd11109 100644 (file)
@@ -1,3 +1,8 @@
+Sat Mar 20 11:39:58 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.h (TARGET_SWITCHES): Add documentation.
+       * config/c4x/c4x.h (TARGET_OPTIONS): Add documentation.
+
 Fre Mar 19 23:26:29 1999  Martin von Löwis  <loewis@informatik.hu-berlin.de>
 
        * expr.c (expand_expr): Handle ERROR_MARK much earlier.
index 7f7d7d0..0ac9d02 100644 (file)
    An empty string NAME is used to identify the default VALUE.  */
 
 #define TARGET_SWITCHES \
-{ { "small", SMALL_MEMORY_FLAG }, \
-  { "big", -SMALL_MEMORY_FLAG }, \
-  { "mpyi", MPYI_FLAG}, \
-  { "no-mpyi", -MPYI_FLAG}, \
-  { "fast-fix", FAST_FIX_FLAG}, \
-  { "no-fast-fix", -FAST_FIX_FLAG}, \
-  { "rpts", RPTS_FLAG}, \
-  { "no-rpts", -RPTS_FLAG}, \
-  { "rptb", RPTB_FLAG}, \
-  { "no-rptb", -RPTB_FLAG}, \
-  { "30", C30_FLAG}, \
-  { "31", C31_FLAG}, \
-  { "32", C32_FLAG}, \
-  { "40", C40_FLAG}, \
-  { "44", C44_FLAG}, \
-  { "ti", TI_FLAG}, \
-  { "no-ti", -TI_FLAG}, \
-  { "paranoid", PARANOID_FLAG}, \
-  { "no-paranoid", -PARANOID_FLAG}, \
-  { "isr-dp-reload", PARANOID_FLAG}, \
-  { "no-isr-dp-reload", -PARANOID_FLAG}, \
-  { "memparm", MEMPARM_FLAG}, \
-  { "regparm", -MEMPARM_FLAG}, \
-  { "devel", DEVEL_FLAG}, \
-  { "no-devel", -DEVEL_FLAG}, \
-  { "bk", BK_FLAG}, \
-  { "no-bk", -BK_FLAG}, \
-  { "db", DB_FLAG}, \
-  { "no-db", -DB_FLAG}, \
-  { "debug", DEBUG_FLAG}, \
-  { "no-debug", -DEBUG_FLAG}, \
-  { "hoist", HOIST_FLAG}, \
-  { "no-hoist", -HOIST_FLAG}, \
-  { "no-force", -FORCE_FLAG}, \
-  { "force", FORCE_FLAG}, \
-  { "loop-unsigned", LOOP_UNSIGNED_FLAG}, \
-  { "no-loop-unsigned", -LOOP_UNSIGNED_FLAG}, \
-  { "preserve-float", PRESERVE_FLOAT_FLAG}, \
-  { "no-preserve-float", -PRESERVE_FLOAT_FLAG}, \
-  { "parallel-insns", PARALLEL_PACK_FLAG}, \
-  { "no-parallel-mpy", -PARALLEL_MPY_FLAG}, \
-  { "parallel-mpy", PARALLEL_MPY_FLAG}, \
-  { "no-parallel-insns", -PARALLEL_PACK_FLAG}, \
-  { "aliases", ALIASES_FLAG}, \
-  { "no-aliases", -ALIASES_FLAG}, \
+{ { "small", SMALL_MEMORY_FLAG, \
+    "Small memory model" }, \
+  { "big", -SMALL_MEMORY_FLAG, \
+    "Big memory model" }, \
+  { "mpyi", MPYI_FLAG, \
+    "Use MPYI instruction for C3x" }, \
+  { "no-mpyi", -MPYI_FLAG, \
+    "Do not use MPYI instruction for C3x" }, \
+  { "fast-fix", FAST_FIX_FLAG, \
+    "Use fast but approximate float to integer conversion" }, \
+  { "no-fast-fix", -FAST_FIX_FLAG, \
+    "Use slow but accurate float to integer conversion" }, \
+  { "rpts", RPTS_FLAG, \
+    "Enable use of RTPS instruction" }, \
+  { "no-rpts", -RPTS_FLAG, \
+    "Disable use of RTPS instruction" }, \
+  { "rptb", RPTB_FLAG, \
+    "Enable use of RTPB instruction" }, \
+  { "no-rptb", -RPTB_FLAG, \
+    "Disable use of RTPB instruction" }, \
+  { "30", C30_FLAG, \
+    "Generate code for C30 CPU"}, \
+  { "31", C31_FLAG, \
+    "Generate code for C31 CPU"}, \
+  { "32", C32_FLAG, \
+    "Generate code for C32 CPU"}, \
+  { "40", C40_FLAG, \
+    "Generate code for C40 CPU"}, \
+  { "44", C44_FLAG, \
+    "Generate code for C44 CPU"}, \
+  { "ti", TI_FLAG, \
+    "Emit code compatible with TI tools"}, \
+  { "no-ti", -TI_FLAG, \
+    "Emit code to use GAS extensions"}, \
+  { "paranoid", PARANOID_FLAG, \
+    "Save DP across ISR in small memory model" }, \
+  { "no-paranoid", -PARANOID_FLAG, \
+    "Don't save DP across ISR in small memory model" }, \
+  { "isr-dp-reload", PARANOID_FLAG, \
+    "Save DP across ISR in small memory model" }, \
+  { "no-isr-dp-reload", -PARANOID_FLAG, \
+    "Don't save DP across ISR in small memory model" }, \
+  { "memparm", MEMPARM_FLAG, \
+    "Pass arguments on the stack" }, \
+  { "regparm", -MEMPARM_FLAG,  \
+    "Pass arguments in registers" }, \
+  { "devel", DEVEL_FLAG, \
+    "Enable new features under development" }, \
+  { "no-devel", -DEVEL_FLAG, \
+    "Disable new features under development" }, \
+  { "bk", BK_FLAG, \
+    "Use the BK register as a general purpose register" }, \
+  { "no-bk", -BK_FLAG, \
+    "Do not allocate BK register" }, \
+  { "db", DB_FLAG, \
+    "Enable use of DB instruction" }, \
+  { "no-db", -DB_FLAG, \
+    "Disable use of DB instruction" }, \
+  { "debug", DEBUG_FLAG, \
+    "Enable debugging" }, \
+  { "no-debug", -DEBUG_FLAG, \
+    "Disable debugging" }, \
+  { "hoist", HOIST_FLAG, \
+    "Force constants into registers to improve hoisting" }, \
+  { "no-hoist", -HOIST_FLAG, \
+    "Don't force constants into registers" }, \
+  { "force", FORCE_FLAG, \
+    "Force RTL generation to emit valid 3 operand insns" }, \
+  { "no-force", -FORCE_FLAG, \
+    "Allow RTL generation to emit invalid 3 operand insns" }, \
+  { "loop-unsigned", LOOP_UNSIGNED_FLAG, \
+    "Allow unsigned interation counts for RPTB/DB" }, \
+  { "no-loop-unsigned", -LOOP_UNSIGNED_FLAG, \
+    "Disallow unsigned iteration counts for RPTB/DB" }, \
+  { "preserve-float", PRESERVE_FLOAT_FLAG, \
+    "Preserve all 40 bits of FP reg across call" }, \
+  { "no-preserve-float", -PRESERVE_FLOAT_FLAG, \
+    "Only preserve 32 bits of FP reg across call" }, \
+  { "parallel-insns", PARALLEL_PACK_FLAG, \
+    "Enable parallel instructions" }, \
+  { "no-parallel-mpy", -PARALLEL_MPY_FLAG, \
+    "Disable parallel instructions" }, \
+  { "parallel-mpy", PARALLEL_MPY_FLAG, \
+    "Enable MPY||ADD and MPY||SUB instructions" }, \
+  { "no-parallel-insns", -PARALLEL_PACK_FLAG, \
+    "Disable MPY||ADD and MPY||SUB instructions" }, \
+  { "aliases", ALIASES_FLAG, \
+    "Assume that pointers may be aliased" }, \
+  { "no-aliases", -ALIASES_FLAG, \
+    "Assume that pointers not aliased" }, \
   { "", TARGET_DEFAULT} }
 
 /* Default target switches */
@@ -290,8 +335,10 @@ extern int target_flags;
 extern char *c4x_rpts_cycles_string, *c4x_cpu_version_string;
 
 #define TARGET_OPTIONS         \
-{ {"rpts=", &c4x_rpts_cycles_string},\
-  {"cpu=", &c4x_cpu_version_string} }
+{ {"rpts=", &c4x_rpts_cycles_string, \
+   "Specify maximum number of iterations for RPTS" }, \
+  {"cpu=", &c4x_cpu_version_string, \
+   "Select CPU to generate code for" } }
 
 /* Sometimes certain combinations of command options do not make sense
    on a particular target machine.  You can define a macro