From patchwork Fri Mar 17 13:18:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Darnley X-Patchwork-Id: 2981 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.50.79 with SMTP id y76csp260626vsy; Fri, 17 Mar 2017 06:25:04 -0700 (PDT) X-Received: by 10.28.19.207 with SMTP id 198mr2751521wmt.49.1489757104552; Fri, 17 Mar 2017 06:25:04 -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 e23si3251030wmi.95.2017.03.17.06.25.04; Fri, 17 Mar 2017 06:25:04 -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=@ob-encoder-com.20150623.gappssmtp.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 CDEBB688360; Fri, 17 Mar 2017 15:24:36 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 61AEB688317 for ; Fri, 17 Mar 2017 15:24:30 +0200 (EET) Received: by mail-wm0-f65.google.com with SMTP id x124so3296384wmf.3 for ; Fri, 17 Mar 2017 06:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ob-encoder-com.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=QOpmgwDBmb6oTqsbGZL78hrZkmoAQIdo2QIijK2sKuE=; b=FF9swTwo00bt/cUGgUbpktSwK/Qe5MbdPL6Run3oRaiAU8lGtYtMK8V7s1u3kDSq8q PIEevGn7HFVVnGomBS48EzSLFAFr4bPOhqccDGzTWttYVBqkYE+2Og0lUQ7eoUJrixNc wG+vAktSmcmLh+6HTPfLgqvrEwffhx4quQORScAWHajL2QA7onpFCPQ7PO2rbOY84ysU laR141kPb1OgsFvtobe9u8iOFK4Sm3UiBs9YcwuEHenUHAGewXJvFdl666YeRrWMYLSC T7ToYEclMAlMryzQOXlmyS7kSUtzntagnknnqvrJIREhkeYcBHBzDU1sqJSMuAYAlETn RqqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=QOpmgwDBmb6oTqsbGZL78hrZkmoAQIdo2QIijK2sKuE=; b=C9E9oycO6BCijuMkk/DF/8gez3b/7q26/NfTWCCtK/vnUUJalKK6gjwvJI712o0F13 cSX8IxFb00LChFGjdGBn8SPU/nhJRW1eAilEvFZdq0RoeK/6uaIExFXNBbUaX9/JkH2r 81KZiNO5Rv0/sVEiV648LOKNdL+9kppKLe15N5Q+Jq+TQ/S17hlp292ro2zBc2VB3nnd 2XaeGoli/SKVeF6/FjMIZPCNgLsWfbIOFe9jwH5FRubNqUpJrln9tuGwYYdxvI66WWGn N73Tjc82c6xz8isyhKc62Mlf7h89rBZJxtsb9cVED03eEznDqMrkiPV1NMXPCQafNwMA WYog== X-Gm-Message-State: AFeK/H1tFM7lkvP/3RWBldPc7Cfdbf43wVUEJNji5LIuGmbWwsJu0MOGiT44ZEAJ+S+LdQ== X-Received: by 10.28.9.213 with SMTP id 204mr2933222wmj.89.1489756765501; Fri, 17 Mar 2017 06:19:25 -0700 (PDT) Received: from localhost.localdomain (d51a44418.access.telenet.be. [81.164.68.24]) by smtp.gmail.com with ESMTPSA id e72sm2676411wma.5.2017.03.17.06.19.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Mar 2017 06:19:24 -0700 (PDT) From: James Darnley To: FFmpeg development discussions and patches Date: Fri, 17 Mar 2017 14:18:36 +0100 Message-Id: <20170317131845.7760-2-jdarnley@obe.tv> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20170317131845.7760-1-jdarnley@obe.tv> References: <20170317131845.7760-1-jdarnley@obe.tv> Subject: [FFmpeg-devel] [PATCH 01/10] avcodec/h264: change RETs into REP_RETs where appropriate 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" --- libavcodec/x86/h264_idct.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/x86/h264_idct.asm b/libavcodec/x86/h264_idct.asm index c36fea5..878ff02 100644 --- a/libavcodec/x86/h264_idct.asm +++ b/libavcodec/x86/h264_idct.asm @@ -695,7 +695,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, add r0mp, gprsize %endif call h264_idct_add8_mmx_plane - RET + RET ; TODO: check rep ret after a function call cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg ; dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg @@ -727,7 +727,7 @@ cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 0, dst1, block_offset, block, str add r5, 4 call h264_idct_add8_mmx_plane - RET + RET ; TODO: check rep ret after a function call h264_idct_add8_mmxext_plane: movsxdifnidn r3, r3d @@ -795,7 +795,7 @@ cglobal h264_idct_add8_8, 5, 8 + npicregs, 0, dst1, block_offset, block, stride, add r0mp, gprsize %endif call h264_idct_add8_mmxext_plane - RET + RET ; TODO: check rep ret after a function call ; r0 = uint8_t *dst, r2 = int16_t *block, r3 = int stride, r6=clobbered h264_idct_dc_add8_mmxext: @@ -878,7 +878,7 @@ cglobal h264_idct_add16_8, 5, 5 + ARCH_X86_64, 8 add16_sse2_cycle 5, 0x24 add16_sse2_cycle 6, 0x1e add16_sse2_cycle 7, 0x26 - RET +REP_RET %macro add16intra_sse2_cycle 2 movzx r0, word [r4+%2] @@ -925,7 +925,7 @@ cglobal h264_idct_add16intra_8, 5, 7 + ARCH_X86_64, 8 add16intra_sse2_cycle 5, 0x24 add16intra_sse2_cycle 6, 0x1e add16intra_sse2_cycle 7, 0x26 - RET +REP_RET %macro add8_sse2_cycle 2 movzx r0, word [r4+%2] @@ -980,7 +980,7 @@ cglobal h264_idct_add8_8, 5, 7 + ARCH_X86_64, 8 %endif add8_sse2_cycle 2, 0x5c add8_sse2_cycle 3, 0x64 - RET +REP_RET ;void ff_h264_luma_dc_dequant_idct_mmx(int16_t *output, int16_t *input, int qmul)