From patchwork Tue Nov 22 18:08:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 627512 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2633055pvb; Tue, 22 Nov 2022 10:09:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf77G/I6ZVObrbenUSolc5+xmOYqs9Ld2S3UZj+OvYXhzjvFdIwKIoTdcjm/YoY8iUtJCohU X-Received: by 2002:ac8:524a:0:b0:39c:cb9e:3524 with SMTP id y10-20020ac8524a000000b0039ccb9e3524mr8428008qtn.563.1669140569279; Tue, 22 Nov 2022 10:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669140569; cv=none; d=google.com; s=arc-20160816; b=N4YBMzhpOOgalNim0Mj2VETks998V2+uhN5COinsL13KR+JX0EY3PIDV25kgYNAXZo 3PdqA6RHdrNtzsaxD3atTzkR0knGt/KEKdSMuItl7YhoCqqBQIO/dD+xB5l8ovraRZJC WmTBaEgy3apl7LK5LkPwVDlfeS8HgQoZ0zLAC+EFAtF2rEd1z4SD/z49rOCiXtxaB0fi hJrJo3b7xC7CIrGL46nfJbCj40c7m9Pjm+t/Tm9HExHlf4B9GCxnUFvLoyPaTBzUckP6 nctgR2V4eDqWtlCCnU23l6mJyOZYx4o8yHou0X3Q43HoIkYttODG25VL4WjSMWHk6Nu/ r4bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=B8chKRQKS8m6Pjqk6EobtUrJwdS4LtzoBT1XYpKwFqc=; b=VDCjNj3t03+gfj0DxIDwumvrW7cRF8LmHWrp+BHVb4xPTbMNdGju4iaweiHH02znl3 ZFdXc12P6QbgUQaXamzV/TnY42HqLaJn8LQozmcb7BqkRACIZJFkNo+8GA7ue50TNUsw //Gz5cxJzaarYyhUswxWeghJlZNjuqq0jl2lJixQJt8gvurUhumFK7USQ4K+uzCfobWF pBpMwpIx457SoGsHptXngtlclIcM41bKBDuqEoUsmzupOwXCJast9cCQuZgtjiykv7UB f9vjsgJH+DvFsfHO7+gyEl75bW6MfD3lvRJE/mGGQOSzks1mxWbqjGBL6aQCHi+gXVih bBBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AA0PcZ6m; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id jk15-20020ad45d4f000000b004c6bc0eb1b0si1169754qvb.500.2022.11.22.10.09.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Nov 2022 10:09:29 -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=AA0PcZ6m; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxXh0-0001Nl-Lp; Tue, 22 Nov 2022 13:08:22 -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 1oxXgq-0001Lq-16 for qemu-devel@nongnu.org; Tue, 22 Nov 2022 13:08:16 -0500 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxXgn-0000L4-M8 for qemu-devel@nongnu.org; Tue, 22 Nov 2022 13:08:11 -0500 Received: by mail-wr1-x430.google.com with SMTP id x5so21874234wrt.7 for ; Tue, 22 Nov 2022 10:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=B8chKRQKS8m6Pjqk6EobtUrJwdS4LtzoBT1XYpKwFqc=; b=AA0PcZ6mwFChxKA5nWMXoCCpkypfs7ADcyGhAYgQkKj7QuskSkg9VantT775AyQ7oF RmQiOtQ5Fq3MUQvAivAxnDX+A2aFH4WbOfz1kjypQrR+sBGEqEsv3sWmY5zHc8jcWEEM qWMmIpj/ZmOEbrM4OsftWWz3JZ4acozhqbSxu5ElkEk6EfQGvu5wISk4NNtzkZTXaU9E W8tTEensHWqu8+OtFgA4TbDSZ05VQCQbobaOj4m/iGKk4+V7xObVi5eTnP8CFB/5mE7t tO7nCwqzhujqY4jzJVrsZVBKPnJbmVhF6VbwuT2XqQOTI6qmsQEndHlIJfYsW1n0M9Z6 b44w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=B8chKRQKS8m6Pjqk6EobtUrJwdS4LtzoBT1XYpKwFqc=; b=6qD7HwPO9mXi5wZS3Cd6fJSPNqc3jr5JHrLNUV4vnB+SNYiwn0n1quxq/XGsF/8xBA yxiQkjSlm77S9f4DllOHcufMerRozsGQWsrnPJRvm9ncPcTYzSxTD3cNZYhrMFuVVVRx 2NDktREbije18IiqeXZJ6VTSm+kODRO+ZKKYgfoq2okcBB+tPkuVZYiu1/R4QlxAE68m 43Fy0lhnOL03VPZm/PT70oKfSZ/kf1qy1oBCz2x11IJDCPEp9cFR4WHpWquZkq+PWz44 wkOLssz26bitU+tvmgMEcO+bKcmnGSg0k33gGOk6mrKbSdz1bKUidcWHaXtPaaT2fDxx imLQ== X-Gm-Message-State: ANoB5pmEFIXKRzpSp09jeKPzaOCeXogbtT0zbizNatURZq3AHGNq4mhb TwlCRJ5r2qPjIb3dDrlgy9k5+Uoh5GD1RA== X-Received: by 2002:a5d:6790:0:b0:241:e8fc:cc27 with SMTP id v16-20020a5d6790000000b00241e8fccc27mr749197wru.511.1669140486491; Tue, 22 Nov 2022 10:08:06 -0800 (PST) Received: from localhost.localdomain ([185.126.107.38]) by smtp.gmail.com with ESMTPSA id h8-20020a05600c350800b003d005aab31asm18863504wmq.40.2022.11.22.10.08.05 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 22 Nov 2022 10:08:05 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH 0/3] tcg: Move ffi_cif pointer into TCGHelperInfo (splitted) Date: Tue, 22 Nov 2022 19:08:01 +0100 Message-Id: <20221122180804.938-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221111074101.2069454-27-richard.henderson@linaro.org> References: <20221111074101.2069454-27-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=philmd@linaro.org; helo=mail-wr1-x430.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 Hi Richard, Your "Move ffi_cif pointer into TCGHelperInfo" patch was not obvious (to me) at first, so I split it in 3 trivial patches. Philippe Mathieu-Daudé (2): tcg: Convert typecode_to_ffi from array to function tcg: Factor init_ffi_layouts() out of tcg_context_init() Richard Henderson (1): tcg: Move ffi_cif pointer into TCGHelperInfo tcg/tcg-internal.h | 7 +++ tcg/tcg.c | 125 +++++++++++++++++++++++++-------------------- 2 files changed, 78 insertions(+), 54 deletions(-)