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

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc2/] [or1ksim/] [cpu/] [or32/] [op_extend_op.h] - Blame information for rev 1780

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

Line No. Rev Author Line
1 1452 nogj
/* op_extend_op.h -- Micro operations template for sign extention 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
void glue(glue(op_, EXT_NAME), _t0_t0)(void)
22
{
23
  register EXT_TYPE x;
24
  x = t0;
25
  t0 = EXT_CAST x;
26
}
27
 
28
void glue(glue(op_, EXT_NAME), _t0_t1)(void)
29
{
30
  register EXT_TYPE x;
31
  x = t1;
32
  t0 = EXT_CAST x;
33
}
34
 
35
void glue(glue(op_, EXT_NAME), _t0_t2)(void)
36
{
37
  register EXT_TYPE x;
38
  x = t2;
39
  t0 = EXT_CAST x;
40
}
41
 
42
void glue(glue(op_, EXT_NAME), _t1_t0)(void)
43
{
44
  register EXT_TYPE x;
45
  x = t0;
46
  t1 = EXT_CAST x;
47
}
48
 
49
void glue(glue(op_, EXT_NAME), _t1_t1)(void)
50
{
51
  register EXT_TYPE x;
52
  x = t1;
53
  t1 = EXT_CAST x;
54
}
55
 
56
void glue(glue(op_, EXT_NAME), _t1_t2)(void)
57
{
58
  register EXT_TYPE x;
59
  x = t2;
60
  t1 = EXT_CAST x;
61
}
62
 
63
void glue(glue(op_, EXT_NAME), _t2_t0)(void)
64
{
65
  register EXT_TYPE x;
66
  x = t0;
67
  t2 = EXT_CAST x;
68
}
69
 
70
void glue(glue(op_, EXT_NAME), _t2_t1)(void)
71
{
72
  register EXT_TYPE x;
73
  x = t1;
74
  t2 = EXT_CAST x;
75
}
76
 
77
void glue(glue(op_, EXT_NAME), _t2_t2)(void)
78
{
79
  register EXT_TYPE x;
80
  x = t2;
81
  t2 = EXT_CAST x;
82
}
83
 

powered by: WebSVN 2.1.0

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