public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: trace: document alu/fpu/vpu trace options better
       [not found] <20150623195531.GJ17734@vapier>
@ 2015-06-24 14:16 ` Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2015-06-24 14:16 UTC (permalink / raw)
  To: gdb-patches

Make the acronyms clear for people.

Committed.
---
 sim/common/ChangeLog   | 7 +++++++
 sim/common/sim-trace.c | 8 ++++----
 sim/common/sim-trace.h | 6 +++---
 3 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index c436b91..21a3fe3 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,12 @@
 2015-06-24  Mike Frysinger  <vapier@gentoo.org>
 
+	* sim-trace.c (trace_options): Update help text for trace-alu,
+	trace-fpu, trace-vpu, and trace-semantics.
+	* sim-trace.h (TRACE_ALU_IDX): Update comment text.
+	(TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.
+
+2015-06-24  Mike Frysinger  <vapier@gentoo.org>
+
 	* sim-assert.h (SIM_FILTER_PATH): Delete.
 	[!SIM_ASSERT, WITH_ASSERT]: Include libiberty.h.
 	(SIM_ASSERT): Replace SIM_FILTER_PATH with lbasename.
diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c
index f5ee678..1693a6e 100644
--- a/sim/common/sim-trace.c
+++ b/sim/common/sim-trace.c
@@ -102,19 +102,19 @@ static const OPTION trace_options[] =
       '\0', "on|off", "Trace memory operations",
       trace_option_handler, NULL },
   { {"trace-alu", optional_argument, NULL, OPTION_TRACE_ALU},
-      '\0', "on|off", "Trace ALU operations",
+      '\0', "on|off", "Trace ALU (Arithmetic Logic Unit) operations",
       trace_option_handler, NULL },
   { {"trace-fpu", optional_argument, NULL, OPTION_TRACE_FPU},
-      '\0', "on|off", "Trace FPU operations",
+      '\0', "on|off", "Trace FPU (Floating Point Unit) operations",
       trace_option_handler, NULL },
   { {"trace-vpu", optional_argument, NULL, OPTION_TRACE_VPU},
-      '\0', "on|off", "Trace VPU operations",
+      '\0', "on|off", "Trace VPU (Vector Processing Unit) operations",
       trace_option_handler, NULL },
   { {"trace-branch", optional_argument, NULL, OPTION_TRACE_BRANCH},
       '\0', "on|off", "Trace branching",
       trace_option_handler, NULL },
   { {"trace-semantics", optional_argument, NULL, OPTION_TRACE_SEMANTICS},
-      '\0', "on|off", "Perform ALU, FPU, MEMORY, and BRANCH tracing",
+      '\0', "on|off", "Perform ALU, FPU, VPU, MEMORY, and BRANCH tracing",
       trace_option_handler, NULL },
   { {"trace-model", optional_argument, NULL, OPTION_TRACE_MODEL},
       '\0', "on|off", "Include model performance data",
diff --git a/sim/common/sim-trace.h b/sim/common/sim-trace.h
index c5a04c1..0fa44ff 100644
--- a/sim/common/sim-trace.h
+++ b/sim/common/sim-trace.h
@@ -50,7 +50,7 @@ enum {
   /* Include model performance data in tracing output.  */
   TRACE_MODEL_IDX,
 
-  /* Trace ALU operations.  */
+  /* Trace ALU (Arithmetic Logic Unit) operations.  */
   TRACE_ALU_IDX,
 
   /* Trace memory core operations.  */
@@ -59,10 +59,10 @@ enum {
   /* Trace events.  */
   TRACE_EVENTS_IDX,
 
-  /* Trace fpu operations.  */
+  /* Trace FPU (Floating Point Unit) operations.  */
   TRACE_FPU_IDX,
 
-  /* Trace vpu operations.  */
+  /* Trace VPU (Vector Processing Unit) operations.  */
   TRACE_VPU_IDX,
 
   /* Trace branching.  */
-- 
2.4.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-24 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20150623195531.GJ17734@vapier>
2015-06-24 14:16 ` [PATCH] sim: trace: document alu/fpu/vpu trace options better Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).