Message ID | 20220426163043.100432-14-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp3751523map; Tue, 26 Apr 2022 09:33:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeNtpsLpY6HXoaDMpczuDwqfgs5Gpj3+vJnvXQMze/59DjWevmb3a4nELYWk7KEp534X3d X-Received: by 2002:a05:6902:187:b0:63d:9c95:edca with SMTP id t7-20020a056902018700b0063d9c95edcamr20979257ybh.81.1650990813089; Tue, 26 Apr 2022 09:33:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650990813; cv=none; d=google.com; s=arc-20160816; b=a018/EVdIbFMIWQtaegbtL262Klr14M2nh3HrRkaRy/GtowDDhM7KXuyl/n/mOiIz8 tnBQUeIhFgDEYvU/LS17ObeIl58u9+uqig8uPTDh7sArnx4JYpSX2Wa7uNrvOG91SEGL LKby1BWFYCZuwgjpSNcMANP/Dl+4dzRzYINlbILEMMkm3Z6QLa0FYa/7yyedHixaDwse NYXtMOwlo9tM/idc+4ezZqSus67mkh4H0Mr/Pxi0bhluhkOYsTgVj4P0KKNmB7Jzdtd1 tGZGzs6RR/+6jwnUV80Fcqft3rMdJTB1R/3ZZG2eMFC7g3g9RKPgO+SNcWkw58izPGBI j5eQ== 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=r3b3ObwAEyrWfeTyyB3wAvvyfGkoSxU0Tc73xuh3JPA=; b=sU0OB1lAKukXfwX1bivHgY9LYOqNUXMXp+wqGdDcmGf/Q8AzR1RBl7ChkOzyPABr53 ZWB6x72T3aeLGZ0RhhbJPlwn3FXXZ7vWL8z/GkgOTXVrguyyt/LFCc7KBdRKlzqxCeLc sTMUl6yice4NA/jKqSAmnU1qQumUTon6FBDpg8vwV4RPC++9dXwNays6YzX0yQaS7nPB gm2eX8jqsghoOj0xb/I6FxDNevwTvGe3ZHeBlLehQOXECi1qPKpS/YPl9DG+sdmDUuXW d7ybw/1IN6McftV+eFdL/Jwn5gq54eAXvMUBcXTk9hnlDK35dbPEHW5GoDVzqy0TMLss JM8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T5UF6ut8; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f8-20020a256a08000000b006412c1143a0si13207602ybc.225.2022.04.26.09.33.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Apr 2022 09:33: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; dkim=pass header.i=@linaro.org header.s=google header.b=T5UF6ut8; 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]:58410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1njO84-0005tD-K4 for patch@linaro.org; Tue, 26 Apr 2022 12:33:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1njO5g-0002xf-Mn for qemu-devel@nongnu.org; Tue, 26 Apr 2022 12:31:04 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:45963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1njO5c-0003oB-PM for qemu-devel@nongnu.org; Tue, 26 Apr 2022 12:31:03 -0400 Received: by mail-pj1-x1033.google.com with SMTP id n33-20020a17090a5aa400b001d28f5ee3f9so2997430pji.4 for <qemu-devel@nongnu.org>; Tue, 26 Apr 2022 09:30:59 -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=r3b3ObwAEyrWfeTyyB3wAvvyfGkoSxU0Tc73xuh3JPA=; b=T5UF6ut86Vd93T18BYTyEz0bV7ZOqvRiyb1VPLEb88eOU5PLT5ohWSPf0Em2AOv0EZ BID89Xjd+12zYp/LwY1vzz51VakT48j+U6RQc98uuaLVvRGrzI1pJaMgoOQw9g6YhM+g IYZhr1svIZflSM7/aadlHZvHZpXvTsdQZB5ueT/L/02xJKN8UEbrvBMCMjk62JJmMiSm Xg17Vgk79ASx3dLKGQmu5wMnJ+LKioMNgAftN/NsE308pNYjStUe5qDxve2r83p1tLDl /7WT4TGJA+GGBcqZymYTCC/gLFAAZEYbwGetcfaqduDn/UtHe8pXUj/WBA/O0kMKP1qY 92rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=r3b3ObwAEyrWfeTyyB3wAvvyfGkoSxU0Tc73xuh3JPA=; b=WfAHmQ5CyGKVpUdXDKmTSqUBsSD3+hQ/1ag0nrRrx08uGTOLbWW66Z9v4h98Cmnzkt m4IyznA8Iz7z7RsIjcmF/mZcNVKgxyEIRDtubNsFXb2xq+NFKolrMq9LJ2lsJ50gzmsS P7KhGFSmi5ww+HQMV8IUKITMdT6iDmfWy9wC17JSj3k0EYEEGqxRjtzyvWAp6NUhesj0 WRfBFd8upc+UHMe8vsFGpFnL+sxPUC4OF04pY4rC3DcdLlVkOyQsKQwWKaHbQJWnivht e013j/+FxlX27Vm+72JwY/GR/agjP4BObsX3LxpruIP/wtqhhwPet/EnQLqdQ968jM2Z g31A== X-Gm-Message-State: AOAM533BQ1S2+k9260BnFFULS6F4G7WOATfmpVo9X2V/Ri3KeAGhQ5jY EgIhFo8c6TkEnZiY9/jsvtyw4Xw2nFfaAw== X-Received: by 2002:a17:90a:f2ce:b0:1d9:a18f:87f3 with SMTP id gt14-20020a17090af2ce00b001d9a18f87f3mr7251685pjb.213.1650990658969; Tue, 26 Apr 2022 09:30:58 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id y131-20020a626489000000b00505a8f36965sm15655813pfb.184.2022.04.26.09.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 09:30:58 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 13/47] target/arm: Use tcg_constant in shift_reg_imm Date: Tue, 26 Apr 2022 09:30:09 -0700 Message-Id: <20220426163043.100432-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220426163043.100432-1-richard.henderson@linaro.org> References: <20220426163043.100432-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Use tcg_constant
|
expand
|
On Tue, 26 Apr 2022 at 17:34, Richard Henderson <richard.henderson@linaro.org> wrote: > > Signed-off-by: Richard Henderson <richard.henderson@linaro.org> > --- > target/arm/translate-a64.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) Reviewed-by: Peter Maydell <peter.maydell@linaro.org> thanks -- PMM
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 537eebbf1d..3de2b27cc7 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -4678,11 +4678,7 @@ static void shift_reg_imm(TCGv_i64 dst, TCGv_i64 src, int sf, if (shift_i == 0) { tcg_gen_mov_i64(dst, src); } else { - TCGv_i64 shift_const; - - shift_const = tcg_const_i64(shift_i); - shift_reg(dst, src, sf, shift_type, shift_const); - tcg_temp_free_i64(shift_const); + shift_reg(dst, src, sf, shift_type, tcg_constant_i64(shift_i)); } }
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/translate-a64.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)