xref: /netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/i386-d.h (revision b1e838363e3c6fc78a55519254d99869742dd33c)
1 /* Definitions for the D front end on the x86 architecture.
2    Copyright (C) 2022 Free Software Foundation, Inc.
3 
4 GCC is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 3, or (at your option)
7 any later version.
8 
9 GCC is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License
15 along with GCC; see the file COPYING3.  If not see
16 <http://www.gnu.org/licenses/>.  */
17 
18 /* In i386-d.cc  */
19 extern void ix86_d_target_versions (void);
20 extern void ix86_d_register_target_info (void);
21 extern bool ix86_d_has_stdcall_convention (unsigned int *, unsigned int *);
22 
23 /* Target hooks for D language.  */
24 #define TARGET_D_CPU_VERSIONS ix86_d_target_versions
25 #define TARGET_D_REGISTER_CPU_TARGET_INFO ix86_d_register_target_info
26 #define TARGET_D_HAS_STDCALL_CONVENTION ix86_d_has_stdcall_convention
27