From patchwork Thu Jan 11 21:47:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 7264 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.78.2 with SMTP id r2csp1161634jaa; Thu, 11 Jan 2018 13:47:19 -0800 (PST) X-Google-Smtp-Source: ACJfBouS3xMJfVdU0ZUcxDPxVbsSum0/Slui5hNkdc62voFIH7FjVq8/3M9eIc2d8RjqY7+ZOswE X-Received: by 10.223.146.164 with SMTP id 33mr2710232wrn.27.1515707239188; Thu, 11 Jan 2018 13:47:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1515707239; cv=none; d=google.com; s=arc-20160816; b=WV37WEs0jPUre8AHVGb5g0GGSw+uCx82+SrzyvYq2DtuwIpn+h9iudFQjEt1rCw2x0 x5/jsYa5rFSFfiVA8OuAgnlDRcTgt42YvMKropOba4p1PtKJ0pCgzx5dLhSI9xdNyBcD /o6HhAjm+9vdCrb3L2/Nn+9osZ9BIXeHeuBdvyOquf6TCXVUrKvlygq6uLCHjoXn1IY+ PtJltoWHOqGZx+PiJVw47T0lsHYa08ZX/PQrcQxiR+hzBLz2keePRFKr5Pn63/DBEybM esh3uXKBxACmiW41Wb82A4vCjZ4m+CeoKtoEIt6alV3mXvGDEUhuummEGLwc+PBU29Lm pnhw== 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=ytZeA+vi7vUuYjtcCy+CGv8adEDLJleolSwagng+Hz4=; b=jfuX0BKTK+j+0T+m34sTJePmomfvrPuPYbW+uQxgtPRyBcaihIkEfDCfEQ7h8E8cpE nyEVdZG4IpqNC8/eMs63y5u7o4GKJ/IKAE9WYnzM5mi+eWH2eBYX/swItPiTaGPJq4I1 VFA5/L/Y5hLwo7UQegZ0rJUUVn73waeHpxZVVvfRihRaaPtR1VmwR/6bxRXsInTprNTH QLeS8pItfAyvWRAuaW9KTU6NCznjmaG/myr2qT0Fegndc3GQnlDYYv8jVS/Y78Y3cwBx bRFDLnctgLTNHCwj5umdILsZo2Ci3URYCq1fZ0vnL5f1QlSzKGNNWJq9vVlwfEfFlsoq db6g== 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 r3si8318421wre.95.2018.01.11.13.47.18; Thu, 11 Jan 2018 13:47:19 -0800 (PST) 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 0696B68A0AD; Thu, 11 Jan 2018 23:47:16 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DB947689951 for ; Thu, 11 Jan 2018 23:47:09 +0200 (EET) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 59C7AFB87D for ; Thu, 11 Jan 2018 22:47:11 +0100 (CET) From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Thu, 11 Jan 2018 22:47:10 +0100 Message-Id: <1515707230-8243-1-git-send-email-michael@niedermayer.cc> X-Mailer: git-send-email 2.7.4 Subject: [FFmpeg-devel] [PATCH] avcodec/arm/sbrdsp_neon: Use a free register instead of putting 2 things in one 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" Fixes high pitched shriek Fixes: 25420848_1478428308873746_4255813235963330560_n.mp4 Reported-by: Dale Curtis Signed-off-by: Michael Niedermayer --- libavcodec/arm/sbrdsp_neon.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/arm/sbrdsp_neon.S b/libavcodec/arm/sbrdsp_neon.S index e66abd6..003b04e 100644 --- a/libavcodec/arm/sbrdsp_neon.S +++ b/libavcodec/arm/sbrdsp_neon.S @@ -336,11 +336,11 @@ function ff_sbr_hf_apply_noise_0_neon, export=1 vld1.32 {d0}, [r0,:64] vld1.32 {d6}, [lr,:64] vld1.32 {d2[]}, [r1,:32]! - vld1.32 {d3[]}, [r2,:32]! + vld1.32 {d18[]}, [r2,:32]! vceq.f32 d4, d2, #0 veor d2, d2, d3 vmov d1, d0 - vmla.f32 d0, d6, d3 + vmla.f32 d0, d6, d18 vadd.f32 s2, s2, s4 vbif d0, d1, d4 vst1.32 {d0}, [r0,:64]!