From: Michael Werner <werner@quantum.ece.ucsb.edu>
To: axp-list@redhat.com
Subject: Re: Alpha and EV6 opcodes
Date: Mon, 24 Jan 2000 15:52:39 -0800 [thread overview]
Message-ID: <00012415580400.16509@cluster1> (raw)
In-Reply-To: <202001250346.WAA01860@amt211.lkg.dec.com>
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
next prev parent reply other threads:[~2000-01-24 23:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-24 21:13 Alpha and Alsa Rich Payne
2020-01-25 3:46 ` Jay.Estabrook
2000-01-24 23:52 ` Michael Werner [this message]
2000-01-25 3:16 ` Alpha and EV6 opcodes Jay.Estabrook
2000-03-17 21:18 ` xp1000 temp's Todd Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox