Fixed point support for GCC cross compiler
I am involved with the porting of GCC for a new arm processor.
The trouble is that I have to add a feature which is not supported by GCC - Fixed point support.
You know adding a new support along with porting is going to be tough.
Someone told me that one can add support in two ways.
1. Include the support through the compiler (change the internals).
2. Outside the compiler, through a library. (library support)
I am not sure which one to pursue.
The processor has a dedicated hardware support for fixed point operations.
Providing the support through a library is a good option when this is so?
Could anyone tell me which will be the best approach?
and why it is so?
or better could anyone give me an example so that I can use it as a reference
Thanks in advance.