Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
To: axp-list@redhat.com, Linux kernel <linux-kernel@vger.rutgers.edu>
Subject: Re: [2.1.107] compile error on Avanti
Date: Mon, 29 Jun 1998 14:59:56 -0700	[thread overview]
Message-ID: <19980629145956.A1709@dot.cygnus.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980628022916.19068A-100000@earth.terran.org>; from B. James Phillippe on Sun, Jun 28, 1998 at 02:40:01AM -0700

On Sun, Jun 28, 1998 at 02:40:01AM -0700, B. James Phillippe wrote:
> arch/alpha/kernel/kernel.o: In function `do_entIF':
> traps.c(.text+0x109c): undefined reference to `alpha_fp_emul'
> traps.c(.text+0x10a0): undefined reference to `alpha_fp_emul'

You should not set CONFIG_MATHEMU != y unless you know what 
you are doing.  If EXPERIMENTAL is not y, this setting will
be forced.  I'll have a fix for this shortly though.

> arch/alpha/kernel/kernel.o: In function `reset_for_srm':
> bios32.c(.text+0x7fb8): undefined reference to `scrreset'
> bios32.c(.text+0x7fbc): undefined reference to `scrreset'

Ah hah -- SRM interactions with the new console layer.  Quick 
solution is to remove the call in bios32.c.

> Also, and slightly off-topic, could anyone give me a brief explanation of
> what CONFIG_ALPHA_NEED_ROUNDING_EMULATION and CONFIG_MATHEMU do for Alpha?
> I understand there is some issue WRT SIGFPE being generated on some
> floating point operations and that -mieee fixes this at a performance
> penalty.

CONFIG_ALPHA_NEED_ROUNDING_EMULATION is needed for 21064 chips
because only round-to-nearest is implemented in hardware.  Anything
else will be flagged as an unimplemented instruction.  These
instructions can be emulated by the code turned on by CONFIG_MATHEMU.

CONFIG_MATHEMU for 21164 machines implements so-called software
completion that coordinates with -mieee code to implement compliant
IEEE fp.

Non -mieee code doesn't use any of this slow emulation stuff.  It
just dies with SIGFPE if there is a problem.


r~


  parent reply	other threads:[~1998-06-29 21:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-28  9:40 [2.1.107] compile error on Avanti B. James Phillippe
1998-06-28 21:26 ` Matthew Geier
1998-06-29 21:59 ` Richard Henderson [this message]
1998-06-30  8:36   ` Jay.Estabrook
  -- strict thread matches above, loose matches on Subject: below --
1998-06-30 18:11 Chlinf
1998-06-30 18:56 ` Maurice Hilarius
1998-06-30 19:29   ` Martin Høy
1998-06-30 18:57 DevGolfs18
1998-06-30 20:40 ` Joakim Roubert
1998-06-30 18:58 DevGolfs18
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