aboutsummaryrefslogtreecommitdiff
path: root/target-ppc
diff options
context:
space:
mode:
Diffstat (limited to 'target-ppc')
-rw-r--r--target-ppc/op.c5
-rw-r--r--target-ppc/op_helper.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/target-ppc/op.c b/target-ppc/op.c
index 1412c09ae0..4889ad476f 100644
--- a/target-ppc/op.c
+++ b/target-ppc/op.c
@@ -1919,6 +1919,11 @@ void OPPROTO op_fneg (void)
#define MEMSUFFIX _kernel
#include "op_helper.h"
#include "op_mem.h"
+#if defined(TARGET_PPC64H)
+#define MEMSUFFIX _hypv
+#include "op_helper.h"
+#include "op_mem.h"
+#endif
#endif
/* Special op to check and maybe clear reservation */
diff --git a/target-ppc/op_helper.c b/target-ppc/op_helper.c
index 38c3a7ff8f..f5331bace4 100644
--- a/target-ppc/op_helper.c
+++ b/target-ppc/op_helper.c
@@ -31,6 +31,11 @@
#define MEMSUFFIX _kernel
#include "op_helper.h"
#include "op_helper_mem.h"
+#if defined(TARGET_PPC64H)
+#define MEMSUFFIX _hypv
+#include "op_helper.h"
+#include "op_helper_mem.h"
+#endif
#endif
//#define DEBUG_OP