I have some assembly code that I need to align to a 32 or preferably 64-byte boundary.
I have two scenarios: Aligning the beginning of a function, or having the assembler automatically insert no-ops to align the beginning of a loop.
Are these possible?
Thanks very much.
just use
.align 64
and the assembler should insert nops to the next 64-byte boundary, if not already aligned.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.