Floating point emulation on DSP-L without floating point arithmetic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-21 10:41 PM
Hi,
i am currently analyzing the FIR filter example project.
Our DSP processor supports only integer numbers. Floating point arithmetic will not be supported.
"The SoftFloat library from John Hausser is used to emulate floating point operations
on a fixed point processor (www.jhauser.us/arithmetic/SoftFloat.htm). This library is only used in combination with the CHESS front end."
As I checked the example FIR implementation the cycle add function will be realized with fmadds. The assembly command fmadds dealing with two floating point number.
(cyclic_add function is provided by DSP-L /
ST. void* cyclic_add(T* p, int offs, T* start, int len)).
The example code is dealing with floating numbers and the floating point calculation will be emulated.
Why convert the compiler the cyclic add function to a floating point assembly command?
(See attached file.)
- Labels:
-
DSP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-22 1:56 AM
Hi @Roland Dorn​
In order your post reach the right people could you please clarify which STM32 chip you are using ?
Thx
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-22 2:05 AM
At first glance, the assembly doesn't look like Thumb-II (Cortex M).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-22 2:07 AM
Hi Olivier,
it is about the STxP6016 integrated into (ST28) SR6P7x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-22 4:15 AM
We have notified our dedicated staff in Stuttgart/Munich who will respond to you asap.
cc: @Marian GORTOL​ , @Carsten SBICK​ , @Robert BOCK​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-09-16 11:53 PM
I am still waiting for an answer.
