From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 864794375E for ; Sat, 27 Aug 2022 12:15:39 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6263168BA02; Sat, 27 Aug 2022 15:15:38 +0300 (EEST) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3E08B68B85A for ; Sat, 27 Aug 2022 15:15:32 +0300 (EEST) Received: by mail-ej1-f48.google.com with SMTP id u9so7513972ejy.5 for ; Sat, 27 Aug 2022 05:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gramner.com; s=google; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc; bh=QFPx2IZBwNoKrTMaVlKXSzHZvUHrctmyKNEvWJxg4sw=; b=LqIbUkcIlwJhl87mfPQCWzNBMzFqykCwFmrV+kwlh5MjR8iw8jmzlypbL0aHSJmwIq C1P6tr95f/2Sbnn56gN3nJRs+6sbBxUMdEMptfTJDLlfh8ZotOSgVC2w7BTbWAOZ7gsh Nl1Bwev/w197WIgSwx8AJcA6Z1ODDDeCSP/ZE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc; bh=QFPx2IZBwNoKrTMaVlKXSzHZvUHrctmyKNEvWJxg4sw=; b=pj1GMUW5FkQSJ2lY80qHvHVbApLOB21AYMFOfvA7BZP08rlnh29eFAA/0gRO61/LL/ AH66f4LbPHoQOCq07aFJO65RRMTHprpbZQW8JvbMHaF7BegYeB2PqF039wAL0DkZuJIR vzxxR1AzqRBXFTxNmrSw3grU5pcp8MOQC9EE5CB8l+THl8WL8UMaLa0UhMT5tvGllqLE sMa5V28UfI/lDzZP3kDIy4lMNF3P8qQnwJgYxGIC43KfWQOH9KmOIMDFPW+GfjeMMJ6z a/f2Cm1MoEPy4+o90RbxVrVhjws+cMuBJQQuVKkqOC4ECzUHrFKPIPSDcgNyc+kZ6IfK zu4g== X-Gm-Message-State: ACgBeo3h63CXxW9aJVuSwrslidmqO6qvN4U0yoZ0BcEMpgPR0vkJz+vH b+mPdSGH7H6IdaqqDEmKHmSOOg/DCiBAi0V5cBubifMEDjkqDVdF X-Google-Smtp-Source: AA6agR5MK9rxR3uZqBzsq4YUWPC1OU+k2g7ld+AubEYEXDfKsxGowjG6/0qf2tpRziY1QkFatB8vTrNB+Eq+tkATp1w= X-Received: by 2002:a17:906:4fc3:b0:72e:eab4:d9d7 with SMTP id i3-20020a1709064fc300b0072eeab4d9d7mr7840575ejw.599.1661602531741; Sat, 27 Aug 2022 05:15:31 -0700 (PDT) MIME-Version: 1.0 References: <6002a350-e0cc-288d-85b0-5189a7647a53@obe.tv> In-Reply-To: From: Henrik Gramner Date: Sat, 27 Aug 2022 14:15:21 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] Discrepancy between comments for AVX512 flags X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: > On Sat, Aug 27, 2022 at 12:04 AM James Darnley wrote: > I think the feature selection is fine as-is, if you want to clarify > the comments go ahead. AVX512 wouldn't be useful with a subset even > smaller then what the plain AVX512 is looking for (there is also no > CPUs with any smaller set, afaik), and most would even agree that the > ICL set is the minimum they would be developing for. To elaborate a bit further, the base AVX512 set is what Skylake supports, and AVX51ICL is what Ice Lake supports. As far as I know, Zen 4 will also support all the instructions Ice Lake supports, so that should cover most systems. We don't really care about Xeon Phi, so the Skylake subset is the de facto minimum baseline. This was done to get more manageable subsets that groups together useful instructions in a way that maps reasonably well to real-world hardware, in order to avoid having to deal with a dozen different permutations. There exists hardware which have instruction sets that fall outside those two subsets, e.g. some Xeon Skylake-derivatives also has VNNI in addition to the base Skylake subset and Tiger Lake has VP2INTERSECT, but all things considered I consider the current design to be the best compromise. I'm sure Intel and AMD will add more instruction sets over time, so we'll probably add new subsets in the future if/when there's a need for it. Henrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".