From patchwork Mon Nov 11 22:29:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 842472 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp3279304wru; Mon, 11 Nov 2024 14:30:25 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWkdBolo+kFg6zyS8pX7i8/jVsXsGZhPR7QEPzcGnaX0nBDKYKBEgtz8B8WKcbqaE/RenHNtQ==@linaro.org X-Google-Smtp-Source: AGHT+IH25X3ZQA/JoN/lZS3QRbU8jTLzRVA1KcPojgP3XfEhz0sJUBNzDuQzKUqbh1KAKGoV77kH X-Received: by 2002:a05:6122:1e0a:b0:50a:ca33:b033 with SMTP id 71dfb90a1353d-51401bc21f4mr14680715e0c.4.1731364225352; Mon, 11 Nov 2024 14:30:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731364225; cv=none; d=google.com; s=arc-20240605; b=ZnzRcQNi/R+FcgB3Xu/0M9cYAdLNP0WFlQs83e9FtVC2Sc+/MLCwtEq2QNi1fRqlfP cLmUXEQbz8KeeGAf3FESqGvCrIgWHGiJ+9UwmXm2Zj8/keyqlSXExEgF5a8UrsDrjG+S wAjS1nkpcPootxlO6WGtLm0eUG8h6XueEUeQKY+lYXs2xiUvVKH2Qi6jiOmA7yFPJQsG cEacz3vIJflt+Q712BqAoNmgzHvQ7AYUZXwpagCmRrBWB+1P2HgEkL+k0YxmxvTc/V32 qVh4cChcnnktnu8YEXwyzcS51WB7yyf8Hl9B1LohbWVAiwcXiKu7tSiyLJ3isFcmeJGM uRpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=+DQF4+IgvYfgWsDX+XzRu7OiFqnoAvW8JYRiJKK9t94=; fh=WdOMqi+mMWTPbyv9g4lBEW2+KD8lR6qro4shJvzHTec=; b=eQ26OMGD1sheR02Ku1UISFA+WlQX85jJAeuH9bhJRdGyxQZdtCEs+5pvXSSP5TrAeA wC5/uGAdpyd7zM3zBoaK3exstluYh5gYwvX5p0MJ/kFZCO/FO58UlE8SdLtnhzM9DToi 8TuPQqi8SlopMT7km3zdItDZyl9i9vhsHXneiOtDJe9db9zmlPwuOClYl27bzgMmAJLV 3Kt/fPMmhVbyXVw82fIqLrZQoo6qiFI8BRRfn/uVt3Yun3369m/aavmsANIvNI/li6IX KjIgVq39TjoPIzkE4x29aHOyA5v5pgWAhtKq0mlVMD1XXQF/oSQX43mf/wFw9IwMrr3h oJFg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BLNszspl; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d3966b2704si118832536d6.476.2024.11.11.14.30.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Nov 2024 14:30:25 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=BLNszspl; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAcun-0001Ge-SI; Mon, 11 Nov 2024 17:29:45 -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 1tAcum-0001GU-B3 for qemu-devel@nongnu.org; Mon, 11 Nov 2024 17:29:44 -0500 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAcuk-0006i3-Sg for qemu-devel@nongnu.org; Mon, 11 Nov 2024 17:29:44 -0500 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-37d3ecad390so3483647f8f.1 for ; Mon, 11 Nov 2024 14:29:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731364180; x=1731968980; 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=+DQF4+IgvYfgWsDX+XzRu7OiFqnoAvW8JYRiJKK9t94=; b=BLNszsplYeKuCfS/tVnROaiRRLv1g5PqJgIRpDzowYLr2DTyBF+2c9fngRUAdViNqm 4KNaIcIMo2cUyvEsZAXPtmc1CtQjUBg7hBqBImr0NUI4WwdrHnYI2AOuL5mwI/05Gzar lMb1x63iJ67pypmWy5ib89Z8SSUV//8sI46zWrrO0rSIwcf3appEZ0uM8jBdgX5z2dZj FPXq6F02oclP1Qomq1Ei1XoasUNnLiQ2AnYARK+a1wMS1Kqo3MbSQUJD7a7bpD+qxiCf vRNoJY9ZIbi/RSnhL3DnielB2vmWshiRK/Kw4cOIjbbP5ZTpzonJlNWBcxtB6Lk7wx2n hZNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731364180; x=1731968980; 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=+DQF4+IgvYfgWsDX+XzRu7OiFqnoAvW8JYRiJKK9t94=; b=qrTncn6c16WMeTzbGJUWTai0rOygcgHAAF0eYvkrzk55STQCKRWbzaiwuBcVbopRIA P4WVf3ckaKjLVsDrH0AM65iV5bE0nOVOxjil7pL3t0vCSMe7DQojLLxtfKDYZGZahS+v Ozvazha/AfJtOCd43Ra/UxMM8SVrA1+n3x9FXPB+RJu4Vmw223BOBPpyFK2+VKcv7cg5 bussA11/MST3sL0IcpiUrR+JcTlkJ7U4AQq5bNsyrEc0Ne8ZnN840ExUyW9KqYu+46vh 4fMg+rpZ4YUNLcyTgaFIo7uF97zFNdfXPgpUkBwyiS4MMvKo7apDPzyvNsX7z+fT95TW Skiw== X-Gm-Message-State: AOJu0Yx7aUBjBkw3ODBfpu1MalrYzKOgkZ7p+s2DDlrIa2ediPSoPngS Y3FU6379CyFQU6gVRy3GDh83EEhGNcaV9GDuhU9SN4dCNpr8vkpnTuTYS9Ad5lxudKLb9IgyAUG C X-Received: by 2002:a5d:47a8:0:b0:37c:bafd:5624 with SMTP id ffacd0b85a97d-381f0f85819mr12514850f8f.25.1731364180295; Mon, 11 Nov 2024 14:29:40 -0800 (PST) Received: from localhost.localdomain (vau06-h02-176-184-43-163.dsl.sta.abo.bbox.fr. [176.184.43.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-432b053051fsm187695435e9.6.2024.11.11.14.29.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 11 Nov 2024 14:29:39 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Pavel Dovgalyuk Cc: Aleksandar Rikalo , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Aurelien Jarno , Jiaxun Yang Subject: [PATCH 0/3] target/mips: Convert Octeon LX instructions to decodetree Date: Mon, 11 Nov 2024 23:29:33 +0100 Message-ID: <20241111222936.59869-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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 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 Hi, Few old patches lingering on an old branch I'm trying to rebase... Extract gen_lx() and call it via decodetree. Trivial IMHO. Philippe Mathieu-Daudé (3): target/mips: Extract gen_base_index_addr() helper target/mips: Extract generic gen_lx() helper target/mips: Convert Octeon LX instructions to decodetree target/mips/tcg/translate.h | 2 + target/mips/tcg/octeon.decode | 8 +++ target/mips/tcg/octeon_translate.c | 12 +++++ target/mips/tcg/translate.c | 78 +++++++++++------------------- 4 files changed, 51 insertions(+), 49 deletions(-) Reviewed-by: Richard Henderson