aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-07 20:07:37 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2006-12-07 20:07:37 +0000
commit71fb7241c65ef2de8b55e6907e674b8f766b3061 (patch)
tree4cda365db67952107e9d6da2be16cbd557854153 /target-mips/op.c
parent9f08349345dae1d67effb8494c8386dd74b94128 (diff)
Fix build of MIPS target without FPU support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2233 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op.c')
-rw-r--r--target-mips/op.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-mips/op.c b/target-mips/op.c
index 84fcbd9e0e..35a13657ec 100644
--- a/target-mips/op.c
+++ b/target-mips/op.c
@@ -627,6 +627,7 @@ void op_movz (void)
RETURN();
}
+#ifdef MIPS_USES_FPU
void op_movf (void)
{
if (!(env->fcr31 & PARAM1))
@@ -640,6 +641,7 @@ void op_movt (void)
env->gpr[PARAM2] = env->gpr[PARAM3];
RETURN();
}
+#endif
/* Tests */
#define OP_COND(name, cond) \