From nobody Wed Oct 29 11:33:39 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1525283408850726.1661512345996; Wed, 2 May 2018 10:50:08 -0700 (PDT) Received: from localhost ([::1]:51872 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDvtC-00060u-Qd for importer@patchew.org; Wed, 02 May 2018 13:50:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDvrF-00050H-8s for qemu-devel@nongnu.org; Wed, 02 May 2018 13:48:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDvrC-0003qV-GG for qemu-devel@nongnu.org; Wed, 02 May 2018 13:48:01 -0400 Received: from mail-pf0-x243.google.com ([2607:f8b0:400e:c00::243]:34699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDvrC-0003qB-9j for qemu-devel@nongnu.org; Wed, 02 May 2018 13:47:58 -0400 Received: by mail-pf0-x243.google.com with SMTP id a14so12420806pfi.1 for ; Wed, 02 May 2018 10:47:58 -0700 (PDT) Received: from cloudburst.twiddle.net (97-113-2-170.tukw.qwest.net. [97.113.2.170]) by smtp.gmail.com with ESMTPSA id y2-v6sm18014596pgp.92.2018.05.02.10.47.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 May 2018 10:47:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KNRbmJ3TkcIt3qb7JDOtq0kwRgKI6YaUuh7XJmK2gQE=; b=JjJEdti05mPAG2Z5zCoQJPD54tFTL8Nlqa5LEQIwJzJGmyY+4VBJhf+cx6w09JpI1R LYX0pLkSUzhnBOdctPPxUGlVcOH2u5LcIhVZFMv54e+K1b+lybJ6oV5sXYkAxYSMBSk1 X3uUlVupKi1Z0eNVWoMnBT/Fce3MSIU7PDp3Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KNRbmJ3TkcIt3qb7JDOtq0kwRgKI6YaUuh7XJmK2gQE=; b=s3V0VMJNRq6UMHOhMWZD3DwRTVKQak3oTsTDUV6RyRu5200V911uCwVIB+jgZ36dnF 4iVsIO4Cem4i7FSnHLMwRHmsaEsrlTNb6IKB3y2u1wZSULi5AlBK0MkiICCaPAe3iYMH lhCNKbEopyo4Pvt2w4atSNtfzod6jO00aWJajGpiqUL56Patw+cFSlnwe1+dChV7beh5 yfUM+4wwGgCbLqJ/bDc2v/f/K2YY8PnTSvkEXgOXKOCgIJ+D69zozwrOTacxAqvPF0bI iiiBZWDhODpGAH8PwAhDA++nJMNkGM7BntG//DkOpYe5wcaWTvht5geig2+GjBDV3Irp YoRw== X-Gm-Message-State: ALQs6tBj9ypC40P0lqVxDPPgYmpctgzx94F11cQZrtO6m3kAMdBrA0YH T0VcWb0oQd5ke5BnX0miiQ1eVgb0X8w= X-Google-Smtp-Source: AB8JxZpT+uNghNaVcSoc5oLW3/ud8WF3j3bp6zDw/zC9Gv35we6OMcgBWkfHt3i87E6LkF5OrZzp8w== X-Received: by 10.98.19.6 with SMTP id b6mr19856290pfj.58.1525283276941; Wed, 02 May 2018 10:47:56 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Wed, 2 May 2018 10:47:49 -0700 Message-Id: <20180502174753.16133-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180502174753.16133-1-richard.henderson@linaro.org> References: <20180502174753.16133-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::243 Subject: [Qemu-devel] [PULL 1/5] tcg: Document INDEX_mul[us]h_* 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- tcg/README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tcg/README b/tcg/README index bb2ea5121b..a5237a9edb 100644 --- a/tcg/README +++ b/tcg/README @@ -431,6 +431,14 @@ double-word product T0. The later is returned in two = single-word outputs. =20 Similar to mulu2, except the two inputs T1 and T2 are signed. =20 +* mulsh_i32/i64 t0, t1, t2 +* muluh_i32/i64 t0, t1, t2 + +Provide the high part of a signed or unsigned multiply, respectively. +If mulu2/muls2 are not provided by the backend, the tcg-op generator +can obtain the same results can be obtained by emitting a pair of +opcodes, mul+muluh/mulsh. + ********* Memory Barrier support =20 * mb <$arg> --=20 2.14.3