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]

Re: [patch,avr, 1/3] Support 64-bit (long) double: The gcc part.


On Mon, 2019-12-16 at 17:43 +0100, Georg-Johann Lay wrote:
> Am 16.12.19 um 17:40 schrieb Georg-Johann Lay:
> Patch 1/3 is the GCC changes: Documentation and new avr-specific
> configure options:
> 
> --with-libf7 selects to which level double support from libf7 is added
> to libgcc.
> 
> --with-double-comparison select what FLOAT_LIB_COMPARE_RETURNS_BOOL
> returns.
> 
> Johann
> 
> gcc/
> 	* config.gcc (tm_defines) [target=avr]: Support --with-libf7,
> 	--with-double-comparison.
> 	* doc/install.texi: Document them.
> 	* config/avr/avr-c.c (avr_cpu_cpp_builtins)
> 	<WITH_LIBF7_LIBGCC, WITH_LIBF7_MATH, WITH_LIBF7_MATH_SYMBOLS>
> 	<WITH_DOUBLE_COMPARISON>: New built-in defines.
> 	* doc/invoke.texi (AVR Built-in Macros): Document them.
> 	* config/avr/avr-protos.h (avr_float_lib_compare_returns_bool): New.
> 	* config/avr/avr.c (avr_float_lib_compare_returns_bool): New function.
> 	* config/avr/avr.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): New macro.
I'd suggest "--with-libf77" rather than "--with-libf7".  

jeff


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