Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7702441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T23:13:40+00:00 2026-05-31T23:13:40+00:00

I’m developing C/C++ software for an embedded Linux system with the AT91SAM9G20 processor from

  • 0

I’m developing C/C++ software for an embedded Linux system with the AT91SAM9G20 processor from Atmel. I need to quickly compute the FFT using fixed-point (or perhaps floating-point) math using a Linux userspace program. I understand that assembler might be the way to go here with respect to the implementation, and that an additional -mpcu switch might be required when compiling using the gcc compiler. What is the best way to proceed with this implementation, and are there any good book references or optimized FOSS libraries available?

I have to implement some algorithms that also require small FFT lengths (i.e 1024 points) to be applied a number of times and I would wonder if some libraries (such as kissfft) would work just as well. I’m also interested in long FFT lengths, so the FFTW as suggested in an answer below would work well too.

As a related aside to this question, I am also wondering how integer division is handled in an ARM9 Linux userspace program. If I divide two integers (such as 25 / 4), is the division done using soft floating point numbers? I need to also implement some heavy number crunching algorithms, and I am wondering if fixed-point is better to use here than floating point math, and how the gcc compiler really handles things.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T23:13:42+00:00Added an answer on May 31, 2026 at 11:13 pm

    FFTw contains CPU specific optimizations (and can do compile time/runtime CPU profiling too).

    Version 3.3.1 introduces support for the ARM Neon extensions

    • http://www.fftw.org/#features

    And from the FAQ: Question 4.2. Why is FFTW so fast?

    This is a complex question, and there is no simple answer. In fact, the authors do not fully know the answer, either. In addition to many small performance hacks throughout FFTW, there are three general reasons for FFTW’s speed.

    • FFTW uses a variety of FFT algorithms and implementation styles that can be arbitrarily composed to adapt itself to a machine. See Q4.1 `How does FFTW work?’.
    • FFTW uses a code generator to produce highly-optimized routines for computing small transforms.
    • FFTW uses explicit divide-and-conquer to take advantage of the memory hierarchy.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have thousands of HTML files to process using Groovy/Java and I need to
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I need to write an AS3 program to search for a certain keyword in
In my XML file chapters tag has more chapter tag.i need to display chapters
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.