From patchwork Mon Aug 31 16:06:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 248825 Delivered-To: patch@linaro.org Received: by 2002:a92:5b9c:0:0:0:0:0 with SMTP id c28csp3467772ilg; Mon, 31 Aug 2020 09:43:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmrJdq+z/A9bFcvPFzBLU74wjtU/w+y/Jwl9p9VrWacHl7gDDYo+3uNlrV5guHmcu9yY7n X-Received: by 2002:a25:244a:: with SMTP id k71mr3584615ybk.504.1598892190013; Mon, 31 Aug 2020 09:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598892190; cv=none; d=google.com; s=arc-20160816; b=CXfjdjQLm3SuhTYkwDrSXvc/4Di6KoECdhbJ9Pl6vis96U4dALGpuMS+E/VTQN/Uqk vxEi/IUuK0kSu/ofO3klZXNieedxPAvK6Hba4ynwdYT1IhBxt3dHUh9j9r1kJhjiAi2w v1scHkSDKqY4oJ0gQAzqIY7i8KRLHqIqBHdnax6MAC920hB0+26/Kw58SFDrGYJIiHdZ H6QlabGns70FDiLdCv8fsBf11RqTyJuHgogNKOwy5n/ruLZikFWlaFHRASTyU5HUStOt GXmnvTp0jG5pkoWmyDFMGwcXs3+kRfval60SOogGSpsCdwJMXUB2e7J5ihficiNOBe+Y c6RA== 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=b/gvE9gRrBdUc3JON5McXpRJVtB1reGxqOBY4wQzJOY=; b=awSUy5BmAvDEKCplWuL9gzdVn65IcbyHb6y6lKrZDTdcCDad/TCZOEX1jrG0TiJ35D r2dJlpNM4l1BrONRLcgtkJTklQtOyLjkrAWAAnFHBFLERExjQI+Z/TfIBjUiTgt+86yE eu9MjFBzYbxtfDZyzG9YGEgNyt9XONObD4hSnjHOI+Hi3fsiGwJK7Reh/L2QV5k2aHsi IUZoBzIaqYm5tOeQ+7BsBXPCC3Jbfj2GNbmiILSWMmZXOP+TD2HTNAkIqJXzQdFm1kin QEm6UO9yF2fGujp8cpaFS2dT5gqjk1hvPKm+NQEiNWNemc2+f5FvAG/AVpheHbkAiOiT TpUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=oTjhePcC; 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=fail (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 m65si8709955yba.399.2020.08.31.09.43.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Aug 2020 09:43:10 -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=fail header.i=@linaro.org header.s=google header.b=oTjhePcC; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:33986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCmth-0001L7-Gz for patch@linaro.org; Mon, 31 Aug 2020 12:43:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCmLU-0006wL-4F for qemu-devel@nongnu.org; Mon, 31 Aug 2020 12:07:48 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]:52138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCmLS-0006By-C4 for qemu-devel@nongnu.org; Mon, 31 Aug 2020 12:07:47 -0400 Received: by mail-pj1-x1035.google.com with SMTP id ds1so32988pjb.1 for ; Mon, 31 Aug 2020 09:07:45 -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=b/gvE9gRrBdUc3JON5McXpRJVtB1reGxqOBY4wQzJOY=; b=oTjhePcCcl59mZVSlQQ5cEys26p1YinKmHKROoaM8d8m8w/dvrW/3nDg2HcxHJRL8J mKL+IJy8VvfJ6owhVbuFAyo1MENokHLKRzGY2oSQVWj1fLjph86FMgK/D3B+R+SnSAsQ tijzlIzI7L40DwaSUdE8I1qWZY1/ljQi63npgdg2QRkw5iIatqKnFzisdSsYkkMlJARY 3bvD3Ke7WIwGe6uAusNHsk3h2Ei7T67PKilnsaQ2n4OdphalUIyQP+MN6wwJhLNVaLxB vyCvA1Y0s8CIjFY5xTPLSk3zNqzp75yFE+Kv9yuHSivKwl4mS/ModOjibn4ANN4bgwnO LP8g== 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=b/gvE9gRrBdUc3JON5McXpRJVtB1reGxqOBY4wQzJOY=; b=Qp2oj6i1L7BqqoCskVD7zF+E/uJfuDPIvYK+md9hvVc2y24rlFRmB5yqrvsyqM9YTl reO4VlDvyQ44zxOSeONIo+EX0T0muFKND0ZvF3eNI83uh/q6uJ4ZxbnPQXfA/zue/AMp 3lnSNd/85vWdZf8Y/kfAG66lDu4KbxnA1763AKCE58hAlDtmELq0Kwz8UQrLT0u5/uYe BldAnG7n+OtBVuVBKI+VJwAGNRNBzQcQs/VODr+mGPe6BZ5BzYWZ0Gx7xN8WSTXjoqnn PeEJ8EKK4bOgnprdP9FPhbRwIe/mnrfg8ttAC62gM5DgXctZ4XLyysi3AYPZL7IUy/6w GY+A== X-Gm-Message-State: AOAM531wUCEIFQWNfvZL0oVZQin1IPcueYLpKL4SZn/1LiZiKTCE2ofW 1EGhWeWxc1ThT/YeJFB7FU7vb+/cEbcZqw== X-Received: by 2002:a17:90b:4b89:: with SMTP id lr9mr96294pjb.190.1598890064662; Mon, 31 Aug 2020 09:07:44 -0700 (PDT) Received: from localhost.localdomain ([71.212.141.89]) by smtp.gmail.com with ESMTPSA id gt13sm17218pjb.43.2020.08.31.09.07.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2020 09:07:44 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 75/76] target/microblaze: Add flags markup to some helpers Date: Mon, 31 Aug 2020 09:06:00 -0700 Message-Id: <20200831160601.833692-76-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200831160601.833692-1-richard.henderson@linaro.org> References: <20200831160601.833692-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1035.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 E . Iglesias" , peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The mmu_read, mmu_write, get, and put helpers do not touch the general registers, or any of the other variables managed by tcg. Tested-by: Edgar E. Iglesias Reviewed-by: Edgar E. Iglesias Signed-off-by: Richard Henderson --- target/microblaze/helper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/target/microblaze/helper.h b/target/microblaze/helper.h index 3980fba797..f740835fcb 100644 --- a/target/microblaze/helper.h +++ b/target/microblaze/helper.h @@ -21,11 +21,11 @@ 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) -DEF_HELPER_3(mmu_read, i32, env, i32, i32) -DEF_HELPER_4(mmu_write, void, env, i32, i32, i32) +DEF_HELPER_FLAGS_3(mmu_read, TCG_CALL_NO_RWG, i32, env, i32, i32) +DEF_HELPER_FLAGS_4(mmu_write, TCG_CALL_NO_RWG, void, env, i32, i32, i32) #endif DEF_HELPER_FLAGS_2(stackprot, TCG_CALL_NO_WG, void, env, tl) -DEF_HELPER_2(get, i32, i32, i32) -DEF_HELPER_3(put, void, i32, i32, i32) +DEF_HELPER_FLAGS_2(get, TCG_CALL_NO_RWG, i32, i32, i32) +DEF_HELPER_FLAGS_3(put, TCG_CALL_NO_RWG, void, i32, i32, i32)