From patchwork Wed Jun 5 17:35:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mario Hros X-Patchwork-Id: 49589 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:d792:0:b0:460:55fa:d5ed with SMTP id db18csp551992vqb; Wed, 5 Jun 2024 10:35:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUdC/dcQ5NXvx+vKbNZid+Wa/FKuUpfBHccw7QQTHqmWk269GIz2jUDqhpD4RlddA9UpqgTO6z1xLYTZrMjRAjOYMJ9W4DjR/Ogcg== X-Google-Smtp-Source: AGHT+IGQQJUKxTYzt2MXWXkzfECPwW5LVGV83E+CiC4XOb0VnMcnS7DtZD3Dh7TaG22EoJhoLQY8 X-Received: by 2002:a50:c35e:0:b0:579:be37:fa5a with SMTP id 4fb4d7f45d1cf-57a8b676f82mr1959603a12.8.1717608934309; Wed, 05 Jun 2024 10:35:34 -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 4fb4d7f45d1cf-57a9147c1c6si1040828a12.206.2024.06.05.10.35.34; Wed, 05 Jun 2024 10:35:34 -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=bhNXtMuQ; 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 F12A568D6FD; Wed, 5 Jun 2024 20:35:29 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03olkn2082.outbound.protection.outlook.com [40.92.57.82]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0786C68D6F7 for ; Wed, 5 Jun 2024 20:35:23 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XASFzQqp87XdEsTNaH4vwKYQI5YGlvuC0qMveTIxh6kDlluU6wG7JnzeMUZ/VTyDkE46wH67PY+MXVZ3/1afqY2QH49zRCYi6p2tpAtb/YlNC+HXwG+D6jSDxyhGbGrNK+KKzqWrcPQAy32h9mfYuQj6+uUBosmBVkotxrdGE+S1Ty3oq17KLA3ZHAee/91m/f+AlrnuV7bPyZAp1XJhqOBrzAsAeAqzjNICbmRT76ol5lVwb93QDKAki3Q7lZpfn3AA0A0tuFQKVq3BYYvWfjJZKNXUE50zKqMw76ORQZ7ZSw0hix2FYsMFBBAMsJIDizecRMG6Zjf6qxsS7GqFbg== 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=4IXrnOUYB+zSK6Fut2mQCWFZj+Gv2JX2gPALTq0gLeQ=; b=ib7rkwKjNXp7OUYWOBWWUm7jyFox5VtfBs08fNqIED+GlYf9m1zpwjYnnXnCENPR/eGWrz/kGK3oAU+QEPSj7/VBQBvZQT/fgryDKFZwv4m7st1riLgtTfjy/3c6+rSHK3YuI9btNPT9bjD7aJKE1+GS4KcJUWUQGjTnX30dnq+M0jfJDuajq51ghT95kWbBcZJdiXzZe/0UHxIZJ7FKy8KidIDqoswX72q/CVPwaf260w7bSSRF/kUaGif8TpH/7SVLb2BjFMKUYWg26yr11ldeTL4T1DEKlrfkpLjGHTOdSEK8gN1QQV0RFqxYNCnzoWF1EnxcUfb/Wxh7pKGIpg== 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=4IXrnOUYB+zSK6Fut2mQCWFZj+Gv2JX2gPALTq0gLeQ=; b=bhNXtMuQLqWCzej4U+ztBwYscoaLcK0ib1wfvlmpKNw2VHw97uahPtKu+ZqOgRdkckUwyfmK9uYgM+vF5Vs0uactLXBmt/CLxL9CQ/o1RBBidS41uPuAw8oaXxdgTD0koJ+dOPVzxb+5c7eyzPNjatei+SiWNzZpxmKBlzGnI+RsVz8pkgjec8uIe7+ml5PCRJ8w9XTnZ73YzD9pH3R7XQlWU5ynlyjxYlUFVyf2mjePUitQ+mP1LEYy7O8C9b0V8n0o8J/S/Eymmj3DZaPz+xKhQd8QtVwopzg952ak0YEHrQvZUX6XwIzP/nm0XDVpxIowln/+ufjjpDPdS37PnQ== Received: from AM9P193MB1940.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:3b7::8) by VI1P193MB0557.EURP193.PROD.OUTLOOK.COM (2603:10a6:800:151::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 17:35:21 +0000 Received: from AM9P193MB1940.EURP193.PROD.OUTLOOK.COM ([fe80::203e:7cd6:289f:2ce4]) by AM9P193MB1940.EURP193.PROD.OUTLOOK.COM ([fe80::203e:7cd6:289f:2ce4%4]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 17:35:21 +0000 From: Mario Hros To: ffmpeg-devel@ffmpeg.org Date: Wed, 5 Jun 2024 19:35:07 +0200 Message-ID: X-Mailer: git-send-email 2.39.3 (Apple Git-146) X-TMN: [1hf6tZRNAA2UBE690D05utajd47GwGPvTziBTqnHwOAuNwTZlV7hxr5Xc9iqZr2F] X-ClientProxiedBy: FR4P281CA0213.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:e4::13) To AM9P193MB1940.EURP193.PROD.OUTLOOK.COM (2603:10a6:20b:3b7::8) X-Microsoft-Original-Message-ID: <20240605173507.43627-1-k3x-devel@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9P193MB1940:EE_|VI1P193MB0557:EE_ X-MS-Office365-Filtering-Correlation-Id: 75a30aa5-5a66-45b4-8aed-08dc8585dfdb X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3420499023|3412199016|3430499023|1710799017; X-Microsoft-Antispam-Message-Info: 6VhPmuq7nkTJ3leY2SdYTUXVB2a3vAJeamf49MTZHyvLmEgqMt1PEXUMBSdQYWw7G3a4+dp6BUsHEb1VxxIb9BecxGc3YOiQUBCaodWYb9MEZ5qA1LJpfqAVQLRhneYhDFl4S8ioV0RRnGCWDstlYPb68yhLX/NX+pG75aldnAVQ57at++66cAANDZq5EvQAEt5vwWQItA+hI5I1K5BkzhYL5qt4TVCWl7p6ADjWE7zSLdOAKcanSjLgs0x0sYR5JGbIJrezRzLSs6jCuJRr0OZT5D/zZvS8EbJvQ/pzMGhRFCNPNxUtGtACwP5JPWnEY8n9ycqH5akWbRDizmPR2buWoCgnT7JxxTKL8UB9LIbL234lkfr+h3QdF6YqRx3lVqomCDeS1dLqGTUG0jLr39L5RhhAiAwdWN0HvyWBNewR97C3PubVaGfI7L3MyY299u7Ylq0pzHa+fMwC9wY8Ey8RlxIj5TrhYb2dadNZMSMPgnN6SN9EJLykrkMGmj44Q7r2fwp9qmLYwjLip3nkukUPfNFgTyMGaTSx9FImyBfI79ZWKQt0p0zdFSwZAsjTK0RUoKZt1sghwc3Bqzl51iJW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qU9rh6XoJmmt+WgfTcoPNTIMSyC4kPCfjFddjxiZsOv8HWTyHkKh26XCMJtV/kUw5ddDP2y6vkHnerWMRC83CKCmSDN/2SBXc0Mg02XvO9DoOtwCBiazLDRMfGA8wF3qTvpvOeO0IuYmzJwC3yTymmaPKYSrCDn3C4Pyjk51QhHqURjUHp1yFDCOze3lxDt29/ix4AXlHsWqDV3MHOgupiq10yiKMUxsiIYrbszyHf5LnKRUTDFgvs9WYFnhtdooj7Sc94GErj1aG5/qI7TuM4Jsto/GaMgtXNgU1rfgPzYWQipjpbyWqFJvMRWv/skaHphhAyrJM0+qXdWW6NNXTu35xseRXraqHqQ= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75a30aa5-5a66-45b4-8aed-08dc8585dfdb X-MS-Exchange-CrossTenant-AuthSource: AM9P193MB1940.EURP193.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 17:35:21.4851 (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: VI1P193MB0557 Subject: [FFmpeg-devel] [PATCH] libswscale/x86/yuv2rgb: Add missing EMMS 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: Mario Hros Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: sDWnq17r1XZI Previous rewrite from inline assembly into nasm (commit e934194) missed the required EMMS instruction to bring the x87 FPU back into usable state. Signed-off-by: Mario Hros --- libswscale/x86/yuv_2_rgb.asm | 1 + 1 file changed, 1 insertion(+) diff --git a/libswscale/x86/yuv_2_rgb.asm b/libswscale/x86/yuv_2_rgb.asm index e3470fd9ad..7a247797e4 100644 --- a/libswscale/x86/yuv_2_rgb.asm +++ b/libswscale/x86/yuv_2_rgb.asm @@ -353,6 +353,7 @@ cglobal %1_420_%2%3, GPR_num, GPR_num, reg_num, parameters add imageq, 8 * depth * time_num add indexq, 4 * time_num js .loop0 +emms RET