From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN6VV-0000Ho-Lr for qemu-devel@nongnu.org; Thu, 28 Aug 2014 16:41:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XN6VM-00058F-F1 for qemu-devel@nongnu.org; Thu, 28 Aug 2014 16:41:21 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:38898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XN6VM-000586-7s for qemu-devel@nongnu.org; Thu, 28 Aug 2014 16:41:12 -0400 Received: by mail-wi0-f171.google.com with SMTP id hi2so8102799wib.16 for ; Thu, 28 Aug 2014 13:41:11 -0700 (PDT) From: Jaume Marti Farriol Date: Thu, 28 Aug 2014 22:44:35 +0200 Message-Id: <1409258680-15555-4-git-send-email-jaume.martif@gmail.com> In-Reply-To: <1409258680-15555-1-git-send-email-jaume.martif@gmail.com> References: <1409258680-15555-1-git-send-email-jaume.martif@gmail.com> Subject: [Qemu-devel] [PATCH v2 3/8] target-i386: x87 exception pointers using TCG. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Anthony Liguori , Richard Henderson 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.martif@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)