This is an archive of the discontinued LLVM Phabricator instance.

[X86] Restrict max long nop length for Lakemont
ClosedPublic

Authored by aturetsk on Apr 8 2016, 4:00 AM.

Details

Summary

Restrict the max length of long nops for Lakemont to 7. Experiments on MCU benchmarks (Dhrystone, Coremark) show that this is the most optimal length.

Diff Detail

Repository
rL LLVM

Event Timeline

aturetsk updated this revision to Diff 53014.Apr 8 2016, 4:00 AM
aturetsk retitled this revision from to [X86] Restrict max long nop length for Lakemont.
aturetsk updated this object.
aturetsk added reviewers: nadav, bruno, echristo.
aturetsk added subscribers: llvm-commits, zinovy.nis.
bruno accepted this revision.Apr 8 2016, 9:32 AM
bruno edited edge metadata.

LGTM, one comment below

lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
75 ↗(On Diff #53014)

clang-format this one.

This revision is now accepted and ready to land.Apr 8 2016, 9:32 AM
This revision was automatically updated to reflect the committed changes.

Thanks for the review. The formatting was fixed.