From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CC6953857C51; Thu, 10 Nov 2022 10:48:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CC6953857C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668077302; bh=HCdx6vPSsjxWdpS1MAcFYyi2eQf+m8u4u3Jm8+ii5VM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CDyT40/0KUt0xv1ZtrH550WX3xPIyVL34aeV6dbZLRlHXEDv3t5M/55HbpOXILUOA kuIw4/MEm5CCjQ8qFABWZxe3RoTvEKgCIpXzmy1znC8N13Jqdm/kEuT99jNLs/FZMC 0pDnMXlXN/UDVoFF9IjC5vQY9ZzQnUI+psxD2WOA= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107546] [10/11/12 Regression] simd, redundant pcmpeqb and pxor Date: Thu, 10 Nov 2022 10:48:17 +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.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jakub 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=3D107546 --- Comment #13 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:49de156a6adb50e0624479f22c20141cadef812d commit r13-3874-g49de156a6adb50e0624479f22c20141cadef812d Author: Jakub Jelinek Date: Thu Nov 10 11:46:52 2022 +0100 i386: Fix up ix86_expand_int_sse_cmp [PR107585] The following patch fixes ICE on the testcase. I've used GEN_INT incorrectly thinking the code punts on the problematic boundaries. It does, but only for LE and GE, i.e. signed comparisons, for unsigned the boundaries are 0 and unsigned maximum, so when say unsigned char adds one to 127 or subtracts one from 128 we need to canonicalize it. 2022-11-10 Jakub Jelinek PR target/107585 PR target/107546 * config/i386/i386-expand.cc (ix86_expand_int_sse_cmp): Use gen_int_mode rather than GEN_INT. * gcc.dg/pr107585.c: New test.=