This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch,avr, 1/3] Support 64-bit (long) double: The gcc part.
- From: Jeff Law <law at redhat dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 06 Jan 2020 09:25:27 -0700
- Subject: Re: [patch,avr, 1/3] Support 64-bit (long) double: The gcc part.
- References: <268c2e7e-aca7-58fa-602c-6b9dafc133e7@gjlay.de> <3d2f9f74-fbde-8a19-e76b-5d0575298451@gjlay.de>
- Reply-to: law at redhat dot com
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