[Bug target/81614] Should -mtune-ctrl=partial_reg_stall be turned by default?

2017-07-30 Thread cody at codygray dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81614 --- Comment #3 from Cody Gray --- (In reply to Uroš Bizjak from comment #1) > Partial register stalls were discussed many times in the past, but > apparently the compiler still produces fastest code when partial register > stalls are enabled on

[Bug target/81614] New: x86 optimizer combines results of comparisons in a way that risks partial register stalls

2017-07-30 Thread cody at codygray dot com
Keywords: missed-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cody at codygray dot com Target Milestone: --- Target: i?86-*-* Consider the following code: bool foo

[Bug target/81456] New: x86-64 optimizer makes wrong decision when optimizing for size

2017-07-16 Thread cody at codygray dot com
-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cody at codygray dot com Target Milestone: --- Target: x86_64 Consider the following code (doesn't matter if you compile it as C or C

[Bug c++/81392] New: Improve diagnostics for [[fallthrough]] attribute that is missing a semicolon

2017-07-11 Thread cody at codygray dot com
: diagnostic Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cody at codygray dot com Target Milestone: --- The C++1z/C++17 draft standard introduces a [[fallthrough]] attribute to explicitly document

[Bug target/81274] New: x86 optimizer emits unnecessary LEA instruction when using AVX intrinsics

2017-07-02 Thread cody at codygray dot com
-optimization Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: cody at codygray dot com Target Milestone: --- Target: i?86-*-* When AVX intrinsics are used in a function, the x86-32