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

Subversion Repositories or1k

[/] [or1k/] [tags/] [rel-0-3-0-rc1/] [or1ksim/] [cpu/] [or32/] [op-swhb-op.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1748 jeremybenn
/* op-swhb-op.h -- Micro operations template for store operations
2
 
3
   Copyright (C) 2005 György `nog' Jeney, nog@sdf.lonestar.org
4
   Copyright (C) 2008 Embecosm Limited
5
 
6
   Contributor Jeremy Bennett <jeremy.bennett@embecosm.com>
7
 
8
   This file is part of Or1ksim, the OpenRISC 1000 Architectural Simulator.
9
 
10
   This program is free software; you can redistribute it and/or modify it
11
   under the terms of the GNU General Public License as published by the Free
12
   Software Foundation; either version 3 of the License, or (at your option)
13
   any later version.
14
 
15
   This program is distributed in the hope that it will be useful, but WITHOUT
16
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17
   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
18
   more details.
19
 
20
   You should have received a copy of the GNU General Public License along
21
   with this program.  If not, see <http://www.gnu.org/licenses/>.  */
22
 
23
/* This program is commented throughout in a fashion suitable for processing
24
   with Doxygen. */
25
 
26
/* FIXME: Do something with breakpoint */
27
 
28
 
29
#ifndef OP_SWHB_OP__H
30
#define OP_SWHB_OP__H
31
 
32
#ifdef OP_2T
33
__or_dynop void glue (glue (op_, S_OP_NAME), T) (void)
34
{
35
  int breakpoint;
36
  S_FUNC (T0 + OP_PARAM1, T1, &breakpoint);
37
}
38
#endif
39
 
40
#ifdef OP_1T
41
__or_dynop void glue (glue (glue (op_, S_OP_NAME), _imm), T) (void)
42
{
43
  int breakpoint;
44
  S_FUNC (OP_PARAM1, T0, &breakpoint);
45
}
46
 
47
__or_dynop void glue (glue (glue (op_, S_OP_NAME), _clear), T) (void)
48
{
49
  int breakpoint;
50
  S_FUNC (T0 + OP_PARAM1, 0, &breakpoint);
51
}
52
#endif
53
 
54
#if !defined(OP_1T) && !defined(OP_2T)
55
__or_dynop void glue (glue (op_, S_OP_NAME), _clear_imm) (void)
56
{
57
  int breakpoint;
58
  S_FUNC (OP_PARAM1, 0, &breakpoint);
59
}
60
#endif
61
 
62
#endif /* OP_SWHB_OP__H */

powered by: WebSVN 2.1.0

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