1 |
1748 |
jeremybenn |
/* simpl32-defs.h -- Definitions for the simple execution model
|
2 |
|
|
Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
|
3 |
|
|
|
4 |
|
|
This file is part of OpenRISC 1000 Architectural Simulator.
|
5 |
|
|
|
6 |
|
|
This program is free software; you can redistribute it and/or modify
|
7 |
|
|
it under the terms of the GNU General Public License as published by
|
8 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
9 |
|
|
(at your option) any later version.
|
10 |
|
|
|
11 |
|
|
This program is distributed in the hope that it will be useful,
|
12 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
|
|
GNU General Public License for more details.
|
15 |
|
|
|
16 |
|
|
You should have received a copy of the GNU General Public License
|
17 |
|
|
along with this program; if not, write to the Free Software
|
18 |
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
19 |
|
|
|
20 |
|
|
extern void l_invalid PARAMS((struct iqueue_entry *));
|
21 |
|
|
extern void l_sfne PARAMS((struct iqueue_entry *));
|
22 |
|
|
extern void l_bf PARAMS((struct iqueue_entry *));
|
23 |
|
|
extern void l_add PARAMS((struct iqueue_entry *));
|
24 |
|
|
extern void l_addc PARAMS((struct iqueue_entry *));
|
25 |
|
|
extern void l_sw PARAMS((struct iqueue_entry *));
|
26 |
|
|
extern void l_sb PARAMS((struct iqueue_entry *));
|
27 |
|
|
extern void l_sh PARAMS((struct iqueue_entry *));
|
28 |
|
|
extern void l_lwz PARAMS((struct iqueue_entry *));
|
29 |
|
|
extern void l_lbs PARAMS((struct iqueue_entry *));
|
30 |
|
|
extern void l_lbz PARAMS((struct iqueue_entry *));
|
31 |
|
|
extern void l_lhs PARAMS((struct iqueue_entry *));
|
32 |
|
|
extern void l_lhz PARAMS((struct iqueue_entry *));
|
33 |
|
|
extern void l_movhi PARAMS((struct iqueue_entry *));
|
34 |
|
|
extern void l_and PARAMS((struct iqueue_entry *));
|
35 |
|
|
extern void l_or PARAMS((struct iqueue_entry *));
|
36 |
|
|
extern void l_xor PARAMS((struct iqueue_entry *));
|
37 |
|
|
extern void l_sub PARAMS((struct iqueue_entry *));
|
38 |
|
|
extern void l_mul PARAMS((struct iqueue_entry *));
|
39 |
|
|
extern void l_div PARAMS((struct iqueue_entry *));
|
40 |
|
|
extern void l_divu PARAMS((struct iqueue_entry *));
|
41 |
|
|
extern void l_sll PARAMS((struct iqueue_entry *));
|
42 |
|
|
extern void l_sra PARAMS((struct iqueue_entry *));
|
43 |
|
|
extern void l_srl PARAMS((struct iqueue_entry *));
|
44 |
|
|
extern void l_j PARAMS((struct iqueue_entry *));
|
45 |
|
|
extern void l_jal PARAMS((struct iqueue_entry *));
|
46 |
|
|
extern void l_jalr PARAMS((struct iqueue_entry *));
|
47 |
|
|
extern void l_jr PARAMS((struct iqueue_entry *));
|
48 |
|
|
extern void l_rfe PARAMS((struct iqueue_entry *));
|
49 |
|
|
extern void l_nop PARAMS((struct iqueue_entry *));
|
50 |
|
|
extern void l_bnf PARAMS((struct iqueue_entry *));
|
51 |
|
|
extern void l_sfeq PARAMS((struct iqueue_entry *));
|
52 |
|
|
extern void l_sfgts PARAMS((struct iqueue_entry *));
|
53 |
|
|
extern void l_sfges PARAMS((struct iqueue_entry *));
|
54 |
|
|
extern void l_sflts PARAMS((struct iqueue_entry *));
|
55 |
|
|
extern void l_sfles PARAMS((struct iqueue_entry *));
|
56 |
|
|
extern void l_sfgtu PARAMS((struct iqueue_entry *));
|
57 |
|
|
extern void l_sfgeu PARAMS()(struct iqueue_entry *);
|
58 |
|
|
extern void l_sfltu PARAMS((struct iqueue_entry *));
|
59 |
|
|
extern void l_sfleu PARAMS((struct iqueue_entry *));
|
60 |
|
|
extern void l_extbs PARAMS((struct iqueue_entry *));
|
61 |
|
|
extern void l_extbz PARAMS((struct iqueue_entry *));
|
62 |
|
|
extern void l_exths PARAMS((struct iqueue_entry *));
|
63 |
|
|
extern void l_exthz PARAMS((struct iqueue_entry *));
|
64 |
|
|
extern void l_extws PARAMS((struct iqueue_entry *));
|
65 |
|
|
extern void l_extwz PARAMS((struct iqueue_entry *));
|
66 |
|
|
extern void l_mtspr PARAMS((struct iqueue_entry *));
|
67 |
|
|
extern void l_mfspr PARAMS((struct iqueue_entry *));
|
68 |
|
|
extern void l_sys PARAMS((struct iqueue_entry *));
|
69 |
|
|
extern void l_trap PARAMS((struct iqueue_entry *)); /* CZ 21/06/01 */
|
70 |
|
|
extern void l_macrc PARAMS((struct iqueue_entry *));
|
71 |
|
|
extern void l_mac PARAMS((struct iqueue_entry *));
|
72 |
|
|
extern void l_msb PARAMS((struct iqueue_entry *));
|
73 |
|
|
extern void l_invalid PARAMS((struct iqueue_entry *));
|
74 |
|
|
extern void l_cmov PARAMS ((struct iqueue_entry *));
|
75 |
|
|
extern void l_ff1 PARAMS ((struct iqueue_entry *));
|
76 |
|
|
extern void l_cust1 PARAMS ((struct iqueue_entry *));
|
77 |
|
|
extern void l_cust2 PARAMS ((struct iqueue_entry *));
|
78 |
|
|
extern void l_cust3 PARAMS ((struct iqueue_entry *));
|
79 |
|
|
extern void l_cust4 PARAMS ((struct iqueue_entry *));
|
80 |
|
|
extern void lf_add_s PARAMS ((struct iqueue_entry *));
|
81 |
|
|
extern void lf_div_s PARAMS ((struct iqueue_entry *));
|
82 |
|
|
extern void lf_ftoi_s PARAMS ((struct iqueue_entry *));
|
83 |
|
|
extern void lf_itof_s PARAMS ((struct iqueue_entry *));
|
84 |
|
|
extern void lf_madd_s PARAMS ((struct iqueue_entry *));
|
85 |
|
|
extern void lf_mul_s PARAMS ((struct iqueue_entry *));
|
86 |
|
|
extern void lf_rem_s PARAMS ((struct iqueue_entry *));
|
87 |
|
|
extern void lf_sfeq_s PARAMS ((struct iqueue_entry *));
|
88 |
|
|
extern void lf_sfge_s PARAMS ((struct iqueue_entry *));
|
89 |
|
|
extern void lf_sfgt_s PARAMS ((struct iqueue_entry *));
|
90 |
|
|
extern void lf_sfle_s PARAMS ((struct iqueue_entry *));
|
91 |
|
|
extern void lf_sflt_s PARAMS ((struct iqueue_entry *));
|
92 |
|
|
extern void lf_sfne_s PARAMS ((struct iqueue_entry *));
|
93 |
|
|
extern void lf_sub_s PARAMS((struct iqueue_entry *));
|
94 |
|
|
extern void l_none PARAMS((struct iqueue_entry *));
|
95 |
|
|
|