From patchwork Sat Sep 9 13:04:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721094 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp260231wrp; Sat, 9 Sep 2023 06:13:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5UotwJsp1/IMOCBsHjjqlgWqntQx3TZrCzJuOVzW1rX0zo9C41Oc7/8m+ORzvZOkEtP8O X-Received: by 2002:a0c:aada:0:b0:635:e113:a0fd with SMTP id g26-20020a0caada000000b00635e113a0fdmr5026377qvb.33.1694265217318; Sat, 09 Sep 2023 06:13:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265217; cv=none; d=google.com; s=arc-20160816; b=l3hQlfjBwVOFeVNB5apXoz8HgSKmHE/ZxIvWi4llijjjy8XJUdT7uqHOHxAuqnlKBB 33OpMHH9e1opeOpog8I77Db8ypGONtPBRxns9vSisC99lCkApf7Z22CXqhTVhq6RifVA uDUhERFL50F2I1TfjPr4kkeCrKtRgkoO/XMMVm08IUYI1uSBmAl374OWnWuCCWLoqqM2 GTdA6bIKcOfHVPO1XqnHubLt3KpIiTdYqaGzjH3GHAvwyNlJu+5M6pmGVN36QiGfac6e bV0ex+m71B5lMgl7PupjBC0tzmfMvkcmrjQ+BZKFetvA6RPk3EBfUKmzdzfA3qUwpaHJ ol+w== 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=fliWBOZobIcJT3dR0LYvE40mUoAB4w0K9css72H/Z1z/ra55a/utgt3+BMuQ+EyvWq uuu7ovzazi/IUAV864jumjixidjayE/PWgeZNGjjo85NZdPP+MF8zjfcDaF4cSm4fMBh DnqwgORh+LJqzyAmrG9e60FU3glvERdLvZSDjQTRYSj+lo7mByp7RSaPoVDzjeSpQj+a De+AUC8F2d1HT2qKPpH55KlzqPjbPFy8UsBReiWCLfqCIsthuWCvNyRCjLnsFRPTsBO+ Sng61HGsbSOLZem09Lw/mnnGH4CWyak3My63T0Is6BefkNUC3yZC8G+h6eLX/fZb/0p/ mvlg== 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 t15-20020a05620a450f00b0076cb26a4d93si2462074qkp.233.2023.09.09.06.13.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:13:37 -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 1qexeb-0006fO-3x; Sat, 09 Sep 2023 09:05:37 -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 1qexeZ-0006eT-G7; Sat, 09 Sep 2023 09:05:35 -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 1qexeX-0003Xu-8f; Sat, 09 Sep 2023 09:05:35 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C84F7205D5; Sat, 9 Sep 2023 16:06:04 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 8D80526E28; Sat, 9 Sep 2023 16:05:13 +0300 (MSK) Received: (nullmailer pid 354284 invoked by uid 1000); Sat, 09 Sep 2023 13:05:11 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-7.2.6 08/37] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for microblaze Date: Sat, 9 Sep 2023 16:04:38 +0300 Message-Id: <20230909130511.354171-8-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 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 13:04: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: 721088 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp256637wrp; Sat, 9 Sep 2023 06:06:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGDzZsTo83TKJLEr9gqwtNXkSCL6NmPAxZKY84tgN/n8YbPzNSjySaprofkok298Yv1r7Uk X-Received: by 2002:a05:6102:537:b0:44d:476b:3bbd with SMTP id m23-20020a056102053700b0044d476b3bbdmr5192914vsa.0.1694264817550; Sat, 09 Sep 2023 06:06:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264817; cv=none; d=google.com; s=arc-20160816; b=IoqMz8kT/452I2kAKQtOMDwQaTp+xe543po7jNqZ2gQbpjkl6lKJt/CYwolcto14Zj vO6x3GkFFx6tGl8zA1r3QGH4fstMU/ksIdJbUIbxPTwu3zfyfbH/tJVJ3x8frknDsQW1 FkE83KM2YeXJ+X7CvO6cvVDj2fCUbSlz8nTMqHImq6ci5N9/Zw2pOleucmEm53Y14Fek bJQxWbYy1hnp2hq4BQPKh/lnGnniXSOkz2aOKlFZ84foCRw3e/ydkVuzmW+tqsLmks83 2kdPQ3rl0FR0aqZsePpy+uQz3cNVaVi82TZvvhSwBU6D3vRjVVpE3Y1JJQw5orXsc/tx Bp4g== 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=r6NAGBC/DFVEEFxTC6adodDj20EpjGggu9SpmiS+k0YgwI3rHONKIGWscemPYHoWcK fuu8qWReKZnQ09Tk95Y23Zg+ppy+GsdFOdmDCmAgUxC/qdgNBqNvcFHEBRAL1RwRyn2t l2Gef5WR+DgxSZBEVwLY7AN99O+ZBAJWa4SK/QM6ErcVU9GyOlcLTC3KKLpeWHKkbQo1 rqR6rqhAnAmKfz6Paq6lcdMKQu1LaO0SembfIQz3OtsO48Tx/BFUjtC/3rOldN7aqyRs dVeL+zJzQrxByMvcmpXjxFWjI+V8Oh2sl4LC/NNUI2Ztfg4cWJZ/CBNL5PP98cKEEYao ASNQ== 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 t4-20020a67f144000000b0044d591cca16si270174vsm.602.2023.09.09.06.06.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:06: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; 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 1qexey-0006jJ-Mm; Sat, 09 Sep 2023 09:06:00 -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 1qexeu-0006ie-KD; Sat, 09 Sep 2023 09:05:56 -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 1qexer-0003Y2-Oz; Sat, 09 Sep 2023 09:05:56 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 01248205D6; Sat, 9 Sep 2023 16:06:05 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id C262426E29; Sat, 9 Sep 2023 16:05:13 +0300 (MSK) Received: (nullmailer pid 354287 invoked by uid 1000); Sat, 09 Sep 2023 13:05:11 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, Richard Henderson , Michael Tokarev Subject: [Stable-7.2.6 09/37] include/exec/user: Set ABI_LLONG_ALIGNMENT to 4 for nios2 Date: Sat, 9 Sep 2023 16:04:39 +0300 Message-Id: <20230909130511.354171-9-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 13:04:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721095 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp262156wrp; Sat, 9 Sep 2023 06:17:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW73rqI1w7iquUemYjytMdttOOF9eTdaV3ol222s7wM4bYPRcMp7aaQ3dNvpgBhAcXgM4s X-Received: by 2002:a05:622a:42:b0:412:1e0a:772d with SMTP id y2-20020a05622a004200b004121e0a772dmr6335750qtw.12.1694265442786; Sat, 09 Sep 2023 06:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265442; cv=none; d=google.com; s=arc-20160816; b=JmXwAUfaC84RXNQ+YU5CJJ37ZC0X5l132I5lf/rU6z/vpSckocjcGGQkjIwYD3Z+TA GKvqXGRWr+neZ4gU0ZLG5/76E9b9o2awORG26xhBRXs1tmcV+GXWmKkW/MCJ+9qeItS/ j2RtqxY5bWhLFeAQOTm0m9ZKpSxA5B8lOgkCkaEGFbUtXfp1SxLZ1z3+C1JNbHvCNKUS 4OT/i2VEGp7UcZE1anvOeI/X59ogbEki/OZlH5Qef+PoOu1C5iPpLHXgL3PMPy942f7w +5PHKAaFSHOVciAp8XCkGx9nymQMys6I69nUNFg/v16ZgdPagSO9Wn0vGy+E3BmMiifK sg4w== 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=YsJ+m3/wB37nN26mgnj7MAPffBJSJCYYcx7DOmqTRF4=; fh=TbI2pklXwlJGmj6m7lZZgI+jTnI/L5qcZuxsjME8SeI=; b=w+ia9ud7GuVzbz7aQoUzqs7Mq559b0a6sd46irXPEYVfabgPkltGYmLWVuSwsF5Zxs WUoWR2rz6QwiIWYdgCGnmFcqgS831wVpwThBAHwc62WjMBQGgcjTB/85Yv5jQH30CP3/ OBKZ0Aqr3Q1GE7zaR8t5pYd43b78pbnnUkM0b2AZzUkAU6MC9cFlgZ8hXlm3d7N9fcYw rD5Mbdth2M4nEmKof8TJ0xEs93MGmnuOI0PfO23e0zhePBE1PGS3IHCG46Vnpy37DvuS kcIV7LxT3FPuBlcvMnFAfeCxFjh3qEV496DRozXgM/YV99v+0zkuA3fGjeRBuFour0vi f5kQ== 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 e7-20020a05622a110700b0040335d4e09bsi2454598qty.19.2023.09.09.06.17.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:17: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; 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 1qexfZ-0006z5-S2; Sat, 09 Sep 2023 09:06: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 1qexfY-0006y5-A0; Sat, 09 Sep 2023 09:06:36 -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 1qexfV-0003fv-Oa; Sat, 09 Sep 2023 09:06:36 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 22821205DF; Sat, 9 Sep 2023 16:06:07 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id E0E7026E32; Sat, 9 Sep 2023 16:05:15 +0300 (MSK) Received: (nullmailer pid 354314 invoked by uid 1000); Sat, 09 Sep 2023 13:05:12 -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-7.2.6 18/37] target/arm: Fix SME ST1Q Date: Sat, 9 Sep 2023 16:04:48 +0300 Message-Id: <20230909130511.354171-18-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/sme_helper.c b/target/arm/sme_helper.c index f891306bb9..73dd838330 100644 --- a/target/arm/sme_helper.c +++ b/target/arm/sme_helper.c @@ -412,7 +412,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 13:04:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721091 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp257184wrp; Sat, 9 Sep 2023 06:07:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9LwbErJi/zlIDzU+fB5GUEVIsdaHZTJMVWadj80i+Hl/0B+/BA+qWs7gsERBJvGbV9SuD X-Received: by 2002:a05:622a:14e:b0:412:2ad4:fa1e with SMTP id v14-20020a05622a014e00b004122ad4fa1emr6509149qtw.27.1694264870492; Sat, 09 Sep 2023 06:07:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694264870; cv=none; d=google.com; s=arc-20160816; b=d+u00opwRnoopPCrriR2Z2B17j0TB15RLEjeWP4HmhJ+XPZ/6oKx416vB6RR2Ul99k mRDuqVEiXFjOm/v4mh6Zi+akqbSiosrbplg39xpOWV6zOQOM+Udo5gZXT+hmwEmHJ4CS BR5Ctxp01HsMACzjRKVo2AzKwcsEFYaTWu7qoDQwz69uUDT8ftqBQ9DegeslWC7HPfAX wNlw+PPlKuyLE9q4vjYCkY8zssT4XxoRegItWGxoE77ULegNyxD5Ov+NcR87Hnrmfp+/ vgK/Vc2bphTqiFf2U/Y6svtLq5kvF7A43rBkHXE76IN+Qw2/I/jz6vSr5cgTU4YiPUU2 MHbw== 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=NSuAMsNlusbignfykaUvVe73kwIPm2g6ubH39RW06b0=; fh=TbI2pklXwlJGmj6m7lZZgI+jTnI/L5qcZuxsjME8SeI=; b=DVw8n3no9342/OFjtRPLBxlI3VdVnQ9ZCq7+/gGb+7Xs63YzwBLdQKyw7qVj3cdLdA YFvCWrCgZ9wRFv4DH+2fvcjTjigdp1bgbQWzrLlzylZ2Kymivb6CYLMlrg4GI9vX/iAC vjL0FaGG3RTw7I8VnK/tckMvDQU288XxLYMDn23RMBRT8sK8Kn49nQwDdJdu0Q5hKMSk jdtr/E4HHH3Nv6Cbk7QAmT6PVO6PrCOe6R1j5t6ffqcmocc1sYwydmUqOgMtG6XPNbTd OLl59pcSx9D38pJxJbDbCKbrGgNjB97QO7NwYi5o8F1oClpHpEGZoqM2NrcMBR0hiFD4 9SPw== 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 p7-20020a05622a00c700b00403b977323dsi2493084qtw.18.2023.09.09.06.07.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:07:50 -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 1qexfw-0007jI-Jm; Sat, 09 Sep 2023 09:07:00 -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 1qexfu-0007es-P2; Sat, 09 Sep 2023 09:06:58 -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 1qexfs-0003gd-5j; Sat, 09 Sep 2023 09:06:58 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 527CB205E0; Sat, 9 Sep 2023 16:06:07 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 1CDA826E33; Sat, 9 Sep 2023 16:05:16 +0300 (MSK) Received: (nullmailer pid 354317 invoked by uid 1000); Sat, 09 Sep 2023 13:05:12 -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-7.2.6 19/37] target/arm: Fix 64-bit SSRA Date: Sat, 9 Sep 2023 16:04:49 +0300 Message-Id: <20230909130511.354171-19-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/translate.c b/target/arm/translate.c index 9cf4a6819e..10dfa11a2b 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -3138,7 +3138,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 13:04: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: 721097 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp262504wrp; Sat, 9 Sep 2023 06:18:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFI1KQukB7/pTr3aHYc3+Iv27BfW+gKxfJ4NWpx/3FGcrj6Kfh/O7yh+PMI/5upr/OZ/w5S X-Received: by 2002:a0c:cc92:0:b0:655:99f2:6bd9 with SMTP id f18-20020a0ccc92000000b0065599f26bd9mr5262031qvl.7.1694265486540; Sat, 09 Sep 2023 06:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265486; cv=none; d=google.com; s=arc-20160816; b=XDZDZIC4FhdKbb7bm5+sb656jDRczem3fH5UFGTVy+fTtQ+f1iNJLuIY1T1EkXM281 MHzi5yO9TLO7/xphLwQEPqJDE2yNQgQi9wbLFvmxL1vVvj8KJyw5pFJLpBCphNg/jV/I ark1seXSWUhEozH3ZQFJHI9naPQzKUVtXKLZr+60pzrayd7+CXjsUKEhjYHsK4mW4WrD WelRjaLt/V6tbsl8ZhpPaCzhVjpNnozS0kx7u6O8zT1e4VyMQyyu3Zpd3lBcQDk8lQB3 gumBBQ3rfyzkAbsdSzQx455ArVjE4MImLXtwtvvctyoMkAHgY4nbl/nSYlhZuQkKpg0q VcaQ== 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=zAL0WQKxEqU6MEFe6pKICHZvYdna3gqiRuiFxs/AmOzdsdkzAncKCELCDkLuF3lCsU oG120kVxLRHofJI9FqMvv6A/bd+fiG8A56rC3g3XSh49neC9jwrFd0/rweC3Izq6App5 CVFBSCJqCbJfPUKlM1N5Yab7QrOMdbYg+lv97MeNCQ3VswR6xcBRCMk8SGVrBMUQ8nzc xj5jAAMB+tJjCn7C8Yc/+5o0lW+dSscO/AqM2NxyY52g1ZXMmqvLLOfIBjfeI9QJHg2i zgxCYzetIN2FIPe1Np2OsvwGq4QgE6T/2R5lP1moQS93aQ3WR9hrpHdZRsKTY1DBJoeO vUYw== 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 h3-20020a0cf403000000b00655d728bf75si958838qvl.518.2023.09.09.06.18.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:18: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 1qexg0-00080d-7Z; Sat, 09 Sep 2023 09:07:04 -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 1qexfw-0007oo-U5; Sat, 09 Sep 2023 09:07:00 -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 1qexft-0003gv-R2; Sat, 09 Sep 2023 09:07:00 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8F8E2205E1; Sat, 9 Sep 2023 16:06:07 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 49B9326E34; Sat, 9 Sep 2023 16:05:16 +0300 (MSK) Received: (nullmailer pid 354320 invoked by uid 1000); Sat, 09 Sep 2023 13:05:12 -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-7.2.6 20/37] docs/about/license: Update LICENSE URL Date: Sat, 9 Sep 2023 16:04:50 +0300 Message-Id: <20230909130511.354171-20-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 13:04:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 721096 Delivered-To: patch@linaro.org Received: by 2002:adf:f64d:0:b0:31d:da82:a3b4 with SMTP id x13csp262159wrp; Sat, 9 Sep 2023 06:17:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEW53PhHRjcF4maBKxabqZYQuZGGPvAt8dfQWlGxNsgKRL0OJ2uo1rhjCeMBYLVEX92vt32 X-Received: by 2002:a05:6808:23cf:b0:3a7:2efb:cb71 with SMTP id bq15-20020a05680823cf00b003a72efbcb71mr7493660oib.25.1694265442820; Sat, 09 Sep 2023 06:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694265442; cv=none; d=google.com; s=arc-20160816; b=zl7++In55m5fjLTVIGBuaDfhFF0td9C1f5mbTJ/3WV8pz04FIaC6QdI1BMFkh23Nht laFTGzDcfh0CwVn8R5b9XRoq4WI3Yc69lzZvsRvfr2qAj5quWqCJcn5C80hSkolkZ8NB WlElo3mPKj8khC5L5w5NJ9KKmbKeL5sI0JmA2BQAsrL130cajv9KBdyurdWQzVpCDG7K 5CINsjaqjPM+Ohu8fNZ9p6SoymO4+vBIO3o7woYH+ji/JzChZw3geAbkV6RuA5jgpFIW elAOkHzOZn36uy5xpRgVH7NIseZHlkz45vbYhWW69knTieN75r7DtlE9/92IsndGHbth 9Wbw== 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=nXfbWlnH3DGc8PcFFjUQiFwTeDkEGUJrtFVxWUOfQROWDQYfRlIYiF4hY4CBaChqju lBziK2gIO1NYchXMMOTvNxNfvVRyGaLybeHiyPVGD6oVXoriQKUcbkNKKpQ9Zrp3KeWa XtTmatqrbKfTgAjgUmNeNw82F/6GWSICQhoWuDaW7Qb8piw18bx2cbDuXtnPLp9o0FR7 XyCaIMjbs8Ywwf3zePCI25Eb3MAEbeMRNkCKMD8xLL3OeEbB7GqoQFZVvClbvE1BHs0x sB+2cKBFVolVgMiagyS1yTWDM0F4MCW3GqXVRg+NWPFHi5bJtGq3crTQhvGA3VpO0uZg HmMw== 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 d22-20020a05622a101600b00405435d6c52si2535879qte.393.2023.09.09.06.17.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 09 Sep 2023 06:17: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; 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 1qexgR-0001uP-BU; Sat, 09 Sep 2023 09:07:31 -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 1qexgP-0001i5-3i; Sat, 09 Sep 2023 09:07:29 -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 1qexgM-0003jR-HO; Sat, 09 Sep 2023 09:07:28 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 798C1205E5; Sat, 9 Sep 2023 16:06:08 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id 3611826E38; Sat, 9 Sep 2023 16:05:17 +0300 (MSK) Received: (nullmailer pid 354332 invoked by uid 1000); Sat, 09 Sep 2023 13:05:12 -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-7.2.6 24/37] target/ppc: Flush inputs to zero with NJ in ppc_store_vscr Date: Sat, 9 Sep 2023 16:04:54 +0300 Message-Id: <20230909130511.354171-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 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)