1 /* The IGEN simulator generator for GDB, the GNU Debugger.
3 Copyright 2002 Free Software Foundation, Inc.
5 Contributed by Andrew Cagney.
7 This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
26 /* For backward compatibility only - load a standalone cache macro table */
28 /* Instruction unpacking:
30 Once the instruction has been decoded, the register (and other)
31 fields within the instruction need to be extracted.
33 The table that follows determines how each field should be treated.
34 Importantly it considers the case where the extracted field is to
35 be used immediatly or stored in an instruction cache.
39 Indicates what to do with the cache entry. If a cache is to be
40 used. SCRATCH and CACHE values are defined when a cache entry is
41 being filled while CACHE and COMPUTE values are defined in the
44 Zero marks the end of the table. More importantly 1. indicates
45 that the entry is valid and can be cached. 2. indicates that that
46 the entry is valid but can not be cached.
50 The field name as given in the instruction spec.
54 A new name for <field_name> once it has been extracted from the
55 instruction (and possibly stored in the instruction cache).
59 String specifying the storage type for <new_name> (the extracted
64 Specifies how to get <new_name> from <old_name>. If null, old and
65 new name had better be the same. */
68 extern cache_entry
*load_cache_table (char *file_name
);
This page took 0.032404 seconds and 4 git commands to generate.