]> git.proxmox.com Git - mirror_qemu.git/blob - target-alpha/op_helper.h
target-alpha: convert FP ops to TCG
[mirror_qemu.git] / target-alpha / op_helper.h
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
23 double helper_ldff_raw (target_ulong ea);
24 void helper_stff_raw (target_ulong ea, double op);
25 double helper_ldfg_raw (target_ulong ea);
26 void helper_stfg_raw (target_ulong ea, double op);
27 #if !defined(CONFIG_USER_ONLY)
28 double helper_ldff_user (target_ulong ea);
29 void helper_stff_user (target_ulong ea, double op);
30 double helper_ldff_kernel (target_ulong ea);
31 void helper_stff_kernel (target_ulong ea, double op);
32 double helper_ldff_data (target_ulong ea);
33 void helper_stff_data (target_ulong ea, double op);
34 double helper_ldfg_user (target_ulong ea);
35 void helper_stfg_user (target_ulong ea, double op);
36 double helper_ldfg_kernel (target_ulong ea);
37 void helper_stfg_kernel (target_ulong ea, double op);
38 double helper_ldfg_data (target_ulong ea);
39 void helper_stfg_data (target_ulong ea, double op);
40 #endif
41
42 void helper_mfpr (int iprn);
43 void helper_mtpr (int iprn);
44 void helper_ld_phys_to_virt (void);
45 void helper_st_phys_to_virt (void);
46 void helper_tb_flush (void);
47