From patchwork Fri Oct 11 15:32:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 834585 Delivered-To: patch@linaro.org Received: by 2002:adf:b352:0:b0:37d:45d0:187 with SMTP id k18csp907262wrd; Fri, 11 Oct 2024 10:06:11 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUvn+FRUWzNuTmElxzkvkf51laPYkPHjgD601ualEG+wn/CkAPrgOg7YWpatPZU40NHkT8Uhg==@linaro.org X-Google-Smtp-Source: AGHT+IF0HIePdTEZW/g/XcpVIzOX2qzdCugmR9bXVdNmgLzdr2JgAg7abkW0X6BQLqZCHIowMjXz X-Received: by 2002:a05:6808:2223:b0:3e3:c411:adf0 with SMTP id 5614622812f47-3e5c90f10cdmr3729609b6e.21.1728666371550; Fri, 11 Oct 2024 10:06:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728666371; cv=none; d=google.com; s=arc-20240605; b=W1t+V75AgRf26iDLSA9zCQcV8+O+66kafBQk4ZZHD6vUGgcpjPkbiohIVvGQDVTr70 6D1Ynv3L25adTYa3P1g7tdyi8OSv1cTyP5VJKD5OWrID8oCvvmuw8z2PhhceXe36NNCn 8irvtfb/slEfL+pJh5ZPDZpp+RtVkML0gSprZ5c0syRt4rlxwp0RavNs9F/mLM6zl+cx QH4H0xOS5rPvY/betErtmA6/QCZimBA0YHofyAHQF8NrSY9ko6sDldax+N0KrezL5Y2j fAx0De8F5q8EfuODx5TEqguaj8XWQUMWa/ytSwcoPC5o3QDRa3NnMYKVDk6Pw0z42Hqi YHrw== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=I1CI3G168F3cDdpDRHRzVTftyK0R2VTAU16G+izB978=; fh=GlLk/sh8LENN52m2Vr5VWtfStTcx2+7REzHY9sltXPA=; b=dk/JYsXU0Z42iVv8lHZ1ClOBPTyFzKPwLBLWL2U++b5GlnASyGHhsQ+m0E9fpAPTty Sh302eJfpDhzc6FAGW0cWCj6UH6cKNgnpKTBkPcadM9/a8RxkiNbp0SWQzCSNDwR6bp4 eq+IqoqxpO6hv6N1FVJzVZ6YxnlzNifjFcfTgqiWJFMCyFFfFWaBa+l1nVLStqLp92Sj 9nZJ+Jmvhf18Q/kGIXg82DWe8cvuPByaFxFjf56g+ULpmmN5AWeEbCoFk4WmzCAwnZQT qFkF3jcr3sBViIPWL+q43vXAEJCaOGrpl3b8jMqMmdIpSbk/uKtiDbC2I+v/1yQh7kyQ HzzA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NpQp3vJ9; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id a1e0cc1a2514c-84fd32fbd43si1024500241.3.2024.10.11.10.06.11 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Oct 2024 10:06:11 -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=@redhat.com header.s=mimecast20190719 header.b=NpQp3vJ9; 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=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szJ4a-0001Fq-T6; Fri, 11 Oct 2024 13:05:05 -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 1szJ4S-0000wP-24 for qemu-devel@nongnu.org; Fri, 11 Oct 2024 13:04:56 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szHdt-0007FC-Sy for qemu-devel@nongnu.org; Fri, 11 Oct 2024 11:33:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728660805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1CI3G168F3cDdpDRHRzVTftyK0R2VTAU16G+izB978=; b=NpQp3vJ9lexH3YMHGZFDwnuafLH8dr8xupe8uiMxPFevDVkFuwetX/OkcUHzOEib6V5hzw jng/q1vgnyS+cTJyTEPUpCG4GuNrRujVPJgiTk9CcAtfAlpk61TkulbifjTIjYNf/S85W3 Hk+VsoZHlGjPRMKAUWSdlF86yj0799Q= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-502-7_4ZJp4dMryiteM0txn-xA-1; Fri, 11 Oct 2024 11:33:24 -0400 X-MC-Unique: 7_4ZJp4dMryiteM0txn-xA-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-a9953ddfa4fso171386566b.1 for ; Fri, 11 Oct 2024 08:33:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728660801; x=1729265601; 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=I1CI3G168F3cDdpDRHRzVTftyK0R2VTAU16G+izB978=; b=W1UCRtbnu8Faadj3vQJN1Qj7h/OrNuXmsYtjVCPs73BdbA/hVxRQx9owOFUVW6lg+J m/UpMWhD3YfQkzAV4tpYbusJC3sfwprrezdvbXZhPwmkAWQ4jAQsDXrYbwZG9NQg3kqb FOBoCWlXk18j7IuqKGCbmiMSmUoMGt1YHUbPOyCyiTaLRi7lWhF6nCy1JwTtZsegMKgn /lRGpZWs20Nk+3j99j2y+N2XhNbEbhX8qbatyOv8fsallrq+ZA8auJ9n5gO1Eey9VLHZ vUjw713DweQEqjBRhCgJJ+QlsakeUhld8WOexOJqnDnrJN0BVhWc3MnCUVdWBq6SyOoD lGjw== X-Gm-Message-State: AOJu0YxQfE2RAbLoz4HJy5irsmJjM09fhC5qRnyuOiEerds0DBAniHhU 5eKto4MPbY6CyqLj7OZYj2oJKCdmPkgEExgRtWYNmqEt91Ym29w3W7K+IjX01GMPgg1OzOIro1D pyZqvvJCgM6pbipKL/KsbF8dSkCKT96MI/W7eA8N7FHzOY+0IsnA5i/xdciS8QXaRbPIf69qeYv wF5OHkQX9Nss72RnEL5ztK7DyJZS7BRF9TAZQm9R4= X-Received: by 2002:a17:907:940c:b0:a8d:29b7:ecf3 with SMTP id a640c23a62f3a-a99b930e9d1mr246662566b.13.1728660801108; Fri, 11 Oct 2024 08:33:21 -0700 (PDT) X-Received: by 2002:a17:907:940c:b0:a8d:29b7:ecf3 with SMTP id a640c23a62f3a-a99b930e9d1mr246659966b.13.1728660800682; Fri, 11 Oct 2024 08:33:20 -0700 (PDT) Received: from avogadro.local ([151.81.124.37]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99c0c89bfasm57964666b.162.2024.10.11.08.33.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 08:33:20 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , qemu-stable@nongnu.org, Michael Tokarev Subject: [PULL v3 11/18] meson: fix machine option for x86_version Date: Fri, 11 Oct 2024 17:32:19 +0200 Message-ID: <20241011153227.81770-12-pbonzini@redhat.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241011153227.81770-1-pbonzini@redhat.com> References: <20241011153227.81770-1-pbonzini@redhat.com> MIME-Version: 1.0 Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.15, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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 From: Pierrick Bouvier 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 Reviewed-by: Alex Bennée Tested-by: Alex Bennée Link: https://lore.kernel.org/r/20241004223715.1275428-1-pierrick.bouvier@linaro.org Cc: qemu-stable@nongnu.org Fixes: ef7d1adfa85 ("meson: allow configuring the x86-64 baseline", 2024-06-28) Revieved-by: Michael Tokarev Signed-off-by: Paolo Bonzini --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b91863736ea..76335bb2a51 100644 --- a/meson.build +++ b/meson.build @@ -375,7 +375,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)