This is an archive of the discontinued LLVM Phabricator instance.

Alternative to long nops for X86 CPUs
ClosedPublic

Authored by aturetsk on Oct 29 2015, 9:11 AM.

Details

Summary

Make X86AsmBackend generate smarter nops instead of a bunch of 0x90 for code alignment for CPUs which don't support long nop instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

aturetsk updated this revision to Diff 38742.Oct 29 2015, 9:11 AM
aturetsk retitled this revision from to Alternative to long nops for X86 CPUs.
aturetsk updated this object.
aturetsk added a reviewer: nadav.
aturetsk added subscribers: llvm-commits, zansari, anadolskiy and 2 others.
nadav edited edge metadata.Oct 30 2015, 9:47 PM
nadav added a subscriber: nadav.

LGTM!

This revision was automatically updated to reflect the committed changes.