On Friday 22 September 2006 09:38, Arnaud Charlet wrote: > > > We are working on a project to add fixed-point arithmetic support to GCC. > > > A GCC project description page is available here > > > http://gcc.gnu.org/wiki/FixedPointArithmetic > > > and we will create a GCC branch in the near future. If you have > > > any suggestions or comments, please respond. > > > > I expect the Ada front-end people will be interested: the Ada language > > incorporates binary and decimal fixed point types. AFAIK, it is all > > done using emulation at the moment. > > Not sure what you mean by "emulation". The implementation provided in > GNAT is indeed a full implementation of Ada fixed point semantics.
I mean that no use is made of special hardware support. This is in analogy to "floating point emulation", for processors with no fp support. > It can probably be used either as a reference implementation, or as a base for > comparison (e.g. correctness comparison). Best wishes, Duncan.