diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2009-05-04 09:36:22 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2009-05-04 10:05:15 +0200 |
commit | 88cbb9804bf59ba556f6e63ec6bb903ba8eb32a1 (patch) | |
tree | ed735893afcb8fd20acf07fb1856b077e4fa0712 /target-mips | |
parent | qemu-options.hx: fix description of cache=none suboption (diff) | |
download | qemu-kvm-88cbb9804bf59ba556f6e63ec6bb903ba8eb32a1.tar.gz qemu-kvm-88cbb9804bf59ba556f6e63ec6bb903ba8eb32a1.tar.bz2 qemu-kvm-88cbb9804bf59ba556f6e63ec6bb903ba8eb32a1.zip |
target-mips: fix comments about SUB/DSUB
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-mips')
-rw-r--r-- | target-mips/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c index e96fe60fd..2c163e0ca 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -1590,7 +1590,7 @@ static void gen_arith (CPUState *env, DisasContext *ctx, uint32_t opc, tcg_temp_free(t2); tcg_gen_brcondi_tl(TCG_COND_GE, t1, 0, l1); tcg_temp_free(t1); - /* operands of same sign, result different sign */ + /* operands of different sign, first operand and result different sign */ generate_exception(ctx, EXCP_OVERFLOW); gen_set_label(l1); gen_store_gpr(t0, rd); @@ -1665,7 +1665,7 @@ static void gen_arith (CPUState *env, DisasContext *ctx, uint32_t opc, tcg_temp_free(t2); tcg_gen_brcondi_tl(TCG_COND_GE, t1, 0, l1); tcg_temp_free(t1); - /* operands of same sign, result different sign */ + /* operands of different sign, first operand and result different sign */ generate_exception(ctx, EXCP_OVERFLOW); gen_set_label(l1); gen_store_gpr(t0, rd); |