From patchwork Thu Mar 10 20:27:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 1604115 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=IyMjYUn+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KF10D0J17z9sGF for ; Fri, 11 Mar 2022 07:30:20 +1100 (AEDT) Received: from localhost ([::1]:36680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSPQQ-0002Zm-4K for incoming@patchwork.ozlabs.org; Thu, 10 Mar 2022 15:30:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSPO8-00087h-Im for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:56 -0500 Received: from [2607:f8b0:4864:20::1029] (port=55242 helo=mail-pj1-x1029.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSPO7-0008EU-76 for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:56 -0500 Received: by mail-pj1-x1029.google.com with SMTP id b8so6278105pjb.4 for ; Thu, 10 Mar 2022 12:27:54 -0800 (PST) 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=z0nTGi36Q6kY2XhTWFaFoUNK+G34o+/T62xUlFxQppc=; b=IyMjYUn++pL9X5VfODVSGDopyKpSxSia8jhxaOnmnh2AvYCbNZy8g7+LL7X1HnIANf BlqiWrdLyHu2MyOKaoEZzQpJvjiQDeSP/FcWhKCURBX4wh1ou+C5P2gKdz0YMnCazncQ FKo7n6Z/g3o1av/5wNQ8wick/FsGwUYLLV6KjdBDz7+mByGwMwKt9ObY7jmK/9q9fxQa J0gsyOzpYJX3x5Ppz/h1GxMFROCTmfbMqTNqqQqfxsXHZtvs+D7fIRBFMDgVUy51LkQJ dclvYvZIpy0XFmkZDL87XjV0S4uwmIj8NRac0TsjHabnSKNBhwviHYsadnNJB+oJn7dk eW1Q== 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=z0nTGi36Q6kY2XhTWFaFoUNK+G34o+/T62xUlFxQppc=; b=Ump9biKERLRJ/yaTUrtHgXI5fCKEwNQjLYpBqG0GIbl7PgPtJUjzJ7OoKfBm1eWn/7 zYwJE9GiZl7dXfDzrtZTi9qIj51zS28t1d/py2y8ovajXlf5tGNYV0WjxyGI+o5EsPyo BsrucpTgQBUvXwFsfxI3SFxAGQ0533yImA7EY1dLQqev2m5Imzpt54wv38VnUrgicTSS qrzyjozZ1kP8iwDhroAq/T4iv9X7lippkzx5coUl9niMginVfHRC3yKyjWFff5UNm90s x6Rb86Zr7K1HMv0jOeen0KakknoqTSACqkEpZ0PyMcItzd/aW+fi2YMpx0iji1yh4GQ4 Cymw== X-Gm-Message-State: AOAM530cJn/r5OZbdLFerXVVl1avJ8eRe3vFS5gyXYP+poONRm0rDEBX CGbZLBcIA14pAxQCBfkA8nxrBAyweNkhIw== X-Google-Smtp-Source: ABdhPJyp5n97hhS47JAgZSj6Ql/2LKAl6PsRpjAwEqPMduGGgKx82X2nxf7fMcbp6wx1+HayRNUPkQ== X-Received: by 2002:a17:90b:1809:b0:1bf:7e9:bdf5 with SMTP id lw9-20020a17090b180900b001bf07e9bdf5mr6991317pjb.52.1646944073750; Thu, 10 Mar 2022 12:27:53 -0800 (PST) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id l9-20020a655609000000b0037589f4337dsm6399938pgs.78.2022.03.10.12.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 12:27:53 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 1/3] tcg/s390x: Fix tcg_out_dupi_vec vs VGM Date: Thu, 10 Mar 2022 12:27:49 -0800 Message-Id: <20220310202751.594961-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310202751.594961-1-richard.henderson@linaro.org> References: <20220310202751.594961-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1029 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1029.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: thuth@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The immediate operands to VGM were in the wrong order, producing an inverse mask. Signed-off-by: Richard Henderson --- tcg/s390x/tcg-target.c.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index 6e65828c09..508f1bccc7 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -2715,7 +2715,7 @@ static void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, msb = clz32(val); lsb = 31 - ctz32(val); } - tcg_out_insn(s, VRIb, VGM, dst, lsb, msb, MO_32); + tcg_out_insn(s, VRIb, VGM, dst, msb, lsb, MO_32); return; } } else { @@ -2729,7 +2729,7 @@ static void tcg_out_dupi_vec(TCGContext *s, TCGType type, unsigned vece, msb = clz64(val); lsb = 63 - ctz64(val); } - tcg_out_insn(s, VRIb, VGM, dst, lsb, msb, MO_64); + tcg_out_insn(s, VRIb, VGM, dst, msb, lsb, MO_64); return; } } From patchwork Thu Mar 10 20:27:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 1604116 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=I5Th7J3R; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KF11H5Nmbz9s5W for ; Fri, 11 Mar 2022 07:31:15 +1100 (AEDT) Received: from localhost ([::1]:39024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSPRJ-0004Dr-Q0 for incoming@patchwork.ozlabs.org; Thu, 10 Mar 2022 15:31:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSPO9-00089E-G3 for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:57 -0500 Received: from [2607:f8b0:4864:20::102e] (port=41639 helo=mail-pj1-x102e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSPO7-0008Em-UO for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:57 -0500 Received: by mail-pj1-x102e.google.com with SMTP id fs4-20020a17090af28400b001bf5624c0aaso6310287pjb.0 for ; Thu, 10 Mar 2022 12:27:55 -0800 (PST) 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=B3xcTA+wkvrIgpyo95I1q6jiSwwgZ6r49IcgTrclRMY=; b=I5Th7J3RW8Ztk1SpZaMiJ43ac0JIXrLjDTgASYIvs5LWTlVr+zWW/D1N2lTYJoegmm 77RpTsW+WH2H4kVffcwgLWcwTpePvU/Bq1SPTIKYQuFaC0L2hNmGcGu5NWX8vPCl5UoY WE5U6oinZOHoGPZRKfLmgAtvsQ6ncTzoFzbjBhVMcK/93HOd/9NtTkHgSgohOMqCmMWD 8RWluwXa9/brkFaEmGBAlTCxLaEJamMS+Y0r/nZl9DT+jUyG5uLt8LBD/cwgGxuHcvel +0cvmci57vhveivocFtiq7XpGj0XMjpUXbP8kiNx8HafERUvf69p9fXGdmib//SLngkP Hfcg== 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=B3xcTA+wkvrIgpyo95I1q6jiSwwgZ6r49IcgTrclRMY=; b=f7fgQxthbQGd/DiTE/2QSjqfDtjuq0yJvaqjeh7lUk7Ay7V+2e0ysX0SuHjEY4FswG zRN9Oy5krCSfKjXTxdt/vX6ZVa5Wdt/O30Og6tqf9CRgWwzFO8REzx/b3ESyL/Ok/t6C nMn8BlE+gBSpHO3VuiBH/N2i9jEjyiIcXLNRxHoFE/GxzK3a30u28NAq4T1uOhlcoVYa inYePy66SJndgdEG5nENOIcD6qLvzm3u0hakiS3Br1/U+fsif5YrDSSU3/MHK2apxFmB SlxNMOx4XwyuUcetztXF8BwAn3lFym1HmT1SgqtyTy3kgJSo++vk1MYuS8nhKG9bWRo7 vwJA== X-Gm-Message-State: AOAM530e7ceu0L20UIEDYPmXhmfc6IjQ1coCm4oVKQSSK/w3V9wVF1yh qZ1gWMOqiS7hs8bxWILaqgOA8iMb22EvZQ== X-Google-Smtp-Source: ABdhPJwejvbBn8poiHxbtJFRDmhOTw37bcTkZtXYvp8/irAdGYkpj9ugAKHV2d8EcFLjwcidJTGbjQ== X-Received: by 2002:a17:902:c9d5:b0:153:2161:dff6 with SMTP id q21-20020a170902c9d500b001532161dff6mr4309817pld.95.1646944074698; Thu, 10 Mar 2022 12:27:54 -0800 (PST) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id l9-20020a655609000000b0037589f4337dsm6399938pgs.78.2022.03.10.12.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 12:27:54 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 2/3] tcg/s390x: Fix INDEX_op_bitsel_vec vs VSEL Date: Thu, 10 Mar 2022 12:27:50 -0800 Message-Id: <20220310202751.594961-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310202751.594961-1-richard.henderson@linaro.org> References: <20220310202751.594961-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102e.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: thuth@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" The operands are output in the wrong order: the tcg selector argument is first, whereas the s390x selector argument is last. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/898 Fixes: 9bca986df88 ("tcg/s390x: Implement TCG_TARGET_HAS_bitsel_vec") Signed-off-by: Richard Henderson Tested-by: Thomas Huth --- tcg/s390x/tcg-target.c.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index 508f1bccc7..3b185b3c96 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -2868,7 +2868,7 @@ static void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, break; case INDEX_op_bitsel_vec: - tcg_out_insn(s, VRRe, VSEL, a0, a1, a2, args[3]); + tcg_out_insn(s, VRRe, VSEL, a0, a2, args[3], a1); break; case INDEX_op_cmp_vec: From patchwork Thu Mar 10 20:27:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 1604112 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=XADrHLso; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KF0y1443dz9sGF for ; Fri, 11 Mar 2022 07:28:25 +1100 (AEDT) Received: from localhost ([::1]:32788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSPOZ-0008Hm-J8 for incoming@patchwork.ozlabs.org; Thu, 10 Mar 2022 15:28:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSPOA-0008CR-Gg for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:58 -0500 Received: from [2607:f8b0:4864:20::533] (port=38813 helo=mail-pg1-x533.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSPO9-0008F7-27 for qemu-devel@nongnu.org; Thu, 10 Mar 2022 15:27:58 -0500 Received: by mail-pg1-x533.google.com with SMTP id 132so5669280pga.5 for ; Thu, 10 Mar 2022 12:27:56 -0800 (PST) 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=DPs3qyT+uZfNbgHJhAl1/at2oy1K0HPub76v6Xk9tE4=; b=XADrHLsowmHz98IKHJNxqQqL/8yVgU837I20LdtVu7rGvRbLo5QR4yBT2Akn5phbLz gJcuk+qFT6DiR5gDu1GllUEFmmJwQ5f9VOWwhcyWw4dFbo+Wv2ZWSY2rJjFme9+5exy9 xDcmC3EYG7ETHBTaBSVWI1F7Eyd+eleEVgG9ljTSy2U/e4JCFuUD35S4IkYIuC3B4cMk QhuB3JggC0tS/GFdktIAn9/RouJ3j1QG6KNoCwx7fcreriTMH2PDrP2gCeVWbBfHSBBG /yhmHxXd4dHpLosyTfRhr9asDbcrziQ0CMRBUlzZhm+QnrPwp9x2qMrPA801/z3zBaDx nw/w== 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=DPs3qyT+uZfNbgHJhAl1/at2oy1K0HPub76v6Xk9tE4=; b=DRIm6l3cSNiXmiRQPdK28OAs80FpIGeTIuaPGmgFDU51fEy9XpbspxSZG/0/louJF5 ilExDixQH9aYAwkuu1uXVJvOLfmZztZAfIho9DPPXUsZ7Eb51jpZujej7ujQRWCbd4fA tRyT+F9vICpiue/umzRu4mN0jQlho6IaZvTyQhEHToJ5pFN1LumO77UUnl4XV6RGVoH2 owIWE0XdeBYIup/G9eFdCXAmG9dpma6l+B9CvrKi2VFzaBsqiCIcnZ/LAgsDexpvKzwM CQlQjIV1ffez/s13J9XCrHTo1PV4n/mSWZaibgu0DCs2X0KKjYFCRiPrQRSr6PxlKsaG ZHDQ== X-Gm-Message-State: AOAM5315KAikf7WaKnYKDueZig268zZwk7XqQ+oPmwnjY69CZwkT5HAc UWp4IZ790IWHbbQ8FrQYQjzFEi6IGziDFw== X-Google-Smtp-Source: ABdhPJxbM8ceOLskwWXwt4cxn3Ke/++cyMxFALnDZ8ITxqWtz2c1Q2+C/UY/X8Nv1Va4rV/BfvpHbQ== X-Received: by 2002:a05:6a00:ac1:b0:4f1:29e4:b3a1 with SMTP id c1-20020a056a000ac100b004f129e4b3a1mr6822755pfl.63.1646944075789; Thu, 10 Mar 2022 12:27:55 -0800 (PST) Received: from localhost.localdomain (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id l9-20020a655609000000b0037589f4337dsm6399938pgs.78.2022.03.10.12.27.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 12:27:55 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 3/3] tcg/s390x: Fix tcg_out_dup_vec vs general registers Date: Thu, 10 Mar 2022 12:27:51 -0800 Message-Id: <20220310202751.594961-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220310202751.594961-1-richard.henderson@linaro.org> References: <20220310202751.594961-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::533 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x533.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: thuth@redhat.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" We copied the data from the general register input to the vector register output, but have not yet replicated it. We intended to fall through into the vector-vector case, but failed to redirect the input register. This is caught by an assertion failure in tcg_out_insn_VRIc, which diagnosed the incorrect register class. Signed-off-by: Richard Henderson --- tcg/s390x/tcg-target.c.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/s390x/tcg-target.c.inc b/tcg/s390x/tcg-target.c.inc index 3b185b3c96..33becd7694 100644 --- a/tcg/s390x/tcg-target.c.inc +++ b/tcg/s390x/tcg-target.c.inc @@ -2675,6 +2675,7 @@ static bool tcg_out_dup_vec(TCGContext *s, TCGType type, unsigned vece, if (vece == MO_64) { return true; } + src = dst; } /*