From patchwork Sun Oct 29 14:57:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 5743 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.90 with SMTP id m26csp1654683jah; Sun, 29 Oct 2017 07:57:25 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SPTcE8QwO/wCiu3mrS2FFGLKPLzoopUPD3RfK6Xj/zsEyoaLYYOMZLojwCtWjQD5UjhmLW X-Received: by 10.223.166.119 with SMTP id k110mr4936587wrc.182.1509289044911; Sun, 29 Oct 2017 07:57:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509289044; cv=none; d=google.com; s=arc-20160816; b=Iea/tLbSOXiI7/jjkfGQ8RAXRoxC0H6UfFOmoyVkHv0c11sHyFyabZiAEcgpLbecne MRnPgaCTE2wmZEEp0ESC8qbxGk7OiRGA8qEIcb98lQet3uCM/skFyjZmR+BiyzgrZIJA hdcWm54vpJVBAYIZ2UK2iJCB7hAS6u+oRxFI3smJw/hP1uDynQarHhYZwn3shorH1zXD h+PgyW/kLcH4JoetvV8iCQJwLk6O6rF8huf1jlwYZNOL1PgV9OTSawyOVUBMPNirqhnx OUqsdhebZbb+N+X3RHA/O86RUV40Y3H9BS2A0qX5y6T9eOE3tbH4dOmEqph3NtN0FvcS P4vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=9Extj9PhQxNPtORbkb+1//annId3tkwrbntRIeyXNKE=; b=Z0jifIrT5hjVCVSlAE4cOauPARjA/95W3+BDdOEVapaIGzglEWfh4yMTYQ8V4laHNf uyJkv+Glovfp6OVVDhJn23rRDksNHSK7kSO8Nq3Yve9hSAeB7/ssL0e0WBoiUCgh+OJi OkPK7u91Zj9HiZOlyR7cQ5G0P9qo4ZRYdUHf2bDD79bIWImYUk227D4XaDqOgxouSmC6 cIdUEy86kmmB97C8vRmMPcgWU6T/u/norIQjngWTOm1htWmcF+3E7FOIWFnEw7hOBFWm hK3pSMDNVHT78nWjSSPCnnvEP/+4CtEMQM3YbpqJApALu2mXudKRaJTVZMe6Co+jSNNp mRPw== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id x5si1376887wmf.159.2017.10.29.07.57.24; Sun, 29 Oct 2017 07:57:24 -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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 67373689F9E; Sun, 29 Oct 2017 16:57:14 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe04-2.mx.upcmail.net (vie01a-dmta-pe04-2.mx.upcmail.net [62.179.121.164]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 50532689D3E for ; Sun, 29 Oct 2017 16:57:08 +0200 (EET) Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe04.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1e8p1Y-0001y3-Ot for ffmpeg-devel@ffmpeg.org; Sun, 29 Oct 2017 15:57:16 +0100 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id TSxA1w00j0S5wYM01SxBmZ; Sun, 29 Oct 2017 15:57:11 +0100 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 29 Oct 2017 15:57:10 +0100 Message-Id: <20171029145710.17675-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.14.2 Subject: [FFmpeg-devel] [PATCH] tests/checkasm/float_dsp: Increase allowed difference for float_dsp.vector_dmul 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The choosen value is the lowest power of 2 that allows 1000 iterations of fate-checkasm-float_dsp to pass on x86-32 Signed-off-by: Michael Niedermayer --- tests/checkasm/float_dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/float_dsp.c b/tests/checkasm/float_dsp.c index 9b0a221c25..676c341f45 100644 --- a/tests/checkasm/float_dsp.c +++ b/tests/checkasm/float_dsp.c @@ -165,7 +165,7 @@ static void test_vector_dmul_scalar(const double *src0, const double *src1) call_ref(cdst, src0, src1[0], LEN); call_new(odst, src0, src1[0], LEN); for (i = 0; i < LEN; i++) { - if (!double_near_abs_eps(cdst[i], odst[i], DBL_EPSILON)) { + if (!double_near_abs_eps(cdst[i], odst[i], 256*DBL_EPSILON)) { fprintf(stderr, "%d: %- .12f - %- .12f = % .12g\n", i, cdst[i], odst[i], cdst[i] - odst[i]); fail();