From patchwork Fri Oct 4 22:37:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 832773 Delivered-To: patch@linaro.org Received: by 2002:adf:8b52:0:b0:367:895a:4699 with SMTP id v18csp999577wra; Fri, 4 Oct 2024 15:38:22 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW6+nxWghb/EegcZS0iR7TttHnLH0EhB3LcKMOI07A6f/UncvqND5pVjgS03BJ3aiE6jqSVkg==@linaro.org X-Google-Smtp-Source: AGHT+IFi2blkZK+zZHdqNRk93jpuPNLQJTN04CrS/ImBgyemp2LgFLxaXc4p0E+Dk4yyafrAaLsh X-Received: by 2002:a05:6214:5906:b0:6c5:73b1:700a with SMTP id 6a1803df08f44-6cb9a482949mr71653716d6.46.1728081501824; Fri, 04 Oct 2024 15:38:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728081501; cv=none; d=google.com; s=arc-20240605; b=hoQqisJh2cYzP28mbKX7MpOrI7ZjMqqevLVBLvcC7zLHMZfwwWXGMbkHPgpxPsbpOE mNkB1YKElrogfqwJknyWrYuOflB4D0YrbWy+WclPevkBupcr7zShtgu1mJDyzIQI/5HB +HXS0nOfpgIxe5tHiouFqTv0UKnzmuAyeleH/4EBiwtCspJI2NquffMtd+pdvMqGD2SO eHgWPhPU0+uw9nfvZ1fAmYDERDZVP0+6f3cP57UKOXobUuAD+MbIGlxWddJz/5AVfbqB S716ldfWXpTRfURVCKCwBs0Ytwn/mISAIly5nXJChXJuIsjv3sjEeheo2QI7Btuqzb3S 77IA== 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=InT+9+kbEpZt6rHNxMmMOCL/cu96/bNQ8jsBSgWm7nw=; fh=jNU/HUFZAQ0zERuGGTXMCtZwXusJoMbA+Q4I88OUjLA=; b=FS2GlN4w9W8qYy5v1mU7qpCBR3HFngKk1li8RzTCaORj28BCEXyvmWzz4+5DUPFYsX iIDHt9m80+guNra6W5B2rjhZRJvN2HAUBc0HQmaNsBEuH8kkkMvTr1FCOtfZqu2vFG56 ytAxe2pgqEC2hcr6DOuxRUbpf9lOhUN5CwEQE9pVXhMK2tjoZ39ibWmBgoruGw3pOCzc 9xnh97YcDwBke+mKt9eOC2vQ+gwnvTDqTMmYtB3iQPORhG3f2uLoV+ktJQvuH19ffvbn iOJucdZY19PkKR3wBV29xRM5OF6ys49PG1g+Pmzv1m/oagJtXkPuvXxCUYNXNrkfX7zj SuVg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wWHfr9Uc; 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 6a1803df08f44-6cba46d7db4si8503066d6.103.2024.10.04.15.38.21 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Oct 2024 15:38:21 -0700 (PDT) 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=wWHfr9Uc; 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 1swqve-0000sC-7n; Fri, 04 Oct 2024 18:37:42 -0400 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 1swqvW-0000ru-1g for qemu-devel@nongnu.org; Fri, 04 Oct 2024 18:37:34 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swqvS-0004Zt-Oe for qemu-devel@nongnu.org; Fri, 04 Oct 2024 18:37:33 -0400 Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-718d704704aso2366028b3a.3 for ; Fri, 04 Oct 2024 15:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728081449; x=1728686249; 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=InT+9+kbEpZt6rHNxMmMOCL/cu96/bNQ8jsBSgWm7nw=; b=wWHfr9Ucd4ISZpUO/3BBz7HJZR7OghCZbJvrEn+zljanY3qvN27oz54lIUYmPO37mY KPer91XBx131uBSZuhOGhHkzXxk1r8NK2hRjAhV3hDzr7l3N4/AGHoz04IHJ4NzqD/zf DWfOmhr5Ga4ocgzPiyPVJZB/3EqkVsZ4CdQj9YExp8rFiBehCmEsdz/SQr7nWMS0bkVg a7b496AVTfMsfHB+hXDxl/bPlcgd7s4sNw8TImoldAPRHn2hSdVusXDIjCuHZyim8cHM 23jKYF/CoYmskiDun2uri7KmLftnvr68+mU/SkRov41qLsIt1pSbpxCg4xwhkxEe+XgK uvPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728081449; x=1728686249; 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=InT+9+kbEpZt6rHNxMmMOCL/cu96/bNQ8jsBSgWm7nw=; b=wzjmD6TAk4KGM8y9yZpf4hqYcAM+hI6xBcZl1ijSf+WAqkZxmVP4igofsHV5+ozR2K SvCgM3ZP+YpbrQKhoexj4WLC2VtVuJ8iaCqGNMcR7FRnweHGAgQcWH1AI9AQ3sXnGoVq WMUYXbw/p8aMzuSK54zBW/JD4Pl0ypOrXUNkyF9M9QIe3m1gaopqJw3rGewG/1is8YX+ sk4hBMsNn3tkT3uW2Y6fJpnvbyMfCNmvrm0EpZQxJzA5mEVnBxpHPfWZ+bSdWrKBaYFu qp9aFob4E65xAoKV1I9d8FPKAsAcNMu4cKiG5sWzve/annSXNDREtUTBUjdag3KsB2vJ NYoA== X-Gm-Message-State: AOJu0YxNEnvh5CkwMfpnNeCpwZAu0qkVi6kdBhdBhJvoQLwuSO5Tnv1y R5Lday7L2LwWoJHgl48jiU2mrGnZOaejqZ1wDJdFs8FUnOgfciXd82MKZCLb1wmXzq0Mtl1URFw 4yho= X-Received: by 2002:a05:6a00:2ea2:b0:714:1f6d:11e5 with SMTP id d2e1a72fcca58-71de23b720cmr6520906b3a.12.1728081448634; Fri, 04 Oct 2024 15:37:28 -0700 (PDT) Received: from linaro.. (216-180-64-156.dyn.novuscom.net. [216.180.64.156]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7e9f680c732sm504807a12.12.2024.10.04.15.37.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2024 15:37:27 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , =?utf-8?q?Marc?= =?utf-8?q?-Andr=C3=A9_Lureau?= , Pierrick Bouvier Subject: [PATCH] meson: fix machine option for x86_version Date: Fri, 4 Oct 2024 15:37:15 -0700 Message-Id: <20241004223715.1275428-1-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x433.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 s/mbmi1/mbmi/ When configuring with -Dx86_version >= 3, meson step works, but compilation fails because option -mbmi1 is unknown. Signed-off-by: Pierrick Bouvier --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index af2ce595dcc..ebd914628c8 100644 --- a/meson.build +++ b/meson.build @@ -362,7 +362,7 @@ if host_arch in ['i386', 'x86_64'] qemu_common_flags = cc.get_supported_arguments('-mneeded') + qemu_common_flags endif if get_option('x86_version') >= '3' - qemu_common_flags = ['-mmovbe', '-mabm', '-mbmi1', '-mbmi2', '-mfma', '-mf16c'] + qemu_common_flags + qemu_common_flags = ['-mmovbe', '-mabm', '-mbmi', '-mbmi2', '-mfma', '-mf16c'] + qemu_common_flags endif # add required vector instruction set (each level implies those below)