public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kristoff Bonne <kristoff.bonne@skypro.be>
To: linux-kernel@vger.kernel.org
Subject: [Question]  FastFPE math emulation
Date: Thu, 08 Sep 2011 12:42:07 +0200	[thread overview]
Message-ID: <j4a65v$75v$1@dough.gmane.org> (raw)

Hi,

I am playing around with a "friendlyarm mini2440" development board.
It's a system based on a 400 Mhz samsung s3c2440 CPU, which is itself
based on a ARM920T core.
This system does not have a FPU. (nor integer DSP instruction-set).


I want to experiment to use this board for audio-related application,
e.g. the codec2 vocoder.
The implementation of that codec is now based on floating-point math.

First tests indicate that, using default settings, the board is not fast
enough to do realtime encoding or decoding of codec2 . (encoding a 34
second audio-sample takes 42 seconds).


Yesterday, I noticed the kernel has an option "FastFPE math emulation"
but when I install a kernel with that option enabled, I see no
difference at all.

- does FastFPE work on this kind of CPU.
- Is there something that needs to be done to activate it? (setting,
option during compiling, ...?)


Info:
# uname -a
Linux FriendlyARM 2.6.32.2-FriendlyARM #9 Wed Sep 7 21:38:49 CEST 2011
armv4tl unknown

$ grep -i fpe .config
CONFIG_FPE_NWFPE=y
# CONFIG_FPE_NWFPE_XP is not set
CONFIG_FPE_FASTFPE=y


# cat /proc/cpuinfo
Processor	: ARM920T rev 0 (v4l)
BogoMIPS	: 201.93
Features	: swp half
CPU implementer	: 0x41
CPU architecture: 4T
CPU variant	: 0x1
CPU part	: 0x920
CPU revision	: 0

Hardware	: FriendlyARM Mini2440 development board
Revision	: 0000
Serial		: 0000000000000000



http://friendlyarm.net/products/mini2440?lang=en
http://codec2.org/


Cheerio!
Kr. Bonne.


                 reply	other threads:[~2011-09-08 10:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='j4a65v$75v$1@dough.gmane.org' \
    --to=kristoff.bonne@skypro.be \
    --cc=linux-kernel@vger.kernel.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