This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fixed-point] Support constant folding
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: "Fu, Chao-Ying" <fu at mips dot com>
- Cc: gcc-patches at gcc dot gnu dot org, "Thekkath, Radhika" <radhika at mips dot com>, "Stephens, Nigel" <nigel at mips dot com>
- Date: Thu, 30 Nov 2006 00:40:34 +0100
- Subject: Re: [fixed-point] Support constant folding
- References: <3CB54817FDF733459B230DD27C690CEC012BB177@Exchange.mips.com>
> * fixed_value.h (fconst0): Declare.
> (fixed_arithmetic, fixed_compare, fixed_arithmetic2): Declare.
> (FIXED_VALUE_NEGATE): Define.
> * fixed_value.c (do_fixed_add, do_fixed_multiply, do_fixed_divide,
> do_fixed_shift): Declare.
> (fixed_from_string): Sign or zero extend the value.
> (do_fixed_add, do_fixed_multiply, do_fixed_divide, do_fixed_shift,
> fixed_arithmetic, fixed_arithmetic2, fixed_compare): New functions.
I don't think we want underscores in filenames, see the existing files.
--
Eric Botcazou