This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[fixed-point] Patch to enable fixed-point


Hello,

  Here is the first patch to enable fixed-point arithmetic 
support to C.  To enable it, just use "--enable-fixed-point"
to configure GCC.  Thanks!

Regards,
Chao-ying

2006-11-01  Chao-ying Fu  <fu@mips.com>

	* configure.ac (--enable-fixed-point): New to enable fixed-point
	arithmetic extension to C.
	* configure, config.in: Regenerate.
	* targhooks.h (default_fixed_point_supported_p): Declare.
	* targhooks.c (default_fixed_point_supported_p): Define.
	* target-def.h (TARGET_FIXED_POINT_SUPPORTED_P): New.
	(TARGET_INITIALIZER): Add TARGET_FIXED_POINT_SUPPORTED_P.
	* target.h (gcc_target): Add fixed_point_supported_p.
	* doc/install.texi (Configuration): Add --enable-fixed-point.
	* doc/tm.texi (TARGET_FIXED_POINT_SUPPORTED_P): Add.

Attachment: gcc.diff
Description: gcc.diff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]