From patchwork Tue May 18 05:30:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 441109 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1773100jac; Mon, 17 May 2021 22:32:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpKPTIhxQ7x7iSYLFWRP81Cq4J6ZTqvSjDMjD5//jh1QJPReDFSl+WVZEilzGRqKQ0Heul X-Received: by 2002:a67:b919:: with SMTP id q25mr4549228vsn.17.1621315953092; Mon, 17 May 2021 22:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621315953; cv=none; d=google.com; s=arc-20160816; b=k4E6721fhLKNTOOvvZq6D6sDtX4BJZIKuGgk14HvSUqd+g13B00y6C6ZeD5v/GU5lb GFgQK1SiORDhF0TW1JtorVy41/v5eoaFzLOOAfqj886T9FkdYIS50HJtjNtCk4IROBth 9hAYe9JB/4r4OF+tMiLoFo/v4rlKotCJsySXVieZvhQRIfWfOXTXZZyR386KjgutCmZd 4TcXUunwU2CTgt7IQI2C8Q92j9PN46HcgLWKJ0bTnDgN55HU5To4SgAJr5BlU7LAfldx 6FTQgETyXECZrNybn6RYcve+uz+tQ6MYFJ3w62lSfpy0atXX31uj8vXTFvzTp6cSJGwL wQiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from; bh=EUyuP9k8Q3Q3Q42KyC1NZZ/MAhyG0Df1OfgfvPgi4+k=; b=E5qsOR1XsIk015M0HCEK8szITpJTXJS7NF6Gh1VSubNGiE2mvnpJ4LQFsrKHF/vx7i Jg+c440LC4+06T7UEbgX4ms+6dppZubYuKq9im4q6Lbpq53DyttLn6LPiPNt1irZsFzB Tfh8relYL9XEjrx/ivQIe011Z6zlUrd2eXacm2hnfJzUZM4WHNrWzxUIkjO++F/P0MsA mP90WoI0Tv8JgrMpF+PgRkZz8duU7CgUbJ+Dtfd2ki8fyaQnqolQ/76BECiEKPILbvHl Sq4HLpaOFzMvaGNLNko79K6ZDNiLvfmr0lzDCyRyC4qETgXRJqJurYsnYZ/LVu0EUlvu lGPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o15si9887438vsh.377.2021.05.17.22.32.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 17 May 2021 22:32:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:39570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lisLI-0006gN-Ca for patch@linaro.org; Tue, 18 May 2021 01:32:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lisKQ-0006dx-EG for qemu-devel@nongnu.org; Tue, 18 May 2021 01:31:38 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:46965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lisKO-0006qC-QV for qemu-devel@nongnu.org; Tue, 18 May 2021 01:31:38 -0400 Received: from quad ([82.142.31.78]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M5xDJ-1lodsz1hQh-007TiU; Tue, 18 May 2021 07:31:34 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 04/59] linux-user/arm: Do not emulate fpa11 in thumb mode Date: Tue, 18 May 2021 07:30:36 +0200 Message-Id: <20210518053131.87212-5-laurent@vivier.eu> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210518053131.87212-1-laurent@vivier.eu> References: <20210518053131.87212-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:/UzUKa42WJDV8CABAfIcmjoBrnLxVJyvB4NSCtycYEbpsVwVhqM Zc0MWUdsk51xpHsIlaeC3a2VaPcZuQVk9mG7nO1ka06Yp1Ydn2PnELWz1Dje1XIzJa9ANCz RG+PxdGHfqp5+0q0JlEqcaysMI/S1cfnnOj1gehx2AM9chJvS90fWQ+JtqouvWQ2viOXpAQ MwstO16PUwDt57Lyj73FA== X-UI-Out-Filterresults: notjunk:1; V03:K0:Rk2P157s19Y=:U5BSHc2T/biMOQpEdAf0pa K6MbBJqdzyloxyrl6prLXSHW5nR8KHHt6r0E4BuxGXaz10JfVFvoQLlnbngluxzb8iqd0mv5O zcGRhmWXuqRl/oo5wAuMSY2b1AqwmNmbQriqQn3Vngt0VK4wqfnwOzXBF5SGvCWem8D+Wudqr 75mdcjqP1phsFms/KZ95kh3TU1hCAuVwzZrTtKu6vbB+eOQTfmEThqXXka/wn8kTDWOxqwTNi xUr0elv4oDaF6Uxr9fuqyOJ+fpZsOHt3Bu8IrsEHwj3afMojwIXNmesyLhrS9Vz3a6EFiSvz0 CMlQVdKn2CDoyAxKCcBOVGWHkXFcw7dMTMOl9xbyFaLOODspGmiT6rcgvAI+j6WSx3kc/dxdP fnfsoUU5SKwjO8G+y3SL3mCqsptw4KerieQuPHRJatssaXnDvodiGuxF9T24/MTX4hL7j0l7R MHB2nhcEtSscmybbt2FZaL6xYLKff9SxStIQ6Kcq+Xs4E+hczQcoIu4Pe9jOLcxGHCD9XXIMt dXrJ4jW/eefwedW90G5SnQ= Received-SPF: none client-ip=217.72.192.75; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson These antiquated instructions are arm-mode only. Buglink: https://bugs.launchpad.net/bugs/1925512 Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell Message-Id: <20210423165413.338259-3-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- linux-user/arm/cpu_loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.31.1 diff --git a/linux-user/arm/cpu_loop.c b/linux-user/arm/cpu_loop.c index 106909c7d880..e2a1496b9fe7 100644 --- a/linux-user/arm/cpu_loop.c +++ b/linux-user/arm/cpu_loop.c @@ -347,7 +347,7 @@ void cpu_loop(CPUARMState *env) goto excp_debug; } - if (emulate_arm_fpa11(env, opcode)) { + if (!env->thumb && emulate_arm_fpa11(env, opcode)) { break; }