This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Fixed-Point Arithmetic Project
- From: Duncan Sands <duncan dot sands at math dot u-psud dot fr>
- To: Robert Dewar <dewar at adacore dot com>
- Cc: gcc at gcc dot gnu dot org, "Fu, Chao-Ying" <fu at mips dot com>, "Thekkath, Radhika" <radhika at mips dot com>, "Stephens, Nigel" <nigel at mips dot com>, Arnaud Charlet <charlet at adacore dot com>
- Date: Wed, 4 Oct 2006 12:19:38 +0200
- Subject: Re: Fixed-Point Arithmetic Project
- References: <3CB54817FDF733459B230DD27C690CEC012BB135@Exchange.mips.com> <200609220924.28577.duncan.sands@math.u-psud.fr> <45154DD4.2020302@adacore.com>
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.