From patchwork Thu Mar 11 00:21:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 397373 Delivered-To: patch@linaro.org Received: by 2002:a17:906:774c:0:0:0:0 with SMTP id o12csp12113ejn; Wed, 10 Mar 2021 16:24:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgOu+C52xQbvIVHOR9YCWI5qnjTWzKWW5bnj/zBAEjsMwbZcP8vVKXACMCanQuFt2GiZaw X-Received: by 2002:a6b:103:: with SMTP id 3mr4463920iob.98.1615422267255; Wed, 10 Mar 2021 16:24:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615422267; cv=none; d=google.com; s=arc-20160816; b=0l9AKb1AvO5BkMwhUYchVFpDilSoKbqiFT1wiFUX1sOxxfrEHhtZSAywxdEsUhYg+0 0T8mrNu269G0z2GzRNBe9awLKICuiAunEOD4v6bJV9vh6+F6oFF3LsJFF4RLfQU9xxgj 3AEu0IhOHVhp2fDHJOKYCnd6K+9XTTHw/aTcbATUDRxcdHZIaxNzlNv+LDGrbYBtR8cr pYJGEOfvcwnWtq3zZO2LptmJ6q+9StBIb/uYaUASHdaO3K2UAkZqCEXvMWIgs+W6FVhs gpSwFIWF+tb3D3FUfTFi3cb963EHcoDbaJRRC/UXwsBM0FvcW16ewXkUezS0OD2Ge++u e5PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=obYVzAvVf8VNvYi5ASRAvp3MCQUh9mMiVXvJcu+Y4nc=; b=Et/jQDPtut5LZBslD+eCOU1coyZjUR2OaO2g1Nde+tGECVkZLcxqYO6PbgEOvpHuGt CiU2yKpJUtZrgSrRThSNCF7f/5DhnW5lM5uNu8vP2Z3I3k/C7t+Q1Xmasz40DNpD5hGg lgCE1xsOf1GFJbkMh1KgiU+j3NPLCqr+ODjHWjjGTjhuhAhuNjL3mM1Tt+M0esJdXP8y /Yi2FsG+x5dF4WuugL8JKZZm/dXdGy1HQPJuJz/DipYQzMx3wiP+D4CG3I27jQRhofOf LVoa3cyKqmOZYF65jb3ZSuun7scZ3sIlyxM2lamf0M632kKkb8z4N0uWOYDdPZhzutIv WcdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=mSmymNSX; 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=fail (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 n5si94305iob.85.2021.03.10.16.24.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 10 Mar 2021 16:24:27 -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=fail header.i=@linaro.org header.s=google header.b=mSmymNSX; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lK97q-00086k-Fa for patch@linaro.org; Wed, 10 Mar 2021 19:24:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:55010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lK95g-0004f9-By for qemu-devel@nongnu.org; Wed, 10 Mar 2021 19:22:12 -0500 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:32880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lK95Z-0001J4-IB for qemu-devel@nongnu.org; Wed, 10 Mar 2021 19:22:12 -0500 Received: by mail-oi1-x230.google.com with SMTP id d16so11940715oic.0 for ; Wed, 10 Mar 2021 16:22:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=obYVzAvVf8VNvYi5ASRAvp3MCQUh9mMiVXvJcu+Y4nc=; b=mSmymNSXTA8PlUkiI7XKhh5qpWvFDWFUV3zQB8mneF7Ue3Sl9gM4IBZoFffdJr9lkE 78NKXb8zAI+2fE50IEvAp05EvQD4ruymepVctGNJB3YW466mcC2UVbxprgrwguphkV60 euZmLGULHWGnwRkGJIE7029L4Qdrr0cA9JaXDL0wS4G9C9BCl+qVUWg3muKnwFal3P0h 5QCU3iPkAlx9sV3nu5U2IwQugY2h5BVJ9SOLEN8I3plCj5QhOJUvzRMaSzhZGfS2W8uR FfnCj4z5Rr4ukjd8PGSeq7yHBh0YFQvF5kmJDooHfO//FSPUMbtd6i+amT4MxyMSwx5S k2bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=obYVzAvVf8VNvYi5ASRAvp3MCQUh9mMiVXvJcu+Y4nc=; b=lVHrzihcsDVNKdGtjyxw0KCv1lqGSs45P9k1WeggrWGNfTjsc6asTa1pkuTcKLHLtU GJx9RnGCq008RcgBA/giVrK+6TxbRVFDhJ5ZgU28a7y4imhm2BNACw9DgYlKMPDUc8Xv bFFauZ0VnUzB22aNDYgVUFzu5ZGYn5kHnsGCo0Dd0KPKc2dafxg65gZsIXWVtB3edkdt 6uZ9aN96MW6xhm9FYbnW36EFgTlJgOnQVBKF0hh4y6YpfE+CX2GdtAhLjLvMmbt/0Yiw zWE4mNEchx9luLW+4xZ+FLUWyV4Dbro2ls7lAS8LEtqUwFmItKSvMstxsnwZAMdaXkCD /2+w== X-Gm-Message-State: AOAM531uR0RPe3lR5OACLVIrPe9sB0T25biR5J1a2rUFGTDCvzVUKaZx K2B/vAbT9e5RlAHrSI+mawrr/CA+E9JZBqsF X-Received: by 2002:aca:cf93:: with SMTP id f141mr4374260oig.0.1615422121144; Wed, 10 Mar 2021 16:22:01 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id a6sm300962otq.79.2021.03.10.16.22.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 16:22:00 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 01/26] meson: Split out tcg/meson.build Date: Wed, 10 Mar 2021 18:21:31 -0600 Message-Id: <20210311002156.253711-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210311002156.253711-1-richard.henderson@linaro.org> References: <20210311002156.253711-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::230; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x230.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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: r.bolshakov@yadro.com, j@getutm.app Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- meson.build | 9 ++------- tcg/meson.build | 13 +++++++++++++ 2 files changed, 15 insertions(+), 7 deletions(-) create mode 100644 tcg/meson.build -- 2.25.1 Reviewed-by: Philippe Mathieu-Daudé diff --git a/meson.build b/meson.build index adeec153d9..8bc472ddeb 100644 --- a/meson.build +++ b/meson.build @@ -1936,14 +1936,8 @@ specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'), capstone) specific_ss.add(files('exec-vary.c')) specific_ss.add(when: 'CONFIG_TCG', if_true: files( 'fpu/softfloat.c', - 'tcg/optimize.c', - 'tcg/tcg-common.c', - 'tcg/tcg-op-gvec.c', - 'tcg/tcg-op-vec.c', - 'tcg/tcg-op.c', - 'tcg/tcg.c', )) -specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('disas/tci.c', 'tcg/tci.c')) +specific_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('disas/tci.c')) subdir('backends') subdir('disas') @@ -1952,6 +1946,7 @@ subdir('monitor') subdir('net') subdir('replay') subdir('hw') +subdir('tcg') subdir('accel') subdir('plugins') subdir('bsd-user') diff --git a/tcg/meson.build b/tcg/meson.build new file mode 100644 index 0000000000..84064a341e --- /dev/null +++ b/tcg/meson.build @@ -0,0 +1,13 @@ +tcg_ss = ss.source_set() + +tcg_ss.add(files( + 'optimize.c', + 'tcg.c', + 'tcg-common.c', + 'tcg-op.c', + 'tcg-op-gvec.c', + 'tcg-op-vec.c', +)) +tcg_ss.add(when: 'CONFIG_TCG_INTERPRETER', if_true: files('tci.c')) + +specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_ss)