From patchwork Mon Sep 26 10:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Krefting X-Patchwork-Id: 38333 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp2167783pzh; Mon, 26 Sep 2022 03:52:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4JmTylgizrCWhmQaHVsMd0W+WZcLorg83VhNX7G/i4p9clrGHtXkiZFVkBPk4zpjc/Mj4x X-Received: by 2002:a17:906:4795:b0:781:397:63de with SMTP id cw21-20020a170906479500b00781039763demr17399759ejc.339.1664189520086; Mon, 26 Sep 2022 03:52:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664189520; cv=none; d=google.com; s=arc-20160816; b=gMfUjZ0sjgeuK3xldjzibmw/NlAqh3CIsU8EHVWCLiWc7IDRmTYwYwjWgExVbGI5V7 NpJdG1+cjqXU9Bx5PRZlO2oL43Nc10Qlp/J9unPVOq+7W3VF90RWa7ZVIZfHbJ6Fxa0r gMqu9nhJYxRMh6f3ijA6vxauFbaGKp/87Bh9LwJQZ3bNOuwfSl5T9OmbaHlFqvlkZCd/ KZzFhMq7YCNl/OAWkm0slWZOZy61of7okqGt9oPUzWHaByZQEnZ7oh0ZfAOm0QdVCKZw uLmD2waMgR/XEYt7QrBRdv29uVWKKg+GcHmSR2olFE0WROpuJT8Iy3xe8niSfa3p5Bh6 s4ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:to:from:date :dkim-signature:delivered-to; bh=uFUfz/tO/4RIDAwunsLyqoUX6CEGvJryW02hIyL1Yic=; b=I9Py8zgJXxPrOhZ34Z8q/uK5znCJIofXbCuPtk8mEGQXQMkwrerT+gVniOiA/YnsC/ dG+3OH/UNZ9WYq7y5bTITx8VZ8uE8uxafhtVje9wk3J9RYMSLbD2usbyHoNn+5FhxLE9 L91oIgBzfZLgq+t0sSBSTRpRs7BLFULBW+f/EZ6+qprRLCEWLlM6mrGsLFCBviPt0QSp 2PIrM9BHjAn307FteqOkuv+Co5h4PxM0QgXyZ78pPlIRVlxZJQwrssjCQbmTsBc198ii qtHf11/5kXS01gI0V3suG7iyoNOqEN7vM/+vAorRgcy2939Bxp6uMqUiqBeeUNww9udc 3Liw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@abc.se header.s=default header.b="SqO/1TDd"; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id dd11-20020a1709069b8b00b0078384e03826si1910041ejc.529.2022.09.26.03.51.59; Mon, 26 Sep 2022 03:52:00 -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=@abc.se header.s=default header.b="SqO/1TDd"; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6146468BA0C; Mon, 26 Sep 2022 13:51:55 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E8B5F68B74D for ; Mon, 26 Sep 2022 13:51:47 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=ivGuNz3rhW hm2chMBmawvVbUcJeW8D6ZsZrBnpbCNeQ=; h=subject:to:from:date; d=abc.se; b=SqO/1TDdYqAyc4oZF9ufGS6UIG6M9JwwSzPYCssZQu8cYUhDZbfR21TxxAcL8LcMybh+ t9yse6cGvC+YDW8fqe9Gi1AByclkIS3+HUkin1xE30wtbDA5OH6rUG6uthtQNQSUBxPvnh 0PKdJN/TyJsmGfEyCrjNRHaUh8KDptHwB8W1W6ZDQOzR/aUCnpCjnQbdvVy85KHwCykz75 yP8uYSSSy/qS/HoZ7O+oojb3FSIUTYHC6JYKhmaY3ddqRCuOZojElRCll7c5X3qLbBYB0G HSzWQudc9ryF75dTrHJhBXSAx/MKVmh5dvoQXJosxY1Xn1NneONqyZZ/BezJaqoQ== Received: from perkele.intern.softwolves.pp.se (cm-84.209.5.132.get.no [84.209.5.132]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 9f777cd8 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Mon, 26 Sep 2022 12:51:45 +0200 (CEST) Date: Mon, 26 Sep 2022 11:51:44 +0100 (CET) From: Peter Krefting To: ffmpeg-devel@ffmpeg.org Message-ID: <74f9b1f3-698d-7a3d-1a5-1b43f88ea9f2@softwolves.pp.se> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH] configure: Remove dcbzl check for e500v1 and e500v2 architectures 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: NdCl1xrOOk3g The DCBZL instruction is not available for the e500v1 and e500v2 architectures, but may still be recognized by the toolchain, so we need to remove the test for it explicitly for these architectures. References: PowerPC™ e500 Core Family Reference Manual (Freescale) Found-by: Ståle Kristoffersen Compare: Commit d5733936d857ce5c7d28c0bc9e89a2e2548f8895 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) This was originally fixed by commit d5733936d857ce5c7d28c0bc9e89a2e2548f8895 in version 2.2, but later broke in a merge which introduced a "disable dcbzl", forgot to check for it in the ppc branch. diff --git a/configure b/configure index 7a62f0c248..5d01833f40 100755 --- a/configure +++ b/configure @@ -6058,7 +6058,9 @@ elif enabled ppc; then enable local_aligned - check_inline_asm dcbzl '"dcbzl 0, %0" :: "r"(0)' + if enabled dcbzl; then + check_inline_asm dcbzl '"dcbzl 0, %0" :: "r"(0)' + fi check_inline_asm ibm_asm '"add 0, 0, 0"' check_inline_asm ppc4xx '"maclhw r10, r11, r12"' check_inline_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'