From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7F0BD385E013; Fri, 27 Mar 2020 07:00:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7F0BD385E013 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585292435; bh=GFj9p7rMpdcIeiGSRrRNQXdHts+/YmCG25wJgwuGNV0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=OlIWdwON8Iy8ZI2A7vuModgZo1K9Y7XO97mkmZbWutrOBcCrCGewIp2I0oY6S5oV+ 3x8kueFvYIMzZB76MvBr9588TRSZxRxFAMXHgsMNkzgrQNtfKhgE7sE8YLh7pSCaNA va/wJ7fxi3gOgE4BCSU+vkWpzCFxydgB/DlF+mYU= From: "jbeulich at suse dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94343] [10 Regression] invalid AVX512VL vpternlogd instruction emitted for -march=knl Date: Fri, 27 Mar 2020 07:00:34 +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: 10.0 X-Bugzilla-Keywords: missed-optimization, wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jbeulich at suse dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 07:00:35 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94343 --- Comment #11 from jbeulich at suse dot com --- (In reply to Jakub Jelinek from comment #7) > Though, there are other issues. There is only vpternlog{d,q}, so for > V*[QH]Imode we shouldn't pretend we have masking support. Why would this be? The element mode doesn't matter at all for bitwise operations. Just like there's no VPANDB / VPANDW, but VPANDD/VPANDQ are qui= te fine to use on vectors of QI or HI. Afaict the existence of VPAND{D,Q} in AVX512 (as opposed to {,V}PAND in MMX/SSE2/AVX) is merely an oddity resulti= ng from EVEX.W handling (besides of course the element width's effect on embed= ded broadcasting).=