aboutsummaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-23 01:31:57 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-23 01:31:57 +0000
commit95af5ce5e21d789d3f3a8291585d5e67fc5e6bb5 (patch)
tree07a0339b365b3c44fdac4aad018d97309b6d0149 /target-mips/op_helper.c
parent42388c4ba7207ae49b58093a66a1f27267b7ede5 (diff)
downloadqemu-95af5ce5e21d789d3f3a8291585d5e67fc5e6bb5.zip
qemu-95af5ce5e21d789d3f3a8291585d5e67fc5e6bb5.tar.gz
qemu-95af5ce5e21d789d3f3a8291585d5e67fc5e6bb5.tar.bz2
Fix build failure for MIPS64 targets on 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4536 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 50f353a..017d12a 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -159,6 +159,8 @@ void do_drotrv (void)
T0 = T1;
}
+#endif /* TARGET_LONG_BITS > HOST_LONG_BITS */
+
void do_dclo (void)
{
T0 = clo64(T0);
@@ -169,7 +171,6 @@ void do_dclz (void)
T0 = clz64(T0);
}
-#endif /* TARGET_LONG_BITS > HOST_LONG_BITS */
#endif /* TARGET_MIPS64 */
/* 64 bits arithmetic for 32 bits hosts */