From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 20520 invoked from network); 24 Jan 2000 23:58:06 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Jan 2000 23:58:06 -0000 Received: from quantum.ece.ucsb.edu (root@quantum.ece.ucsb.edu [128.111.185.95]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA02383 for ; Mon, 24 Jan 2000 18:58:06 -0500 Received: from cluster1 (feynman.ece.ucsb.edu [128.111.29.124]) by quantum.ece.ucsb.edu (8.8.6 (PHNE_17135)/8.8.6) with SMTP id PAA28582 for ; Mon, 24 Jan 2000 15:58:04 -0800 (PST) From: Michael Werner Reply-To: werner@quantum.ece.ucsb.edu Organization: ECE-UCSB To: axp-list@redhat.com Subject: Re: Alpha and EV6 opcodes Date: Mon, 24 Jan 2000 15:52:39 -0800 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <202001250346.WAA01860@amt211.lkg.dec.com> In-Reply-To: <202001250346.WAA01860@amt211.lkg.dec.com> MIME-Version: 1.0 Message-Id: <00012415580400.16509@cluster1> Content-Transfer-Encoding: 8bit On Fri, 24 Jan 2020, Jay.Estabrook@compaq.com wrote: > >>> Rich Payne said: > > > > So I've been playing around with Alsa the last few days and come accross > > something rather strange. I've tried compiling it on 4 different machines > > (LX,SX,UP2000,UP1000). Now on the LX and the SX it compiles fine, on the > > other two it will only compile if the kernel source tree is setup as > > generic, if it's specific (DP264 for the UP2000 or Nautilus for the > > UP1000). The compile fails with lots of: > > > > {standard input}: Assembler messages: > > {standard input}:30: Error: macro requires $at register while noat in > > effect > > > > in several of the Alsa files (isadma.c etc..). Anyone?? > > There's something wrong in either the arch/alpha/Makefile or in how the > CFLAGS gets inherited by the ALSA package. > > These errors typically occur when the assembler encounters an opcode which > it has *not* been told to handle, like the EV56/EV6 opcodes ldb/stb. In that > case, it attempts to use some macros that will perform the desired operation > on the older CPUs, but the macros have bugs, hence the messages. > > There's one file in XFree86 that requires building with the special assembler > flag "-Wa,-m21164a", for just this case. > > What I suspect is happening is that the compiler is being told to compile > for EV6, but the assembler isn't being told to *accept* EV6 opcodes. > Has anyone tried to use the CTTZ instructions with GCC? ECGS 1.1.2 didn't like this instruction in an xtended asm inline macro. I passed the ev6 flags to gcc and for assembly stage. > Good luck in tracking this down... ;-} > > --Jay++ > > ----------------------------------------------------------------------------- > Jay A Estabrook Alpha Engineering - LINUX Project > Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 > 200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com > ----------------------------------------------------------------------------- > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com