pub const X86RegparmOptions = struct incoming_stack_alignment: ?u64 = nullThe boundary the stack is aligned to when the function is called. null means the default for this calling convention.
register_params: u2 = 0The number of arguments to pass in registers before passing the remaining arguments according to the calling convention. Equivalent to __attribute__((regparm(x))) in Clang and GCC.
407
408
409
410
411
412
413
414
415 pub const X86RegparmOptions = struct {
/// The boundary the stack is aligned to when the function is called.
/// `null` means the default for this calling convention.
incoming_stack_alignment: ?u64 = null,
/// The number of arguments to pass in registers before passing the remaining arguments
/// according to the calling convention.
/// Equivalent to `__attribute__((regparm(x)))` in Clang and GCC.
register_params: u2 = 0,
}
Options for x86 calling conventions which support the regparm attribute to pass some arguments in registers.