root / target-mips / op.c @ 92af06d2
History | View | Annotate | Download (1.4 kB)
1 |
/*
|
---|---|
2 |
* MIPS emulation micro-operations for qemu.
|
3 |
*
|
4 |
* Copyright (c) 2004-2005 Jocelyn Mayer
|
5 |
* Copyright (c) 2006 Marius Groeger (FPU operations)
|
6 |
* Copyright (c) 2007 Thiemo Seufer (64-bit FPU support)
|
7 |
*
|
8 |
* This library is free software; you can redistribute it and/or
|
9 |
* modify it under the terms of the GNU Lesser General Public
|
10 |
* License as published by the Free Software Foundation; either
|
11 |
* version 2 of the License, or (at your option) any later version.
|
12 |
*
|
13 |
* This library is distributed in the hope that it will be useful,
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
16 |
* Lesser General Public License for more details.
|
17 |
*
|
18 |
* You should have received a copy of the GNU Lesser General Public
|
19 |
* License along with this library; if not, write to the Free Software
|
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
21 |
*/
|
22 |
|
23 |
#include "config.h" |
24 |
#include "exec.h" |
25 |
#include "host-utils.h" |
26 |
|
27 |
#ifndef CALL_FROM_TB0
|
28 |
#define CALL_FROM_TB0(func) func()
|
29 |
#endif
|
30 |
|
31 |
/* Load and store */
|
32 |
#define MEMSUFFIX _raw
|
33 |
#include "op_mem.c" |
34 |
#undef MEMSUFFIX
|
35 |
#if !defined(CONFIG_USER_ONLY)
|
36 |
#define MEMSUFFIX _user
|
37 |
#include "op_mem.c" |
38 |
#undef MEMSUFFIX
|
39 |
|
40 |
#define MEMSUFFIX _super
|
41 |
#include "op_mem.c" |
42 |
#undef MEMSUFFIX
|
43 |
|
44 |
#define MEMSUFFIX _kernel
|
45 |
#include "op_mem.c" |
46 |
#undef MEMSUFFIX
|
47 |
#endif
|