From patchwork Fri Jun 11 23:41:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 12316653 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F40ACC48BE5 for ; Fri, 11 Jun 2021 23:43:56 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B91EC613B8 for ; Fri, 11 Jun 2021 23:43:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B91EC613B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:53072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrqod-0005ot-SU for qemu-devel@archiver.kernel.org; Fri, 11 Jun 2021 19:43:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrqmb-0002CJ-3b for qemu-devel@nongnu.org; Fri, 11 Jun 2021 19:41:49 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:40457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrqmZ-0002Ww-7d for qemu-devel@nongnu.org; Fri, 11 Jun 2021 19:41:48 -0400 Received: by mail-pl1-x635.google.com with SMTP id e7so3597130plj.7 for ; Fri, 11 Jun 2021 16:41:46 -0700 (PDT) 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=5uMDnDezH8ov3NNnW0R3HVYll0BfUqU9E5lc10lEDLE=; b=b6WPe+KTdqsJPklkzvOPNM3pYY0KxQJgFZiXbbtRZYiY6tpIahZlG7PP97FDeQPZfh P9ifPm0cacZyRlvzddG4rO3PK4wRniIg2tkGyXblGneLzEU1k223fpBmEOdQz7CsNqzR tojyhupRXNcBPpKGQfD+Gh/RCcKbGFxuENl7N7Zl4/poVopW2gOqjt/YfTL89lCz3aeB a/cuhUNezVDpcK2/RBduNqceu2zKT4LWP7VHtXfUB8ZPFA9ivhwYRoea8u3XS5r3WYtq zWshI3W5lSPjIqhGpQNNqvlnZe/BQqWyrJN8DHWd/hqy5RksxPnxPsz7a79LP+oZRkG0 1LLw== 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=5uMDnDezH8ov3NNnW0R3HVYll0BfUqU9E5lc10lEDLE=; b=e2ZZiLVhjKNUd1uPxl5aTKfqlli9X3RiAFYxGqpNr1RXZggjRwwku9a5gRqQCYeltr ejBvD7hFUHK1CAP/CpS9a7Rvw4AcUx4VE8BiU57EaOpeF1z/awjaY8wkQvtTKkiyPcPn y2F2SX8FtbOtcaZs/zt5VhEVC1FVfGMs+W3LdD4XUJmv7gzeCZKEaQfd0RBax9S7W5qq iOxLXO1C2ZD4zDTE+8oR3iHDwUbXIsSV+pF9Lr8APw9OvYolRJHfOq8bCMSzz12uJctr Wz0KE42LYp+8PBFJMAWpPc4CQbzBcV2aAvFWkd6bH4/O8qRs2fWQH3d0ex8u4vsmR2Zr qojg== X-Gm-Message-State: AOAM531Y7AbztgiaIbO24L7LSAw/v2m2qwRokygCsR9DRxEEjG7PRd6N Ody9G61gzdaVzPYi+A1bSyilvQxeuZPjpQ== X-Google-Smtp-Source: ABdhPJwv5w+qju1lbPjYaG1T5O86JQlO1HonObrBbI21o0UkBqb9amBxwSvM1Euv/Mi2x8CzuGpX9w== X-Received: by 2002:a17:90a:d590:: with SMTP id v16mr6737382pju.205.1623454905921; Fri, 11 Jun 2021 16:41:45 -0700 (PDT) Received: from localhost.localdomain (174-21-70-228.tukw.qwest.net. [174.21.70.228]) by smtp.gmail.com with ESMTPSA id q23sm6139829pgm.31.2021.06.11.16.41.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Jun 2021 16:41:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 01/34] meson: Split out tcg/meson.build Date: Fri, 11 Jun 2021 16:41:11 -0700 Message-Id: <20210611234144.653682-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210611234144.653682-1-richard.henderson@linaro.org> References: <20210611234144.653682-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x635.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: Luis Pires , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Luis Pires Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- meson.build | 8 +------- tcg/meson.build | 13 +++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 tcg/meson.build diff --git a/meson.build b/meson.build index d2a9ce91f5..b5b2cf9e04 100644 --- a/meson.build +++ b/meson.build @@ -1970,14 +1970,7 @@ common_ss.add(capstone) specific_ss.add(files('cpu.c', 'disas.c', 'gdbstub.c'), capstone) 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('tcg/tci.c')) # Work around a gcc bug/misfeature wherein constant propagation looks # through an alias: @@ -2007,6 +2000,7 @@ subdir('net') subdir('replay') subdir('semihosting') 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)