From patchwork Mon Oct 31 23:27:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Cadhalpun X-Patchwork-Id: 1242 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.129.157.85 with SMTP id u82csp358325ywg; Mon, 31 Oct 2016 16:27:14 -0700 (PDT) X-Received: by 10.28.92.1 with SMTP id q1mr13510121wmb.62.1477956433984; Mon, 31 Oct 2016 16:27:13 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id v187si6404659wmb.80.2016.10.31.16.27.13; Mon, 31 Oct 2016 16:27:13 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@googlemail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=QUARANTINE dis=NONE) header.from=googlemail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7C238689BE3; Tue, 1 Nov 2016 01:27:07 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CF541689B45 for ; Tue, 1 Nov 2016 01:26:59 +0200 (EET) Received: by mail-wm0-f68.google.com with SMTP id c17so20432217wmc.3 for ; Mon, 31 Oct 2016 16:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=5Rkc6K/0443K7UlS03B8NSHdt6JQ4+2jHjw7ZXvJu6w=; b=l1TU6bxO3vvXxbwf6MImNkn4Y7x7xjgJoaKbK8AUCvv1BBeyKKABb4dkQKtW+bE00u 9rISoa4Y1q7FWVaNxEUndA7VOJT7h17O/9PWjMYkozdkwwSFuDVOxA5CyO8JI1t6m2Uj hWP3QGTdwhQ13b7XBFYvMj0NnQ6QWa8WYNueo3z7fOwzGfmxjjeKEiJjD/Y46AJz5v8i me1hkpUtYbYOCQJ0r1L2QtwikZiwToPuSHcIZjFq4+IozxrL5JhqL2Yn//SF9QMrLDj5 uMP7otgtAkbBoUpAtaUhPvY6VOPIeD1+g7xzfTgSsbTO2NDq2muyX+DRwC9oMFEBhPED sMVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=5Rkc6K/0443K7UlS03B8NSHdt6JQ4+2jHjw7ZXvJu6w=; b=Cr/q6l3VOS+CLhL5nUen+7gSSoHYobnAdYb1bdaHSk2+avNDj089lHkdv2itwRHjKN I+SPW5Afa6w+jeNrF3G9Gy59AXocRpm+72cQ3GH4BL6oU74i7H3TrIA3It5GNHLG2QPi Cypk00iSp4uS9Dn5yIdOf0XRLfAS6FT8r4ap7BxYyuqupaoQREUiIQBN/GKfeM0t4R2T P12qLHPVaDy+mc2oubAwFwMt3W0oT9hhUebQR7RSUjUB7Z909q4L2ZROzB+Mt+2sKLK6 W7tEnhxlOgZgYhB+NAMZLi086KcM6I8PAxfYCaSzNq2TrwkMMRCzV5pXieybDhuSEu1U HxCg== X-Gm-Message-State: ABUngvfuVFZiFmhY11FTQ/lGGw/FltSLlN7f+NQMn9W+aJwnYi0S1mDBCALEd+FcAQs1Iw== X-Received: by 10.28.29.68 with SMTP id d65mr12202693wmd.91.1477956422334; Mon, 31 Oct 2016 16:27:02 -0700 (PDT) Received: from [192.168.2.21] (p5B095E4A.dip0.t-ipconnect.de. [91.9.94.74]) by smtp.googlemail.com with ESMTPSA id za1sm32496868wjb.8.2016.10.31.16.27.01 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 16:27:01 -0700 (PDT) From: Andreas Cadhalpun X-Google-Original-From: Andreas Cadhalpun To: FFmpeg development discussions and patches Message-ID: Date: Tue, 1 Nov 2016 00:27:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] pixblockdsp: disable altivec optimizations on ppc64be X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The checkasm test fails, see trac ticket 5508. Also, the following tests fail due to this: fate-vsynth1-dnxhd-2k-hr-hq fate-vsynth1-dnxhd-edge1-hr fate-vsynth1-dnxhd-edge2-hr fate-vsynth1-dnxhd-edge3-hr fate-vsynth1-dnxhd-hr-sq-mov fate-vsynth1-dnxhd-hr-hq-mov fate-vsynth2-dnxhd-2k-hr-hq fate-vsynth2-dnxhd-edge1-hr fate-vsynth2-dnxhd-edge2-hr fate-vsynth2-dnxhd-edge3-hr fate-vsynth2-dnxhd-hr-sq-mov fate-vsynth2-dnxhd-hr-hq-mov fate-vsynth3-dnxhd-2k-hr-hq fate-vsynth3-dnxhd-edge1-hr fate-vsynth3-dnxhd-edge2-hr fate-vsynth3-dnxhd-edge3-hr fate-vsynth3-dnxhd-hr-sq-mov fate-vsynth3-dnxhd-hr-hq-mov Signed-off-by: Andreas Cadhalpun --- Just disabling the checkasm_check_pixblockdsp test for ppc64be, as was done in commit e5d434 for release/3.1, does not make much sense, as the altivec functions actually don't work... --- libavcodec/ppc/pixblockdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ppc/pixblockdsp.c b/libavcodec/ppc/pixblockdsp.c index 84aa562..7822eb0 100644 --- a/libavcodec/ppc/pixblockdsp.c +++ b/libavcodec/ppc/pixblockdsp.c @@ -266,7 +266,7 @@ av_cold void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx, unsigned high_bit_depth) { -#if HAVE_ALTIVEC +#if HAVE_ALTIVEC && !(ARCH_PPC64 && HAVE_BIGENDIAN) if (!PPC_ALTIVEC(av_get_cpu_flags())) return;