From patchwork Thu Aug 24 09:28:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 716514 Delivered-To: patch@linaro.org Received: by 2002:adf:f747:0:b0:317:ecd7:513f with SMTP id z7csp1236018wrp; Thu, 24 Aug 2023 02:29:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0sal2msXv6pIFmOAvE9h9SSxhvujnc3fX0U8C+VwwTKU76yGh8XYyhZzWj4WPqyIq+qnE X-Received: by 2002:a05:620a:17a6:b0:76e:e9b4:ff44 with SMTP id ay38-20020a05620a17a600b0076ee9b4ff44mr3546907qkb.67.1692869397301; Thu, 24 Aug 2023 02:29:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692869397; cv=none; d=google.com; s=arc-20160816; b=UnRr61Wg9+QIOPiVHdgNmGWKPKTA3BSUduGLcrl1wGgMEgqFMBC6inX99aX1xZq14P ehAgIETDY0KDexungptGJeNHkp/V3T9ydmWVIfM2JemYkppLA+AI9m8pWI18dfJSaRJb R/i95MP3It13YfWW4BbRWPYXoEv3za5h6bXR1Lili8udWaQ8wnn0LdD6nT1Qn6PSfEAm 7/spOuSc0amdwn5KKj1H8aIXHB94WWaGioZXAiCbQIxjHvyOl5uT6SQIWgubDWPBwFRp mthbhKmyEpP4SHmiA7JpX6W8QKQTUBwiettAwRIjVlTTZKuUQy8enc+3sGReYhenDwa2 HWwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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=Kf9yPg8uZfo9VqqhLVaMYdusDTk1ucSU7Tw3bTGKmGA=; fh=bFDrUYhlTVi/QyetgXx/byg2+yO/22Hp9SjwoefyKLk=; b=i3M5WDT/xe/QmGrTr6g5adA4EZiXeZlgj3s/vu2X5KSgWT335vttSr1+eO58bH+gEf gsQDm79ilQjFL2O2uJDJ/wiKeaiDaififE9DAq8pSPAoLYI6UPEua9S3uueUbYAIM0Up Or1yKbEG4pfm2nK0fq82R2AvBWLU5LhDw3oMRAuJQIj1QPamcoEs7K1QZq8vzQ8tZVKf p41iMPyNz43zttA74DxcqGRkvWfFO7qC6l40OrRm8RH/zyY4ewPaPKsV+q8vMyVEiVnu a++6hmd5cVX2sFxy0egwIS5naz0vvKnYajbp12VCTQh2/dBhnwHtf8VfawGolsyuVMzP kz0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uTn++Ink; 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 v20-20020a05620a441400b0076ef0254161si475808qkp.465.2023.08.24.02.29.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Aug 2023 02:29:57 -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=uTn++Ink; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZ6eu-0008GF-7h; Thu, 24 Aug 2023 05:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZ6eE-0004WZ-Hu for qemu-devel@nongnu.org; Thu, 24 Aug 2023 05:29:02 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZ6e9-00052c-MP for qemu-devel@nongnu.org; Thu, 24 Aug 2023 05:29:02 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40061928e5aso11356115e9.3 for ; Thu, 24 Aug 2023 02:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692869335; x=1693474135; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Kf9yPg8uZfo9VqqhLVaMYdusDTk1ucSU7Tw3bTGKmGA=; b=uTn++InkXrsFkIq+qczpIaQ/r+S58a0KIbvGBsRkOGrlifp8izx4+y3YkryHa6DNxc cM1hFfNvS9/1mUQeFSriSIHXo+Pp5euUpg7D8WINJzW7LukbNZpJo1c4apx6bvhhPzLC +dlw7cubL9xRs3JLb1wgdsBhJzPLa0iRA6bcyzI4Ww1k3cOT9mR99mJmsvJCN61bGHlN 9O5RM1uGktt7F7ZIKfu1RCpVQRPYUqBRXcNe2sypXs+GTAmjBbESd30ZxxdYDcJOHvo6 qY0zC70P7Z0vv/txwSytXOF/qkUtFzdDn+RxRpbJYb9N0kZ8/7VPBXFdtNjP+3LJDi4e ms2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692869335; x=1693474135; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kf9yPg8uZfo9VqqhLVaMYdusDTk1ucSU7Tw3bTGKmGA=; b=gZk7F6Ov022CLs66F5ZTiJmBjvpgRB14elcCLn4KYETKtrNg+v4rNNRj9G3B29hKox 4yr5ckPwxsaG5VQHaHHtAzjfdL5D4EMZsy5V9Pl/ZkWIfyzYDbw9MGFxGLyxz6pXD15P rtYFzz+FqQUn1Pno6U7lR0Dxk8c9cw4TLBOnx5/5RCOxEwUJqictgfRD0lGqX9vSprV4 4H+kfxh0/LPzlF95OMyMOW5uY0SgIRIK+RpszdEOu9pu2ViHbCbR3jCcPGI5FM2mXIV9 SJaVTvHwEtcgEWomA7kOrRKvYMRgnSP006jsEJXhp6yGOkReJKG9zR37tVYs6qCMv468 dHTA== X-Gm-Message-State: AOJu0YwJA32mtvCmL95MRgvPaKhJ+t5UtsYrizuhc6d/tTQAwnJ8zKxQ Q6olnz0cMqQ+J3aXPReDD0oH3qFTUR8THa4S9ks= X-Received: by 2002:a7b:c408:0:b0:401:aa8f:7565 with SMTP id k8-20020a7bc408000000b00401aa8f7565mr587689wmi.34.1692869334923; Thu, 24 Aug 2023 02:28:54 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id s12-20020adfeccc000000b00317b5c8a4f1sm21844004wro.60.2023.08.24.02.28.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 02:28:54 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 35/35] target/arm: Fix 64-bit SSRA Date: Thu, 24 Aug 2023 10:28:36 +0100 Message-Id: <20230824092836.2239644-36-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230824092836.2239644-1-peter.maydell@linaro.org> References: <20230824092836.2239644-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32a.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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Typo applied byte-wise shift instead of double-word shift. Cc: qemu-stable@nongnu.org Fixes: 631e565450c ("target/arm: Create gen_gvec_[us]sra") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1737 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20230821022025.397682-1-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- target/arm/tcg/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/arm/tcg/translate.c b/target/arm/tcg/translate.c index b71ac2d0d53..39541ecdf0a 100644 --- a/target/arm/tcg/translate.c +++ b/target/arm/tcg/translate.c @@ -3053,7 +3053,7 @@ void gen_gvec_ssra(unsigned vece, uint32_t rd_ofs, uint32_t rm_ofs, .vece = MO_32 }, { .fni8 = gen_ssra64_i64, .fniv = gen_ssra_vec, - .fno = gen_helper_gvec_ssra_b, + .fno = gen_helper_gvec_ssra_d, .prefer_i64 = TCG_TARGET_REG_BITS == 64, .opt_opc = vecop_list, .load_dest = true,