summaryrefslogtreecommitdiff
path: root/sim/common/sim-trace.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1998-02-25 15:15:08 +0000
committerAndrew Cagney <cagney@redhat.com>1998-02-25 15:15:08 +0000
commit390ffa8935d06e561daa5e45860ca0a05d9fee1d (patch)
tree358cefbcc3a258ca81a03c7840319021e1662f54 /sim/common/sim-trace.c
parent37d49885d3652cd509e90c29f3f052b2070e075c (diff)
downloadbinutils-gdb-390ffa8935d06e561daa5e45860ca0a05d9fee1d.tar.gz
Extend TRACE macros to include more cases.
Add MAX/MIN floating point functions. Add max32, min32 floating point contstants.
Diffstat (limited to 'sim/common/sim-trace.c')
-rw-r--r--sim/common/sim-trace.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/sim/common/sim-trace.c b/sim/common/sim-trace.c
index 10a0508c49d..60a8f8cefa2 100644
--- a/sim/common/sim-trace.c
+++ b/sim/common/sim-trace.c
@@ -865,6 +865,20 @@ trace_result_word1 (SIM_DESC sd,
}
void
+trace_result0 (SIM_DESC sd,
+ sim_cpu *cpu,
+ int trace_idx)
+{
+ TRACE_DATA *data = CPU_TRACE_DATA (cpu);
+ int last_input;
+
+ /* Append any results to the end of the inputs */
+ last_input = TRACE_INPUT_IDX (data);
+
+ trace_results (sd, cpu, trace_idx, last_input);
+}
+
+void
trace_result_word2 (SIM_DESC sd,
sim_cpu *cpu,
int trace_idx,