public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jeffrey A Law <law@upchuck.cygnus.com>
To: "Jerry Quinn" <jquinn@nortelnetworks.com>
Cc: egcs@egcs.cygnus.com
Subject: Re: Fwd: Questions on PA machine description?
Date: Wed, 31 Mar 1999 23:46:00 -0000	[thread overview]
Message-ID: <938.920942737@upchuck> (raw)
Message-ID: <19990331234600.YBojrrraG-0zYX-J5qHVQuPEpHB6ExUDIKmCIZbivJo@z> (raw)
In-Reply-To: <36E3E35A.4BB420BE@americasm01.nt.com>

  In message < 36E3E35A.4BB420BE@americasm01.nt.com >you write:
  > > ;; We have two basic ALUs.
  > > (define_function_unit "pa7100LCalu" 2 2
  > >   (and
  > >     (eq_attr "type" "!fpcc,fpalu,fpmulsgl,fpmuldbl,fpdivsgl,fpsqrtsgl,
  > > fpdivdbl,fpsqrtdbl,load,fpload,store,fpstore,shift,nullshift")
  > >    (eq_attr "cpu" "7100LC,7200")) 1 1)
  > > 
  > > It says there are 2 ALU's.  The READY=1 and DELAY=1 appear to me to be a 
  > > gate so that each unit can be issued 1 insn per cycle.
Correct.


  > What is confusing is the SIMULTANEITY of 2.  The documentation claims that
  > this means that each unit can have two active insns issued at a time.  But
  > this isn't true.
Could well be an oversight on my part.  It's been a long time since I wrote
that stuff.


  > > Also, my reading of the definition of SIMULTANEITY seems to indicate
  > > that it should be 1 for the pa7100LCfp_div function unit since the
  > > div/sqrt portion of the FPU can only execute one insn at a time.  Is
  > > this correct or wrong?
I believe this is correct.  The simultaneity should be one.

  > > There is a comment that shifts and memory ops execute in one of the
  > > ALU's but that that can't be modeled.
That was true at one time.  Or more correctly it couldn't be easily modeled.


  > Can someone explain what that means.
Basically one of the ALUs is not complete and can only handle a subset of the
ALU instructions.

So, stuff like adds, subtracts, compares, etc can issue to either ALU, but
a memory load/store or a shift instruction can only issue to the first
alu.  Assuming I remember everything from the LC series correctly.

jeff

  reply	other threads:[~1999-03-31 23:46 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-08  6:49 Jerry Quinn
     [not found] ` < 36E3E35A.4BB420BE@americasm01.nt.com >
1999-03-08 20:48   ` Jeffrey A Law [this message]
1999-03-09 11:35     ` Jerry Quinn
     [not found]       ` < 36E577DF.F825BAFB@americasm01.nt.com >
1999-03-09 12:18         ` Jeffrey A Law
1999-03-16 10:49           ` Jerry Quinn
     [not found]             ` < 36EEA7B6.D3C894DE@americasm01.nt.com >
1999-03-17 20:12               ` Jeffrey A Law
1999-03-18 14:35                 ` Jerry Quinn
     [not found]                   ` < 36F17F8C.9FD937FA@americasm01.nt.com >
1999-03-18 21:00                     ` Jeffrey A Law
     [not found]                       ` < 18375.921819620@hurl.cygnus.com >
1999-03-19 17:32                         ` Richard Henderson
     [not found]                           ` < 19990319173226.C14722@cygnus.com >
1999-03-20  2:08                             ` Jeffrey A Law
     [not found]                               ` < 1843.921916006@upchuck >
1999-03-20 10:43                                 ` Richard Henderson
1999-03-23 14:13                                   ` Jerry Quinn
     [not found]                                     ` < 36F811ED.32912006@americasm01.nt.com >
1999-03-24  1:30                                       ` Jeffrey A Law
1999-03-24 14:44                                         ` Jerry Quinn
     [not found]                                           ` < 36F96A7D.F0DBDF47@americasm01.nt.com >
1999-03-25  1:01                                             ` Jeffrey A Law
     [not found]                                               ` < 4324.922351870@upchuck >
1999-03-25 13:56                                                 ` Richard Henderson
1999-03-25 15:10                                                   ` Richard Henderson
1999-03-26 10:50                                                     ` Jerry Quinn
1999-03-26 11:04                                                       ` Richard Henderson
1999-03-31 23:46                                                         ` Richard Henderson
1999-03-31 23:46                                                       ` Jerry Quinn
1999-03-26 14:07                                                     ` Jerry Quinn
1999-03-27 16:04                                                       ` Jeffrey A Law
1999-03-31 23:46                                                         ` Jeffrey A Law
1999-03-31 23:46                                                       ` Jerry Quinn
1999-03-31 23:46                                                     ` Richard Henderson
1999-04-02 11:53                                                     ` Jeffrey A Law
1999-04-05 15:50                                                       ` Jerry Quinn
1999-04-30 23:15                                                         ` Jerry Quinn
1999-04-30 23:15                                                       ` Jeffrey A Law
1999-03-31 23:46                                                   ` Richard Henderson
1999-03-31 23:46                                               ` Jeffrey A Law
1999-03-31 23:46                                           ` Jerry Quinn
1999-03-31 23:46                                         ` Jeffrey A Law
1999-03-31 23:46                                     ` Jerry Quinn
1999-03-31 23:46                                   ` Richard Henderson
1999-03-31 23:46                               ` Jeffrey A Law
1999-03-31 23:46                           ` Richard Henderson
1999-03-31 23:46                       ` Jeffrey A Law
1999-03-31 23:46                   ` Jerry Quinn
1999-03-31 23:46                 ` Jeffrey A Law
1999-03-17 20:14               ` Jeffrey A Law
1999-03-31 23:46                 ` Jeffrey A Law
1999-03-31 23:46             ` Jerry Quinn
1999-03-31 23:46           ` Jeffrey A Law
1999-03-31 23:46       ` Jerry Quinn
1999-03-31 23:46     ` Jeffrey A Law
1999-03-31 23:46 ` Jerry Quinn

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=938.920942737@upchuck \
    --to=law@upchuck.cygnus.com \
    --cc=egcs@egcs.cygnus.com \
    --cc=jquinn@nortelnetworks.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).