diff options
author | Martin Liska <mliska@suse.cz> | 2019-02-18 09:19:47 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-02-18 08:19:47 +0000 |
commit | e8cecccc2e5abb5d753291892968bf72533a7045 (patch) | |
tree | 29fdf5a07178e7c279d7b62f846b33075258733b /gcc/target.def | |
parent | d3cbcb233854574e23793c72a2af72d4d3bf94fe (diff) | |
download | gcc-e8cecccc2e5abb5d753291892968bf72533a7045.zip gcc-e8cecccc2e5abb5d753291892968bf72533a7045.tar.gz gcc-e8cecccc2e5abb5d753291892968bf72533a7045.tar.bz2 |
Support if statement in !GCC$ builtin directive.
2019-02-18 Martin Liska <mliska@suse.cz>
* config/i386/i386.c (ix86_get_multilib_abi_name): New function.
(TARGET_GET_MULTILIB_ABI_NAME): New macro defined.
* doc/tm.texi: Document new target hook.
* doc/tm.texi.in: Likewise.
* target.def: Add new target macro.
* gcc.c (find_fortran_preinclude_file): Do not search multilib
suffixes.
2019-02-18 Martin Liska <mliska@suse.cz>
* decl.c (gfc_match_gcc_builtin): Add support for filtering
of builtin directive based on multilib ABI name.
2019-02-18 Martin Liska <mliska@suse.cz>
* gfortran.dg/simd-builtins-7.f90: New test.
* gfortran.dg/simd-builtins-7.h: New test.
From-SVN: r268978
Diffstat (limited to 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/target.def b/gcc/target.def index 05c9cc1..66cee07 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -5792,6 +5792,12 @@ call_2 may be NULL or a call insn.", NULL) DEFHOOK +(get_multilib_abi_name, + "This hook returns name of multilib ABI name.", + const char *, (void), + hook_constcharptr_void_null) + +DEFHOOK (remove_extra_call_preserved_regs, "This hook removes registers from the set of call-clobbered registers\n\ in @var{used_regs} if, contrary to the default rules, something guarantees\n\ |