Re: [fpc-pascal] fpc arm-embedded suitable for cortex-m4 ?

2012-06-26 Thread Jeppe Græsdal Johansen
The FPU is single precision only, as far as I remember. That made it a 
little hard to work with in fpc, and last I took a stab at it there 
weren't any affordable chips around with support even.


The DSP instructions will probably need intrinsics to be useful, 
otherwise I guess they could simply be added as assembler instructions. 
They are fairly limited in scope anyway


Den 26-06-2012 09:37, Koenraad Lelong skrev:

Hi,

Last week I attended a seminar regarding cortex-m4. I was wondering if 
fpc works for that processor. AFAIK, the processor is compatible with 
a cortex-m3, but has a hardware floating point processor and 
DSP-related instructions. So if fpc would be able to use the floating 
point processor that would be great. I wouldn't know how to use the 
dsp-instructions, yet.


Thanks for any pointers,

Koenraad lelong.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpc arm-embedded suitable for cortex-m4 ?

2012-06-26 Thread Koenraad Lelong

On 26-06-12 09:45, Jeppe Græsdal Johansen wrote:

The FPU is single precision only, as far as I remember. That made it a
little hard to work with in fpc, and last I took a stab at it there
weren't any affordable chips around with support even.


Hi Jeppe,

Would this be a good candidate to port fpc to cortex-m4 :
http://be.farnell.com/stmicroelectronics/stm32f4discovery/board-eval-stm32f4-discovery/dp/2009276
I could sponsor one if you like ;-)
And there is no hurry. I need to finish my cortex-m3 project first and 
see if that processor is fast enough.


Regards,

Koenraad Lelong
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal