1 |
19 |
jeremybenn |
/* simpl32-defs.h -- Definitions for the simple execution model
|
2 |
|
|
|
3 |
|
|
Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
|
4 |
|
|
Copyright (C) 2008 Embecosm Limited
|
5 |
|
|
|
6 |
|
|
Contributed by Damjan Lampret (lampret@opencores.org).
|
7 |
|
|
Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
|
8 |
|
|
|
9 |
|
|
This file is part of Or1ksim, the OpenRISC 1000 Architectural Simulator.
|
10 |
|
|
This file is also part of or1k_gen_isa, GDB and GAS.
|
11 |
|
|
|
12 |
|
|
This program is free software; you can redistribute it and/or modify it
|
13 |
|
|
under the terms of the GNU General Public License as published by the Free
|
14 |
|
|
Software Foundation; either version 3 of the License, or (at your option)
|
15 |
|
|
any later version.
|
16 |
|
|
|
17 |
|
|
This program is distributed in the hope that it will be useful, but WITHOUT
|
18 |
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
19 |
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
20 |
|
|
more details.
|
21 |
|
|
|
22 |
|
|
You should have received a copy of the GNU General Public License along
|
23 |
|
|
with this program. If not, see <http://www.gnu.org/licenses/>. */
|
24 |
|
|
|
25 |
|
|
/* This program is commented throughout in a fashion suitable for processing
|
26 |
|
|
with Doxygen. */
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
#ifndef SIMPLE32_DEFS__H
|
30 |
|
|
#define SIMPLE32_DEFS__H
|
31 |
|
|
|
32 |
|
|
/* Package includes */
|
33 |
|
|
#include "abstract.h"
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
extern void l_invalid PARAMS((struct iqueue_entry *));
|
37 |
|
|
extern void l_sfne PARAMS((struct iqueue_entry *));
|
38 |
|
|
extern void l_bf PARAMS((struct iqueue_entry *));
|
39 |
|
|
extern void l_add PARAMS((struct iqueue_entry *));
|
40 |
|
|
extern void l_addc PARAMS((struct iqueue_entry *));
|
41 |
|
|
extern void l_sw PARAMS((struct iqueue_entry *));
|
42 |
|
|
extern void l_sb PARAMS((struct iqueue_entry *));
|
43 |
|
|
extern void l_sh PARAMS((struct iqueue_entry *));
|
44 |
|
|
extern void l_lwz PARAMS((struct iqueue_entry *));
|
45 |
|
|
extern void l_lbs PARAMS((struct iqueue_entry *));
|
46 |
|
|
extern void l_lbz PARAMS((struct iqueue_entry *));
|
47 |
|
|
extern void l_lhs PARAMS((struct iqueue_entry *));
|
48 |
|
|
extern void l_lhz PARAMS((struct iqueue_entry *));
|
49 |
|
|
extern void l_movhi PARAMS((struct iqueue_entry *));
|
50 |
|
|
extern void l_and PARAMS((struct iqueue_entry *));
|
51 |
|
|
extern void l_or PARAMS((struct iqueue_entry *));
|
52 |
|
|
extern void l_xor PARAMS((struct iqueue_entry *));
|
53 |
|
|
extern void l_sub PARAMS((struct iqueue_entry *));
|
54 |
|
|
extern void l_mul PARAMS((struct iqueue_entry *));
|
55 |
|
|
extern void l_div PARAMS((struct iqueue_entry *));
|
56 |
|
|
extern void l_divu PARAMS((struct iqueue_entry *));
|
57 |
|
|
extern void l_sll PARAMS((struct iqueue_entry *));
|
58 |
|
|
extern void l_sra PARAMS((struct iqueue_entry *));
|
59 |
|
|
extern void l_srl PARAMS((struct iqueue_entry *));
|
60 |
|
|
extern void l_j PARAMS((struct iqueue_entry *));
|
61 |
|
|
extern void l_jal PARAMS((struct iqueue_entry *));
|
62 |
|
|
extern void l_jalr PARAMS((struct iqueue_entry *));
|
63 |
|
|
extern void l_jr PARAMS((struct iqueue_entry *));
|
64 |
|
|
extern void l_rfe PARAMS((struct iqueue_entry *));
|
65 |
|
|
extern void l_nop PARAMS((struct iqueue_entry *));
|
66 |
|
|
extern void l_bnf PARAMS((struct iqueue_entry *));
|
67 |
|
|
extern void l_sfeq PARAMS((struct iqueue_entry *));
|
68 |
|
|
extern void l_sfgts PARAMS((struct iqueue_entry *));
|
69 |
|
|
extern void l_sfges PARAMS((struct iqueue_entry *));
|
70 |
|
|
extern void l_sflts PARAMS((struct iqueue_entry *));
|
71 |
|
|
extern void l_sfles PARAMS((struct iqueue_entry *));
|
72 |
|
|
extern void l_sfgtu PARAMS((struct iqueue_entry *));
|
73 |
|
|
extern void l_sfgeu PARAMS()(struct iqueue_entry *);
|
74 |
|
|
extern void l_sfltu PARAMS((struct iqueue_entry *));
|
75 |
|
|
extern void l_sfleu PARAMS((struct iqueue_entry *));
|
76 |
|
|
extern void l_extbs PARAMS((struct iqueue_entry *));
|
77 |
|
|
extern void l_extbz PARAMS((struct iqueue_entry *));
|
78 |
|
|
extern void l_exths PARAMS((struct iqueue_entry *));
|
79 |
|
|
extern void l_exthz PARAMS((struct iqueue_entry *));
|
80 |
|
|
extern void l_extws PARAMS((struct iqueue_entry *));
|
81 |
|
|
extern void l_extwz PARAMS((struct iqueue_entry *));
|
82 |
|
|
extern void l_mtspr PARAMS((struct iqueue_entry *));
|
83 |
|
|
extern void l_mfspr PARAMS((struct iqueue_entry *));
|
84 |
|
|
extern void l_sys PARAMS((struct iqueue_entry *));
|
85 |
|
|
extern void l_trap PARAMS((struct iqueue_entry *)); /* CZ 21/06/01 */
|
86 |
|
|
extern void l_macrc PARAMS((struct iqueue_entry *));
|
87 |
|
|
extern void l_mac PARAMS((struct iqueue_entry *));
|
88 |
|
|
extern void l_msb PARAMS((struct iqueue_entry *));
|
89 |
|
|
extern void l_invalid PARAMS((struct iqueue_entry *));
|
90 |
|
|
extern void l_cmov PARAMS ((struct iqueue_entry *));
|
91 |
|
|
extern void l_ff1 PARAMS ((struct iqueue_entry *));
|
92 |
|
|
extern void l_cust1 PARAMS ((struct iqueue_entry *));
|
93 |
|
|
extern void l_cust2 PARAMS ((struct iqueue_entry *));
|
94 |
|
|
extern void l_cust3 PARAMS ((struct iqueue_entry *));
|
95 |
|
|
extern void l_cust4 PARAMS ((struct iqueue_entry *));
|
96 |
|
|
extern void lf_add_s PARAMS ((struct iqueue_entry *));
|
97 |
|
|
extern void lf_div_s PARAMS ((struct iqueue_entry *));
|
98 |
|
|
extern void lf_ftoi_s PARAMS ((struct iqueue_entry *));
|
99 |
|
|
extern void lf_itof_s PARAMS ((struct iqueue_entry *));
|
100 |
|
|
extern void lf_madd_s PARAMS ((struct iqueue_entry *));
|
101 |
|
|
extern void lf_mul_s PARAMS ((struct iqueue_entry *));
|
102 |
|
|
extern void lf_rem_s PARAMS ((struct iqueue_entry *));
|
103 |
|
|
extern void lf_sfeq_s PARAMS ((struct iqueue_entry *));
|
104 |
|
|
extern void lf_sfge_s PARAMS ((struct iqueue_entry *));
|
105 |
|
|
extern void lf_sfgt_s PARAMS ((struct iqueue_entry *));
|
106 |
|
|
extern void lf_sfle_s PARAMS ((struct iqueue_entry *));
|
107 |
|
|
extern void lf_sflt_s PARAMS ((struct iqueue_entry *));
|
108 |
|
|
extern void lf_sfne_s PARAMS ((struct iqueue_entry *));
|
109 |
|
|
extern void lf_sub_s PARAMS((struct iqueue_entry *));
|
110 |
|
|
extern void l_none PARAMS((struct iqueue_entry *));
|
111 |
|
|
|
112 |
|
|
#endif /* SIMPLE32_DEFS__H */
|