Hello, This patch includes changes in the helper parameters, for the instructions involved in saving to memory and restoring the x87 exception pointers. The changes are to include a new parameter to indicate if the processor is running in protected more.
Best regards, Jaume helper.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) signed-off: jaume.mar...@gmail.com diff --git a/target-i386/helper.h b/target-i386/helper.h index 8eb0145..9c4fd22 100644 --- a/target-i386/helper.h +++ b/target-i386/helper.h @@ -183,12 +183,12 @@ DEF_HELPER_1(frndint, void, env) DEF_HELPER_1(fscale, void, env) DEF_HELPER_1(fsin, void, env) DEF_HELPER_1(fcos, void, env) -DEF_HELPER_3(fstenv, void, env, tl, int) -DEF_HELPER_3(fldenv, void, env, tl, int) -DEF_HELPER_3(fsave, void, env, tl, int) -DEF_HELPER_3(frstor, void, env, tl, int) -DEF_HELPER_3(fxsave, void, env, tl, int) -DEF_HELPER_3(fxrstor, void, env, tl, int) +DEF_HELPER_4(fstenv, void, env, tl, int, int) +DEF_HELPER_4(fldenv, void, env, tl, int, int) +DEF_HELPER_4(fsave, void, env, tl, int, int) +DEF_HELPER_4(frstor, void, env, tl, int, int) +DEF_HELPER_4(fxsave, void, env, tl, int, int) +DEF_HELPER_4(fxrstor, void, env, tl, int, int) DEF_HELPER_FLAGS_1(clz, TCG_CALL_NO_RWG_SE, tl, tl) DEF_HELPER_FLAGS_1(ctz, TCG_CALL_NO_RWG_SE, tl, tl)