From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B02BC83F34 for ; Fri, 18 Jul 2025 22:07:48 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uctEQ-00046D-9h; Fri, 18 Jul 2025 18:07:06 -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 1ucsgh-00055T-1E for qemu-devel@nongnu.org; Fri, 18 Jul 2025 17:32:15 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ucsge-0004mR-SC for qemu-devel@nongnu.org; Fri, 18 Jul 2025 17:32:14 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-236377f00a1so22421445ad.3 for ; Fri, 18 Jul 2025 14:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1752874331; x=1753479131; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=xwrhbGi7cQ7T1Gwntpmg9MlPdNpGkcCo4WpRIQqMUOI=; b=S517Y+6csp9zZHnW7wXU2RAmdeB6aC/mSeHUJEqoZixNpYdOB9BiLIFYVVupWENwAa BCaukO+zYiCdefQlBz2B5jFrI02iX02zyptavLfiR2UyXX6esMjZv4gRMreMcDyKMpMI dOX7jB6Ae41nz7XHBwQe7Y6vEa26PP+TB2mFuHWO7r7eOPubg29ye7dEvgEF6NJmwxTh oOB2FCNGZ95xIfP7doL5yYFxo4Zq1FTMZpNob0hk5x932ORMK21Iyl7l4clVmNS5wxoh ibioJx1XBKWzRYMH6wxPuuLTF5hTy/uKfFyh0WtS+ZbHbpWD5NWn40mURlFFHN2U6HVD vdRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752874331; x=1753479131; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xwrhbGi7cQ7T1Gwntpmg9MlPdNpGkcCo4WpRIQqMUOI=; b=wLOc19iPcsV1LUmUAGFPoCYAhfXGySfb0VEz2EOCZpxPZGBC5PUHZ9UTrDDmyaEFzD hNgqc5QL7fz7beo3H/4nk3/1IT/X6Q3QY9XIoV+YNtN3oAMJSHEGvD2tRK7xG4qksqeb eLMyHDrwn30OLJqz6UDRULhcchmio5gmGpEC81pJpTcUQmz/2Y0RZos0Ph15ZHgTt3xu 4he21H0Z4G0pNeci7A3HsvDN+Zhum5cfZCOGQVyUc10YTnFpgtFSJgw8W8+SYsDcOYrs JcRpyd+mZbsVfVmodEt79mGXfyapYuORYkgAhF4DoWJG7E9E6ht196orc6XSsQqK8dDr Pfzg== X-Forwarded-Encrypted: i=1; AJvYcCVkhEh5nrM/WJ7YSPt7c59k6ttEcpTuQNc4YRv1ZxxMWdPabpGbLHxxUIZt2o8msuZ7VLXShbxy6zBC@nongnu.org X-Gm-Message-State: AOJu0YwTOa6eoSfYPKf2zyRyQ9Mds1wTTfzKqjcluzifs3rGs+XWSF65 Ko/DxxQOhRCEGsoIfA1aJS9zknSBcQ4+Q2L1Ps1GaikrZ435JGc9Qt/3ZgGxu9+xUjc= X-Gm-Gg: ASbGncvF8INqkVb4pnTVfRv1b+mEIUDqXMnD5FdODIfmNj/1VsZy4ktfOaobuMyja7f IRmdXg6NpKfp4wQikcwuSwHby8rc/MtYSvFoYKpKtLj1jueNX12uOLgEQEvEgvE0U2yLeDLqiOz v6IKNtrjatm0SLDocUDMQJxr/0UjfLBBz4Y029kRIU2s6Vt12Q/cEuwfSrQGrHwrHhclRMZCeX5 CLSeBHJfs4YNenxiReYQFNBffbhx6TE1l+EN6ClwIMvBWKB2fNDDLH+KdoaBwDZB+Zy4gYbp1K1 CZjP3jWGOay24kLmu755sZ6RrIzZTwmWHy6gCC7l3DOpf+GA2TwlCyUAGXhAkm9s3Vu0uDboR5G ixOBynZ7Io6oKsmi4sdgyhklURqG3aUVzqMgRNxE5dA== X-Google-Smtp-Source: AGHT+IE0dWUPA5hKJ+DuIsLHGI25jwN0nVtgVecmevSUYzgZ8ZfyvmZcPe1LtOwg5C8Uee+tIZAvPQ== X-Received: by 2002:a17:902:e807:b0:235:6aa:1675 with SMTP id d9443c01a7336-23e24f94b60mr183163975ad.52.1752874330930; Fri, 18 Jul 2025 14:32:10 -0700 (PDT) Received: from [192.168.101.134] ([75.147.178.105]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-23e3b6d199fsm18031745ad.134.2025.07.18.14.32.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Jul 2025 14:32:10 -0700 (PDT) Message-ID: <1325fc26-ecd2-413c-adee-7dcff7d0b102@linaro.org> Date: Fri, 18 Jul 2025 14:32:08 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH for-10.1 02/10] target/arm: Add BFADD, BFSUB, BFMUL, BFMAXNM, BFMINNM (predicated) To: Peter Maydell , qemu-arm@nongnu.org, qemu-devel@nongnu.org References: <20250718173032.2498900-1-peter.maydell@linaro.org> <20250718173032.2498900-3-peter.maydell@linaro.org> Content-Language: en-US From: Richard Henderson In-Reply-To: <20250718173032.2498900-3-peter.maydell@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 7/18/25 10:30, Peter Maydell wrote: > FEAT_SVE_B16B16 adds bfloat16 versions of the SVE floating point > (predicated) instructions, which are encoded via sz=0b00. > Add BFADD, BFSUB, BFMUL, BFMAXNM, BFMINNM; these are all the insns > in this group which do not change behaviour for AH=1. > > We will deal with BFMAX/BFMIN (which do have different AH=1 > behaviour) in a following commit. > > Fixes: 7b1613a1020d2942 ("target/arm: Enable FEAT_SME2p1 on -cpu max") > Signed-off-by: Peter Maydell > --- > target/arm/tcg/helper-sve.h | 10 ++++++++++ > target/arm/tcg/sve_helper.c | 5 +++++ > target/arm/tcg/translate-sve.c | 22 +++++++++++++++++----- > 3 files changed, 32 insertions(+), 5 deletions(-) Reviewed-by: Richard Henderson r~