From patchwork Sun Dec 4 01:51:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 630859 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp1780590pvb; Sat, 3 Dec 2022 17:52:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf4/691AAmVAf5hk2wBLB+jyV7hlpt5zxTqSEcI6ySmWtfgsIghltDpAuSY5UOAjdWMGZe4i X-Received: by 2002:ac8:528b:0:b0:35b:b250:340c with SMTP id s11-20020ac8528b000000b0035bb250340cmr71082310qtn.511.1670118754810; Sat, 03 Dec 2022 17:52:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670118754; cv=none; d=google.com; s=arc-20160816; b=Av8GRShCrmoyT92Iak/xjZvQIGwFzol7WgZheG40yfnCYdVs1NX4XoIws1p5RfLcU8 6/V2oNt+v6Wa+T4NOrRy+BkVyQoC8+mvKlU+g94ZpmhC1FaIALEjlu43tSRPw7/n7rnW cmVKWZswSVoFrHaH/hSfOZzybSZiM320/YGMddZSNw6IXbbd2ezTba/ob/+a/ZwpWqoO ZaQS6GXtW3kG+AymkvVkcYBhCnF3hNpB5vUSenea3NiG59fUAom1gRNooE42kOcp7l2L wJYX4vTl0G2GIIKZrA0Fn6cYWk6GC+0KpVOfy/TUq7/wlGBDPTBuDee6hDBWubBThTVm GN0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=qRDYrNC6ncCIQaccXMpu7DJfjjb+N50VX4ZID09pXFQ=; b=hfgNCFX7QvCtG784405mA/wmeHP6jkUxL1fq/ODn6UPnWb9G1LlrOoZy9hzLhV13AV KWUPmF628+i3A2X71kPyG6E9SO3Y05pTJU8H5GTKUwPtdiSuMiEKyMc71jHpEKdqgRF0 spp+MvWg6qbdh642E/VfM1HbWe502KhmcSJNadoq4TKoJyG6pjMqqcIjm4Vq1vcJcRmn hH8u2zDAAVlvKUB8/RTt0qHAvhbc9o6iEuPzHw4N3MpkRiAHGbOM/FWdGeu8Ho16lbiU h0BOIsYrokQXMtLEnS554tHcMypBn462mE+D1CukCZXy2N/wfy5pRPG9Wn8cEfVBEYl7 i8Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yP+hhmKf; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 8-20020a05621420c800b004c6a7699376si6536394qve.63.2022.12.03.17.52.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Dec 2022 17:52:34 -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=pass header.i=@linaro.org header.s=google header.b=yP+hhmKf; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1eAI-0001Yw-6n; Sat, 03 Dec 2022 20:51:34 -0500 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 1p1eAG-0001YC-D1 for qemu-devel@nongnu.org; Sat, 03 Dec 2022 20:51:32 -0500 Received: from mail-oi1-x235.google.com ([2607:f8b0:4864:20::235]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1eAA-0006nt-TY for qemu-devel@nongnu.org; Sat, 03 Dec 2022 20:51:32 -0500 Received: by mail-oi1-x235.google.com with SMTP id v82so9287909oib.4 for ; Sat, 03 Dec 2022 17:51:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qRDYrNC6ncCIQaccXMpu7DJfjjb+N50VX4ZID09pXFQ=; b=yP+hhmKfKzOfcAbQtSxJkFavl7xJG1bFWicDT1MDlAtBYo+R94iX7MIP86vMa/rFWj T8wnNsBKRjLVIOTXJgOBHSBDAOF2YvHf3OPqtdFSkUlHmaR6frZJm0VvRtglg57el2fM 3aXqkgUma0T5feuPhJFrqq5D4Vkck4dgQ1kkWEuWjYCtLFj8BVgYb2LM+j8VIe8+/gMW azzc3RHCNMmSTTdjPsdYKsoQUITHmaf6c1zfGqa9NcUvoAMMlTSaxfOoUSthNjVYfHro VAhksNkIwm/c+MdI3qWe7GUnWZ3r8oCslAIc9XOvU7ngiE8AaSZK5pt35fy4TVMfXLwO momA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=qRDYrNC6ncCIQaccXMpu7DJfjjb+N50VX4ZID09pXFQ=; b=bivICtceaEBldzxKFxFRD8L/4bG5rgXa4wnfgoPMYCkxVUUbAHDPYKoQhbcyfVFfcX qeMuKySNr81/LrGXJkSpzfMChqjZCZcrbgC2WUGSVGYAqhKfCkMtajlMFndXEoZrZrnM 1WaaycQYoFGQYhVscQMltB2kksQVIOCdxNii+tCozFDGnbaBzXb3h5WNxPyVfnW8yyns Uvru0L7DrCyAEJXxkUeLal6J9IgZbLYh+z5UG0gQwewgzNJaRLG4voCsU4DLy4YJ7EGJ GGyiZL4OIvxhISIC6wD6BMhYnubM2vbMVbZLkRYvoOQ/tdQs40Hgyokpo+0wBLZqJqB+ Wo6Q== X-Gm-Message-State: ANoB5pms6SxyIj1KohUSAgTAYXqytkxSaM0GOlURn2p02whBPFAloms1 5pWtH8IfNa6yBuLk07r2bI6KvYtK7iPPkx7t6zI= X-Received: by 2002:a54:4388:0:b0:35a:7db1:8d13 with SMTP id u8-20020a544388000000b0035a7db18d13mr28923003oiv.202.1670118685546; Sat, 03 Dec 2022 17:51:25 -0800 (PST) Received: from stoup.. ([2806:102e:18:70b5:6b63:a06c:99b3:833]) by smtp.gmail.com with ESMTPSA id e16-20020aca2310000000b003436fa2c23bsm4964215oie.7.2022.12.03.17.51.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 17:51:25 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, tstellar@redhat.com, berrange@redhat.com Subject: [PATCH v2 0/2] Use a more portable way to enable target specific functions Date: Sat, 3 Dec 2022 19:51:21 -0600 Message-Id: <20221204015123.362726-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x235.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 This is a revision of Tom Stellard's patch from last month which also removes the use of the #pragma. Also, tweak --enable/disable-avx512f. r~ Richard Henderson (2): util/bufferiszero: Use __attribute__((target)) for avx2/avx512 meson: Set avx512f option to auto meson.build | 8 ++------ util/bufferiszero.c | 41 ++++++----------------------------------- meson_options.txt | 2 +- 3 files changed, 9 insertions(+), 42 deletions(-)