Fixed-Point Arithmetic Project

Robert Dewar dewar@adacore.com
Sat Sep 23 17:52:00 GMT 2006


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.
> 
> Best wishes,
> 
> Duncan.



More information about the Gcc mailing list