Commit cd57a9a0 authored by Henrik Gramner's avatar Henrik Gramner
Browse files

Only perform stack allocation on WIN64 in ipred_filter_avx2

Makes it possible to use <32-byte stack alignment on non-Windows systems.

The stack space is used to store xmm registers which is only required
on 64-bit Windows.
parent 763f64cc
Pipeline #3670 passed with stages
in 5 minutes and 2 seconds
......@@ -2249,10 +2249,12 @@ ALIGN function_align
ALIGN function_align
%if WIN64
%assign stack_offset stack_offset - stack_size_padded
%assign xmm_regs_used 15
%assign stack_size_padded 0x98
SUB rsp, stack_size_padded
sub hd, 2
TAIL_CALL .w16_main, 0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment