On Saturday 23 September 2006 17:08, Robert Dewar wrote: > Duncan Sands 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. > > I don't know what emulation means here, obviously there is little > hardware support. Ada generates perfectly efficient fixed-point code, > but the code is generated in the front end. It might be possible > to share back end code if the semantics is exactly what Ada needs.
Making sure the semantics matches what Ada needs is a good reason to get involved at this early stage. Ciao, Duncan.