From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D2B9F3858425; Wed, 21 Dec 2022 10:55:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2B9F3858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671620136; bh=RgziMBoxu4uC860cu6/5moaqOj0tGth4IYTR6kXGIcY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OcYYpLbc4XepEmZ63Imf+itTNzW6p9z+ezAnaxemLSUq6kdnDjvRFlFPq+hNN3ImJ qlXndw9PEUXNhfsZcboZqsI4f/vElFhT3DOcz0YYFdfc4XvUdvpHEhscamSH7tlKrn Q0Os67A/daGEBoNLcUWiznUg4+D6UfN8q4XeCjCg= From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/108190] g++.target/i386/*pr54700*.C testcases fail on x86_64-mingw Date: Wed, 21 Dec 2022 10:55:36 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.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=3D108190 --- Comment #6 from Marc Glisse --- Indeed, this looks like a common issue (at least with the x86 backend): the memory load is combined with the comparison before we try combining the comparison with the blend, and this last combination is then rejected becau= se it expects a register, not memory. So either we are too eager in merging lo= ads with instructions, or we reject instructions too early when we could still = fix the operands with an extra load.=