C compiler and multi-core support

M

Martinfnp

Hello all, I'm completely new in theory of C compiler and it's support
for multi-core hardware. Does anybody know whether compiler for
multi-core and SMP/AMP/BMP does need some special internal features?
I'm not talking right know about libs, just translation of the C code
into the instructions. I still understand that the most responsibility
is on the OS side and application even doesn't need to be recompiled.
Just special libs for SMP/BMP/AMP need to be linked? Is that correct or
am I wrong? How is it in the case there is no OS running, just basic
firmware? Martin
 
L

loufoque

Martinfnp a écrit :
Does anybody know whether compiler for
multi-core and SMP/AMP/BMP does need some special internal features?

I think you only need a SMP-enabled kernel.
As I don't know much about that stuff, I may be wrong though.
 
M

Martinfnp

I've found OpenMP which is probably coming as an standard. Today Intel
has it implemented in their compilers. You simply write app once and
then you decide whether it should be compiled for multi-core and up to
which level of the parallelism. It's really looking cool. Does anybody
know if somebody else is working to implement OpenMP into their
compilers? I just don't want follow dead thread. www.openmp.org
 
I

Ian Collins

Martinfnp said:
I've found OpenMP which is probably coming as an standard. Today Intel
has it implemented in their compilers. You simply write app once and
then you decide whether it should be compiled for multi-core and up to
which level of the parallelism. It's really looking cool. Does anybody
know if somebody else is working to implement OpenMP into their
compilers? I just don't want follow dead thread. www.openmp.org
Sun compilers support OpenMP.
 
M

Mark McIntyre

Hello all, I'm completely new in theory of C compiler and it's support
for multi-core hardware. Does anybody know whether compiler for
multi-core and SMP/AMP/BMP does need some special internal features?

This is completely offtopic here since the topic is the C Language.
You would need to ask in groups specialising in whatever compiler
and/or OS you want to think about.
Mark McIntyre
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top