From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6C9BC38AA255; Fri, 25 Nov 2022 06:06:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C9BC38AA255 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669356411; bh=DT8cCoBvFUk2+xn6g7xc8dtaKivtEE/CS4JEV3n/nrg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wVF6inqTqPuFgCxqaq1SdvxnfUA9UzrgOW8137XOGxrkcgxieOxd4PphB3wjMubwP TwBZms38BLlOGtXDRPNj4GvkSCtXnO0cGTA475IOOwpQnO2g/pvhy2ZmwEssLDCdik nmoTqTpS1w/+9XE/w2PaQlKdzfPOBKXGiRRqyXA4= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107863] [10/11/12/13 Regression] ICE with unrecognizable insn when using -funsigned-char with some SSE/AVX builtins Date: Fri, 25 Nov 2022 06:06:51 +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: 12.2.1 X-Bugzilla-Keywords: FIXME, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: crazylht at gmail dot com 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: 10.5 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=3D107863 --- Comment #8 from Hongtao.liu --- (In reply to Hongtao.liu from comment #7) > > - if (width < HOST_BITS_PER_WIDE_INT) > > + if (width < HOST_BITS_PER_WIDE_INT > > + && (mode !=3D QImode || !flag_signed_char)) > typo should be=20 > + && (mode !=3D QImode || flag_signed_char)) I guess not, flag_signed_char is not an exact map to QImode.=