From nobody Thu Nov 28 11:34:58 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1692822337; cv=none; d=zohomail.com; s=zohoarc; b=g2xEqzu8jDv9lRMaLhczNCy0AwyfUp0PDkudgGDQ282FQLsFZ1KZdJEA4PP36d8tWCOA9q9IJOvCFnCZziakxpNXFd9/rPyL/FxtAd8w1+JTN/b9p5efULBsRyLIayD7tlDNVml51pG34A4QWr5prHojTlbjIWapZ4bE+MdNXxE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692822337; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xVbtbg9YLiki2PHPwQ3RAo+50+pEwE5ioy9dgOI0Jcc=; b=SaUFTk8M+NiFCLmOBfzhqUxoSa8MLNtnM920kg6j1bv4y7bp2+7Lg0jzq0dleVCatRWy05oRuB75482dYYw1ql+I4fAVaeeNyTchQR7IBRSsghA9GzgGcE42Ck9KXA0oVYAOcRVeYwdpeQRRgzkrIGWa7tcd0nv5f5BxObWhQOA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 16928223374985.296018652306088; Wed, 23 Aug 2023 13:25:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYuOh-0000HV-7n; Wed, 23 Aug 2023 16:24:11 -0400 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 1qYuOV-0008Ky-67 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 16:23:59 -0400 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 1qYuOK-0005UL-P7 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 16:23:51 -0400 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-1bc3d94d40fso47176655ad.3 for ; Wed, 23 Aug 2023 13:23:42 -0700 (PDT) Received: from stoup.. ([2602:47:d483:7301:72f0:1ea7:85d2:141e]) by smtp.gmail.com with ESMTPSA id iz22-20020a170902ef9600b001b9da42cd7dsm11418641plb.279.2023.08.23.13.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Aug 2023 13:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692822221; x=1693427021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=xVbtbg9YLiki2PHPwQ3RAo+50+pEwE5ioy9dgOI0Jcc=; b=FQkS0RQLs4C2fXU2MhPTK1f9VNjcQl9Ze87TDbd5VVtWmhasOkGSWH0d/+M/sRRtmC AMOCN24WQZdv3Ga3beySQ086XY/sx6IQvhRS48h46f7iUTZfg/w0ws1p2om0lN0v9hue QPhb1kCljiwi3/TMnM07+4e5cGDMzO11wqtadPISGc96IvDtEZKjWyxQriqDF7+zghYf A9oIrF2BiJ9JiKAyeNAIXCHXRTpZVnx5ey7bP7Evc2HNG6vMg65NROyTdTmYdszhK5LG 9OB3je1bQ9C+ifaehwibu4C1ZU338ayyiViB6OU/tAlSmjvJJPshLnOp/3nLx/NGvI23 gmtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692822221; x=1693427021; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xVbtbg9YLiki2PHPwQ3RAo+50+pEwE5ioy9dgOI0Jcc=; b=WhQQrBGW+S2g4t+wmX81xApU51l4jNw4wxv0zRQHzdc1uYMViie18lkHo54QRBa/Zs tJdjrjo4xwC2AwqEKxpNFPCMZuNwuDEzUj1ynjKfXp2nGg3iXxHrB/vyMyNH/EPHj7PR ezH1AVs3/OitsR3dBMzvkVL+jWMUwFKXdaDXE0Z/J1WiHcKWP1oBrd2wn9mEAusYxZmR TJ6g+ym7w//4md0x66XaFbkHwTgLpulbXU5hoeQlEZn73roitcVlZUu8QTUJaq/NTsSO ieSpCzrTRuwNfEHxkgC6LzbUKzIn7jhG8W29iOZlKb9F1eqIhThiEyu85MqEXpNXoS91 lhWA== X-Gm-Message-State: AOJu0Yy2Qflt4GHL03gBAz5LrzneTYAfqKP3bFC30dVPkCeTbcGEfdpY m9hKnUbnJUonjMDrLRzW828D5ryHQ/HhYXro7vU= X-Google-Smtp-Source: AGHT+IF26qfYycFCRcoizlQHBdDRIKa+WKHKMdAUNdjcIjZWfvplLme41912LvQvE2OIgGkfa1Mm/w== X-Received: by 2002:a17:902:a409:b0:1bd:c783:dac3 with SMTP id p9-20020a170902a40900b001bdc783dac3mr12152449plq.63.1692822221185; Wed, 23 Aug 2023 13:23:41 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 14/48] docs/devel/tcg-ops: Bury mentions of trunc_shr_i64_i32() Date: Wed, 23 Aug 2023 13:22:52 -0700 Message-Id: <20230823202326.1353645-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230823202326.1353645-1-richard.henderson@linaro.org> References: <20230823202326.1353645-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2607:f8b0:4864:20::62d; envelope-from=richard.henderson@linaro.org; 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 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1692822338722100001 From: Philippe Mathieu-Daud=C3=A9 Commit 609ad70562 ("tcg: Split trunc_shr_i32 opcode into extr[lh]_i64_i32") remove trunc_shr_i64_i32(). Update the backend documentation. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Richard Henderson Message-Id: <20230822162847.71206-1-philmd@linaro.org> Signed-off-by: Richard Henderson --- docs/devel/tcg-ops.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/devel/tcg-ops.rst b/docs/devel/tcg-ops.rst index 6a166c5665..53695e1623 100644 --- a/docs/devel/tcg-ops.rst +++ b/docs/devel/tcg-ops.rst @@ -882,14 +882,15 @@ sub2_i32, brcond2_i32). On a 64 bit target, the values are transferred between 32 and 64-bit registers using the following ops: =20 -- trunc_shr_i64_i32 +- extrl_i64_i32 +- extrh_i64_i32 - ext_i32_i64 - extu_i32_i64 =20 They ensure that the values are correctly truncated or extended when moved from a 32-bit to a 64-bit register or vice-versa. Note that the -trunc_shr_i64_i32 is an optional op. It is not necessary to implement -it if all the following conditions are met: +extrl_i64_i32 and extrh_i64_i32 are optional ops. It is not necessary +to implement them if all the following conditions are met: =20 - 64-bit registers can hold 32-bit values - 32-bit values in a 64-bit register do not need to stay zero or --=20 2.34.1