I’m using “.align 16 \n\t” in some inline ARM assembly that is implementing some loops
to align it on a 16 byte boundary however gcc asm compiler is complaining that alignement
is too large
i want to implement -falign-loops=16 in asm for a particular loop
Thanks
I think the
.aligndirective for this particular CPU probably takes a power of 2 for the alignment argument, so to get 16 byte alignment you would need:Note that this directive behaves differently for different CPUs – see tigcc.ticalc.org/doc/gnuasm.html#SEC70