* sid-decode.scm (-gen-record-profile-args): Test trace_counter_p
and final_insn_count_p.
(-gen-extract-fn): Call -gen-record-profile-args.
+2003-10-26 Dave Brolley <brolley@redhat.com>
+
+ * sid-decode.scm (-gen-record-profile-args): Test trace_counter_p
+ and final_insn_count_p.
+ (-gen-extract-fn): Call -gen-record-profile-args.
+
2003-10-21 Dave Brolley <brolley@redhat.com>
* sid-model.scm (-gen-model-class-decls): Generate MAX_UNITS as
(string-list
"#if WITH_PROFILE_MODEL_P\n"
" /* Record the fields for profiling. */\n"
- " if (PROFILE_MODEL_P (current_cpu))\n"
+ " if (UNLIKELY (current_cpu->trace_counter_p || current_cpu->final_insn_count_p))\n"
" {\n"
(string-list-map (lambda (op) (op:record-profile op sfmt #f))
in-ops)
"\n"
(-gen-record-args sfmt)
"\n"
- ;(-gen-record-profile-args sfmt) ??? not supported yet
+ (-gen-record-profile-args sfmt)
(gen-undef-field-macro sfmt)
"}\n\n"
)