target-i386/fpu_helper.c: fbld instruction doesn't set minus sign
PATCH 1/1 target-i386/fpu_helper.c: fbld instruction doesn't set minus sign
Obviously, there is a misprint in function implementation.
From: Dmitry Poletaev <[email protected]>
Signed-off-by Dmitry Poletaev <[email protected]>
--- target-i386/fpu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/fpu_helper.c +1 -1
@@ -622,7 +622,7 @@ void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) } tmp =int64_to_floatx80 (val, &env->fp_status);if (cpu_ldub_data (env, ptr +9 ) &0x80 ) { -floatx80_chs (tmp); + tmp =floatx80_chs (tmp); }fpush (env);ST0 = tmp;
Signature · 1 line
1.8.4.msysgit.0
ping
25.07.2014, 15:48, "Dmitry Poletaev" <[email protected]>:
Quoted 24 lines
Obviously, there is a misprint in function implementation.
From: Dmitry Poletaev <[email protected]>
Signed-off-by Dmitry Poletaev <[email protected]>---
target-i386/fpu_helper.c | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)target-i386/fpu_helper.c +1
-2@@ -622,7 +622,7 @@ void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) } tmp = int64_to_floatx80(val, &env->fp_status); if (cpu_ldub_data(env, ptr + 9) & 0x80) { - floatx80_chs(tmp); + tmp = floatx80_chs(tmp); } fpush(env); ST0 = tmp; --1.8.4.msysgit.0
Richard Henderson
Reviewed-byQuoted 12 lines · Dmitry Poletaev
ping
25.07.2014, 15:48, "Dmitry Poletaev" <[email protected]>:
Quoted 9 lines
Obviously, there is a misprint in function implementation.
From: Dmitry Poletaev <[email protected]>
Signed-off-by Dmitry Poletaev <[email protected]>--- target-i386/fpu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 13 lines
target-i386/fpu_helper.c void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) · line 628
Quoted 13 lines
target-i386/fpu_helper.c +1
-1@@ -622,7 +622,7 @@ void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) } tmp =int64_to_floatx80 (val, &env->fp_status);if (cpu_ldub_data (env, ptr +9 ) &0x80 ) { -floatx80_chs (tmp); + tmp =floatx80_chs (tmp); }fpush (env);ST0 = tmp;
Reviewed-by Richard Henderson <[email protected]>
r~