Skip to main content

aligned_push_bytes

Function aligned_push_bytes 

Source
pub fn aligned_push_bytes(n: usize) -> i32
Expand description

Bytes one AArch64 push/pop of n quads moves sp by: 8 * n rounded up to 16, because sp must stay 16-byte aligned whenever it is used as a base address.

The operands keep the layout they have on the targets with 8-byte slots (see aligned_push_offset), and an odd count leaves one padding word above them. A pop must name as many operands as the push it undoes.