[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6949] target-mips: fix divu instruction
From: |
Aurelien Jarno |
Subject: |
[Qemu-devel] [6949] target-mips: fix divu instruction |
Date: |
Sun, 29 Mar 2009 15:36:47 +0000 |
Revision: 6949
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6949
Author: aurel32
Date: 2009-03-29 15:36:47 +0000 (Sun, 29 Mar 2009)
Log Message:
-----------
target-mips: fix divu instruction
Signed-off-by: Aurelien Jarno <address@hidden>
Modified Paths:
--------------
trunk/target-mips/translate.c
Modified: trunk/target-mips/translate.c
===================================================================
--- trunk/target-mips/translate.c 2009-03-29 14:08:54 UTC (rev 6948)
+++ trunk/target-mips/translate.c 2009-03-29 15:36:47 UTC (rev 6949)
@@ -1847,6 +1847,8 @@
{
int l1 = gen_new_label();
+ tcg_gen_ext32u_tl(t0, t0);
+ tcg_gen_ext32u_tl(t1, t1);
tcg_gen_brcondi_tl(TCG_COND_EQ, t1, 0, l1);
tcg_gen_divu_tl(cpu_LO[0], t0, t1);
tcg_gen_remu_tl(cpu_HI[0], t0, t1);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6949] target-mips: fix divu instruction,
Aurelien Jarno <=