public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] RE: dependency violation table problem
@ 2003-04-07 17:47 Leung, Felix
  0 siblings, 0 replies; only message in thread
From: Leung, Felix @ 2003-04-07 17:47 UTC (permalink / raw)
  To: linux-ia64

Hi Jim,

Yes what you mentioned is correct.  "mem-writers-fp" is missed on
fr-readers line.
The fix will be like what you said by adding IC:mem-writers to the
RAW DV tables.

Both you mentioned will be fixed in the next revision of SDM.

Let me know if you find any other doc errors.

Thanks.

- Felix

-----Original Message-----
From: Jim Wilson <wilson@tuliptree.org>
To: linux-ia64@linuxia64.org
Date: 06 Apr 2003 11:49:09 -0400
Subject: [Linux-ia64] dependency violation table problem

Gas fails for this simple testcase.
        .auto
        ldfs f8 = [r32]
        stfd [r33] = f8
It should insert a stop bit between the load and store, but does not.

This appears to be a bug in the Intel dependency violation (DV) tables.

In the Intel Itanium Architecture Software Developer's Manual (IIASDM),
vol 3, revision 2.1, page 342, table 5-2, says that there is a RAW DV
for a FR% register if fr-writers is followed by fr-readers.

fr-readers is defined on page 352, table 5-5.  It includes arith
operations (e.g. add), non-arith operations (e.g. and), and a few other
things, but it does not include stf.  This looks like a bug in the Intel
documentation.

I believe this should be fixed by adding IC:mem-writers-fp to
fr-readers.  This makes gas work as expected.

As long as I'm reporting documentation problems, there is another less
important one I've noticed.  In the X unit instruction encodings, IIASDM
vol 3 rev 2.1 page 332 table 4-73, it mentions nop.m and hint.m.  These
should be nop.x and hint.x.

I'm off on a 4000 km international move, so I will be offline for a week
or two.

Jim




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-07 17:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-07 17:47 [Linux-ia64] RE: dependency violation table problem Leung, Felix

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