public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Shinpei Kato <shinny@j02.itscom.net>
To: gcc@gcc.gnu.org
Subject: Re: ARCH_rtx_costs
Date: Fri, 08 Oct 2004 08:01:00 -0000	[thread overview]
Message-ID: <20041008101956.2FAD.SHINNY@j02.itscom.net> (raw)
In-Reply-To: <1097168461.2684.4.camel@localhost.localdomain>

Hi, Eric. Thanks for reply.

> http://gcc.gnu.org/onlinedocs/gccint/Costs.html#Costs

Yes I refer to it.

> Has most of the cost information you need, looking at a similar existing
> port could help.  What you want to remember in particular is that it's a
> set of relative costs. For example, if your "fast" instruction is an
> add, e.g. add $2, $3, $4, and takes one cycle and a multiply takes 12
> cycles then you'd want to have a MULT cost COST_N_INSNS (12).

So COST_N_INSNS doesn't mean real cycles but relative cycles, does it?
That is, COST_N_INSNS (1) doesn't mean one cycle.
If I don't know about cycle cost, I need to ask people who develop an
architecture.
Is my understanding correct?

Regards,
Shinpei Kato

  reply	other threads:[~2004-10-08  1:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 13:04 ARCH_rtx_costs Shinpei Kato
2004-10-07 19:17 ` ARCH_rtx_costs Eric Christopher
2004-10-08  8:01   ` Shinpei Kato [this message]
2004-10-08  8:18     ` ARCH_rtx_costs Steven Bosscher
2004-10-08 11:47       ` ARCH_rtx_costs Shinpei Kato

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=20041008101956.2FAD.SHINNY@j02.itscom.net \
    --to=shinny@j02.itscom.net \
    --cc=gcc@gcc.gnu.org \
    /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).