From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12162 invoked from network); 22 Mar 2000 19:53:58 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Mar 2000 19:53:58 -0000 Received: from ztxmail05.ztx.compaq.com (ztxmail05.ztx.compaq.com [161.114.1.209]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA15404 for ; Wed, 22 Mar 2000 14:53:58 -0500 Received: by ztxmail05.ztx.compaq.com (Postfix, from userid 12345) id B3D7843D; Wed, 22 Mar 2000 13:53:27 -0600 (CST) Received: from mailint12.im.hou.compaq.com (mailint12.im.hou.compaq.com [172.18.229.190]) by ztxmail05.ztx.compaq.com (Postfix) with ESMTP id A862D3D3; Wed, 22 Mar 2000 13:53:27 -0600 (CST) Received: by mailint12.im.hou.compaq.com (Postfix, from userid 12345) id 6BF2A4FB12; Wed, 22 Mar 2000 13:53:21 -0600 (CST) Received: from oflume.zk3.dec.com (broflume.zk3.dec.com [16.141.0.42]) by mailint12.im.hou.compaq.com (Postfix) with ESMTP id F239A4C901; Wed, 22 Mar 2000 13:53:20 -0600 (CST) Received: from zk3.dec.com by oflume.zk3.dec.com (8.8.8/1.1.22.3/03Mar00-0551AM) id OAA0000018229; Wed, 22 Mar 2000 14:53:26 -0500 (EST) Sender: frival@zk3.dec.com Message-ID: <38D924B4.655AB661@zk3.dec.com> Date: Wed, 22 Mar 2000 19:53:25 +0000 From: Peter Rival Organization: Tru64 QMG Performance Engineering X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14pre11 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Cc: Byron Stanoszek , linux-alpha@vger.rutgers.edu, Jay.Estabrook@compaq.com Subject: Re: Not quite there with 2.3.99-pre2 References: <38D7E3C2.40AAE32F@zk3.dec.com> <20000321151434.B5926@twiddle.net> Content-Type: multipart/alternative; boundary="------------DBAB5335CC288130686F13D7" --------------DBAB5335CC288130686F13D7 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Richard Henderson wrote: > On Tue, Mar 21, 2000 at 09:04:03PM +0000, Peter Rival wrote: > > As far as I can see, sqrttsu isn't an instruction in the Alpha Architecture > > handbook ... > > You're looking at the wrong version. It's an ev6 insn. I'm looking at Version 4 - supposedly the newest one that isn't even in hardcopy. I just don't normally look at the FP code, so I didn't notice the "Qualifiers" header - I had found sqrtt, but didn't notice that sqrttsu was a valid subset of the sqrtx instructions. *sigh* Too much on my mind... > > Get a newer binutils. > Just how new are we talking? I pulled down what I believe to be the latest one, both the -alpha.tar.gz and the source tarball and tried both. Screenshot below: /usr/src/gcc-2.95.2/gcc/xgcc -B/usr/src/gcc-2.95.2/gcc/ -B/usr/local/alphaev6-unknown-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -mieee -I. -I./stl -I../libio -I./../libio -nostdinc++ -D_IO_MTSAFE_IO -DF `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \ ./cinst.cc -o fcomplex.o /tmp/cciSfwJo.s: Assembler messages: /tmp/cciSfwJo.s:3626: Error: unknown opcode `sqrttsu' /tmp/cciSfwJo.s:3696: Error: unknown opcode `sqrttsu' make[4]: *** [bigstmp-complx] Error 1 make[4]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/ieee/libstdc++' make[3]: *** [multi-do] Error 1 make[3]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++' make[2]: *** [multi-all] Error 2 make[2]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++' make[1]: *** [all-target-libstdc++] Error 2 make[1]: Leaving directory `/usr/src/gcc-2.95.2' make: *** [bootstrap] Error 2 [root@schooner gcc-2.95.2]# as -v GNU assembler version 2.9.1 (alphaev6-unknown-linux-gnu), using BFD version 2.9.1.0.25 [root@schooner gcc-2.95.2]# ld -v GNU ld version 2.9.1 (with BFD 2.9.1.0.25) As always, willing to believe I missed something else... - Pete --------------DBAB5335CC288130686F13D7 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Richard Henderson wrote:
On Tue, Mar 21, 2000 at 09:04:03PM +0000, Peter Rival wrote:
> As far as I can see, sqrttsu isn't an instruction in the Alpha Architecture
> handbook ...

You're looking at the wrong version.  It's an ev6 insn.

I'm looking at Version 4 - supposedly the newest one that isn't even in hardcopy.  I just don't normally look at the FP code, so I didn't notice the "Qualifiers" header - I had found sqrtt, but didn't notice that sqrttsu was a valid subset of the sqrtx instructions.  *sigh*  Too much on my mind...
 
Get a newer binutils.
 
Just how new are we talking?  I pulled down what I believe to be the latest one, both the -alpha.tar.gz and the source tarball and tried both.  Screenshot below:

/usr/src/gcc-2.95.2/gcc/xgcc -B/usr/src/gcc-2.95.2/gcc/ -B/usr/local/alphaev6-unknown-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates  -mieee -I. -I./stl -I../libio -I./../libio -nostdinc++ -D_IO_MTSAFE_IO -DF `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC MULCC MULCF MULFC DIVCC DIVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC ABS ARG POLAR CONJ NORM COS COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do echo " -D${N}"; done` \
  ./cinst.cc -o fcomplex.o
/tmp/cciSfwJo.s: Assembler messages:
/tmp/cciSfwJo.s:3626: Error: unknown opcode `sqrttsu'
/tmp/cciSfwJo.s:3696: Error: unknown opcode `sqrttsu'
make[4]: *** [bigstmp-complx] Error 1
make[4]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/ieee/libstdc++'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
make[2]: *** [multi-all] Error 2
make[2]: Leaving directory `/usr/src/gcc-2.95.2/alphaev6-unknown-linux-gnu/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/src/gcc-2.95.2'
make: *** [bootstrap] Error 2
[root@schooner gcc-2.95.2]# as -v
GNU assembler version 2.9.1 (alphaev6-unknown-linux-gnu), using BFD version 2.9.1.0.25
[root@schooner gcc-2.95.2]# ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)

As always, willing to believe I missed something else...

 - Pete --------------DBAB5335CC288130686F13D7--