From nobody Sun Nov 24 21:39:53 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1720007090; cv=none; d=zohomail.com; s=zohoarc; b=Us1QkcaHcIH4/QWypI6y1/3xsYOqHUvfkxxg6fTVvTJMA9HQm8SSnwiHI6QWWzMmYh2njujNK6c5fIMHDSpLPMYCSz3ZwF9ZSefebenB/nCm23WJByaKjuz6Y8C7qEkUMQsU3aIDhxYz/YkENxMk9DST7wxz6Lr2eQxrGMoHofQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1720007090; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=06uE3a+8elCE0VpcE4vt/8GwafraE9+Wk9HtMQRUHuk=; b=Q9JmrTFmPwYi9jtN7iq863LsCYfPtstwZzWVxHG8IEQ67T+gx8AHjfXhfycEh8uE2NivKoZS96k14///pQBoJUGUpr0jr8X6mJUegSmipWu2Yp7K6squykSIQAYdO5c7hm9ex4RaqtF/AdtyY/JTx/ar7nclKZUOw8iZ2Pm0xwY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1720007090300748.9867774296678; Wed, 3 Jul 2024 04:44:50 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOyOo-0005Ow-V2; Wed, 03 Jul 2024 07:43:46 -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 1sOyOm-0005O8-IS for qemu-devel@nongnu.org; Wed, 03 Jul 2024 07:43:44 -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 1sOyOk-0002E2-Uf for qemu-devel@nongnu.org; Wed, 03 Jul 2024 07:43:44 -0400 Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-88-v7JcY52qMcCNn4Jg8ds8xA-1; Wed, 03 Jul 2024 07:43:39 -0400 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-364b75a8194so3165634f8f.0 for ; Wed, 03 Jul 2024 04:43:39 -0700 (PDT) Received: from avogadro.local ([151.95.101.29]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3675a0fb92fsm15793097f8f.88.2024.07.03.04.43.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jul 2024 04:43:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720007021; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=06uE3a+8elCE0VpcE4vt/8GwafraE9+Wk9HtMQRUHuk=; b=U1JRemjutmYjbenDVyDP9C7ZwNmG8A0y+jVM3wYLE3hBe/Nn5CMkMtYb44OSCEl/+DOCjx 8syZpUY1wCQA4cgygJJG35xRxFUbs30jCbjSSpWIgZdkNCQIkqpyMXR1bVFIhj5AyL+0Ql gJaxPaNMDUQNrrZvoNCwr94Vey8j7ww= X-MC-Unique: v7JcY52qMcCNn4Jg8ds8xA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720007018; x=1720611818; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=06uE3a+8elCE0VpcE4vt/8GwafraE9+Wk9HtMQRUHuk=; b=whEpgLqF3WPD/esc2pWad/48zR7aNlupx9WkC79LZYaNdXJx2hRq5oGux/kzdkLkoo UMjtil+evl7zdDpuxaRDaM2DO0I9M7A0zh0/G7xc8NC3Cn/1TGvMcC7J15bnKaRtlP4O 8iSnqWn6kCRbjrLAY/BIvz/A3BECC5pWfpIdj1hju5A+5yySt5AIG4ozUJCjNULJ2cDv 64FjMVVn8sm8df5L1d+icWKdrJpM47PX8+3ktrYl2pDCQ+iYtt9RXOZlqBa+FBLfEIKr hC0+m/M2Yt2arn3ZSHg/s+gpo1MRfBKlI5gQxJKnQXHF4krhsYUbboiNGQnR164idu5c jIFg== X-Gm-Message-State: AOJu0YwpKJDZBzAqKGC8Bxb9FxbuN0FGc5ytJZNTs6h98is2EdCw2+Fu BXl2c9ZMFcoOG6jejkmaIwI7L7Kny/Y6wtPqRFnAoTkrhoRz3NkvgNa4GP2adKi62ua+qIenQRj ADk67KNVlh4Hs3SzWfr0doSfXwKg3E6AHH0MBuxwz1nb/DDvc6kGgYw0pjm/rQDAbYPOf02upUt GTRa0OqlocjA4fjvl741DyE/pEPn+uGhLkDOTs X-Received: by 2002:adf:ce8d:0:b0:367:9754:810c with SMTP id ffacd0b85a97d-3679754820fmr328292f8f.38.1720007018483; Wed, 03 Jul 2024 04:43:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3jMnOwBHvF3fSxxw6dJLQ6jy0BqP4YBIgY0ajiiuim05q+8Njmxy+OD43QUP+RPi3+G8cfw== X-Received: by 2002:adf:ce8d:0:b0:367:9754:810c with SMTP id ffacd0b85a97d-3679754820fmr328282f8f.38.1720007018055; Wed, 03 Jul 2024 04:43:38 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PATCH] target/i386: add avx-vnni-int16 feature Date: Wed, 3 Jul 2024 13:43:35 +0200 Message-ID: <20240703114335.1657042-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; 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: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, 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_H4=0.001, RCVD_IN_MSPIKE_WL=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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1720007090864100001 Content-Type: text/plain; charset="utf-8" AVX-VNNI-INT16 (CPUID[EAX=3D7,ECX=3D1).EDX[10]) is supported by Clearwater Forest processor, add it to QEMU as it does not need any specific enablement. Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/i386/cpu.c b/target/i386/cpu.c index 4c61270762f..aeee7102af1 100644 --- a/target/i386/cpu.c +++ b/target/i386/cpu.c @@ -1131,7 +1131,7 @@ FeatureWordInfo feature_word_info[FEATURE_WORDS] =3D { .feat_names =3D { NULL, NULL, NULL, NULL, "avx-vnni-int8", "avx-ne-convert", NULL, NULL, - "amx-complex", NULL, NULL, NULL, + "amx-complex", NULL, "avx-vnni-int16", NULL, NULL, NULL, "prefetchiti", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, --=20 2.45.2