Related articles |
---|
Fixed point support for GCC cross compiler shafitvm@gmail.com (shafi) (2006-08-15) |
Re: Fixed point support for GCC cross compiler englere_geo@yahoo.com (Eric) (2006-08-15) |
Re: Fixed point support for GCC cross compiler ian@airs.com (Ian Lance Taylor) (2006-08-18) |
Re: Fixed point support for GCC cross compiler mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-08-18) |
Re: Fixed point support for GCC cross compiler adm@standarddeviance.com (thant) (2006-08-18) |
Re: Fixed point support for GCC cross compiler gene.ressler@gmail.com (Gene) (2006-08-18) |
Re: Fixed point support for GCC cross compiler englere_geo@yahoo.com (Eric) (2006-08-18) |
[1 later articles] |
From: | "shafi" <shafitvm@gmail.com> |
Newsgroups: | comp.compilers |
Date: | 15 Aug 2006 18:48:47 -0400 |
Organization: | http://groups.google.com |
Keywords: | GCC, question |
Posted-Date: | 15 Aug 2006 18:48:47 EDT |
Hello everyone,
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
while porting?
Thanks in advance.
Mohamed Shafi.
shafitvm@gmail.com
[I'd suggest seeing if you can do it with some in-line functions
that expand to asm() statements to generate the instructions. Adding
real support for a new datatype is not going to be easy. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.