From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C032B3858D20; Wed, 15 Mar 2023 00:58:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C032B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678841885; bh=lGJAFUJM70pF1crfaux5jq3zYYpMnSI4yKvBrRXl11Q=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ky/ziK3uYuaI5NZsqgs5TSNTMAZRxrl+wJuNkXUoxWln5NqmOkUp72t0d8hHHifCJ Zhb2QQUw+F64RLtR2eEypZyWbiyAx4+oZlYcpB9qHmiEo7JF8gNodvo0zwDUhvyAx5 JiVJ3YT0lzTph5+8mvC++J2dh7AVXMlnZM0zZQ1o= From: "sam at gentoo dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75 Date: Wed, 15 Mar 2023 00:58:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: compile-time-hog, ice-on-invalid-code, inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109137 --- Comment #6 from Sam James --- (In reply to Andrew Pinski from comment #5) > The inline-asm inside get_cabac_inline_x86 needs 7 registers (6 + ecx is > used as a clobber). So obviously it will be really bad on 32bit x86. Ah, thanks, I get it. It looks like this actually came up before in https://trac.ffmpeg.org/ticket/8903 and https://git.videolan.org/?p=3Dffmpeg.git;a=3Dcommitdiff;h=3D8990c5869e27fcd= 43b53045f87ba251f42e7d293;hp=3Dc64d56a2f53455f803456811873ff08fce98e122 but they just disabled it for Clang?=