From nobody Wed Feb 11 03:06:35 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=univ-grenoble-alpes.fr Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1639413787722703.7717547003521; Mon, 13 Dec 2021 08:43:07 -0800 (PST) Received: from localhost ([::1]:59240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwoPq-0003Ck-Mi for importer@patchew.org; Mon, 13 Dec 2021 11:43:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwoLg-0002yY-AZ; Mon, 13 Dec 2021 11:38:48 -0500 Received: from zm-mta-out-3.u-ga.fr ([152.77.200.56]:46206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwoLd-0003Xh-Ln; Mon, 13 Dec 2021 11:38:48 -0500 Received: from mailhost.u-ga.fr (mailhost2.u-ga.fr [129.88.177.242]) by zm-mta-out-3.u-ga.fr (Postfix) with ESMTP id D7414402FC; Mon, 13 Dec 2021 17:38:39 +0100 (CET) Received: from smtps.univ-grenoble-alpes.fr (smtps2.u-ga.fr [152.77.18.2]) by mailhost.u-ga.fr (Postfix) with ESMTP id C07D560066; Mon, 13 Dec 2021 17:38:39 +0100 (CET) Received: from palmier.tima.u-ga.fr (35.201.90.79.rev.sfr.net [79.90.201.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: petrotf@univ-grenoble-alpes.fr) by smtps.univ-grenoble-alpes.fr (Postfix) with ESMTPSA id 9044314005C; Mon, 13 Dec 2021 17:38:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=univ-grenoble-alpes.fr; s=2020; t=1639413519; bh=zwYQGveedQZ6qCLzSyubR6sZG021WHOxUKMx/6y7pUE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iTbxSyd+GXfB11zCBsZ6SGuHH+W7E5ZHVncd5llDYiQbtOakSIyvJhR6bRYvWHdpK G1x0l4PqVGZAui82ru+18DrAZUEno/10N1Sf7ZWuRhDcKTscyNps9wTQXUulg5wOel x1wQekTYQViMZWbmpsclDs1UkNAB0tDWEQraMS7iLo+1VYliLWjnutN4KsJeOvSVGu hO7yed7ivThwQ0Lmo0XYYjBEHE8ICwrkc+PwZ2txEHvub8czbc7M+VDE+eshcvnGWg KirskX2uUCm3QGihJ6r5UDrnaUFPtOZcOTL/Wxat/3uHkMMQk8rFcU0cksf9DcTDcl mDtEB1xj+soMQ== From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9trot?= To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v7 02/18] exec/memop: Adding signed quad and octo defines Date: Mon, 13 Dec 2021 17:38:18 +0100 Message-Id: <20211213163834.170504-3-frederic.petrot@univ-grenoble-alpes.fr> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211213163834.170504-1-frederic.petrot@univ-grenoble-alpes.fr> References: <20211213163834.170504-1-frederic.petrot@univ-grenoble-alpes.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Greylist: Whitelist-UGA SMTP Authentifie (petrotf@univ-grenoble-alpes.fr) via submission-587 ACL (42) X-Greylist: Whitelist-UGA MAILHOST (SMTP non authentifie) depuis 152.77.18.2 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=152.77.200.56; envelope-from=frederic.petrot@univ-grenoble-alpes.fr; helo=zm-mta-out-3.u-ga.fr 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_MSPIKE_H2=-0.001, 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: , Cc: bin.meng@windriver.com, richard.henderson@linaro.org, alistair.francis@wdc.com, fabien.portas@grenoble-inp.org, palmer@dabbelt.com, =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9trot?= , philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1639413789414100001 Adding defines to handle signed 64-bit and unsigned 128-bit quantities in memory accesses. Signed-off-by: Fr=C3=A9d=C3=A9ric P=C3=A9trot Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis --- include/exec/memop.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/exec/memop.h b/include/exec/memop.h index 72c2f0ff3d..2a885f3917 100644 --- a/include/exec/memop.h +++ b/include/exec/memop.h @@ -86,28 +86,35 @@ typedef enum MemOp { MO_UW =3D MO_16, MO_UL =3D MO_32, MO_UQ =3D MO_64, + MO_UO =3D MO_128, MO_SB =3D MO_SIGN | MO_8, MO_SW =3D MO_SIGN | MO_16, MO_SL =3D MO_SIGN | MO_32, + MO_SQ =3D MO_SIGN | MO_64, + MO_SO =3D MO_SIGN | MO_128, =20 MO_LEUW =3D MO_LE | MO_UW, MO_LEUL =3D MO_LE | MO_UL, MO_LEUQ =3D MO_LE | MO_UQ, MO_LESW =3D MO_LE | MO_SW, MO_LESL =3D MO_LE | MO_SL, + MO_LESQ =3D MO_LE | MO_SQ, =20 MO_BEUW =3D MO_BE | MO_UW, MO_BEUL =3D MO_BE | MO_UL, MO_BEUQ =3D MO_BE | MO_UQ, MO_BESW =3D MO_BE | MO_SW, MO_BESL =3D MO_BE | MO_SL, + MO_BESQ =3D MO_BE | MO_SQ, =20 #ifdef NEED_CPU_H MO_TEUW =3D MO_TE | MO_UW, MO_TEUL =3D MO_TE | MO_UL, MO_TEUQ =3D MO_TE | MO_UQ, + MO_TEUO =3D MO_TE | MO_UO, MO_TESW =3D MO_TE | MO_SW, MO_TESL =3D MO_TE | MO_SL, + MO_TESQ =3D MO_TE | MO_SQ, #endif =20 MO_SSIZE =3D MO_SIZE | MO_SIGN, --=20 2.34.1