Line data Source code
1 : /* Subroutines for the Rust front end on the x86 architecture.
2 : Copyright (C) 2022-2026 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 : #define IN_TARGET_CODE 1
19 :
20 : #include "config.h"
21 : #include "system.h"
22 : #include "coretypes.h"
23 : #include "tm.h"
24 : #include "tm_rust.h"
25 : #include "rust/rust-target.h"
26 :
27 : /* Implement TARGET_RUST_CPU_INFO for x86 targets. */
28 :
29 : void
30 4635 : ix86_rust_target_cpu_info (void)
31 : {
32 : #define ADD_TARGET_INFO rust_add_target_info
33 : #include "i386-rust-and-jit.inc"
34 : #undef ADD_TARGET_INFO
35 4635 : }
|