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 1274342E40 for ; Mon, 8 Aug 2022 19:31:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1440768B786; Mon, 8 Aug 2022 22:31:12 +0300 (EEST) Received: from w4.tutanota.de (w4.tutanota.de [81.3.6.165]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 27A7B68B44B for ; Mon, 8 Aug 2022 22:31:06 +0300 (EEST) Received: from w3.tutanota.de (unknown [192.168.1.164]) by w4.tutanota.de (Postfix) with ESMTP id CF1E21060136 for ; Mon, 8 Aug 2022 19:31:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1659987065; s=s1; d=lynne.ee; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=jm2t6PiQq+phn+rPY8p1rnKeB8aAhuHvkjiiWpIO0Ww=; b=TnR/l3DMYxFQJxBV9l04BuIomc0Nyw2kITBwVumO//RGYAGJbCYO4MqWIm1OGAtx 4rwswAY3jn3fLIjMBk8U95VDmw9TJJpyGAERjPpYxH0Feton7AJo6w9E5T0mKcrELMA MIZgaLAh/oejTcqxAHmxm+t6c9IPGcrG3X7q8fVWg28gcLK+0AyEjSthlv6ncOnPNpV YUzAOayFXkdrGMsE9e4X5Mu8MaZTNWf3yvSRkP9inrpp8trJMGjVowImH/2yd4lsdvH HFU9cmdYwS/tIUUUwOZTmBPNKzQ2hLLHfgtBbqYWqxifY2Lbk8qA2GCbK6mYCntoUOD /SPjrqz0lw== Date: Mon, 8 Aug 2022 21:31:05 +0200 (CEST) From: Lynne To: FFmpeg development discussions and patches Message-ID: In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH v2] add a configure flag to enabled tree-vecorization with gcc 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: Aug 8, 2022, 17:25 by jswinney@amazon.com: > Recent version of gcc improve the automatic vectorization. This flag > allows adventurous users to enable vectorization. Known problems with > this are primarily related to inline assembly for x86 and so to address > those, add a pragma to explicitly disable automatic vectorization for > those files. > > Signed-off-by: Jonathan Swinney > > -- > > Thank you considering this patch. I believe this addresses the primary > concerns that were raised by my previous submission. There may be more > files which require the pragma add `-fno-tree-vectorize`, and I welcome > suggestions. This should strike a compromise, allowing some users to > enable vectorization while not breaking mainstream builds. This should > give time to work out additional problems if they arise before enabling > vectorization more broadly. > I dislike this, pretty soon we'll end up with compiler version checks whenever vectorization breaks. Either gcc should fix miscompilation, or patches should be sent to write assembly (which they should be anyway). _______________________________________________ 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".