From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 9367 invoked from network); 22 Mar 1999 02:14:10 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 22 Mar 1999 02:14:10 -0000 Received: from piglet.twiddle.net (rth@piglet.twiddle.net [207.104.6.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA10799 for ; Sun, 21 Mar 1999 21:02:04 -0500 Received: (from rth@localhost) by piglet.twiddle.net (8.8.7/8.8.7) id SAA18040 for axp-list@redhat.com; Sun, 21 Mar 1999 18:10:51 -0800 Message-ID: <19990321181051.A17845@twiddle.net> Date: Sun, 21 Mar 1999 18:10:51 -0800 From: Richard Henderson To: axp-list@redhat.com Subject: Re: XP1000 and Linux References: <278EEF4F1348D211940600A0C95BCF7F1F01AC@yellow-fin.alpha-processor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <278EEF4F1348D211940600A0C95BCF7F1F01AC@yellow-fin.alpha-processor.com>; from Stig Telfer on Sun, Mar 21, 1999 at 07:21:46PM -0500 On Sun, Mar 21, 1999 at 07:21:46PM -0500, Stig Telfer wrote: > I was hoping to provide an example to test this, but gnu as doesn't seem to > know the instruction, at least not the version I have (and not with the > mnemonic in the arch handbook). Hand-assembling may do the trick for now. Bother. The opcode table knows it, the tokenizer doesn't. Patch appended. > I wonder how much effort gcc makes to use it? None. Gcc knows nothing about optimizing for the memory heirarchy. r~ Index: config/tc-alpha.c =================================================================== RCS file: /cvs/cvsfiles/devo/gas/config/tc-alpha.c,v retrieving revision 1.76 diff -u -p -d -r1.76 tc-alpha.c --- tc-alpha.c 1999/02/15 00:00:20 1.76 +++ tc-alpha.c 1999/03/22 01:59:58 @@ -819,7 +819,7 @@ md_assemble (str) int ntok, opnamelen, trunclen; /* split off the opcode */ - opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/48"); + opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/468"); trunclen = (opnamelen < sizeof (opname) - 1 ? opnamelen : sizeof (opname) - 1);