[PATCH] D82826: [X86] support .nops directive

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 18:34:40 PDT 2020


MaskRay added a comment.

I asked what the largest operand `.nops` supports https://sourceware.org/bugzilla/show_bug.cgi?id=25789 but did not get a clear answer. Maybe some reviewer can help me ask for a clarification...



================
Comment at: llvm/test/MC/X86/x86-directive-nops.s:1
+// RUN: llvm-mc -triple i386 %s -filetype=obj 2>&1 -o %t | FileCheck --check-prefix=X32-WARNINGS %s
+// RUN: llvm-objdump -d %t | FileCheck --check-prefix=X32 %s
----------------
`# `


================
Comment at: llvm/test/MC/X86/x86-directive-nops.s:7
+.nops 4, 1
+#X32:       0: 90 nop
+#X32-NEXT:  1: 90 nop
----------------
`# X32`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82826/new/

https://reviews.llvm.org/D82826





More information about the llvm-commits mailing list