From patchwork Fri Feb 19 05:28:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiaxun Yang X-Patchwork-Id: 25775 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 0837744A97A for ; Fri, 19 Feb 2021 07:29:01 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D67776899DD; Fri, 19 Feb 2021 07:29:00 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id AC7A1680534 for ; Fri, 19 Feb 2021 07:28:54 +0200 (EET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E48305C0115; Fri, 19 Feb 2021 00:28:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 19 Feb 2021 00:28:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=9S0Dr3aziW/S5M/n86ehwtWGt/ tJzk3zmpW0CIpZYTY=; b=pbSEr8OQYzdNLDHIA7hvQfV3RoBURGUYGZWI/Jhgrd +vy+19FnNDhqopyOPLoObXqPZWfStGOxAwTRFEg/bwO13hemESxu4Otd1a3QsIbY VhCfAPiM2R7yIqnKtCVv3p9amEG7M+wqsHTdVw78cvWOwKm8N6a9EuXGHBGhAcv4 aw6W7/wIO6izhLxsj5B/4+0fgEicFrmTl9y7yOSyYb8lJdbWAWzMCv6dxMdzhicA BZNvIVTXZdqCGL2HRFjACHxqfb+eYLyFfRfrnIvuJF/RoO3gHaPaSLg1WHIRX8vm wzGoWIe0Q51WPPIKOERotU6vlFyBn0fROauipJYfCFPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=9S0Dr3aziW/S5M/n8 6ehwtWGt/tJzk3zmpW0CIpZYTY=; b=biMDncDua6uS8W8Id7IAJucXt/EOQNciE SMV34Rr9OySb/dc/tLsnZo9gqZh3kyU+VocmGNxn2pae5q3M3NKlu9w1GPGT1J3C UvDBjJOm80DVKFdrB9xmRitb47N1raUbIZ0hiczVrLM2gy7y8Y5mPS5q03Oxo462 j5YDDAMa0MN7tOvYtmZPw+UUlzvAxBTyp5nbc61Kfo038SlgC5UCD5CyHVhzcPhK 2GPBvtb2e5e8kjBDQd63mFd0f/IyFLHzfbtAdKbGeyGTYgLonZoyNuYuUStXOPJY nloKN6GQcOvIIGOs17VmTAsVITVrbzHvN+MkoZA2HDt9GXHBbWRKA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeehgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpeflihgrgihunhcujggrnhhguceojhhirgiguhhnrdihrghnghesfhhl hihgohgrthdrtghomheqnecuggftrfgrthhtvghrnhephfejtdektdeuhedtieefteekve ffteejteefgeekveegffetvddugfeliefhtddunecukfhppedukeefrdduheejrdefledr udeiudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Received: from strike.202.net.flygoat.com (unknown [183.157.39.161]) by mail.messagingengine.com (Postfix) with ESMTPA id 1003A1080059; Fri, 19 Feb 2021 00:28:48 -0500 (EST) From: Jiaxun Yang To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Feb 2021 13:28:30 +0800 Message-Id: <20210219052834.533558-1-jiaxun.yang@flygoat.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/4] avcodec Loongson-2 MMI fixes 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 Cc: yinshiyou-hf@loongson.cn, guxiwei-hf@loongson.cn, Jiaxun Yang Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Get MMI optimizations build for Loongson-2 again. Tested on Loongson-2 and Loongson-3A. Jiaxun Yang (4): avutil/mips: Use MMI_{L,S}QC1 macro in {SAVE,RECOVER}_REG avutil/mips: Extract load store with shift C1 pair marco avcodec/mips: Use MMI marcos to replace Loongson3 instructions avutil/mips: Use $at as MMI macro temporary register libavcodec/mips/h264chroma_mmi.c | 26 +++- libavcodec/mips/h264dsp_mmi.c | 8 +- libavcodec/mips/hevcdsp_mmi.c | 251 ++++++++++++------------------ libavcodec/mips/hpeldsp_mmi.c | 1 + libavcodec/mips/simple_idct_mmi.c | 49 +++--- libavcodec/mips/vp3dsp_idct_mmi.c | 11 +- libavcodec/mips/vp8dsp_mmi.c | 100 +++++------- libavcodec/mips/vp9_mc_mmi.c | 128 ++++++--------- libavutil/mips/mmiutils.h | 174 +++++++++++++-------- 9 files changed, 350 insertions(+), 398 deletions(-)