From patchwork Sun Aug 21 17:38:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 37375 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp904501pzh; Sun, 21 Aug 2022 10:38:36 -0700 (PDT) X-Google-Smtp-Source: AA6agR4fIYYmuR4UuC8wXCIsa9uZRxctttRC3nhVRycTt0F5pEyKMT+N8OS7nBbS+caQ/tXg5Wcu X-Received: by 2002:a05:6402:10d2:b0:445:d9ee:fc19 with SMTP id p18-20020a05640210d200b00445d9eefc19mr13025282edu.81.1661103516614; Sun, 21 Aug 2022 10:38:36 -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 r2-20020aa7c142000000b00445bdec5fa9si6992369edp.406.2022.08.21.10.38.35; Sun, 21 Aug 2022 10:38:36 -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=@outlook.com header.s=selector1 header.b=J2w5YVDf; arc=fail (body hash mismatch); 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F276F68B9B4; Sun, 21 Aug 2022 20:38:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2029.outbound.protection.outlook.com [40.92.91.29]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3782A68B1B5 for ; Sun, 21 Aug 2022 20:38:25 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PRFatmMJDtPirGcmlYshP8iQs/vl6l/YQ9mKF46WssE5Pd4qR1ECz9KmAd+LnkXNeRSML8emiYEKfvvPbo+KQuh8J2lMDyUs78mx4Ky/LqkxTtstUz0qehIBiwkGeemTv3e6hdLCIqjC1itpUU6bBhm3/daOem7NWi14fZkkyfYdzR5OjBjaByVQsiiwRmx9uMSW3MmYQ/kFfi0vlcgVZl9gWuKK/H6VXmzVx3HrKbYZcEtVL6PaF2K0i3s1I72m/5fk81x+BBZj3kKLlxpQhF62ZXJ0rfZ/zY4Btw9F9prXXmp7vleGX68wU9VTCTSFC1SzHzInqjJivRqFb9Ooiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mgSwLdSITZsJTb4+wlSQMbX1kwYwCw9o9z3cEPoaZ/E=; b=XkquWRgA6d5zDrPQNGHo9gf7VQOT6o7+b5fHmYYgHgpfEqpKoYAzjWwjC+Y4h0Xv3HBjSdxtdP+aSL1Me83W1Uf15qYJPbMm1qm9oTp13rSPRIov/+cfnC0EdPwkbix2XdRDgsYN6XBdQBoELN1T5PLVm7TjQl9SZuFTs2RkijCUsUWXt5wbtjlpDnFOaTS1a79wtMG5Mx8C3jq5Sdiha2sfrLdWJgpSWQD2PYPaDAK9xnpFPPbn25YE/YtKSYdvRmuLG0jxQgZqoFIN3fHMokoNgFRqIiZbDZXbaor67XVsMHBmEYq9gaSBoR0bfUD0prqshVRMSwIh7d+LfBmQHQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mgSwLdSITZsJTb4+wlSQMbX1kwYwCw9o9z3cEPoaZ/E=; b=J2w5YVDfZoUEu+PD3hJUMw3QEbZ6p3a1IszagwZJjPXpbJNEpeXCg/7YmunigXsv7D9O5El/uBYGuojKUm9esuq4Ajww1DI65US/yM6k+RK8XPHiZOjVrueeiwQZCFHHeCl9oPLOTjxNg/pJZ4fBeASoktbywiFJUe5dvepi4LpajI+5Ft0/D+K/zuuRygdN8Y/QKsCjCVmlHb78bD6LHQ69XvzHh+vZg3Hcyg/so949jBkmAss6Y/5BXRlkfW27TasP8tHhx2ivAtZUYBkeyt7pbtZHulbZ6xbG79qVyZyIpJNbwq5uHNmjr2V0VvPwhtfQs60alGJhb3m47H+d9g== Received: from DB6PR0101MB2214.eurprd01.prod.exchangelabs.com (2603:10a6:4:42::27) by VI1PR01MB5294.eurprd01.prod.exchangelabs.com (2603:10a6:803:d0::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Sun, 21 Aug 2022 17:38:23 +0000 Received: from DB6PR0101MB2214.eurprd01.prod.exchangelabs.com ([fe80::210e:b627:bcc9:8c46]) by DB6PR0101MB2214.eurprd01.prod.exchangelabs.com ([fe80::210e:b627:bcc9:8c46%11]) with mapi id 15.20.5546.021; Sun, 21 Aug 2022 17:38:23 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 21 Aug 2022 19:38:14 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 X-TMN: [Olb7IlItYwsQNZK/pO2vAKMCoyF2UidS] X-ClientProxiedBy: ZR0P278CA0181.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:44::14) To DB6PR0101MB2214.eurprd01.prod.exchangelabs.com (2603:10a6:4:42::27) X-Microsoft-Original-Message-ID: <20220821173814.3619109-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c6390bae-23c9-4062-2f03-08da839bf1b1 X-MS-Exchange-SLBlob-MailProps: S/btQ8cKWiQfCRqGW160PKFy5pEYUbngISHMFXStTpKlj59BAwsKeAxkLD//tt5BjeivP4dZKmdDhTP8tLcsTIVuIC5gnkeJhMg1sK4z3B6dWfo0kpCAyk/9XXx6dFBbAzjvqlBf5SLtnMJuzpWSA8pBMZ9oWHgx7CQNLZTGgXyldOkSAZQ4W9zHRotOx9/zBBALe3ZprUI4VXWuBzQOia3ZldFDCScqz6bXiqNudNIbF8/0K9g11oS4Njnl9jIEDOwUc+cmMpsQcKyA1qdbwTNUf7xPFMqHuFDSMotDsX6LMhcCWN7Xf7PE2wurCnpCSMOpP4x4YF/McC9YelGA+4q4Yywn0Uz+FSoLMrbkUm3VHBlwhOL4E3lqL+ggbbJ788rS6qflSrvFRl9e2cNS5BLxY6gQXcT1xUXcP0vFeQh2uHdquTFDJ522S4dicatLtxMne0nuQ5KcbeB+pnREB+Is5QNWZL71E7o+ePQteWmCXoS1Jo1k49MoII8TVWtcLWz9h66wEU7UfzwmemyLX16NnY6soYdbscSHhYPqtUt6TfdXjiUPb4MsUFvlFmksKPRwosGmwGX9c/H7sk2j4DIo7i6oZiu8t4AdT8ePVOinWI7S4HwD9c9e+2Z/jY4fy1jkS1yw64xxLaQc/WBoTBGB300wF8KCSegN3gHPyp0PUO751BqijQi0Ax1igzpu/nu1PCR2Bu4On60Cv35Xp1WjjN+EKSnh0efT/ArCz/V9D+Vtk6yUyDPwN429Cvnlp7v+NU1k7Jo= X-MS-TrafficTypeDiagnostic: VI1PR01MB5294:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: v1kSlRitSfmOJzQYX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ndeQN1Hgo+jt5m2wmrTilg+c1+M1W/Ucyu+HKZb4iI7mgDkAB/Ccz8yoI4/BH0Q3nStw0UTQGf6AsrgFF+6d7YD9Cli5IYY9HV2dbzj8dxMajxtgxZE0fTzwI9XvXwpt03Zswc1520xiNdF/8v38LDqBgS9CkZsrpUjQEzteL3hfP7NfucgadJApneb0lWzW3TGvxTzHfrsOFumLTCXrQMuk5dy5fyDiuxZcd4iw5GqfMeS99Kh4gmwy9cAyegwBgctv77hliqDJj0zOYLfEmOso1Xdh7piRijgcNbDtN5DypMv/CMteknx1Cn9QNLJzQAQYrD2fLSZDWZGI1LJ0kwiKNoS6wps39O9K1f3kxnStPZ1vxQGcf+IPnbSKAAGThjlAP/lN2cHmvHAJAreMzdPL/GZ161V9aDL7njo1UhPmVnV2EJimpJ9YNIAW+ESuqqwmnu6V0ixt+kUtcA3N+eQRACfGM/a/bdGRMMQTDb2/r+rbznhxFPHEx5XcHusjGNaWrOL83HNmcnUsoZ1dKCLMVFOybMYNfMm86TpG1pv+P6ttYclTN8G1oQ8OsK7H/F9CVYnV/cxx5R4qpNL9q/6NWOWPodv2AfFIoo4FJ0ASYYoo1pplHeJCcwH+ph+cBGt2PSaSkrr8oLFyJm8uni3vW7WZjUTY37yhTFm3p7uMhILbRrG3Ezhkbi/9vel7DqvKFitkJvhCkxJTNTZxmiK/xMCKEREQtSJEHSsAvSpdf0pP7Qc74FWm2JQBvypffH2mMAV1CJT+2yzlQfOQOFxuOgayiwsfUFGKmjjbiPZdMlOlNiKRrH4Mbd8QwASrntd+ZlgvA4X0g7FFRgg8goJTMlkh2eV55sQlr6OJC6LcouU2iU9gNyWEn/yuLQ5jLUGeMxuEksrBGAqFgq34sBwFfiCcv1C2jnQI0f9j9Oj16gQLBOFRkctGEjo= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6390bae-23c9-4062-2f03-08da839bf1b1 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0101MB2214.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2022 17:38:22.9592 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR01MB5294 Subject: [FFmpeg-devel] [PATCH] swscale/x86/rgb2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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" X-TUID: ls9B3mjaUGuw Fixes FATE-failures with the the filter-2xbr filter-3xbr filter-4xbr filter-ep2x filter-ep3x filter-hq2x filter-hq3x filter-hq4x filter-paletteuse-bayer filter-paletteuse-bayer0 filter-paletteuse-nodither and filter-paletteuse-sierra2_4a tests when using 32bit x86 with CPUFLAGS ranging from "mmx+mmxext" to "mmx+mmxext+sse+sse2+sse3" (the relevant function is only overwritten when using SSSE3). Signed-off-by: Andreas Rheinhardt --- libswscale/x86/rgb_2_rgb.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/libswscale/x86/rgb_2_rgb.asm b/libswscale/x86/rgb_2_rgb.asm index c695c61d5c..76ca1eec03 100644 --- a/libswscale/x86/rgb_2_rgb.asm +++ b/libswscale/x86/rgb_2_rgb.asm @@ -104,6 +104,7 @@ jge .end jl .loop_simd .end: + emms RET ;------------------------------------------------------------------------------