gcc/ Support 64-bit double and 64-bit long double configurations. PR target/92055 * config.gcc (tm_defines) [avr]: Set from --with-double=, --with-long-double=. * config/avr/t-multilib: Remove. * config/avr/t-avr: Output of genmultilib.awk is now fully dynamically generated and no more part of the repo. (HAVE_DOUBLE_MULTILIB, HAVE_LONG_DOUBLE_MULTILIB): New variables. Pass them down to... * config/avr/genmultilib.awk: ...here and handle them. * gcc/config/avr/avr.opt (-mdouble=, avr_double). New option and var. (-mlong-double=, avr_long_double). New option and var. * common/config/avr/avr-common.c (opts.h, diagnostic.h): Include. (TARGET_OPTION_OPTIMIZATION_TABLE) <-mdouble=, -mlong-double=>: Set default as requested by --with-double= (TARGET_HANDLE_OPTION): Define to this... (avr_handle_option): ...new hook worker. * config/avr/avr.h (DOUBLE_TYPE_SIZE): Define to avr_double. (LONG_DOUBLE_TYPE_SIZE): Define to avr_long_double. (avr_double_lib): New proto for spec function. (EXTRA_SPEC_FUNCTIONS) <double-lib>: Add. (DRIVER_SELF_SPECS): Call %:double-lib. * config/avr/avr.c (avr_option_override): Assert sizeof(long double) >= sizeof(double) for the target. * config/avr/avr-c.c (avr_cpu_cpp_builtins) [__HAVE_DOUBLE_MULTILIB__, __HAVE_LONG_DOUBLE_MULTILIB__] [__HAVE_DOUBLE64__, __HAVE_DOUBLE32__, __DEFAULT_DOUBLE__=] [__HAVE_LONG_DOUBLE64__, __HAVE_LONG_DOUBLE32__] [__HAVE_LONG_DOUBLE_IS_DOUBLE__, __DEFAULT_LONG_DOUBLE__=]: New built-in define depending on --with-double=, --with-long-double=. * config/avr/driver-avr.c (avr_double_lib): New spec function. * doc/invoke.tex (AVR Options) <-mdouble=,-mlong-double=>: Doc. * doc/install.texi (Cross-Compiler-Specific Options) <--with-double=, --with-long-double=>: Doc. libgcc/ Support 64-bit double and 64-bit long double configurations. PR target/92055 * config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if long double is a 32-bit type. * config/avr/t-avrlibc: Copy double64 and long-double64 multilib(s) from the vanilla one. * config/avr/t-copy-libgcc: New Makefile snip. From-SVN: r277908
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| soft-fp | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| config.host | Loading commit data... | |
| config.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| crtstuff.c | Loading commit data... | |
| dfp-bit.c | Loading commit data... | |
| dfp-bit.h | Loading commit data... | |
| divmod.c | Loading commit data... | |
| empty.mk | Loading commit data... | |
| emutls.c | Loading commit data... | |
| enable-execute-stack-empty.c | Loading commit data... | |
| enable-execute-stack-mprotect.c | Loading commit data... | |
| find-symver.awk | Loading commit data... | |
| fixed-bit.c | Loading commit data... | |
| fixed-bit.h | Loading commit data... | |
| fixed-obj.mk | Loading commit data... | |
| floatunsidf.c | Loading commit data... | |
| floatunsisf.c | Loading commit data... | |
| floatunsitf.c | Loading commit data... | |
| floatunsixf.c | Loading commit data... | |
| fp-bit.c | Loading commit data... | |
| fp-bit.h | Loading commit data... | |
| gbl-ctors.h | Loading commit data... | |
| gcov.h | Loading commit data... | |
| gen-fixed.sh | Loading commit data... | |
| generic-morestack-thread.c | Loading commit data... | |
| generic-morestack.c | Loading commit data... | |
| generic-morestack.h | Loading commit data... | |
| gstdint.h | Loading commit data... | |
| gthr-posix.h | Loading commit data... | |
| gthr-single.h | Loading commit data... | |
| gthr.h | Loading commit data... | |
| libgcc-std.ver.in | Loading commit data... | |
| libgcc2.c | Loading commit data... | |
| libgcc2.h | Loading commit data... | |
| libgcov-driver-system.c | Loading commit data... | |
| libgcov-driver.c | Loading commit data... | |
| libgcov-interface.c | Loading commit data... | |
| libgcov-merge.c | Loading commit data... | |
| libgcov-profiler.c | Loading commit data... | |
| libgcov-util.c | Loading commit data... | |
| libgcov.h | Loading commit data... | |
| memcmp.c | Loading commit data... | |
| memcpy.c | Loading commit data... | |
| memmove.c | Loading commit data... | |
| memset.c | Loading commit data... | |
| mkheader.sh | Loading commit data... | |
| mkmap-flat.awk | Loading commit data... | |
| mkmap-symver.awk | Loading commit data... | |
| offloadstuff.c | Loading commit data... | |
| shared-object.mk | Loading commit data... | |
| siditi-object.mk | Loading commit data... | |
| static-object.mk | Loading commit data... | |
| sync.c | Loading commit data... | |
| udivhi3.c | Loading commit data... | |
| udivmod.c | Loading commit data... | |
| udivmodhi4.c | Loading commit data... | |
| udivmodsi4.c | Loading commit data... | |
| unwind-arm-common.inc | Loading commit data... | |
| unwind-c.c | Loading commit data... | |
| unwind-compat.c | Loading commit data... | |
| unwind-compat.h | Loading commit data... | |
| unwind-dw2-fde-compat.c | Loading commit data... | |
| unwind-dw2-fde-dip.c | Loading commit data... | |
| unwind-dw2-fde.c | Loading commit data... | |
| unwind-dw2-fde.h | Loading commit data... | |
| unwind-dw2.c | Loading commit data... | |
| unwind-dw2.h | Loading commit data... | |
| unwind-generic.h | Loading commit data... | |
| unwind-pe.h | Loading commit data... | |
| unwind-seh.c | Loading commit data... | |
| unwind-sjlj.c | Loading commit data... | |
| unwind.inc | Loading commit data... | |
| vtv_end.c | Loading commit data... | |
| vtv_end_preinit.c | Loading commit data... | |
| vtv_start.c | Loading commit data... | |
| vtv_start_preinit.c | Loading commit data... |