From patchwork Sun May 2 14:43:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 430430 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2112712jao; Sun, 2 May 2021 07:48:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzK9BO2Y1MslksQzUn3eKVK9fOT6NoOYVHzI65g8KSDbYNtcR7wV4sNHvGEc5T5hL9UKTH X-Received: by 2002:a05:620a:1277:: with SMTP id b23mr14798232qkl.76.1619966902367; Sun, 02 May 2021 07:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619966902; cv=none; d=google.com; s=arc-20160816; b=bbga4lypPS/V/RPl/puxC4Mag3b13jcOSQB0hCeUvq3i34/0lswdqj0LW6KD/FV9na O9XCRGub/1qNg+83j5t+jyvhY3fte0JMstbebGdHNwlRUc89rbA3aviGCEiq8SE51Vf1 vgVGsCVqXHNJhDbI2It0r3/reliB9Nhij3gLjKRW4Rumgs2KmS4bBs+bzqhOq7JFjl34 wDyyoIS4vEmU5O3vgJwdAAJ+ATdZnTr9dqwGouSIM8ITzkwadXArEF8L4rJz0ozbiOl5 I2HywlncOAcDUZDv8eutcmAuog5eNEft7Wa3IL5OgNm5kGBRw8Z1I1OBShQGY9TbFAP6 3l7w== 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=fqEgUgqz02Z8sn33fRQv9yX+A8s/JtIeF1usXc7oQj8=; b=vJq0tuFZaXkiiIs8V64gXGNUl7ftfagIvcLaaXZeObRozEzn1AlUy19zJWU62cRxgV 9BYtkita9o+P2Rwi9cCbaQ6yyFtjOvF7U9zmHJFILP0fOC9FxInK5Rx8Oka23YLnkFT3 1n/aemvYP12U3HD+Ct/Xqr5hhxieFDEXeSXp/BdsZJcY6rtR6Iq5RCEXNIRgnvzHF0VA 4FuEwA9KNpvECn/IBDv8RjIeJds5ctshSQXxkZs+ogcq/VQZ8Xs02N7PHWYjJNO+4UGU i+kvFLfI03LyXd4uDepHzh20cHhsQS3rbSldsFG6TVwmtHQXZ6mhG86nZnBDj5v1db+h s8nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vdUdclw+; 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 k8si6495633qta.82.2021.05.02.07.48.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 May 2021 07:48:22 -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=vdUdclw+; 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]:55892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldDOP-0004uV-P6 for patch@linaro.org; Sun, 02 May 2021 10:48:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldDKd-0001GP-Lq for qemu-devel@nongnu.org; Sun, 02 May 2021 10:44:27 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:39894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldDKZ-00059d-Kg for qemu-devel@nongnu.org; Sun, 02 May 2021 10:44:26 -0400 Received: by mail-pl1-x635.google.com with SMTP id t4so675522plc.6 for ; Sun, 02 May 2021 07:44:23 -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=fqEgUgqz02Z8sn33fRQv9yX+A8s/JtIeF1usXc7oQj8=; b=vdUdclw+/yAcNISwosSjeSvu3hVydEj+D/xS0vsTC9UANi4W6ssur6TYRPfDkU5HZs IEK1j5g+9GetWVZifzoBTHcri835siuhdjSGzcv1YfNzEEQAlGesVoIMNaJiP3jFQfmH c8cMfF2RYBF2YglMlFBpiUqzQjKUUSamAQWBvRyMTmMLWgpkur1gf5V1X5xZUDzijlOr mdjJCkVNBpCeequb7nSqZ8t1GfLq1Je/dwVVRR8SjghYKcA0ZWZt6VxPZ99cUN5jHw+C n3Z10y0H/doVee7xMSCMhkjadkoy4bxRZeN4kTpw1ZD7VC3jL3NTjnnGS3nKH9erL1bH EjeQ== 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=fqEgUgqz02Z8sn33fRQv9yX+A8s/JtIeF1usXc7oQj8=; b=W15Jzhs2NWE2bdt7iWhPcHJWvWJ2JVwPgkS/rzUpPkygJRd8IVSmaOmM+heQUK/EFv S9NG7odmP+6h8IO5vf1lxUEhAxOu/fI9MO7J59N2FG+RHhVqeCdeiIKT1E+3c9sSDTCJ +V/KkgTPB5u+bpLNPa59JBQ3cBPCWeMC6m7BFZ0HhpGA+Bd4mGgaRdUu+D1sBs0looaS HcJLQ9SkGp1wg6NB80nvq2hWGKtD+mo2NlJ9HzmweOcSakuJTL0498wnPNsPqYj4slUw vfXv+RSeqiLDpZwshYebgd02k9CnlQYi9zu1/WrDKPoMYIISqy40M6vVsyeCmCOXG7JH rykA== X-Gm-Message-State: AOAM530Rb4dlslwHQQcadnT40YIdMUeqWwZrsbdo9B0SZCHPrMlcM6eY EL4ThkTsxBwTI6t2Q8Efc2XWm0hSxPl6pQ== X-Received: by 2002:a17:902:b18c:b029:ed:631f:63ca with SMTP id s12-20020a170902b18cb02900ed631f63camr15806481plr.40.1619966662340; Sun, 02 May 2021 07:44:22 -0700 (PDT) Received: from localhost.localdomain ([71.212.144.24]) by smtp.gmail.com with ESMTPSA id w14sm6889110pff.94.2021.05.02.07.44.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 07:44:22 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL v2 02/31] target/hexagon: remove unnecessary checks in find_iclass_slots Date: Sun, 2 May 2021 07:43:50 -0700 Message-Id: <20210502144419.1659844-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210502144419.1659844-1-richard.henderson@linaro.org> References: <20210502144419.1659844-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x635.google.com 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: peter.maydell@linaro.org, Taylor Simpson , Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Taylor Simpson Reported-by: Richard Henderson < Signed-off-by: Taylor Simpson Message-Id: <1615784037-26129-1-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson --- target/hexagon/iclass.c | 4 ---- 1 file changed, 4 deletions(-) -- 2.25.1 diff --git a/target/hexagon/iclass.c b/target/hexagon/iclass.c index 378d8a6a75..6091286993 100644 --- a/target/hexagon/iclass.c +++ b/target/hexagon/iclass.c @@ -53,10 +53,6 @@ SlotMask find_iclass_slots(Opcode opcode, int itype) (opcode == Y2_isync) || (opcode == J2_pause) || (opcode == J4_hintjumpr)) { return SLOTS_2; - } else if ((itype == ICLASS_V2LDST) && (GET_ATTRIB(opcode, A_STORE))) { - return SLOTS_01; - } else if ((itype == ICLASS_V2LDST) && (!GET_ATTRIB(opcode, A_STORE))) { - return SLOTS_01; } else if (GET_ATTRIB(opcode, A_CRSLOT23)) { return SLOTS_23; } else if (GET_ATTRIB(opcode, A_RESTRICT_PREFERSLOT0)) {