From: Dave Brolley <brolley@redhat.com>
To: sid@sources.redhat.com
Subject: [patch][commit] cgen-model.h
Date: Thu, 11 May 2006 14:50:00 -0000 [thread overview]
Message-ID: <44634F12.5020500@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
I've committed the attached patch which initializes the existing member
cgen_model::vliw_cycles and corrects a comment regarding the argument
last_p to the method cgen_model::model_insn_after.
Dave
[-- Attachment #2: sid-model.ChangeLog --]
[-- Type: text/plain, Size: 151 bytes --]
2006-05-11 Dave Brolley <brolley@redhat.com>
* cgen-model.h (cgen_model): Initialize vliw_cycles.
(model_insn_after): Correct comment re: last_p.
[-- Attachment #3: sid-model.patch.txt --]
[-- Type: text/plain, Size: 1619 bytes --]
Index: sid/component/cgen-cpu/cgen-model.h
===================================================================
RCS file: /cvs/src/src/sid/component/cgen-cpu/cgen-model.h,v
retrieving revision 1.2
diff -c -p -r1.2 cgen-model.h
*** sid/component/cgen-cpu/cgen-model.h 21 Oct 2003 21:29:31 -0000 1.2
--- sid/component/cgen-cpu/cgen-model.h 11 May 2006 14:43:39 -0000
*************** namespace cgen
*** 16,22 ****
class cgen_model
{
public:
! cgen_model (cgen_bi_endian_cpu *c) : cpu (c) {}
// To be overridden as needed. Call before each insn is executed. first_p is
// true when the insn is the first of a group of parallel insns.
--- 16,25 ----
class cgen_model
{
public:
! cgen_model (cgen_bi_endian_cpu *c) :
! cpu (c),
! vliw_cycles (0)
! {}
// To be overridden as needed. Call before each insn is executed. first_p is
// true when the insn is the first of a group of parallel insns.
*************** public:
*** 31,37 ****
}
// To be overridden as needed. Call after each insn is executed. last_p is
! // true when the insn is the first of a group of parallel insns. cycles is the
// number of cycles used by each particular insn.
virtual void model_insn_after (bool last_p = true, sid::host_int_4 cycles = 1)
{
--- 34,40 ----
}
// To be overridden as needed. Call after each insn is executed. last_p is
! // true when the insn is the last of a group of parallel insns. cycles is the
// number of cycles used by each particular insn.
virtual void model_insn_after (bool last_p = true, sid::host_int_4 cycles = 1)
{
reply other threads:[~2006-05-11 14:50 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=44634F12.5020500@redhat.com \
--to=brolley@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).