2002-11-21 Andrew Cagney <ac131313@redhat.com>
[deliverable/binutils-gdb.git] / sim / igen / gen-idecode.h
1 /* The IGEN simulator generator for GDB, the GNU Debugger.
2
3 Copyright 2002 Free Software Foundation, Inc.
4
5 Contributed by Andrew Cagney.
6
7 This file is part of GDB.
8
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.
13
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.
18
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. */
23
24
25 void print_idecode_issue_function_header
26 (lf *file,
27 const char *processor,
28 function_decl_type decl_type,
29 int nr_prefetched_words);
30
31 void print_idecode_globals
32 (lf *file);
33
34 void print_idecode_lookups
35 (lf *file,
36 gen_entry *table,
37 cache_entry *cache_rules);
38
39 void print_idecode_body
40 (lf *file,
41 gen_entry *table,
42 const char *result);
43
44
45
46 /* Output code to do any final checks on the decoded instruction.
47 This includes things like verifying any on decoded fields have the
48 correct value and checking that (for floating point) floating point
49 hardware isn't disabled */
50
51 extern void print_idecode_validate
52 (lf *file,
53 insn_entry *instruction,
54 insn_opcodes *opcode_paths);
This page took 0.031768 seconds and 4 git commands to generate.