Re: Type fixed piont



If I want to take the code faster, without emulation of floating point, what
kind of type can I use?

--
My english is bad...if I made some mistaches you'll tell me please!

"steve" <bungalow_steve@xxxxxxxxx> ha scritto nel messaggio
news:1149009313.948838.198010@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

SDV wrote:
Hi,
I'm working with an ADSP-BF533 which uses fixed point arithmetic.
Have I, for this reason, some limitation with type declaration (like
double,
float, ...)?

No, no limitation, if you use float types the complier will just
generate software emulated floating point code using fixed point math,
the code will be a lot slower then if you had a processor with hardware
floating point, and the code will take up more memory, but it will work
fine otherwise.

steve



.



Relevant Pages

  • Re: How to use floating point in a module?
    ... floating point in the Linux kernel isn't allowed. ... No. Use of floating point HARDWARE, and/or emulation which emulates ... that's why use of floating point HARDWARE is prohibited. ...
    (Linux-Kernel)
  • Re: Fixed-point Math help
    ... Tim Wescott wrote: ... >> TI doesn't publish floating point emulation specs for its fixed ... > With a fixed point math package that does 1r15 arithmetic, in ANSI C, ...
    (comp.arch.embedded)
  • Re: [opensuse] swap not available
    ... Initially, the Digital Alpha supported VMS, Digital Unix, ... application actually needed less emulation. ... Floating point was an issue. ...
    (SuSE)
  • Re: Pitch recognition of a musical note on a smart phone
    ... Emulation is just too slow to be usable on slower ... This is not true on many current smartphones. ... includes a VFP pipelined or NEON vector floating point unit. ... How many of current smartphones implement FPU? ...
    (comp.dsp)
  • Software vs hardware floating-point [was Re: What happened ...]
    ... see is a 1,024 core chip, with an enhanced 2-D grid memory topology, ... recollection is that the lack of HW floating point was one of the big ... between 50% and 75% of the cost of the emulation as such ... is the fact that the software primitives are unsuitable, ...
    (comp.arch)