From patchwork Fri Feb 19 07:50:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 25796 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 9C4F6447D4B for ; Fri, 19 Feb 2021 09:51:05 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8A2EC68A5D7; Fri, 19 Feb 2021 09:51:05 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4061868A360 for ; Fri, 19 Feb 2021 09:51:00 +0200 (EET) Received: by mail-wm1-f53.google.com with SMTP id a207so6507952wmd.1 for ; Thu, 18 Feb 2021 23:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=EbGbaiFrbfe6cokDNtS6/ZLOzKATYvYWA55i716NvcY=; b=qboJHlqbuSXwcdYpzsHYa3GyncjBAmr1DlFnwiqlmZRUBUm2qCLdKY9lWwtZ2UqXMW S2DuFuUgT/zlIEVHVeHX4lcwvKJi6ZW6P6fVHP4IwxHy0JajrMpE9tb9niw4zsviTHAQ tNKcZpEOT9gF+NYIMD4DTM9UO/kg5CJ9q+nqyeazWchx9dKy2KeHtCXCLwW0l9EJ9Xcn q1Q/qmNUOOKqacsCl32nrs2bIhNtVUwAI/+9RtuQyZNrOHj/anm3KvQb8B4MWs+n4ot1 TbLgbRuBlXEKchsOKLdd33Bvt3quhw/36Ru2ETrC/PbAimZ0N6HhjoNEf2sEtRA4VzF9 w1mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=EbGbaiFrbfe6cokDNtS6/ZLOzKATYvYWA55i716NvcY=; b=gPccHEDGNjvd+/2GXsTtLnNr0JjBDB8E95YDAJ0HV14DWHWhIAvbETHdG06fC4hsPa WByUm7s+iPtDEzygxYujrWMIeuJ4d9YcQgAIxcBGQ7lgNuAviO0J24iTbr0SzKu3EueZ 72yO86D5DWPBMLIIf1a89KBgQamfE+ZZI+lhQlq15BB9xxB2RW1QReHMLpen+gg/nM4n 7EO1q3GYA07h3D+LqwT3Lc0TpvB+9Q514EgZkYFw2zcQuOxSos8LJdhPJdXDUOEFjgoC pOnQYvEIX7ymEo5Lq132EeP+NaJwHNhW3x/nzEaUVK8NZdvbSKNBVHjWYFKoGzNqaHWr MiYQ== X-Gm-Message-State: AOAM530lnrbXUEUrPaDSWSY/91U5eNU5aGKOCVSEHSv0LsSv/Qb8M4/s ySwLp6h94ExmnqJ+k1Geli11SHtwLoo= X-Google-Smtp-Source: ABdhPJzEBmqFkoQTR6vT6w8dYmo5az9mcVAVnuN//XhrQ6e5cS8tqVrtSShNZbzRgJgEZYWldXfYyw== X-Received: by 2002:a05:600c:4eca:: with SMTP id g10mr2438932wmq.149.1613721059355; Thu, 18 Feb 2021 23:50:59 -0800 (PST) Received: from sblaptop.fritz.box (ipbcc1aa4b.dynamic.kabel-deutschland.de. [188.193.170.75]) by smtp.gmail.com with ESMTPSA id z190sm6130795wme.15.2021.02.18.23.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 23:50:59 -0800 (PST) From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Fri, 19 Feb 2021 08:50:21 +0100 Message-Id: <20210219075022.2445161-14-andreas.rheinhardt@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210219075022.2445161-1-andreas.rheinhardt@gmail.com> References: <20210219075022.2445161-1-andreas.rheinhardt@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 14/15] swscale/x86/swscale: Remove unused ASM constants 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The last user of g15Mask, r15Mask, g16Mask and r16Mask was disabled in 77a416e8aab77058b542030870fd7178b62d2a62 and finally removed in 36e8de07ed62609df45d064b56501e3084d25723; b15Mask and b16Mask were apparently always unused (except for in_asm_used_var_warning_killer, a function that only existed to make the compiler not optimize ASM constants away). w10 is unused since d604bab901f6dfaaad672ef2164e42b1f350474c, w02 since ef423a661818f3c0d8206a2abbc65ff555cc0c67. Signed-off-by: Andreas Rheinhardt --- libswscale/x86/swscale.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index 1e865914cb..cc9e8b0155 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -44,15 +44,6 @@ const DECLARE_ALIGNED(8, uint64_t, ff_dither8)[2] = { DECLARE_ASM_CONST(8, uint64_t, bF8)= 0xF8F8F8F8F8F8F8F8LL; DECLARE_ASM_CONST(8, uint64_t, bFC)= 0xFCFCFCFCFCFCFCFCLL; -DECLARE_ASM_CONST(8, uint64_t, w10)= 0x0010001000100010LL; -DECLARE_ASM_CONST(8, uint64_t, w02)= 0x0002000200020002LL; - -DECLARE_ASM_CONST(8, uint64_t, b16Mask)= 0x001F001F001F001FLL; -DECLARE_ASM_CONST(8, uint64_t, g16Mask)= 0x07E007E007E007E0LL; -DECLARE_ASM_CONST(8, uint64_t, r16Mask)= 0xF800F800F800F800LL; -DECLARE_ASM_CONST(8, uint64_t, b15Mask)= 0x001F001F001F001FLL; -DECLARE_ASM_CONST(8, uint64_t, g15Mask)= 0x03E003E003E003E0LL; -DECLARE_ASM_CONST(8, uint64_t, r15Mask)= 0x7C007C007C007C00LL; DECLARE_ASM_ALIGNED(8, const uint64_t, ff_M24A) = 0x00FF0000FF0000FFLL; DECLARE_ASM_ALIGNED(8, const uint64_t, ff_M24B) = 0xFF0000FF0000FF00LL;