https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116014
--- Comment #2 from Joel Yliluoma ---
(In reply to Andi Kleen from comment #1)
> is that from some real code? why would a programmer write shifts like that?
Yes, it is from actual code:
uint64_t readvlq()
{
uint64_t x, f = ~(ui
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013
--- Comment #1 from Joel Yliluoma ---
Should be noted that this is not x86_64 specific; andn exists for other
platforms too, and even for platforms that don’t have it, changing
`~(expr|const)` into `~expr & ~const` is unlikely to be a pessimiz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116014
Bug ID: 116014
Summary: Missed optimization opportunity: inverted shift count
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Compo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013
Bug ID: 116013
Summary: Missed optimization opportunity with andn involving
consts
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Severity: normal
Pr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99895
Bug ID: 99895
Summary: Function parameters generated wrong in call to member
of non-type template parameter in lambda
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99893
Bug ID: 99893
Summary: C++20 unexpanded parameter packs falsely not detected
(lambda is involved)
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: nor