From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 531E73858C39; Mon, 24 Apr 2023 10:33:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 531E73858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682332437; bh=OUWwAk/UoYFriiIEoM0BTgIS3KCDJvurg4Rshq0HvNE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=EEFAPn8//jpSTGS/wzspGVtlwnnXpYcBSOYPF04kaLj1InAznfEm/s6hCeNUhnXg0 jJiBmqjAA3bG/k0ydMCTQ2/C0gssr8DZTIUcWsrQqHq7nJB3DsZAYN+peeE0k30Rmr aa0BBIFfZ3vWbuRQotuAJOt1SdR33R2jdVebvMfA= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109566] [13/14 Regression] powerpc: unrecognizable insn for -mcpu=e6500, -mcpu=power3, ..., -mcpu=power10 Date: Mon, 24 Apr 2023 10:33:57 +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: build, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 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=3D109566 --- Comment #11 from Jakub Jelinek --- I bet the culprit is that *rotl3_mask_dot has (mode =3D=3D Pmode || UINTVAL (operands[3]) <=3D 0x7fffffff) in condition. So, because *branch_anddi3_dot always wants DImode, if Pmode= is SImode, it should make sure (UINTVAL (operands[2]) << (63 - nb)) <=3D 0x7fffffff.=