From nobody Tue Nov 11 00:22:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; spf=pass (zoho.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=1559824210; cv=none; d=zoho.com; s=zohoarc; b=ZFmMQOWRyXVEdDHqyo5EHTAG+XNEHpL7GiONtHkW2F2I4RNlTyMtyVHq4GAwE87+qtfYXUkEuzq59yaSktkGFaJic1R2CMMPHzh4hlFgWoLA86jj9MPowMr9lpn8FvpYY5feT9mW1NdJyOIZrv66JPZMmlC9ogqtuv19T9GUzuY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1559824210; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=QQ4lkUT/z4OX8SAJVmltr4LLzoJy7iAvnOfsadrN7bs=; b=f2+fORem9STSt/AK/yo/t1kcXste/l0SYZ/5ZnchR+9VBkuaFPUIl1FcUl4qKToSBG8y7h9eFW2nQ4272B45UCLFfNFquiin36wKpnb/fs/+QYwq4m/JzJA8rXR40a+bOvc/2+S74iwB04X145S6+92bDxFHlLill4tA/AAvF60= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.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 1559824210316629.2233180052624; Thu, 6 Jun 2019 05:30:10 -0700 (PDT) Received: from localhost ([127.0.0.1]:59743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYrWq-0001bk-Op for importer@patchew.org; Thu, 06 Jun 2019 08:30:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYrSA-0006LC-1U for qemu-devel@nongnu.org; Thu, 06 Jun 2019 08:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hYrS8-00062I-T3 for qemu-devel@nongnu.org; Thu, 06 Jun 2019 08:25:09 -0400 Received: from mx2.rt-rk.com ([89.216.37.149]:33387 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hYrS6-0005oH-S6 for qemu-devel@nongnu.org; Thu, 06 Jun 2019 08:25:07 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id E9F4A1A217B; Thu, 6 Jun 2019 14:25:02 +0200 (CEST) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id C77DC1A2199; Thu, 6 Jun 2019 14:25:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Thu, 6 Jun 2019 14:24:33 +0200 Message-Id: <1559823880-29103-4-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559823880-29103-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1559823880-29103-1-git-send-email-aleksandar.markovic@rt-rk.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PATCH v2 03/10] target/mips: Outline places for future MSA helpers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: arikalo@wavecomp.com, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Outline places for future MSA helpers to follow the same organization as in MSA tests. Signed-off-by: Aleksandar Markovic Reviewed-by: Aleksandar Rikalo Message-Id: <1559745316-1454-7-git-send-email-aleksandar.markovic@rt-rk.com> --- target/mips/msa_helper.c | 138 +++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 138 insertions(+) diff --git a/target/mips/msa_helper.c b/target/mips/msa_helper.c index 851450c..7b73e22 100644 --- a/target/mips/msa_helper.c +++ b/target/mips/msa_helper.c @@ -42,6 +42,144 @@ /* Element-by-element access macros */ #define DF_ELEMENTS(df) (MSA_WRLEN / DF_BITS(df)) =20 + + +/* + * Bit Count + * --------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Bit move + * -------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Bit Set + * ------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Fixed Multiply + * -------------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Add + * ------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Average + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Compare + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Divide + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Dot Product + * --------------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Max Min + * ----------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Modulo + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Multiply + * ------------ + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Int Subtract + * ------------ + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Interleave + * ---------- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Logic + * ----- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Pack + * ---- + */ + +/* TODO: insert appropriate helpers here */ + + +/* + * Shift + * ----- + */ + +/* TODO: insert appropriate helpers here */ + + static inline void msa_move_v(wr_t *pwd, wr_t *pws) { uint32_t i; --=20 2.7.4