public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* IA-64 "instruction group" query...
@ 2004-11-08  9:13 Kiran VMS
  2004-11-08  9:47 ` Christian Hildner
  0 siblings, 1 reply; 2+ messages in thread
From: Kiran VMS @ 2004-11-08  9:13 UTC (permalink / raw)
  To: linux-ia64

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IA-64 "instruction group" query...
  2004-11-08  9:13 IA-64 "instruction group" query Kiran VMS
@ 2004-11-08  9:47 ` Christian Hildner
  0 siblings, 0 replies; 2+ messages in thread
From: Christian Hildner @ 2004-11-08  9:47 UTC (permalink / raw)
  To: linux-ia64

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
>  
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-08  9:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-08  9:13 IA-64 "instruction group" query Kiran VMS
2004-11-08  9:47 ` Christian Hildner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox