[PATCH] D17573: [X86] PR26554: Enable using of true long nops for x86-64 for every CPU

Andrey Turetskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 07:46:43 PST 2016


aturetsk created this revision.
aturetsk added reviewers: nadav, ddunbar.
aturetsk added a subscriber: llvm-commits.

Alternative nops added in http://reviews.llvm.org/D14178 are not actually nops in x86-64. However all 64 bit CPUs support true long nops.
This patch makes AsmBackend to use true long nops for x86-64 regardless of selected CPU.

Ref: https://llvm.org/bugs/show_bug.cgi?id=26554

http://reviews.llvm.org/D17573

Files:
  lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  test/MC/X86/x86_long_nop.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17573.48936.patch
Type: text/x-patch
Size: 6051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160224/1ee673ce/attachment.bin>


More information about the llvm-commits mailing list