From patchwork Sat Oct 8 01:24:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 38617 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:789c:b0:9c:c2cd:5584 with SMTP id bf28csp292797pzc; Fri, 7 Oct 2022 18:24:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Z/jccevQ1r2nYqwp6nIjNc94zvE6u4xcyuiYzwkR9dZhF3FieN0adh3SpxVgeI4dbxNmX X-Received: by 2002:a05:6402:3547:b0:451:3be6:d55b with SMTP id f7-20020a056402354700b004513be6d55bmr6966508edd.57.1665192260993; Fri, 07 Oct 2022 18:24:20 -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 nb19-20020a1709071c9300b00782da4ff18dsi3617887ejc.668.2022.10.07.18.24.20; Fri, 07 Oct 2022 18:24:20 -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=WViTFKVK; 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 D632868BB97; Sat, 8 Oct 2022 04:24:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02olkn2088.outbound.protection.outlook.com [40.92.50.88]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 60A2468B9C2 for ; Sat, 8 Oct 2022 04:24:12 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHFMlleGucrg1C5OOdpfz2J2ONE5zsQ48ibF5E1F/biJwSyUEdcVEof6zDPrMFJotQQQbWTVHDEh17ZR5iBQSC2+0xeTJ+hE7StM6NfmkNftQiG69SCfSRD9RWRYBu5d5ti6Wyl84o0ow57yhZZ2jJLBaVFVBUyjIu3S83Z3E3wI5r6mzKi6+61LRzp4LP6TTJevpg5hfWY4ehPfsIBKToUY6VnGhB0a5MIAdov1zKSkKCNWou3e2usyDprDNAOFdngzR2gJWZKwzWu6ppf/1VWSXjxMKcKK5XF9lj5BRtw7YLoLf1g0oRPtdKAD74+Oq9sytbKsfm+TIkD37YCD9A== 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=zC6rrxtzg9XId435an3JBIr2KazClJuyxFrBOPtBU5k=; b=B+6M5h9xz5w1PVfQFQGTCYg9QVHwQm8GifNtoZQu2AmMKDnhX7wj+5h4H2Xxpocy1CMPasM84gc3dIVDwOpiKKaJfBk2IE9xG9KSVgG7HCcVZkOLaBoV5cSUhDwYpEeB5/B+nS7jgP1UMXwbHkwvQWhWpEa4jUNlhhqzOJPUgxk3ko99HdtUkOvG7YNI/kprGjJnwk1U6E5GHypZfgHlbWu8DnIJx0Hc4ij5K6DJflveCdka65DYC2rdtTfedhh7fa2axUr4Z67bgjVM1Bhy41djwv71xM+p/jYJmIS2mrCni2PRJ4NhiHhWb0ltni+t97SPT2SmuRJSObRujz/mkA== 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=zC6rrxtzg9XId435an3JBIr2KazClJuyxFrBOPtBU5k=; b=WViTFKVKRSvcgbuNp7qE/9uqboCgu974YxNHXzbWK0XyjwcF8Gv/BKfltfZ54/B5ftjKzIpSIMe8JhfYJXeFKUs8kZ97qGPByb0A65HJJXxwjEoo3sFbGLrKFLHSV/QdYJEX+my18QHEr80TpT6o7F5Kw26k9TivdwUvyZj5TImQ4fmsUhAjAR5zxpgKrEk31i8rN0Ms9S+Q2VIsOBoKK5H06AfvnZ4pcFJjcyxNZNEYgLC9FTeOE26fun3uxFr5m3raJbZHF6pf2aX5IU9ImFvVInzXlVMnfRV14RPHYVA+cpYgYuwUbZLvEh6dDPRNyVl9CYY4Ak5WrkAgJyLF2g== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by PR3P250MB0098.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:171::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Sat, 8 Oct 2022 01:24:10 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::68bd:2fc7:ac52:38f8%9]) with mapi id 15.20.5676.028; Sat, 8 Oct 2022 01:24:10 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sat, 8 Oct 2022 03:24:05 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [nCNUBazaVkqT8/+71/XvrsRRmrKT8Ya4rOEzA5KMw40=] X-ClientProxiedBy: ZR0P278CA0074.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:22::7) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20221008012412.309522-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|PR3P250MB0098:EE_ X-MS-Office365-Filtering-Correlation-Id: ecda4ffb-9926-451c-de7c-08daa8cbcd7a X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmpXYlgiiriwpqBJSiirmy7KaznurW7J5SkNvSBTJJKnRw1MuHqIkaSGleC7/g4n0UHQgimaH2qzYPdMDYjKkl4rVx+xCAb9ABOU+u/8gnNLIX0f4jEYrTUDsRZKda260Prw7IHKv0w2cVx8abeWqBY1m0iRYaJDGq+Qo6eKelf7RrHZ8zds/pV/uzSq3l50TdrMxtMJ7Q1vpa/C7KoJcCz5FXVE4ro75d8m/E5HZhKbQMNCW7YBsDhtf2UkLQd31JfwJG1TgN90hd4dgGLdEdNNYFMadZVKp5c0xtYj2rEEIwf8oAjL7Zf6eBUkV65rtAwC7Nf/kzCimDled6edVeU2pP8ODzvkBuRsQAztDyW0ux+aTbNH9KrJbQz30H2YfDMPIj5rkurzFrnty3PDEAJh7UPeP1WuorvuTpstjL3kyBpOHwtEM5SQ6ounJTUrx2FAidAIToHvIyTqZpDNvrvDUQRtQ/mzYtcxiT0km8ZG6IbM+3U0UPcwxnhkxwPRrOY2IpLUfc05+xgCONmWJRmzQMh6SvaWQEZldt9RrSUkfyOwt0LFAIVdj5ocV0i41WxhTsAF65BVBM7aA1fcHAXsOz2pmpLbMDAv/KloXahp7JYmHQncEQfhmy7hs2/VNX/ic56vwF0r4df7V7KL4TxBK+qw5CSxPgTerg2pKHgzr/743bBQvHIeIWXl9Jm8oHwCjjzGYlHSmB6sTQrcC3Y7T7mAkF+MlMhKPjWrBKvWZmNefGC0XgWMqKZrraUMRj0= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P/Yn7bdhK79MTCLjGSCPQizprKXvaMkhqo9Fjxy9wrsBHGU2YeR2GkVfpFx7UFMLJjwYXNcvaen4m+vsal2I+M7zGL5BgnvJIR+9ubtjFzImi4aiSqT53y1KDYdiYGG91TQJQDX2CRRvv02fuKV3dryzbOpkY0J3fqk2pzWuCDwKkrvUNRWY2aXkg6RBzlvqCWBSupiS2c1pvJf2RR52nGb50aQI/E/bIRr1XH5OyWXOUQjIayHJjX/YfhfOe7j7y4Ygj8krnZfx/GeeYh91t1QW/akm2CeBk4MD8eGCaOpKkXNxzjMfOVmD4lB4g+QCBfhkjWGmfcyMXHV7KJkTLB1jedL5mkwupHTaWqBLLqM0du6aBKYpT//n9r7tO6d3p/atEhv10yfw8CQHi/imRRlooOb7gjyxY5jaR7TEmOL8oZgccsH4sFD67Ia9ZI/CM2UY7ewMqv0PRQs34b70eC7pYxSnfo0k34POWmil78LxqJXKK0bWIITQoSijEHh027ytOFSlL3uPuYvkWIOsbR0oWvZnoO83yMRip3ZB5J1xNk7/4DS+mFyyQ7F8Txk6UsP/uPygPNpptQ6nimF0yKrwBEh721nAGa8xP3ZUcM0LoP4m+SnWMcjITecQlxMPYk3gbS1oo1vGskvMFuhVksvmzMwushcRiKhBwdHYentana6O/+BdrfKV0HM5wRyW X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 6WbVFb6cggO6yKD/XbRUAso6UQlsNw63QflmXG0at+T0ssDBZStFuYJyKaz9WRS0OKCWkOKkixCgxLa3fKPknWkeY5dMsixFaQr3XdaYGAXOyg699QHF2fkbeymH6fQyunFbz6H/oWQGvD1mu2gd0jBShdfJFhhClP6WjBZBJGOWE0aR/Ysg6QU2mZ1Cxeqs15gcZGA0tlVbOHdRcgYhJnsz1Wl0uElKV/Etosfc/YuD3CeQX4W/pCUZLR+ZI4aYreuV7NTadifIrlzxkLZepuePOTjPWKfZk6NB8XiOHlqQqmGoE53yjfly/+MN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Tenant-Network-Message-Id: ecda4ffb-9926-451c-de7c-08daa8cbcd7a X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2022 01:24:10.8055 (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: PR3P250MB0098 Subject: [FFmpeg-devel] [PATCH 2/9] checkasm/blockdsp: Be strict about MMX 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: XeE8ZW/Z4Lh2 There is no MMX code for blockdsp after commit ee551a21ddcbf81afe183d9489c534ee80f263a0, so use declare_func instead of declare_func_emms() to also test that we are not in MMX mode after return. Signed-off-by: Andreas Rheinhardt --- tests/checkasm/blockdsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checkasm/blockdsp.c b/tests/checkasm/blockdsp.c index 99d79209e4..22a2f79455 100644 --- a/tests/checkasm/blockdsp.c +++ b/tests/checkasm/blockdsp.c @@ -42,7 +42,7 @@ #define check_clear(func, size) \ do { \ if (check_func(h.func, "blockdsp." #func)) { \ - declare_func_emms(AV_CPU_FLAG_MMX, void, int16_t *block); \ + declare_func(void, int16_t *block); \ randomize_buffers(size); \ call_ref(buf0); \ call_new(buf1); \