public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Hildner <christian.hildner@hob.de>
To: linux-ia64@vger.kernel.org
Subject: Re: IA-64 "instruction group" query...
Date: Mon, 08 Nov 2004 09:47:48 +0000	[thread overview]
Message-ID: <418F40C4.6020503@hob.de> (raw)
In-Reply-To: <ff13ce6004110801011d668bbb@mail.gmail.com>

Hi Kiran,

your code sequence contains a WAR dependency (add r4=-44,r4). But this 
in general is allowed inside the IA64 architecture and the pipeline 
takes care that the writeback is the last step and all reads occur 
before. So the instruction group (3621-3630) is ok and does not need an 
additional stop. You'll find dependency rules in detail in the "Intel 
IA-64 architecture software developer's manual" volume 1.

Christian

Kiran VMS schrieb:

>Greetings,
>
>I am just curious to know if the following instruction bundles are
>valid ones. In particular, I would like to know if the instruction
>group comprised of the slots # 1 ( 3621 ),  # 2 ( 3622 ) of the first
>instruction bundle and slot # 0 ( 3630 ) is a VALID group. If you
>notice, the register R4 is being read as well as modified by these
>instructions belonging to the same group. Is it a potential RAW --
>Read After Write -- violation?
>
>(Assume that the traget processor is Itanium with its feature that it
>can execute 2 bundles at a time)
>
>                          { .mmi
>010800458100     3620                 adds    r4 = 44, r4 ;;
>008080400200     3621                 ld4     r8 = [r4]
>010800400480     3622                 adds    r18 = 0, r4
>                           }
>                           { .mmi
>0119F84A8100     3630                 adds    r4 = -44, r4 ;;
>000008000000     3631                 nop.m   0              
>0000B0800200     3632                 sxt4    r8 = r8 ;;
>			   }
>
>
>Instruction group of my concern 
>;;
>008080400200     3621                 ld4     r8 = [r4]
>010800400480     3622                 adds    r18 = 0, r4
>                           }
>                           { .mmi
>0119F84A8100     3630                 adds    r4 = -44, r4 
>;;
>
>Thanks for your time and attention
>-
>To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>  
>


      reply	other threads:[~2004-11-08  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-08  9:13 IA-64 "instruction group" query Kiran VMS
2004-11-08  9:47 ` Christian Hildner [this message]

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=418F40C4.6020503@hob.de \
    --to=christian.hildner@hob.de \
    --cc=linux-ia64@vger.kernel.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