root / target-alpha / op_helper.h @ 04acd307
History | View | Annotate | Download (3.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_load_fpcr (void); |
23 |
void helper_store_fpcr (void); |
24 |
void helper_cmov_fir (int freg); |
25 |
|
26 |
double helper_ldff_raw (target_ulong ea);
|
27 |
void helper_stff_raw (target_ulong ea, double op); |
28 |
double helper_ldfg_raw (target_ulong ea);
|
29 |
void helper_stfg_raw (target_ulong ea, double op); |
30 |
#if !defined(CONFIG_USER_ONLY)
|
31 |
double helper_ldff_user (target_ulong ea);
|
32 |
void helper_stff_user (target_ulong ea, double op); |
33 |
double helper_ldff_kernel (target_ulong ea);
|
34 |
void helper_stff_kernel (target_ulong ea, double op); |
35 |
double helper_ldff_data (target_ulong ea);
|
36 |
void helper_stff_data (target_ulong ea, double op); |
37 |
double helper_ldfg_user (target_ulong ea);
|
38 |
void helper_stfg_user (target_ulong ea, double op); |
39 |
double helper_ldfg_kernel (target_ulong ea);
|
40 |
void helper_stfg_kernel (target_ulong ea, double op); |
41 |
double helper_ldfg_data (target_ulong ea);
|
42 |
void helper_stfg_data (target_ulong ea, double op); |
43 |
#endif
|
44 |
|
45 |
void helper_sqrts (void); |
46 |
void helper_cpys (void); |
47 |
void helper_cpysn (void); |
48 |
void helper_cpyse (void); |
49 |
void helper_itofs (void); |
50 |
void helper_ftois (void); |
51 |
|
52 |
void helper_sqrtt (void); |
53 |
void helper_cmptun (void); |
54 |
void helper_cmpteq (void); |
55 |
void helper_cmptle (void); |
56 |
void helper_cmptlt (void); |
57 |
void helper_itoft (void); |
58 |
void helper_ftoit (void); |
59 |
|
60 |
void helper_addf (void); |
61 |
void helper_subf (void); |
62 |
void helper_mulf (void); |
63 |
void helper_divf (void); |
64 |
void helper_sqrtf (void); |
65 |
void helper_cmpfeq (void); |
66 |
void helper_cmpfne (void); |
67 |
void helper_cmpflt (void); |
68 |
void helper_cmpfle (void); |
69 |
void helper_cmpfgt (void); |
70 |
void helper_cmpfge (void); |
71 |
void helper_itoff (void); |
72 |
|
73 |
void helper_addg (void); |
74 |
void helper_subg (void); |
75 |
void helper_mulg (void); |
76 |
void helper_divg (void); |
77 |
void helper_sqrtg (void); |
78 |
void helper_cmpgeq (void); |
79 |
void helper_cmpglt (void); |
80 |
void helper_cmpgle (void); |
81 |
|
82 |
void helper_cvtqs (void); |
83 |
void helper_cvttq (void); |
84 |
void helper_cvtqt (void); |
85 |
void helper_cvtqf (void); |
86 |
void helper_cvtgf (void); |
87 |
void helper_cvtgd (void); |
88 |
void helper_cvtgq (void); |
89 |
void helper_cvtqg (void); |
90 |
void helper_cvtdg (void); |
91 |
void helper_cvtlq (void); |
92 |
void helper_cvtql (void); |
93 |
void helper_cvtqlv (void); |
94 |
void helper_cvtqlsv (void); |
95 |
|
96 |
void helper_mfpr (int iprn); |
97 |
void helper_mtpr (int iprn); |
98 |
void helper_ld_phys_to_virt (void); |
99 |
void helper_st_phys_to_virt (void); |
100 |
void helper_tb_flush (void); |
101 |
|
102 |
#if defined(HOST_SPARC) || defined(HOST_SPARC64)
|
103 |
void helper_reset_FT0 (void); |
104 |
void helper_reset_FT1 (void); |
105 |
void helper_reset_FT2 (void); |
106 |
#endif
|