From patchwork Wed Mar 6 17:19:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 1908939 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=meBHOYZK; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TqfN52ktdz1yWw for ; Thu, 7 Mar 2024 04:20:53 +1100 (AEDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhuvu-0007js-QD; Wed, 06 Mar 2024 12:19:58 -0500 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 1rhuvj-0007iP-NA for qemu-devel@nongnu.org; Wed, 06 Mar 2024 12:19:48 -0500 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhuvc-0000Z6-Vh for qemu-devel@nongnu.org; Wed, 06 Mar 2024 12:19:42 -0500 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1dcce5e84bcso57548295ad.1 for ; Wed, 06 Mar 2024 09:19:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1709745577; x=1710350377; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=wLXOia9WWzJH14OQRTLdgyENAN2T6Zy7YhqGv1dojD8=; b=meBHOYZKIO1W0Mz4gJoEh2giNbzW8J1DmwcAsKY3TfBhDasJngXvlDEb13xqCT4FuC ylBAKmObPpUtHLv0ExWzKSgemckS8c4CvLocYbEGuv3ICWSxR8nu9WtGWifMvMJclZWY 4WO8/7DEbEkzn0Fws3DCaYoJKLlU6yW2Lx0W+WhZ/iPDm6qgqpcZ/z565stWcU/pLbZv mubYggqk8VEyKuzCpsQETPh4s3nektYsi8DZlWBr4mV+DtY4aMQI/p4O7J1j9R0M66DD m1ADAiwuyYUjQkpZGQDOAJobMSPIIJ+e23Lt5m7zNpWRRIf03DtKveL9YZR2NbMaNfOk fA9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709745577; x=1710350377; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wLXOia9WWzJH14OQRTLdgyENAN2T6Zy7YhqGv1dojD8=; b=A7qVT+ZkcsU+9PilUe5EhjOeJW/ZcJGlYE907vGLp5muqGWM/MklJ/2HyrZx4vgzvh f5Ub86YCqsSy3zxuE2PnIFWoNdZpKEzwqOoZ+/dYGjxy79r/X18mfEnAewlzh+5Af/5a Q699hLNHOsHvIcRd1N0cMGjdq3NDBG4FS71UF5v1N1deBhZPZK850XVppnbRAn3fxFsg spIuK9vuSnoHSqlu3etuUpiFGLvbrzPCBIF4UxCVbEEbpJIZM3kED/zBqlkr2OekypLV ypk2ufp4QFjZzn7goRuXXqhSly/wAn1bYKpxSxp/dFPL+We4R7OBOs4uTDZsMdXL6zrD pnYw== X-Gm-Message-State: AOJu0YwpfbfbY4n0K3MvccLm+0iAHMY0bbEIRZBAm8307AughMPRugCk 8cG2uAtSv6r0xfVITJykPs/pHKGbkBlLVwbdw7L8Sb3sUfQmGPE+HtQ/R+y+SVx3/ksQ4BSSkYN r X-Google-Smtp-Source: AGHT+IElfrT3spqns261wfqI0ps0asdYqfqhpfbeT67u7dHbhhkJ7Mb6FF0Wio9LGqhq9g48KpR4LQ== X-Received: by 2002:a17:902:a389:b0:1db:cfa0:4045 with SMTP id x9-20020a170902a38900b001dbcfa04045mr5384194pla.60.1709745577382; Wed, 06 Mar 2024 09:19:37 -0800 (PST) Received: from grind.dc1.ventanamicro.com ([177.94.15.159]) by smtp.gmail.com with ESMTPSA id p17-20020a170902c71100b001dbb6fef41fsm12869712plp.257.2024.03.06.09.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:19:36 -0800 (PST) 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, Daniel Henrique Barboza Subject: [PATCH v7 0/9] riscv: set vstart_eq_zero on mark_vs_dirty Date: Wed, 6 Mar 2024 14:19:23 -0300 Message-ID: <20240306171932.549549-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=dbarboza@ventanamicro.com; helo=mail-pl1-x62d.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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi, This version is rebased on top of alistair/riscv-to-apply.next, fixing onflicts with the Ztso changes in ldst_us_trans(). No other changes made. All patches acked. v6 link: https://lore.kernel.org/qemu-riscv/20240221213140.365232-1-dbarboza@ventanamicro.com/ Daniel Henrique Barboza (8): trans_rvv.c.inc: mark_vs_dirty() before loads and stores trans_rvv.c.inc: remove 'is_store' bool from load/store fns target/riscv: remove 'over' brconds from vector trans target/riscv/translate.c: remove 'cpu_vstart' global target/riscv: remove 'cpu_vl' global target/riscv/vector_helper.c: set vstart = 0 in GEN_VEXT_VSLIDEUP_VX() trans_rvv.c.inc: remove redundant mark_vs_dirty() calls target/riscv/vector_helper.c: optimize loops in ldst helpers Ivan Klokov (1): target/riscv: Clear vstart_qe_zero flag target/riscv/insn_trans/trans_rvbf16.c.inc | 18 +- target/riscv/insn_trans/trans_rvv.c.inc | 283 ++++++--------------- target/riscv/insn_trans/trans_rvvk.c.inc | 30 +-- target/riscv/translate.c | 11 +- target/riscv/vector_helper.c | 7 +- 5 files changed, 99 insertions(+), 250 deletions(-)