https://bugs.kde.org/show_bug.cgi?id=523626

--- Comment #14 from [email protected] ---
https://clang.llvm.org/docs/AttributeReference.html#force-align-arg-pointer :

> Legacy x86 code uses 4-byte stack alignment. Newer aligned SSE instructions
> (like ‘movaps’) that work with the stack require operands to be 16-byte 
> aligned.
> This attribute realigns the stack in the function prologue to make sure the 
> stack
> can be used with SSE instructions.
>
> Note that the x86_64 ABI forces 16-byte stack alignment at the call site. 
> Because
> of this, ‘force_align_arg_pointer’ is not needed on x86_64, except in rare 
> cases
> where the caller does not align the stack properly (e.g. flow jumps from i386 
> arch code).

... so maybe __attribute__((force_align_arg_pointer)) actually is the proper
fix to this issue?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to