All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] dependency violation table problem
@ 2003-04-06 15:49 Jim Wilson
  0 siblings, 0 replies; only message in thread
From: Jim Wilson @ 2003-04-06 15:49 UTC (permalink / raw)
  To: linux-ia64

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-06 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-06 15:49 [Linux-ia64] dependency violation table problem Jim Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.