Commit 1e42b8f06dedf7229c3e7d4660ef85e404f8692f
1 parent
b1806c9e
Generate micro-ops for PowerPC hypervisor mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3386 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
2 changed files
with
10 additions
and
0 deletions
target-ppc/op.c
| @@ -1919,6 +1919,11 @@ void OPPROTO op_fneg (void) | @@ -1919,6 +1919,11 @@ void OPPROTO op_fneg (void) | ||
| 1919 | #define MEMSUFFIX _kernel | 1919 | #define MEMSUFFIX _kernel |
| 1920 | #include "op_helper.h" | 1920 | #include "op_helper.h" |
| 1921 | #include "op_mem.h" | 1921 | #include "op_mem.h" |
| 1922 | +#if defined(TARGET_PPC64H) | ||
| 1923 | +#define MEMSUFFIX _hypv | ||
| 1924 | +#include "op_helper.h" | ||
| 1925 | +#include "op_mem.h" | ||
| 1926 | +#endif | ||
| 1922 | #endif | 1927 | #endif |
| 1923 | 1928 | ||
| 1924 | /* Special op to check and maybe clear reservation */ | 1929 | /* Special op to check and maybe clear reservation */ |
target-ppc/op_helper.c
| @@ -31,6 +31,11 @@ | @@ -31,6 +31,11 @@ | ||
| 31 | #define MEMSUFFIX _kernel | 31 | #define MEMSUFFIX _kernel |
| 32 | #include "op_helper.h" | 32 | #include "op_helper.h" |
| 33 | #include "op_helper_mem.h" | 33 | #include "op_helper_mem.h" |
| 34 | +#if defined(TARGET_PPC64H) | ||
| 35 | +#define MEMSUFFIX _hypv | ||
| 36 | +#include "op_helper.h" | ||
| 37 | +#include "op_helper_mem.h" | ||
| 38 | +#endif | ||
| 34 | #endif | 39 | #endif |
| 35 | 40 | ||
| 36 | //#define DEBUG_OP | 41 | //#define DEBUG_OP |