http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52137
Bug #: 52137
Summary: bdver2 scheduler needs to be added to bdver1 insn
reservations
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: target
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 26585
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26585
Add bdver2 to list of cpu attributes for bdver1.md insn reservations
The bdver2 scheduler lacks insn reservation conditions for cpu attributes in
the bdver1.md model. The resulting generated code regresses on bdver2 hardware
for SPEC and polyhedron.
The attached patch recovers most of this performance regression.