* Alpha and Alsa
@ 2000-01-24 21:13 Rich Payne
2020-01-25 3:46 ` Jay.Estabrook
0 siblings, 1 reply; 5+ messages in thread
From: Rich Payne @ 2000-01-24 21:13 UTC (permalink / raw)
To: axp-list; +Cc: axp-hardware
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
{standard input}:37: Error: macro requires $at register while noat in
effect
{standard input}:54: Error: macro requires $at register while noat in
effect
{standard input}:59: Error: macro requires $at register while noat in
effect
{standard input}:78: Error: macro requires $at register while noat in
effect
{standard input}:85: Error: macro requires $at register while noat in
effect
{standard input}:98: Error: macro requires $at register while noat in
effect
in several of the Alsa files (isadma.c etc..). Anyone??
Once the modules are compiled they seem to
work fine, even in a kernel that is machine specific.
Anyway, the end result is that I know have a SoundBlaster Live working on
both the 1000 and 2000, it just takes a little work!
--rdp
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha and EV6 opcodes
2020-01-25 3:46 ` Jay.Estabrook
@ 2000-01-24 23:52 ` Michael Werner
2000-01-25 3:16 ` Jay.Estabrook
2000-03-17 21:18 ` xp1000 temp's Todd Henderson
1 sibling, 1 reply; 5+ messages in thread
From: Michael Werner @ 2000-01-24 23:52 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha and EV6 opcodes
2000-01-24 23:52 ` Alpha and EV6 opcodes Michael Werner
@ 2000-01-25 3:16 ` Jay.Estabrook
0 siblings, 0 replies; 5+ messages in thread
From: Jay.Estabrook @ 2000-01-25 3:16 UTC (permalink / raw)
To: axp-list
>>> Michael Werner said:
>
> 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.
I think Richard Henderson had GCC generating these instructions a while ago,
but unfortunately it wasn't until the EV67s appeared (667MHz is the most
common) that there was actually silicon devoted to the counting
instructions.
EV6 has the FP <-> int conversion instructions but *not* the counting ones.
There is an error in the older docs that state that the conversion and
counting would be in EV6, as only the conversions ones could be done in the
time that was available.
--Jay++
---------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* xp1000 temp's
2020-01-25 3:46 ` Jay.Estabrook
2000-01-24 23:52 ` Alpha and EV6 opcodes Michael Werner
@ 2000-03-17 21:18 ` Todd Henderson
1 sibling, 0 replies; 5+ messages in thread
From: Todd Henderson @ 2000-03-17 21:18 UTC (permalink / raw)
To: axp-list
Do the XP1000's have temp. monitoring like the DS10's?
Thanks,
Todd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Alpha and Alsa
2000-01-24 21:13 Alpha and Alsa Rich Payne
@ 2020-01-25 3:46 ` Jay.Estabrook
2000-01-24 23:52 ` Alpha and EV6 opcodes Michael Werner
2000-03-17 21:18 ` xp1000 temp's Todd Henderson
0 siblings, 2 replies; 5+ messages in thread
From: Jay.Estabrook @ 2020-01-25 3:46 UTC (permalink / raw)
To: axp-list
>>> 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.
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
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-03-17 21:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-24 21:13 Alpha and Alsa Rich Payne
2020-01-25 3:46 ` Jay.Estabrook
2000-01-24 23:52 ` Alpha and EV6 opcodes Michael Werner
2000-01-25 3:16 ` Jay.Estabrook
2000-03-17 21:18 ` xp1000 temp's Todd Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox