gas for itanium: ia64-ic.tbl: dependency bug due to error in the itanium specification
Jim Wilson
wilson@specifix.com
Fri Aug 3 18:56:00 GMT 2007
On Thu, 2007-08-02 at 14:18 +0200, Lars wrote:
> in the group 'fp-non-arith', xma is listed, but not xmpy. hence simply
> adding also xmpy there will do the trick.
This is correct. This is a bug in the Intel documentation. HJ, can you
report this internally within Intel to get the docs fixed?
Additionally, I noticed that the class pr-readers-nobr-nomovpr contains
fp-non-arith in addition to xma and xmpy which is redundant. The xma
and xmpy could be deleted here. This is a harmless error though.
I wrote a patch to fix gas. I just fixed the fp-non-arith problem, I
didn't bother with the other one as it doesn't matter. With this patch,
I now get the following objdump -d output for the assembled testcase,
which is correct.
0: 0f 30 3c 00 e1 18 [MMF] setf.sig f6=r15
6: 70 80 00 c2 31 00 setf.sig f7=r16
c: 00 00 04 00 nop.f 0x0;;
10: 0d 00 00 00 01 00 [MFI] nop.m 0x0
16: 50 00 18 0e 74 00 xmpy.l f5=f6,f7
1c: 00 00 04 00 nop.i 0x0;;
20: 01 70 14 00 e1 10 [MII] getf.sig r14=f5
26: 00 00 00 02 00 00 nop.i 0x0
2c: 00 00 04 00 nop.i 0x0;;
When regenerating ia64-asmtab.c, I noticed that a newline was
accidentally deleted when the copyright messages were updated, so I
included that in my patch too.
The patch was tested with make check on an x86_64-linux host and checked
in.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmpy.patch
Type: text/x-patch
Size: 2314 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070803/3d14ddde/attachment.bin>
More information about the Binutils
mailing list