aboutsummaryrefslogtreecommitdiffstats
path: root/target-sparc
diff options
context:
space:
mode:
Diffstat (limited to 'target-sparc')
-rw-r--r--target-sparc/exec.h5
-rw-r--r--target-sparc/op_helper.c5
2 files changed, 5 insertions, 5 deletions
diff --git a/target-sparc/exec.h b/target-sparc/exec.h
index 1e9de82bb..c84e0558a 100644
--- a/target-sparc/exec.h
+++ b/target-sparc/exec.h
@@ -5,11 +5,6 @@
register struct CPUSPARCState *env asm(AREG0);
-#define DT0 (env->dt0)
-#define DT1 (env->dt1)
-#define QT0 (env->qt0)
-#define QT1 (env->qt1)
-
#include "cpu.h"
#include "exec-all.h"
diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c
index ec3924451..b1451d346 100644
--- a/target-sparc/op_helper.c
+++ b/target-sparc/op_helper.c
@@ -44,6 +44,11 @@
#endif
#endif
+#define DT0 (env->dt0)
+#define DT1 (env->dt1)
+#define QT0 (env->qt0)
+#define QT1 (env->qt1)
+
#if defined(CONFIG_USER_ONLY) && defined(TARGET_SPARC64)
static void do_unassigned_access(target_ulong addr, int is_write, int is_exec,
int is_asi, int size);