From nobody Tue Nov 26 06:31:20 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1710165694; cv=none; d=zohomail.com; s=zohoarc; b=DOea3J85NCr3lenRhQogMDI++2wYkmDa53Aut23AysVJSS4X2u+WeJcv7GWXxDnP6W2LdW+rFQLxPLNpxY0U5iM4GmGzIC6E5MAa4qS6fQwqCy+OgVLVxY9S4N3iNM8Gbbe/8WyPAuAwFa/0Lh8sQ01egzzPRA616vjn6VW88dc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1710165694; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=8PUZYN/jxC55WgIbgr/YDIPnxwzEfC4uN3+8U/WL+Ts=; b=XI6D8U1lxsPOqXNfp3wEIuxILrqNoenrlzw0PpMHGJYxLICgVTtgg8VPcWbC4iYEIy/7wmaZJLLtOylWXJmxUMR11cUWA74R0kxxC3jZhX+66JJJncDAF74PU1aDNDRXpSicnZODSJEkmNCuDgiNQbtSTmvYvKDpdgGh7x/iZ/U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1710165694617829.4125355432094; Mon, 11 Mar 2024 07:01:34 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjgBa-0005ED-6Z; Mon, 11 Mar 2024 09:59:26 -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 1rjgBL-0005A4-UN for qemu-devel@nongnu.org; Mon, 11 Mar 2024 09:59:11 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjgBK-0003bx-A2 for qemu-devel@nongnu.org; Mon, 11 Mar 2024 09:59:11 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-5dbd519bde6so3687329a12.1 for ; Mon, 11 Mar 2024 06:59:09 -0700 (PDT) Received: from grind.. ([177.94.15.159]) by smtp.gmail.com with ESMTPSA id nm3-20020a17090b19c300b0029c12fa64b9sm1324920pjb.4.2024.03.11.06.59.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1710165548; x=1710770348; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8PUZYN/jxC55WgIbgr/YDIPnxwzEfC4uN3+8U/WL+Ts=; b=N/UVGD2pM/qw2DyZc0j9TsrB5jZ19HEEkkuHJyadQbRDY9mleM6EVK2s3od73gY83H NkDyKGQndNKb3DtxhNAjm1vntcfy+DOMqHawm5W7MklHTym+3oReY9UK7lY0rY6+iM1j DotRO+U66WWeKTsXoAREnH1pfAvxaVTzudZ9KU9dPdJdMEhAIXBO/JjESD1k2PiTNA50 bP1YjwZ+J0y1V6Myy1v0x+kqOvbE+2Cu9o/sJOS0BfqzBPyHhU2a64f+QuWwcNxGyxz5 eQUPEr5zhYiXqd4Jk+G4bxyoOVD4gal3+7bsYbAvzMumjS1IB+hip4t8LFyHkiqHRFCL zX5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710165548; x=1710770348; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8PUZYN/jxC55WgIbgr/YDIPnxwzEfC4uN3+8U/WL+Ts=; b=KXpxm8jUiM3Md485jf75XJUm/70BJ8tdkAjLa5G6gLr5XNHzQ9SDPsBXPezMz7LOe5 agQmMtECLoEqdlGwBEFBwM17hQ2u0Nxg6v44mybdrfnor4QF6rbd0EL87+yFvMLArZqm 7s0GCB1mTQAGbAERJJcHAqxbDsdsAaFIEDyAFaq6eMgHdMleNv/d8LVVjAUPf5u3Rar/ tOojPn+GMZTnuADscgw0757NxbMnntMJ1f/vaQUF/YRDObWYKuKt1VBCvyxfMRmbashu 7xMoKn62Q49Z8yKaxr3VEzWH2iKxsBijyIeAo7Bzl9llWM8iFTmfCd0uQrNjya65e2Gs TP2g== X-Gm-Message-State: AOJu0Yyc+kDCQBe9vxVxVOalybaxZI8Fem865Wr8N+aN2sTttYdIrbBI cJnZEUpRkv0nyWAy++APGGOqpzEXU/ScrRzpItYv0UTRI7M9f4uoNayIc2kNqUx8TAYJG80FERl p X-Google-Smtp-Source: AGHT+IETVT0UDqgwO63GGjCDlmdvM/j34+YEwKBmBsqum4mn0CF6PTKEIn09KvB0ZUym4bti1O4rYg== X-Received: by 2002:a17:90a:9483:b0:29b:b9ef:7345 with SMTP id s3-20020a17090a948300b0029bb9ef7345mr4832350pjo.26.1710165547934; Mon, 11 Mar 2024 06:59:07 -0700 (PDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, richard.henderson@linaro.org, philmd@linaro.org, Daniel Henrique Barboza Subject: [PATCH v11 1/7] target/riscv/vector_helper.c: set vstart = 0 in GEN_VEXT_VSLIDEUP_VX() Date: Mon, 11 Mar 2024 10:58:49 -0300 Message-ID: <20240311135855.225578-2-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240311135855.225578-1-dbarboza@ventanamicro.com> References: <20240311135855.225578-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=dbarboza@ventanamicro.com; helo=mail-pg1-x52c.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=unavailable 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1710165695435100003 Content-Type: text/plain; charset="utf-8" The helper isn't setting env->vstart =3D 0 after its execution, as it is expected from every vector instruction that completes successfully. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis --- target/riscv/vector_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/riscv/vector_helper.c b/target/riscv/vector_helper.c index fe56c007d5..ca79571ae2 100644 --- a/target/riscv/vector_helper.c +++ b/target/riscv/vector_helper.c @@ -4781,6 +4781,7 @@ void HELPER(NAME)(void *vd, void *v0, target_ulong s1= , void *vs2, \ } \ *((ETYPE *)vd + H(i)) =3D *((ETYPE *)vs2 + H(i - offset)); = \ } \ + env->vstart =3D 0; = \ /* set tail elements to 1s */ \ vext_set_elems_1s(vd, vta, vl * esz, total_elems * esz); \ } --=20 2.43.2