From patchwork Fri Dec 6 03:12:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 847816 Delivered-To: patch@linaro.org Received: by 2002:a5d:50c2:0:b0:385:e875:8a9e with SMTP id f2csp569903wrt; Thu, 5 Dec 2024 19:13:55 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX5Sz8q3tfkALn6Uinm0eOOf8DrQKPTv4oTGin7F3AG6YDJhjrxJHDIoOXmkQC+auHfZ2EX8w==@linaro.org X-Google-Smtp-Source: AGHT+IEtsksn1Emv5RcR4JUoBWdySTSfCQe3z3gPsSv6tHtsf6CnOd8Otf9Tok9RwzrkOgRjzzsj X-Received: by 2002:a05:620a:29d1:b0:7b1:4f21:39de with SMTP id af79cd13be357-7b6bca10b58mr323278085a.0.1733454835762; 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=WMV71F3Ma/p3txmnAuWACltBIg3IgiOouVQUZdp3IVcus8KkwX9sE/jDFzvKmXFYj0 74RswTKRIhxfRG2OSIit0SDPB6l+YwSX1JZe9bBOb3cXFFL+i7goiXvKJcaxgzgzxbKi x8eR4IfHV5VjAvB5Ea3/JPfGfQs8FrCeJ8y3tzx2DS5eN4a+c59r9YPAwcrRAKKs2tDj zG2kJHnNd7oEC8FddLI5a1EKE+BE4StxO1s3hYC0Ox+mPdVqn8387cPiCGMgLr9VUMsV 4Hd2CO/ADDOzDzwEjW2FKhB0kOSnbEIqECeDNUJT50rIGA909bSohMoq57GYUsx5ez39 sqTQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=P+kwPXUXhBd7tlX6IIB4yH2oiMxaqbT5fblYS9xF7QM=; fh=9Ev+QBUhk6P6vR3LT1wYeDLexozsz44nqjfoyPajZCc=; b=ivVWdEKNn8w3/7bkruLoYY96Rl+mnGW9HawZHNFcws11bVNKvU5J+1144NmJJCydhk +fYY1wJQdVE4+JtFhSawbwslKgZhSVk4asUs4c41UxDZqntZgx2p/nGRvZXQarF3jMye 73HEIBirAnXtToc8BStOm7kZd2vBqMdzsFAyOtPYvlpfsWNaOWg2ZHuFd+0iXucN2iHw Q/nSL9mWb0d5aQ8NPlNPSAnS97fxXhygU5RVNyaSQyJ5pT1hjn5LExHWlbsxJsg73yTb 01drFdil7dO7cIMXwCNsNCLUwUXwOMD6hC5tc5xvP3eHYfyz2cNkYLwAvevj3T/gopvL 3vJQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uhnDGe9Q; 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-7b6b5a9022bsi313001485a.255.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=uhnDGe9Q; 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 1tJOlc-0006lC-1n; Thu, 05 Dec 2024 22:12:32 -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 1tJOlb-0006kt-4d for qemu-devel@nongnu.org; Thu, 05 Dec 2024 22:12:31 -0500 Received: from mail-oo1-xc32.google.com ([2607:f8b0:4864:20::c32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJOlZ-0004QA-Nc for qemu-devel@nongnu.org; Thu, 05 Dec 2024 22:12:30 -0500 Received: by mail-oo1-xc32.google.com with SMTP id 006d021491bc7-5f205c4625dso455319eaf.3 for ; Thu, 05 Dec 2024 19:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733454748; x=1734059548; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=P+kwPXUXhBd7tlX6IIB4yH2oiMxaqbT5fblYS9xF7QM=; b=uhnDGe9QuiQ2Ru6gG+EiHR9R9VW5El11VoJHGY5h8QcoWculspITmnJavwJ5Pkxj33 XlRWUuRB4sKfdN+aKdxQbjwOvqPnFWdzjtTQtnvCGqY/Ip5CEpjnu8W8qlnjEAqqoJLA uXWKkYBG3V1FnnYIiyqDCRyJvhqHHkvqLFrxwbRS/nVVkl/C74I79anaU7fuglFywXP2 dn6VhIHHZcCKAvDchvc2GglShE9OFifnEgB+upwulTb2pjC4kx7JN3aYggPL9AYSLezz On4uE3dAhXHX5NtvizBwlm3AKR2gultJBgtHXaM12YEpm83+7dacZCyZGXM8Jjb2tPxm bOpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733454748; x=1734059548; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P+kwPXUXhBd7tlX6IIB4yH2oiMxaqbT5fblYS9xF7QM=; b=Cu+Yu23vXOf3rutU6nr0O1yjZC2VTh5m4jFBY41IFfc+86GKoQUKweROgpncqB9T4+ 2u0DrnHf8My6Z47c/4CBwxyMnjM+XlywrLV9hArEFOTmlPZONvlPo5gxIgF5Uwre2g/z ITUtC46A9BhOs1QhdLx4gpLCYUqrBssf2vXUqk8futiXXR10VNs7ewOVxkNj9ETzBi6p rkp8jqbT8CeurNpArlr7j+8m9PgBN/2IWt08lj+ZPgPaQfZQF8QDderMjDo3TaO+Cmt3 It5rGr7FFnMWygPxX7yYAZ1KATSun1no10BZpZAJD7f8/Cd8K13nJLg5Sy2+LJ4NL+qC 4LFw== X-Gm-Message-State: AOJu0YxMnAjA1qRtSOcSpKDxpxDRghrAT3oNRT0PNt+lZUzJA7u9j/8n scKmmY8CS8p4NHZhvTWR1Afdkyp19gB1HguqhNX9sSjtroWaUO40J3GCuRSXv+MA8M/nhkZdO7B G3qIQBJPc X-Gm-Gg: ASbGncv2DuGQl+Fp0cfKcjlrMHIkI/ycDyCOijeujLLxF7UTTeF8+LkmLDPk+RFVtt2 Uj83NmJHy8FtHQnFGMZIXTF9ATk9wI7ZA4O/ag9jVhjlPdsZrHPFejRQbx8goW/ZxBtAp7QTJ05 98TdJlsNv0oX//wDL8z40zOYZbl5sss5AjFrOWe41HurEOPw0CG+r1uXO3CQjHXUFMzEtHt8dYB fIGKGlEEbMmu+sA4aKyXJKQ5Lm6DK3IB9ecCNkLfDXQ27K9KMVkGcKUPdyUO+Tnf9FQOgI6ezw2 3yC8CNVXBao1qeK3kKoaT91bb7T2cX652J+5 X-Received: by 2002:a05:6830:6e98:b0:710:fef4:3c92 with SMTP id 46e09a7af769-71dcf5c2d9fmr853089a34.21.1733454748065; Thu, 05 Dec 2024 19:12:28 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Dec 2024 19:12:27 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 0/9] target/arm: Helper type cleanups Date: Thu, 5 Dec 2024 21:12:15 -0600 Message-ID: <20241206031224.78525-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::c32; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc32.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 Add macros such that "fpst" can be used with DEF_HELPER to indicate float_status* instead of "ptr" for void*. In addition, fix a few uses of "ptr" that should be "env". r~ Richard Henderson (9): target/arm: Introduce fpst alias for helper.h target/arm: Convert vfp_helper.c to fpst alias target/arm: Convert helper-a64.c to fpst alias target/arm: Convert vec_helper.c to fpst alias target/arm: Convert neon_helper.c to fpst alias target/arm: Convert sve_helper.c to fpst alias target/arm: Convert sme_helper.c to fpst alias target/arm: Convert vec_helper.c to use env alias target/arm: Convert neon_helper.c to use env alias target/arm/helper.h | 638 ++++++++++++++++++----------------- target/arm/tcg/helper-a64.h | 114 +++---- target/arm/tcg/helper-sme.h | 4 +- target/arm/tcg/helper-sve.h | 426 +++++++++++------------ target/arm/tcg/helper-a64.c | 98 ++---- target/arm/tcg/neon_helper.c | 27 +- target/arm/tcg/sme_helper.c | 8 +- target/arm/tcg/sve_helper.c | 96 +++--- target/arm/tcg/vec_helper.c | 81 ++--- target/arm/vfp_helper.c | 120 +++---- 10 files changed, 775 insertions(+), 837 deletions(-)