From patchwork Fri Dec 6 03:12:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 847817 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c2:0:b0:385:e875:8a9e with SMTP id f2csp569904wrt; Thu, 5 Dec 2024 19:13:55 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWcSe2Nmu6no5SpGVy2eILdcMmyCq2rAULCMwJmiVRBbP8usZ++GuSDXav1So77MLOBchqmng==@linaro.org X-Google-Smtp-Source: AGHT+IEK6tS+1HCRkHnW0qdt2uNo9lgULOGoJn/NVtIZ/2kvgVPJJSfk5OoaWDJAbUH6EXcVb82J X-Received: by 2002:a05:620a:248a:b0:7b1:543d:c99 with SMTP id af79cd13be357-7b6bcad3637mr177214085a.24.1733454835760; Thu, 05 Dec 2024 19:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1733454835; cv=none; d=google.com; s=arc-20240605; b=HaLiH8GyUbDDoN8DiNyVMsTFXoO++au6//aRDR91u4yEw7upgPPRPco6+3RxXhAwb8 EP7nPJwGqaCrwLer1GoSum8XYO8UReAi/Ho97AgGwc5zsDnw3DXTKwyfJTuurpHAKDpU ZV9Q6CBxCviy0uqR02QFILMare0RsZSbC0nyhM10jV3pKupPZ0X18cvQn2iHVsMO4dM4 ECr05gQOxyh4gDRowR2Hprt0rTNJxnhP+M/8VumluLC7TDVvqt5VY+cMCHITcLm3WvDd EAbNQ+FO4xe+xZEjd/bMrofPN5cmsCAjl55c9gn8GkDFZwJ5vcQNtOgrPrjqLYRoCBve aX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=69pr0g6Y3okyXfOdDRckkWb2oJA9va5ZC3/aP8PTogM=; fh=9Ev+QBUhk6P6vR3LT1wYeDLexozsz44nqjfoyPajZCc=; b=W0Wth9ExULjuSl+lYobg26f/ajAEf13wdlfGYdOKyPEGwlRgbZYMOET3eMYWYNJDrK gN7xXmZvE3RtxeUwiDbj89wcsJtXazsp+sQF+rkxQOpaxbd4RWnNrU6zAs3mngPKVz9c UM0sECprkCnLHbrtt/nrJQPkHen/v79gEL2LpvNu+s+jKnlY82dJPd3PVbA9qxR7SFYh FDhvzGNJzF9W0O89rdgcF5w0TPZFuhKLQ0ekjjlZNANQVFzAWj4K5DRmBhJ8uPq0IhUc glCeH4lZTc9PfWMg9cJOX2XCMEdKC9SW+lK93e0b7fNCKCpQIUgCYcXiXr+hVEtqMrGR gt9A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LwLDDQcI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b6b5aa0642si338005385a.361.2024.12.05.19.13.55 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Dec 2024 19:13:55 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LwLDDQcI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJOle-0006mZ-Nk; Thu, 05 Dec 2024 22:12:34 -0500 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 1tJOlc-0006lV-Jq for qemu-devel@nongnu.org; Thu, 05 Dec 2024 22:12:32 -0500 Received: from mail-ot1-x333.google.com ([2607:f8b0:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJOla-0004QI-Rd for qemu-devel@nongnu.org; Thu, 05 Dec 2024 22:12:31 -0500 Received: by mail-ot1-x333.google.com with SMTP id 46e09a7af769-71d537b50beso916222a34.1 for ; Thu, 05 Dec 2024 19:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733454749; x=1734059549; darn=nongnu.org; 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=69pr0g6Y3okyXfOdDRckkWb2oJA9va5ZC3/aP8PTogM=; b=LwLDDQcI2hX0f42kGchenenVx3HLt3A9RG4/hQmtxCOhBhUmNQu+EpEQ/AVPdYPnnR DVlmqh/pvKe35NDk1W/VLqu2leMUqygn0IsRi6JFXrpXQSu5MoHQOhFMZBL7BcT7RI3K KBTvK1muhIPj9DvIH1TVHrOobK2zJsolWr6HN5F0Q0lPyMeXQTu91vUKvTiG36uplL5f moS8yfdeFS06oOGtOUj4CDjOH7gtHUVmocNtJDL25mlmjeZZ7unw68UhMduLi+W+ak5I ZXWvZPpWwil75PCKgZSmFvUGYLCdvvJbnWJ1QLJTeBxwk4b6nGiFoyPOmyuhtbhBeNyX ZD7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733454749; x=1734059549; 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=69pr0g6Y3okyXfOdDRckkWb2oJA9va5ZC3/aP8PTogM=; b=PoVTlPE5t6niwz/YCOGAgwYODTpHis6V0wYfYGsh1aGCZKNQ3DMb6H+k03oI7NURQj in//ksguVh1BDjda2F+6ed1YTVVZu6GfLVpx3b0octIOUKVTrZ/5WssW8A6lPzghHdok rYoyRIc+9/qxmuiNAI5kheNQhp4dznXGAE4n7AvxQos7Rqnmh6a3TmhFB7pLcPUZEqR/ jI5rDtbcR3VZ1vgW240eg3ZPlEABgRa15GrHG6SLFGVrj5W/4h14wAtPe0RVcGejBljQ dWtG+veZ08nK+z6CyT+EwY4xsmjzfvqHV1KVVWiS1hBL1hhM2PTW6i1PPvcUVlI90LSp W5Mg== X-Gm-Message-State: AOJu0YwJ//oguWQv/GJBjhuaE0P59JtvZhPOwf8yRLTMYejHE8Tyiuiu MmR6YJhUa08l4Lvcu8jhnl/Hy+SG/RzckXdFkQVX/voj6pBX/DS0HQ/wBBhme/BdW7xU7k9+37J W75fPre9W X-Gm-Gg: ASbGncvVDpceGVjTzHVi5LNkEG7LdFcixGfKJmhlhv0tkpibRCsU3Sc/hrMl/6HRAeo kz72Ip+NkIG8Ba87HBgc717JWBiKKNMQoyExkNGELOT97tSzPfFceXWXz/YGn8EJRlnb9Xk1xAg u0sj4t8A5IL9LQWdKjZ8dnY+LNcv2zKL6fhty9B12evqCH0ncodsYVbUUdEwOENF0BNqB9EbYlH TaMj7XU8h4OAXh0MAzHB2mgljZy8/ZFao77rilvr7hhxcKIWy3zfNneiuL57URVsgd1i4pYCvyV Ph83zhrOPoyND88GheG9coxZXEIqIrHbEbQO X-Received: by 2002:a05:6830:378c:b0:71d:528b:b5b5 with SMTP id 46e09a7af769-71dcf55656dmr1451994a34.19.1733454749714; Thu, 05 Dec 2024 19:12:29 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-143.totalplay.net. [187.189.51.143]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-71dc493b2dfsm596442a34.9.2024.12.05.19.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 19:12:29 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 1/9] target/arm: Introduce fpst alias for helper.h Date: Thu, 5 Dec 2024 21:12:16 -0600 Message-ID: <20241206031224.78525-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241206031224.78525-1-richard.henderson@linaro.org> References: <20241206031224.78525-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::333; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x333.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This allows us to declare that the helper requires a float_status pointer and not a generic void pointer. Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- target/arm/helper.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/arm/helper.h b/target/arm/helper.h index 9919b1367b..cb722c491b 100644 --- a/target/arm/helper.h +++ b/target/arm/helper.h @@ -1,3 +1,7 @@ +#define dh_alias_fpst ptr +#define dh_ctype_fpst float_status * +#define dh_typecode_fpst dh_typecode_ptr + DEF_HELPER_FLAGS_1(sxtb16, TCG_CALL_NO_RWG_SE, i32, i32) DEF_HELPER_FLAGS_1(uxtb16, TCG_CALL_NO_RWG_SE, i32, i32)