From patchwork Sat Sep 9 12:59:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721089 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp256731wrp; Sat, 9 Sep 2023 06:07:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHANZkhZdO5aiQsude6k8MXeDyIsxoZELE2LX2TeMKHesNu4FjF5yb/3QinKAzfwTl7j2GH X-Received: by 2002:a05:6808:1920:b0:3a8:a4bd:ceed with SMTP id bf32-20020a056808192000b003a8a4bdceedmr6596148oib.9.1694264826713; Sat, 09 Sep 2023 06:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264826; cv=none; d=google.com; s=arc-20160816; b=OKMrvVchnf9Z/dkCw9lteeztttM2L7dstfrwobgG4sTxTu5n/6YKPUKpgsC8z6wW2P og+bqFaGXIwgrfxzWyd0gIa5MW6hk+/6vs1zVPG9OsppkzRla8/4ZU8WkRWnmjYhnohj r1IIVj4enXcH87hfpv/eH+cFOgsZM2Z6gg5OOyvi/veJOTOLUmqyjxXWxUZT6YfQIFHf q0jp8cK+ERdHs5MyiWkyey1EE8upcXNZUwtt/frozad6JUchy8/D2dGVVUQWQAPEduDr aLhc/e6XgmJRIexMVNeM/6xoSnB8Y8KBud8Cg6TAB4ED8mFXdiUzd8INf1Ucj89BOcdN Rasg== 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:cc:to :from; bh=GOeo6Xdd3v8dFvHfdxh0o3RKtD/morAF1c8s1J/1Ag0=; fh=bMaafE1clBtiBaCrlbrbcY1DSEPhhFUklUk4XoVHiPU=; b=L0D4FS32Iqj9zTzIVCwJCL98UmWQCpRZ/AgTHM04MoxgNe000Aooz1jSGi2O5zBBes uH4XmQwnmWTa7cq0ay721ATgCat6IZ8zjHfM92xHNB1FFX3WlQFu9MUwpqz46Zi11BNG BQpH7/DS0UnWXF4yFsjNfPqapd/ApM0ybJkUevLfQlwlcbUWuWJueUMY+dkxsbxA9uft 5mA7VdqAO10Y/A8y2rQM9x5GaS14tqtJYcEr8qqZrd/0GB6S8OJluYtwGrwDI6f40x8T dnD+SEHhEhiroVv+G3dKjar0YzS2UkY10SzPUXr1Bib08Ft2itMYyIN+c2UiwU08tvfu 8Rqg== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id v25-20020a67c019000000b0045097677102si277875vsi.746.2023.09.09.06.07.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:07:06 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexaV-0006wc-79; Sat, 09 Sep 2023 09:01:24 -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 1qexaT-0006rk-Ep; Sat, 09 Sep 2023 09:01:21 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexaN-0002DQ-8y; Sat, 09 Sep 2023 09:01:21 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 00B372059A; Sat, 9 Sep 2023 16:01:16 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id C0BBB26E01; Sat, 9 Sep 2023 16:00:24 +0300 (MSK) Received: (nullmailer pid 353093 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-8.0.5 13/43] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze Date: Sat, 9 Sep 2023 15:59:39 +0300 Message-Id: <20230909130020.352951-13-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=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: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Based on gcc's microblaze.h setting BIGGEST_ALIGNMENT to 32 bits. Signed-off-by: Richard Henderson (cherry picked from commit e73f27003e777fd9b77d13e71c5268015b8ed2b6) Signed-off-by: Michael Tokarev diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index 743b8bb9ea..beba0a48c7 100644 --- a/include/exec/user/abitypes.h +++ b/include/exec/user/abitypes.h @@ -15,7 +15,9 @@ #define ABI_LLONG_ALIGNMENT 2 #endif -#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) || defined(TARGET_SH4) +#if (defined(TARGET_I386) && !defined(TARGET_X86_64)) \ + || defined(TARGET_SH4) \ + || defined(TARGET_MICROBLAZE) #define ABI_LLONG_ALIGNMENT 4 #endif From patchwork Sat Sep 9 12:59:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721087 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp254006wrp; Sat, 9 Sep 2023 06:02:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgEqyKa4WJ45pXpAPkOducbvY+YObCxs/hGgmfEaXnLSLNR6mBsn1XDXq+r0xocstLXz1l X-Received: by 2002:a05:6102:497:b0:44d:5506:c5a7 with SMTP id n23-20020a056102049700b0044d5506c5a7mr2648838vsa.6.1694264546454; Sat, 09 Sep 2023 06:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264546; cv=none; d=google.com; s=arc-20160816; b=FoopfM8zchQllAxoxk6RTOmmz+XOzM++9YFxKCrUZps8L2SLz4Z3OC7LxJWWm+xhmW sF8KJAfQ+e1egc0aoHehTEVgwB2iTZBtpMcdy+azTxQF+4uxsfMEaSWeVAyWEL+ejKex fokPtK/ZLDcc33QbGfKKkWG/g73OupsteKBXuJWIBhmr9c6nJufuawcX9sHSIu5HUNez rdxKWJkHP1M4ecHq1GJStESg4yOy6hs2XLQ4uLRDec+H9zML8S9/G3cCRgfKYITfvppZ 7ha3N+5a1apcBT/mop/CqHOrlcHwkL/vUjBJNTcLGR0RTw1ogAPMBd/6vDJEZ8QWxDbD 26pQ== 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:cc:to :from; bh=3F6aABUxcb8uQCSf9WFdb2bWbh6fezLXZQLdOpca+AE=; fh=bMaafE1clBtiBaCrlbrbcY1DSEPhhFUklUk4XoVHiPU=; b=edG60UuTSTH0+ayzTFjLk8/resyMSXFd44rK7t5B/IJjyVvaEr2Jd9+WpM2zz557sq VKmXdPGGgikXHF/LXgJNughb8kEJ13kECUVldnzktBo2x4eeTklgUgZdlNWm4Q2T5e0o L9lOcU9jb+aovSs0JA8TW9vw+f8AsaidAaYmrQVakm5FzBokGWMkp9Zxi7x0nQd0afUU Ej8qLQE6GUnPBcW7m1fTBtocVgeayUKQYiMMa+ukzoQjqpKx99QkgkOcMMTSIvZ/vFbM pkhb+hTKAK+5JsEZeIiZTPMIbGGLn9L/ariYjcXBQAdWxE/Rgr58yJVnuXTYVjque6Dr yEIg== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id n15-20020a67ac4f000000b0044d3eea8da1si259864vsh.201.2023.09.09.06.02.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:02:26 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexaZ-0006zX-Uk; Sat, 09 Sep 2023 09:01:28 -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 1qexaV-0006xD-Kn; Sat, 09 Sep 2023 09:01:24 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexaS-0002PB-Ap; Sat, 09 Sep 2023 09:01:23 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 20EE32059C; Sat, 9 Sep 2023 16:01:16 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id F00A226E02; Sat, 9 Sep 2023 16:00:24 +0300 (MSK) Received: (nullmailer pid 353096 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-8.0.5 14/43] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 Date: Sat, 9 Sep 2023 15:59:40 +0300 Message-Id: <20230909130020.352951-14-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 Based on gcc's nios2.h setting BIGGEST_ALIGNMENT to 32 bits. Signed-off-by: Richard Henderson (cherry picked from commit ea9812d93f9c3e1a308ac33097021c50d581d10e) Signed-off-by: Michael Tokarev diff --git a/include/exec/user/abitypes.h b/include/exec/user/abitypes.h index beba0a48c7..6191ce9f74 100644 --- a/include/exec/user/abitypes.h +++ b/include/exec/user/abitypes.h @@ -17,7 +17,8 @@ #if (defined(TARGET_I386) && !defined(TARGET_X86_64)) \ || defined(TARGET_SH4) \ - || defined(TARGET_MICROBLAZE) + || defined(TARGET_MICROBLAZE) \ + || defined(TARGET_NIOS2) #define ABI_LLONG_ALIGNMENT 4 #endif From patchwork Sat Sep 9 12:59:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721098 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp262759wrp; Sat, 9 Sep 2023 06:18:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkqZveRoOak6HHBWgHornvouGXLDMNj8nEenu6ju2q9vBhIuJDMr9SlbIFfyPIIA5FBaI9 X-Received: by 2002:a67:f3c8:0:b0:44e:d85c:ac48 with SMTP id j8-20020a67f3c8000000b0044ed85cac48mr5079062vsn.5.1694265520603; Sat, 09 Sep 2023 06:18:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265520; cv=none; d=google.com; s=arc-20160816; b=uX28jHx9QxW2tlISSiWsQ46CGWsenF/ebdzrJzBi8haNbw1X6guhMn64JxnmPlhcRg gUqPojWEL2ZpHPtPzoKMXxZ7mc6FrUoeC5X6v6pWDPuMtUgDR4uy6YrdjB2exgDR+Qmy qGVGQMiz0UEYFdyckGpbH1hNPBKzWHn3LtZk87+NuPS2wdY8kKf0JdNO4KO7xoty13mA eDMy89XNfpQOtLGePJRuLELRiBrM7L8Jb2jClkLVrS1CuG2HvxsvP8FWB+rsM19oOqMu e71m1wkM0S5jZ4MCWBvtLBfscdetJYhEinmwRNjVQyvAUR+9tqlq/+q4i/W/cbZabSfY Yffg== 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:cc:to :from; bh=IATqqqODT0sHsvp31DTxx3fQ9qytytuXXLWv8sA8TaI=; fh=TbI2pklXwlJGmj6m7lZZgI+jTnI/L5qcZuxsjME8SeI=; b=Rgcq+1rNwIm6Ylgoak4uizuatDMlnX0/Kv+SvhuK1nm6nrYHg/YUmZKHeSxvT8kBWz t2+vmBINHBO/juGNtXGj6r7FlQXAcnxG06UgyXAQojrylwZPh6vGYHhLE0Hj19S+DViL AOXCRmWUZgbhAfygO/Zn7J7D0uSMEZdzN72W5OIt6D3Ejz0d1kXCrzMJPkhEKaCMiyLW w+qklyF/fX+21c4IhztFAMRokSwX5tMLwc3SLAhqE/GCD7Jh0qEiCueymrFSE6R3YhEQ EIXl3nAUkBULINa6ELSa6Kj5g6M95QsUMfOwgJ6EL7t3sqACIt4Zd8lcraFExOXiH+kW PhqA== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s16-20020a0ce310000000b00655e15f4d48si113332qvl.241.2023.09.09.06.18.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:18:40 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexbl-0003TC-Ft; Sat, 09 Sep 2023 09:02:41 -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 1qexbZ-00024d-Uw; Sat, 09 Sep 2023 09:02:30 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexbV-0002mc-Og; Sat, 09 Sep 2023 09:02:28 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 04CBE205A6; Sat, 9 Sep 2023 16:01:18 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id C9D0426E0C; Sat, 9 Sep 2023 16:00:26 +0300 (MSK) Received: (nullmailer pid 353127 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Michael Tokarev Subject: [Stable-8.0.5 24/43] target/arm: Fix SME ST1Q Date: Sat, 9 Sep 2023 15:59:50 +0300 Message-Id: <20230909130020.352951-24-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 A typo, noted in the bug report, resulting in an incorrect write offset. Cc: qemu-stable@nongnu.org Fixes: 7390e0e9ab8 ("target/arm: Implement SME LD1, ST1") Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1833 Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20230818214255.146905-1-richard.henderson@linaro.org Signed-off-by: Peter Maydell (cherry picked from commit 4b3520fd93cd49cc56dfcab45d90735cc2e35af7) Signed-off-by: Michael Tokarev diff --git a/target/arm/tcg/sme_helper.c b/target/arm/tcg/sme_helper.c index 1e67fcac30..296826ffe6 100644 --- a/target/arm/tcg/sme_helper.c +++ b/target/arm/tcg/sme_helper.c @@ -379,7 +379,7 @@ static inline void HNAME##_host(void *za, intptr_t off, void *host) \ { \ uint64_t *ptr = za + off; \ HOST(host, ptr[BE]); \ - HOST(host + 1, ptr[!BE]); \ + HOST(host + 8, ptr[!BE]); \ } \ static inline void VNAME##_v_host(void *za, intptr_t off, void *host) \ { \ From patchwork Sat Sep 9 12:59:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721090 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp257119wrp; Sat, 9 Sep 2023 06:07:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEzesd8IQJzg+wyw5SqHgFoegRtTPrNr7P/EkEGCl/nE+4P+BY9n4Q0lPmyLcASu0FCsD8r X-Received: by 2002:a05:622a:586:b0:412:23ca:c9f5 with SMTP id c6-20020a05622a058600b0041223cac9f5mr5340693qtb.39.1694264865064; Sat, 09 Sep 2023 06:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264865; cv=none; d=google.com; s=arc-20160816; b=VqA1bG+J/5zcocymisjiNwfQzQWpNqv2AbtYU1cdIsWpKpZjBqmXXSAkCcsJk8roA8 llqzXyv6isjhhRJHybmvsw7JfGwbzlMlA5h3u2BYr28qWsU1c3whUAwGlzM7fxnQbPg3 Y5RPcY0ZLQuWtJDkGz14x94TXuiGxHr0UqJNh3ixor9PwPMgJDoMjPh8WLwSMGWnaEJr jekvfikIC91INnR5eoa2TUGlfOFqs+q9BodUiwFirom2ZZosYL0t7pC6Wr+OQFewSQXA 7N4dz1TXDKT9nX8FKRvZF6La/p00Uet3xywUUnbAGcYmqPwZFF2xxei5nrndy5Kk1S+V 9eEw== 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:cc:to :from; bh=HEU7gRiKpbrrMvSBQdbAkbZpGYeE7IBVGUpLc5Tpycw=; fh=TbI2pklXwlJGmj6m7lZZgI+jTnI/L5qcZuxsjME8SeI=; b=xSNR7LDZh/X/2F/N9qjBJtSbjr3e/RsIkjURZQxX67ueivkyz6XTWzl9kJJdmVMXhr j/QPcZkduD2VrWTj+zbMMXUtO058loyEUJmidPNBEeepa5mNBqfQJUIUIrAGpb/p7z38 mfMtAxATjjH5es7Sgu0QncMLizkzwPkga7JSi6DSUYixYtYdYA60Xf9GestwOq88t9qn gXPEOwdNln4odNw3dvMqzLjnIBHhLCsTAmtLDr1BZDKJCcU25J96+pN36yGNeyvw9NaY pc6xGbOYJdp/0AgtalVynfUHy9WRBJxOXF7fNr2D3RMbNR0clY+4di0TLSgq/i9m3fff 7Tlw== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s32-20020a05622a1aa000b00410ab79d56esi2532164qtc.444.2023.09.09.06.07.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:07:45 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexbh-0002wW-QL; Sat, 09 Sep 2023 09:02:38 -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 1qexbc-0002Tw-Gv; Sat, 09 Sep 2023 09:02:32 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexbZ-0002nI-QM; Sat, 09 Sep 2023 09:02:32 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 37ACF205A7; Sat, 9 Sep 2023 16:01:18 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id F3CD526E0D; Sat, 9 Sep 2023 16:00:26 +0300 (MSK) Received: (nullmailer pid 353130 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Peter Maydell , Michael Tokarev Subject: [Stable-8.0.5 25/43] target/arm: Fix 64-bit SSRA Date: Sat, 9 Sep 2023 15:59:51 +0300 Message-Id: <20230909130020.352951-25-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 (cherry picked from commit cd1e4db73646006039f25879af3bff55b2295ff3) Signed-off-by: Michael Tokarev diff --git a/target/arm/tcg/translate.c b/target/arm/tcg/translate.c index 1e4d94e58a..e1fe68f73a 100644 --- a/target/arm/tcg/translate.c +++ b/target/arm/tcg/translate.c @@ -3063,7 +3063,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, From patchwork Sat Sep 9 12:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721092 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp257601wrp; Sat, 9 Sep 2023 06:08:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEDyXDV5PEmP8ZZJORI+Ef3sNeyuvjucHask8jbmw6cyfEjftPAhgTGzvvw0cGHVyIgn48w X-Received: by 2002:a0c:cb8b:0:b0:64f:8213:197d with SMTP id p11-20020a0ccb8b000000b0064f8213197dmr4628491qvk.33.1694264910297; Sat, 09 Sep 2023 06:08:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264910; cv=none; d=google.com; s=arc-20160816; b=JSXs3O50Urvl96JD1E9ADebVHsNZWIh4DxSu8n2KQQZI1r8sXYD48yuV0UhCbi0I3E BI7ulnWAc3qfM+8OnIyKvf9tBjdX6zLC8PQBaxNBACrQ9x/vWdKy8fMimOg1r9wcXlRq i37qBPjNREclYE04YCQuJpBPa8IqPgqMx/ARuunrrpMkZgyR1ixytVbk1QNo1IIk/CAz IUycGqm8gg11zmW4CCvZmd7+MhCZllqqNrcJzz222ZrILJ8ATr0CFdBqhsLzT7J+ZEYs 6poXOEkzZj2qYjnm7KzEoNovPxyJ5AEQnqmUqF3wzcrNkw3JmzPQx1QHYhIcXg7/bjVR OtJA== 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:cc:to :from; bh=nwhJvISK0rQpnSHULbC00cEJOnuu/FFfzLkf2B/eWno=; fh=PgLyHC34FdwZ58BDtT1Uv+WTjjblmGAp7eLz3NtGEyo=; b=iKDi52XjmQ0YD8h3faWF4vm9Z5KDCiJZgzJ0HQevqM7L95RzCY+Zkfc1SKUcVB1AlC DPgTWHBuiquVv7VTl/zWui8i1QAkkrPIUjvX2vYLwSVzsKtsmmaKROMeda8ElKK3QDq8 htJKHCYEjHA2W5hzhGiZOuUqP5XziSDjDMvyuoHn07Wz0uZv6AqgGHOdM5z0fPbnouZ/ qTp0/OfJ9aWE/AmYMLEbr1NJ1duABi49YgG0xfKkSEF1FaxTJAXySwwLckYLOHCsMkzm 6UHfwXAxSJ/saw5KakoKvBhqP1nYyIRruYFyhMIb8RsWnTTDwKlWTjxGP7MeraD9by/B mkGg== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bq31-20020a05620a469f00b0076f15035d62si2365380qkb.337.2023.09.09.06.08.30 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:08:30 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexbj-0003EH-Ov; Sat, 09 Sep 2023 09:02:40 -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 1qexbg-0002tX-3W; Sat, 09 Sep 2023 09:02:37 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexbb-0002no-5G; Sat, 09 Sep 2023 09:02:34 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 5E4A4205A8; Sat, 9 Sep 2023 16:01:18 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 3399D26E0E; Sat, 9 Sep 2023 16:00:27 +0300 (MSK) Received: (nullmailer pid 353133 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Dani?= =?utf-8?q?el_P_=2E_Berrang=C3=A9?= , Thomas Huth , Stefan Hajnoczi , Michael Tokarev Subject: [Stable-8.0.5 26/43] docs/about/license: Update LICENSE URL Date: Sat, 9 Sep 2023 15:59:52 +0300 Message-Id: <20230909130020.352951-26-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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: Philippe Mathieu-Daudé In early 2021 (see commit 2ad784339e "docs: update README to use GitLab repo URLs") almost all of the code base was converted to point to GitLab instead of git.qemu.org. During 2023, git.qemu.org switched from a git mirror to a http redirect to GitLab (see [1]). Update the LICENSE URL to match its previous content, displaying the file raw content similarly to gitweb 'blob_plain' format ([2]). [1] https://lore.kernel.org/qemu-devel/CABgObfZu3mFc8tM20K-yXdt7F-7eV-uKZN4sKDarSeu7DYoRbA@mail.gmail.com/ [2] https://git-scm.com/docs/gitweb#Documentation/gitweb.txt-blobplain Reviewed-by: Daniel P. Berrangé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Stefan Hajnoczi Signed-off-by: Stefan Hajnoczi Message-ID: <20230822125716.55295-1-philmd@linaro.org> (cherry picked from commit 09a3fffae00b042bed8ad9c351b1a58c505fde37) Signed-off-by: Michael Tokarev diff --git a/docs/about/license.rst b/docs/about/license.rst index cde3d2d25d..303c55d61b 100644 --- a/docs/about/license.rst +++ b/docs/about/license.rst @@ -8,4 +8,4 @@ QEMU is a trademark of Fabrice Bellard. QEMU is released under the `GNU General Public License `__, version 2. Parts of QEMU have specific licenses, see file -`LICENSE `__. +`LICENSE `__. From patchwork Sat Sep 9 12:59:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721093 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp259732wrp; Sat, 9 Sep 2023 06:12:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFeNKEE9ZhOA7nEBV4badXuQhjC88XShxPP32V1v35wr8Iap8QxbxPCYGfONKHLU07/G80+ X-Received: by 2002:a0c:e08b:0:b0:647:3387:fe44 with SMTP id l11-20020a0ce08b000000b006473387fe44mr4771993qvk.5.1694265158503; Sat, 09 Sep 2023 06:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265158; cv=none; d=google.com; s=arc-20160816; b=VnXdyK8CBXqNSNRhdahZBbvXtDb2vltIIiOrBr9i+uSGwVQEIVh6+eRJfFNBNnUhRe 4KhC0ktgWOubY4/US5as29KGB6GBdFIMtr2FtmW8PBy57RtoaSr0LwVw6FqbYXTP/Pp2 Xo5CQsye7I4UuDv1ipti+4l68wZmk7pchCOXAjo0Yn4pBmv51vkqHMkgOTO7HVQyuWil FS7mmPEXufC5WnkR3dAuUXjOwJ3ytPkv1Y3TAzZbrDAVzCQvnVkx3nCPbrgN+KCWDSsW WYhLIIfmDCzqJZRLRyqbMdJb0/GYYXjx0X/nhLquDswByVDyE3kN7qJqoeCPiAc390eU maAw== 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:cc:to :from; bh=GXYS+sYKiVBy+fSQt1Ot0m54SrGPydYhNArO5/hLc+0=; fh=+D0Ov/H+ewjMrdUrA5bt7T5YdpcG3fBRsCPTLxVLxV0=; b=sj7Pfgi6/SMvSfVJMoypx6QxaHJ9vV0v3zvQUruFmM+urX97fQvFM//9C8hAaaDaPl FiYSGcVnj7fmfNNdSL8/3U7ct0lnLc5XKlP/CdnSTz7WmJWZkD6/KY1j2gf5jSREzX3R ypQ6hDMl2q1RDHcrjq1cBLqoQFb3n3MwfrTlwJVkiUgCjjzw3F4WWmcnvp/h2K6GkdVs jsUlO1p3Ztj29TnMfgUzbwceGm9RA/4oWJA4lQZhZe6MjgkgPUku0c3Wpb5yzTfAdkTx ijVNoJkK8IBW02Dywv0Z3r0YI9p1QnGWYBRZDs4mqoJzLvtclJ+BeUsJKTq0dbokU+s0 i4vA== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s9-20020a0ca609000000b00647fe073b62si2324347qva.531.2023.09.09.06.12.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:12:38 -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; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qexc9-0004jN-Uv; Sat, 09 Sep 2023 09:03:06 -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 1qexc8-0004YE-7a; Sat, 09 Sep 2023 09:03:04 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qexc5-0002wa-L2; Sat, 09 Sep 2023 09:03:03 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 12CA8205AC; Sat, 9 Sep 2023 16:01:19 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id D632F26E12; Sat, 9 Sep 2023 16:00:27 +0300 (MSK) Received: (nullmailer pid 353145 invoked by uid 1000); Sat, 09 Sep 2023 13:00:22 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Nicholas Piggin , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Michael Tokarev Subject: [Stable-8.0.5 30/43] target/ppc: Flush inputs to zero with NJ in ppc_store_vscr Date: Sat, 9 Sep 2023 15:59:56 +0300 Message-Id: <20230909130020.352951-30-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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 Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1779 Signed-off-by: Richard Henderson Reviewed-by: Nicholas Piggin Signed-off-by: Cédric Le Goater (cherry picked from commit af03aeb631eeb81a44d2c0ff5b429cd4b5dc2799) Signed-off-by: Michael Tokarev diff --git a/target/ppc/cpu.c b/target/ppc/cpu.c index 1a97b41c6b..6e597680fb 100644 --- a/target/ppc/cpu.c +++ b/target/ppc/cpu.c @@ -59,6 +59,7 @@ void ppc_store_vscr(CPUPPCState *env, uint32_t vscr) env->vscr_sat.u64[0] = vscr & (1u << VSCR_SAT); env->vscr_sat.u64[1] = 0; set_flush_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); + set_flush_inputs_to_zero((vscr >> VSCR_NJ) & 1, &env->vec_status); } uint32_t ppc_get_vscr(CPUPPCState *env)