From: Dave Brolley <brolley@redhat.com>
To: sid@sources.redhat.com, cgen@sources.redhat.com
Subject: [patch] Call -gen-record-profile-args for SID
Date: Sun, 26 Oct 2003 19:00:00 -0000 [thread overview]
Message-ID: <3F9C19D2.2050807@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
Hi,
I've committed the attached patch which enables the calling of
--gen-record-profile-args for SID and updates it to test the correct
options.
Dave
[-- Attachment #2: sid-model.ChangeLog --]
[-- Type: text/plain, Size: 192 bytes --]
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.
[-- Attachment #3: sid-model.patch.txt --]
[-- Type: text/plain, Size: 1280 bytes --]
Index: cgen/sid-decode.scm
===================================================================
RCS file: /cvs/src/src/cgen/sid-decode.scm,v
retrieving revision 1.12
diff -c -p -r1.12 sid-decode.scm
*** cgen/sid-decode.scm 8 Jul 2003 16:19:35 -0000 1.12
--- cgen/sid-decode.scm 26 Oct 2003 18:54:52 -0000
*************** struct @prefix@_scache {
*** 554,560 ****
(string-list
"#if WITH_PROFILE_MODEL_P\n"
" /* Record the fields for profiling. */\n"
! " if (PROFILE_MODEL_P (current_cpu))\n"
" {\n"
(string-list-map (lambda (op) (op:record-profile op sfmt #f))
in-ops)
--- 554,560 ----
(string-list
"#if WITH_PROFILE_MODEL_P\n"
" /* Record the fields for profiling. */\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)
*************** struct @prefix@_scache {
*** 589,595 ****
"\n"
(-gen-record-args sfmt)
"\n"
! ;(-gen-record-profile-args sfmt) ??? not supported yet
(gen-undef-field-macro sfmt)
"}\n\n"
)
--- 589,595 ----
"\n"
(-gen-record-args sfmt)
"\n"
! (-gen-record-profile-args sfmt)
(gen-undef-field-macro sfmt)
"}\n\n"
)
reply other threads:[~2003-10-26 19:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F9C19D2.2050807@redhat.com \
--to=brolley@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=sid@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).