From patchwork Tue Apr 26 16:30:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 566056 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp3780957map; Tue, 26 Apr 2022 10:11:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx53U2nAbiMA2FlMY6VykJJJguSOX70vBhzEJTnMAx+1k27mKiSN1KUcEVU4QebxQ1QA0gJ X-Received: by 2002:a25:b982:0:b0:640:df8e:fb76 with SMTP id r2-20020a25b982000000b00640df8efb76mr21398882ybg.0.1650993088353; Tue, 26 Apr 2022 10:11:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650993088; cv=none; d=google.com; s=arc-20160816; b=WwE1WYqII0yeq7baPwlxB9Pdj8mzVwCruG0bt6le8+rOqgkvMsuJ+oU0Ah2bHYuF9R cVpu5QKOJ1lKEgmsObYbxa+qZ2J5nKMc5BaYGzHxcbMhpgJsTPjdAoPcNJYKE2L/O1QZ N1Hh5lE7XhyN1+la/CRseUQzndXdawzitWCMnnmwWyywqK/rEnUfI4o4aWJDY1qBg9IA /fhWM72KcHUB8SZcRXhKY83AKKdqFc7vgUtP8bXOKynL3jb6a7ZmZekIh/HBCc79kvNJ LfAcPy/RN6w1EF2nrdfPyGO61go62IeNhHoOP3T1iicBTkJm+/utFuI2oSswSBht/owg JV7w== 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=H4dw0wU4hRrzI7CX28tAX+ygbbypPvm0F9qWYTV7tlw=; b=ypj2ldcZBKyiYDJtTTg9wemUpUD+6urT2nxYZwZ/4DOmJvigw0CzaYeG8PGwzDjlUu 9FWAoCkT5AYBaJH/a7VqMTHq3osbBK2Eu7paPWFRsMVZNHynZPX+6SlKXogNFMZEnd+R zARCJRzwBekexZd/iKJieIl1owMt/VBROrISV82V9Ee83asaAZjWBm8VMX+198VQHKTz u1eLzbAAV4SPP0RaMOGO8BIsY3ZNlXijKkht9SugKkzo/WR9Vb9CxW95szSDxUaSXH5e EiU26F5+Hf3jR+Gq12iVKJRuoQAg9H+427FNpdjYlhNJKoHH3Gg80A2++CRu+7NVCmx2 yOTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YGdso500; 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 g9-20020a816b09000000b002f4dedb6775si12758594ywc.192.2022.04.26.10.11.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 26 Apr 2022 10:11:28 -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=YGdso500; 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]:49014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njOil-0001qa-S7 for patch@linaro.org; Tue, 26 Apr 2022 13:11:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njO8y-0002Hl-9S for qemu-devel@nongnu.org; Tue, 26 Apr 2022 12:34:28 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:42617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njO8w-0004MF-Nb for qemu-devel@nongnu.org; Tue, 26 Apr 2022 12:34:27 -0400 Received: by mail-pj1-x1036.google.com with SMTP id l11-20020a17090a49cb00b001d923a9ca99so3017781pjm.1 for ; Tue, 26 Apr 2022 09:34:26 -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=H4dw0wU4hRrzI7CX28tAX+ygbbypPvm0F9qWYTV7tlw=; b=YGdso500f13kwaIq+1w+dTAfJ0zbpkcaGBnGSxJR2Z4F2LzYF1QS2YFQWh02iFBACX pD84iY0GsQBUyIqaOODVVcSr+RM0w3f+oQB05BDOr0qpqryR29FfKJpvlxGL92xD6Rdc X9GaAjlcvo3ChvLSv2qJMN+054ZKSw9W9vZraSELi02qsD6LPMngH5RjSLGsop2s9IEb TKTJKXm2ozheC8pt/IwJK11ESS61/zY3PIzFrVXBbRv012O0H/9kQGQLGWKOx4EJ08xl cue+vGGAkY4sZBYONyHxjm0fX9b4LyH7I3ZUG5uIQnCtR7l4GlXNUzse6zmtIg6UMK2I HpWg== 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=H4dw0wU4hRrzI7CX28tAX+ygbbypPvm0F9qWYTV7tlw=; b=aPkOchiLWXUHdK5pPcDQJTAJY/DYVWfMzJHsopMFf2SxLlexRdZyi4h1O9Pind6Bm0 c/ZxTfbrNBpsDhyRht547oX0SEwr5xhy6w4Ph7HQFuemlfOLoJUgEa6uRVMoVCePpM1A VUlqcNGpxl9dc6Qg4n6yfjRoRqE3S3XGl6TURuOKSprjp27yipOh5JcJOE2uH1QuGGpN KIBMYxBSJH2xXvozJ/j6mnhC95a7p/UGxRwAsZcHZFI2D73CPobNGk7/wX5LjcdbaN+A NjI5kcFY26dqBvhyDI4ZER6mAs22+FIOUvIn4LEdpXTUKIn9GE96ntYTMrNXCAXFixU2 adbg== X-Gm-Message-State: AOAM531WAZxjA66k6CUKaNmsPqBoyIAvG9o2fkhUJIN7NdEtsTYkskNW +ZnZbFg4xYydE+3G7waPi65U8l0LqJJ4JA== X-Received: by 2002:a17:902:bf0a:b0:15c:df1b:f37d with SMTP id bi10-20020a170902bf0a00b0015cdf1bf37dmr19018074plb.90.1650990865408; Tue, 26 Apr 2022 09:34:25 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id a13-20020a17090acb8d00b001d953eb2412sm1132834pju.19.2022.04.26.09.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 09:34:25 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 43/47] target/arm: Use tcg_constant in SUBR Date: Tue, 26 Apr 2022 09:30:39 -0700 Message-Id: <20220426163043.100432-44-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1036.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/arm/translate-sve.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index fcab15a6ec..92339a19e3 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -3830,11 +3830,9 @@ static bool trans_SUBR_zzi(DisasContext *s, arg_rri_esz *a) } if (sve_access_check(s)) { unsigned vsz = vec_full_reg_size(s); - TCGv_i64 c = tcg_const_i64(a->imm); tcg_gen_gvec_2s(vec_full_reg_offset(s, a->rd), vec_full_reg_offset(s, a->rn), - vsz, vsz, c, &op[a->esz]); - tcg_temp_free_i64(c); + vsz, vsz, tcg_constant_i64(a->imm), &op[a->esz]); } return true; }