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

            Bug ID: 36021
           Summary: [feature request] nop intrinsic
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: jgo...@google.com
                CC: llvm-bugs@lists.llvm.org

I need to align a function to a 16-byte boundary which is NOT 32-byte aligned.
That is, something like:

void my_function() __attribute__((aligned(32))) {
  asm("[16-byte nop]");

  ... my_function code goes here...
}

It would be nice to have a __builtin_nop(n) intrinsic that generated n-byte
nops.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to