OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_69/] [or1ksim/] [cpu/] [or32/] [op_swhb_op.h] - Blame information for rev 1452

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1452 nogj
/* op_swhb_op.h -- Micro operations template for store operations
2
   Copyright (C) 2005 György `nog' Jeney, nog@sdf.lonestar.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
 
21
/* FIXME: Do something with breakpoint */
22
 
23
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t0)(void)
24
{
25
  int breakpoint;
26
  upd_sim_cycles();
27
  save_t_temporary();
28
  S_FUNC(t0 + OP_PARAM1, t0, &breakpoint);
29
}
30
 
31
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t1)(void)
32
{
33
  int breakpoint;
34
  upd_sim_cycles();
35
  save_t_temporary();
36
  S_FUNC(t0 + OP_PARAM1, t1, &breakpoint);
37
}
38
 
39
__or_dynop void glue(glue(op_, S_OP_NAME), _t0_t2)(void)
40
{
41
  int breakpoint;
42
  upd_sim_cycles();
43
  save_t_temporary();
44
  S_FUNC(t0 + OP_PARAM1, t2, &breakpoint);
45
}
46
 
47
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t1)(void)
48
{
49
  int breakpoint;
50
  upd_sim_cycles();
51
  save_t_temporary();
52
  S_FUNC(t1 + OP_PARAM1, t1, &breakpoint);
53
}
54
 
55
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t0)(void)
56
{
57
  int breakpoint;
58
  upd_sim_cycles();
59
  save_t_temporary();
60
  S_FUNC(t1 + OP_PARAM1, t0, &breakpoint);
61
}
62
 
63
__or_dynop void glue(glue(op_, S_OP_NAME), _t1_t2)(void)
64
{
65
  int breakpoint;
66
  upd_sim_cycles();
67
  save_t_temporary();
68
  S_FUNC(t1 + OP_PARAM1, t2, &breakpoint);
69
}
70
 
71
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t0)(void)
72
{
73
  int breakpoint;
74
  upd_sim_cycles();
75
  save_t_temporary();
76
  S_FUNC(t2 + OP_PARAM1, t0, &breakpoint);
77
}
78
 
79
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t1)(void)
80
{
81
  int breakpoint;
82
  upd_sim_cycles();
83
  save_t_temporary();
84
  S_FUNC(t2 + OP_PARAM1, t1, &breakpoint);
85
}
86
 
87
__or_dynop void glue(glue(op_, S_OP_NAME), _t2_t2)(void)
88
{
89
  int breakpoint;
90
  upd_sim_cycles();
91
  save_t_temporary();
92
  S_FUNC(t2 + OP_PARAM1, t2, &breakpoint);
93
}
94
 
95
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t0)(void)
96
{
97
  int breakpoint;
98
  upd_sim_cycles();
99
  save_t_temporary();
100
  S_FUNC(OP_PARAM1, t0, &breakpoint);
101
}
102
 
103
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t1)(void)
104
{
105
  int breakpoint;
106
  upd_sim_cycles();
107
  save_t_temporary();
108
  S_FUNC(OP_PARAM1, t1, &breakpoint);
109
}
110
 
111
__or_dynop void glue(glue(op_, S_OP_NAME), _imm_t2)(void)
112
{
113
  int breakpoint;
114
  upd_sim_cycles();
115
  save_t_temporary();
116
  S_FUNC(OP_PARAM1, t2, &breakpoint);
117
}
118
 
119
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t0)(void)
120
{
121
  int breakpoint;
122
  upd_sim_cycles();
123
  save_t_temporary();
124
  S_FUNC(t0 + OP_PARAM1, 0, &breakpoint);
125
}
126
 
127
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t1)(void)
128
{
129
  int breakpoint;
130
  upd_sim_cycles();
131
  save_t_temporary();
132
  S_FUNC(t1 + OP_PARAM1, 0, &breakpoint);
133
}
134
 
135
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_t2)(void)
136
{
137
  int breakpoint;
138
  upd_sim_cycles();
139
  save_t_temporary();
140
  S_FUNC(t2 + OP_PARAM1, 0, &breakpoint);
141
}
142
 
143
__or_dynop void glue(glue(op_, S_OP_NAME), _clear_imm)(void)
144
{
145
  int breakpoint;
146
  upd_sim_cycles();
147
  save_t_temporary();
148
  S_FUNC(OP_PARAM1, 0, &breakpoint);
149
}
150
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.