linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michel Dänzer <michdaen@iiic.ethz.ch>
To: christophe barbe <christophe.barbe@inup.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: gcc, floating point and linux kernel module
Date: Fri, 05 Jan 2001 17:16:07 +0100	[thread overview]
Message-ID: <3A55F347.2DC0065E@iiic.ethz.ch> (raw)
In-Reply-To: 20010105101323.B9136@pc8.inup.com


christophe barbe wrote:

> I'm compiling a kernel module for the linux 2.2.18 on a PPC target (MPC750)
> with the following gcc :
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
>
> The resulting object uses FPU opcode to do optimization for 64 bits
> variables. I've add at the end of this mail the command line to compile one
> of the object included in the module which uses FPU, the guilty part of the
> code and the generated asm.
>
> It's a bad thing to use FPU in the kernel mode (under linux), so my question
> is is there a way to turn of FPU usage ?

arch/ppc/Makefile uses -msoft-float.


Michel


--
Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \   member of XFree86 and The DRI Project

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2001-01-05 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-05  9:13 gcc, floating point and linux kernel module christophe barbe
2001-01-05 16:16 ` Michel Dänzer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A55F347.2DC0065E@iiic.ethz.ch \
    --to=michdaen@iiic.ethz.ch \
    --cc=christophe.barbe@inup.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).