<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>David,</div>This is failing for me locally with the following error:<div><br></div><div><div>/Users/mcrosier/llvm-clean/llvm/test/MC/X86/x86_long_nop.s:6:8: error: invalid alignment value</div><div>.align 32</div></div><div><br></div><div>Does the .align directive expect log base 2 of the byte alignment (i.e., .align 5)?</div><div><br></div><div> Chad</div><div><br><div><div><div>On Mar 5, 2013, at 8:46 AM, David Sehr <<a href="mailto:sehr@google.com">sehr@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Author: sehr<br>Date: Tue Mar  5 10:46:54 2013<br>New Revision: 176490<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=176490&view=rev">http://llvm.org/viewvc/llvm-project?rev=176490&view=rev</a><br>Log:<br>Add a test that .align directives on capable processors use long NOPs.<br><br>Added:<br>   llvm/trunk/test/MC/X86/x86_long_nop.s<br><br>Added: llvm/trunk/test/MC/X86/x86_long_nop.s<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86_long_nop.s?rev=176490&view=auto">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/x86_long_nop.s?rev=176490&view=auto</a><br>==============================================================================<br>--- llvm/trunk/test/MC/X86/x86_long_nop.s (added)<br>+++ llvm/trunk/test/MC/X86/x86_long_nop.s Tue Mar  5 10:46:54 2013<br>@@ -0,0 +1,12 @@<br>+# RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s<br>+<br>+# Ensure alignment directives also emit sequences of 15-byte NOPs on processors<br>+# capable of using long NOPs.<br>+inc %eax<br>+.align 32<br>+inc %eax<br>+# CHECK: 0:  inc<br>+# CHECK-NEXT: 1:  nop<br>+# CHECK-NEXT: 10:  nop<br>+# CHECK-NEXT: 1f:  nop<br>+# CHECK-NEXT: 20:  inc<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a></div></blockquote></div><br></div></div></body></html>