1 /* brig-machine.c -- gccbrig machine queries
2 Copyright (C) 2016-2018 Free Software Foundation, Inc.
3 Contributed by Pekka Jaaskelainen <pekka.jaaskelainen@parmance.com>
4 for General Processor Tech.
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 3, or (at your option) any later
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
24 #include "coretypes.h"
25 #include "brig-machine.h"
27 /* Return the numerical address space id for the segment in the current
28 target. Currently a dummy function that always returns 0, serves as
29 a placeholder for multi-AS machines. */
32 gccbrig_get_target_addr_space_id (BrigSegment8_t
)
37 /* Return the WAVESIZE for the current target. For now a dummy placeholder
38 returning always 1. */
41 gccbrig_get_target_wavesize ()