From patchwork Tue Aug 25 20:59:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 248323 Delivered-To: patch@linaro.org Received: by 2002:a17:906:6447:0:0:0:0 with SMTP id l7csp14811ejn; Tue, 25 Aug 2020 14:36:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwlUgMWwthjzLLBPcOjqIlkKiVpuB1vaCT6rlHmQzRnwQLyh4ZAW/Md5HVpbUw7FQiTqGc X-Received: by 2002:a25:1e57:: with SMTP id e84mr17919156ybe.37.1598391407720; Tue, 25 Aug 2020 14:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598391407; cv=none; d=google.com; s=arc-20160816; b=FsTHJrCk4OzGE1VWh/J2t7u1nllBJ0BVbvpnUbRTXOEW2bqhcdu9fhxaJdaH+DstHm nzsxxRClEfiFQdoicWe+llozwZq7HDq9UrAmbFwThgUZPOtGRak+snxqz3h3jAEx1S+k J7xytshNq0VGhY0+xZ5IqJZ6EdG/4Gk3a3ncBkYPKd8SogebAf7+NOjQayIaWSI9+nhW X93Wv/kx4UUN+JEswhyK8JSOdENeNGKD1wQuOcgUV7Ntu+DjUDQf/fgX+oUSRiZZVIyZ T1JoKFNgyEtV3wGgLxtc8mImr1WGC2pF+mCvYzDlNiixWSqQeFTHGBjYn1dktwDO/42M IURQ== 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 :dkim-signature; bh=92AClQgNXABacQ0i61DaYrNKkj8PxXy6qywPLdGfziI=; b=hXYJH83TgjGIJjiAgpd6ep46HZ6Sdlzk05bEcq9kgwog2urC3oKcMgitaoDUSAqpLo F99xDmtN/vzHuxQ3EL78NVHCqZ0e43QBHFAquYCz2IiF4OKSRP4sx0hnCLRZtRwBZENL Bb8u7+iiuL16eqZqQZexdQBu/UaD0aP0fpEfEHYHnSA/ZYpqSWWGXG7k37C04t+vxbfV pIFXUN+NQ/eajBRoND4OOoN9isItiSd18J4/SpQO8t9GAzguyyVMzNjUqypkJnTq666I 4p6g8MaoWtOvo7HdCIRZ0NOAxZvmW0E6618SCChxHd2WGIYsUOXW93gGoSCvu36htrb9 gSQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KBHxp79q; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 128si85837yba.332.2020.08.25.14.36.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Aug 2020 14:36:47 -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; dkim=pass header.i=@linaro.org header.s=google header.b=KBHxp79q; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAgcZ-0000Yr-2n for patch@linaro.org; Tue, 25 Aug 2020 17:36:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAg3s-0008RD-VN for qemu-devel@nongnu.org; Tue, 25 Aug 2020 17:00:56 -0400 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]:44373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAg3q-0001yH-TL for qemu-devel@nongnu.org; Tue, 25 Aug 2020 17:00:56 -0400 Received: by mail-pg1-x543.google.com with SMTP id m34so7662900pgl.11 for ; Tue, 25 Aug 2020 14:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=92AClQgNXABacQ0i61DaYrNKkj8PxXy6qywPLdGfziI=; b=KBHxp79qnB44H5MyTBLuOwUI1CUO5kzYtE2cLl+IS2YRaYx0dK3lIqZDU7yENZQjc4 yQAelPZqpY1p5DnzJMBC/HyP++d97PGcRcbat40mM/MHZZkeh9Hu8LiUXnxYICFAigAN fkb3XSVDezESkxuPSZQuo42oVOagi2F3j8rLclIW0wyURj3VNmJPZQAr1He0XleiWtv9 NDRxn6VS/iqDj5Z9+t3cBoopsyGkQfektf9aVSEkQ2Jw3MTvyWWwlZ06gXEX/enOKGVD yX9fUQ1Wh1AF4LIAx50i5n3yizLRqzEFz6VdO2kC2a5iuDgBxXfDumtZt8R3BjQErpZ+ xOmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=92AClQgNXABacQ0i61DaYrNKkj8PxXy6qywPLdGfziI=; b=cS1oInutvkylfuBCY1qRD5D8n7789b/b7YdukxTgw1xgqJrcc1eja5MklkA0kp09gy tT6a+rQahIaSO/kao9U+fCwQCh8Pyr9fAjt+OPRwdUwt1JYHTAktk4pLmVwc9L59UVvh qIIgyUXqy7M3U6knT6anaFrP+0nOt7HGq0cDbC4FcFKzvnVentwz2ikSOdo7Ug/DnJoD /AvEWTTatU4nb4EQunZqs/YApabmhr7+PB8NGHKDyaoHU8GvnAPJPJM+K3KORJ3gKeH+ d5lP5nkbs3ss4bOn7v6MyhFR+D1DZmz9IZs6dmdGmmsKv5CgswqCoshNqKPNvhWLrUQp Js1g== X-Gm-Message-State: AOAM530FUu5EoMOpdz4/8tYBCNIfzJZWNWByyPGE1grYtqQYmVKPc6HL gkcyjzpDytUNhtSudDnCdZTUtQEg23rH3Q== X-Received: by 2002:a63:4e56:: with SMTP id o22mr7715010pgl.381.1598389253174; Tue, 25 Aug 2020 14:00:53 -0700 (PDT) Received: from localhost.localdomain (h216-228-167-147.bendor.dedicated.static.tds.net. [216.228.167.147]) by smtp.gmail.com with ESMTPSA id k4sm16074pgr.87.2020.08.25.14.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Aug 2020 14:00:52 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 49/77] target/microblaze: Mark fpu helpers TCG_CALL_NO_WG Date: Tue, 25 Aug 2020 13:59:22 -0700 Message-Id: <20200825205950.730499-50-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200825205950.730499-1-richard.henderson@linaro.org> References: <20200825205950.730499-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::543; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x543.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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: edgar.iglesias@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Now that FSR is no longer a tcg global temp, we can say that the fpu helpers do not write to tcg temps. All temps are read implicitly by the fpu exception path. Signed-off-by: Richard Henderson --- target/microblaze/helper.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) -- 2.25.1 diff --git a/target/microblaze/helper.h b/target/microblaze/helper.h index 79e1e8ecc7..64816c89e1 100644 --- a/target/microblaze/helper.h +++ b/target/microblaze/helper.h @@ -3,21 +3,21 @@ DEF_HELPER_FLAGS_2(raise_exception, TCG_CALL_NO_WG, noreturn, env, i32) DEF_HELPER_FLAGS_3(divs, TCG_CALL_NO_WG, i32, env, i32, i32) DEF_HELPER_FLAGS_3(divu, TCG_CALL_NO_WG, i32, env, i32, i32) -DEF_HELPER_3(fadd, i32, env, i32, i32) -DEF_HELPER_3(frsub, i32, env, i32, i32) -DEF_HELPER_3(fmul, i32, env, i32, i32) -DEF_HELPER_3(fdiv, i32, env, i32, i32) -DEF_HELPER_2(flt, i32, env, i32) -DEF_HELPER_2(fint, i32, env, i32) -DEF_HELPER_2(fsqrt, i32, env, i32) +DEF_HELPER_FLAGS_3(fadd, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(frsub, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fmul, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fdiv, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_2(flt, TCG_CALL_NO_WG, i32, env, i32) +DEF_HELPER_FLAGS_2(fint, TCG_CALL_NO_WG, i32, env, i32) +DEF_HELPER_FLAGS_2(fsqrt, TCG_CALL_NO_WG, i32, env, i32) -DEF_HELPER_3(fcmp_un, i32, env, i32, i32) -DEF_HELPER_3(fcmp_lt, i32, env, i32, i32) -DEF_HELPER_3(fcmp_eq, i32, env, i32, i32) -DEF_HELPER_3(fcmp_le, i32, env, i32, i32) -DEF_HELPER_3(fcmp_gt, i32, env, i32, i32) -DEF_HELPER_3(fcmp_ne, i32, env, i32, i32) -DEF_HELPER_3(fcmp_ge, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_un, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_lt, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_eq, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_le, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_gt, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_ne, TCG_CALL_NO_WG, i32, env, i32, i32) +DEF_HELPER_FLAGS_3(fcmp_ge, TCG_CALL_NO_WG, i32, env, i32, i32) DEF_HELPER_FLAGS_2(pcmpbf, TCG_CALL_NO_RWG_SE, i32, i32, i32) #if !defined(CONFIG_USER_ONLY)