Statistics
| Branch: | Revision:

root / target-alpha / op_helper.h @ 5fafdf24

History | View | Annotate | Download (4.2 kB)

1
/*
2
 *  Alpha emulation cpu micro-operations helpers definitions for qemu.
3
 *
4
 *  Copyright (c) 2007 Jocelyn Mayer
5
 *
6
 * This library is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU Lesser General Public
8
 * License as published by the Free Software Foundation; either
9
 * version 2 of the License, or (at your option) any later version.
10
 *
11
 * This library 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 GNU
14
 * Lesser General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU Lesser General Public
17
 * License along with this library; if not, write to the Free Software
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 */
20

    
21
void helper_call_pal (uint32_t palcode);
22
void helper_excp (uint32_t excp, uint32_t error);
23
void helper_amask (void);
24
void helper_load_pcc (void);
25
void helper_load_implver (void);
26
void helper_load_fpcr (void);
27
void helper_store_fpcr (void);
28
void helper_load_irf (void);
29
void helper_set_irf (void);
30
void helper_clear_irf (void);
31
void helper_addqv (void);
32
void helper_addlv (void);
33
void helper_subqv (void);
34
void helper_sublv (void);
35
void helper_mullv (void);
36
void helper_mulqv (void);
37
void helper_umulh (void);
38
void helper_ctpop (void);
39
void helper_ctlz (void);
40
void helper_cttz (void);
41
void helper_mskbl (void);
42
void helper_extbl (void);
43
void helper_insbl (void);
44
void helper_mskwl (void);
45
void helper_extwl (void);
46
void helper_inswl (void);
47
void helper_mskll (void);
48
void helper_extll (void);
49
void helper_insll (void);
50
void helper_zap (void);
51
void helper_zapnot (void);
52
void helper_mskql (void);
53
void helper_extql (void);
54
void helper_insql (void);
55
void helper_mskwh (void);
56
void helper_inswh (void);
57
void helper_extwh (void);
58
void helper_msklh (void);
59
void helper_inslh (void);
60
void helper_extlh (void);
61
void helper_mskqh (void);
62
void helper_insqh (void);
63
void helper_extqh (void);
64
void helper_cmpbge (void);
65
void helper_cmov_fir (int freg);
66

    
67
double helper_ldff_raw (target_ulong ea);
68
void helper_stff_raw (target_ulong ea, double op);
69
double helper_ldfg_raw (target_ulong ea);
70
void helper_stfg_raw (target_ulong ea, double op);
71
#if !defined(CONFIG_USER_ONLY)
72
double helper_ldff_user (target_ulong ea);
73
void helper_stff_user (target_ulong ea, double op);
74
double helper_ldff_kernel (target_ulong ea);
75
void helper_stff_kernel (target_ulong ea, double op);
76
double helper_ldff_data (target_ulong ea);
77
void helper_stff_data (target_ulong ea, double op);
78
double helper_ldfg_user (target_ulong ea);
79
void helper_stfg_user (target_ulong ea, double op);
80
double helper_ldfg_kernel (target_ulong ea);
81
void helper_stfg_kernel (target_ulong ea, double op);
82
double helper_ldfg_data (target_ulong ea);
83
void helper_stfg_data (target_ulong ea, double op);
84
#endif
85

    
86
void helper_sqrts (void);
87
void helper_cpys (void);
88
void helper_cpysn (void);
89
void helper_cpyse (void);
90
void helper_itofs (void);
91
void helper_ftois (void);
92

    
93
void helper_sqrtt (void);
94
void helper_cmptun (void);
95
void helper_cmpteq (void);
96
void helper_cmptle (void);
97
void helper_cmptlt (void);
98
void helper_itoft (void);
99
void helper_ftoit (void);
100

    
101
void helper_addf (void);
102
void helper_subf (void);
103
void helper_mulf (void);
104
void helper_divf (void);
105
void helper_sqrtf (void);
106
void helper_cmpfeq (void);
107
void helper_cmpfne (void);
108
void helper_cmpflt (void);
109
void helper_cmpfle (void);
110
void helper_cmpfgt (void);
111
void helper_cmpfge (void);
112
void helper_itoff (void);
113

    
114
void helper_addg (void);
115
void helper_subg (void);
116
void helper_mulg (void);
117
void helper_divg (void);
118
void helper_sqrtg (void);
119
void helper_cmpgeq (void);
120
void helper_cmpglt (void);
121
void helper_cmpgle (void);
122

    
123
void helper_cvtqs (void);
124
void helper_cvttq (void);
125
void helper_cvtqt (void);
126
void helper_cvtqf (void);
127
void helper_cvtgf (void);
128
void helper_cvtgd (void);
129
void helper_cvtgq (void);
130
void helper_cvtqg (void);
131
void helper_cvtdg (void);
132
void helper_cvtlq (void);
133
void helper_cvtql (void);
134
void helper_cvtqlv (void);
135
void helper_cvtqlsv (void);
136

    
137
void helper_mfpr (int iprn);
138
void helper_mtpr (int iprn);
139
void helper_ld_phys_to_virt (void);
140
void helper_st_phys_to_virt (void);
141
void helper_tb_flush (void);