diff --git a/simd/jccolext-sse2-64.asm b/simd/jccolext-sse2-64.asm index 5dbdc273..079953ac 100644 --- a/simd/jccolext-sse2-64.asm +++ b/simd/jccolext-sse2-64.asm @@ -37,6 +37,9 @@ global EXTN(jsimd_rgb_ycc_convert_sse2) EXTN(jsimd_rgb_ycc_convert_sse2): + push rbp + mov rax,rsp + mov rbp,rsp collect_args push rbx @@ -453,6 +456,7 @@ EXTN(jsimd_rgb_ycc_convert_sse2): .return: pop rbx uncollect_args + pop rbp ret ; For some reason, the OS X linker does not honor the request to align the diff --git a/simd/jcgryext-sse2-64.asm b/simd/jcgryext-sse2-64.asm index e399be9c..abdd9a06 100644 --- a/simd/jcgryext-sse2-64.asm +++ b/simd/jcgryext-sse2-64.asm @@ -37,6 +37,9 @@ global EXTN(jsimd_rgb_gray_convert_sse2) EXTN(jsimd_rgb_gray_convert_sse2): + push rbp + mov rax,rsp + mov rbp,rsp collect_args push rbx @@ -338,6 +341,7 @@ EXTN(jsimd_rgb_gray_convert_sse2): .return: pop rbx uncollect_args + pop rbp ret ; For some reason, the OS X linker does not honor the request to align the diff --git a/simd/jfdctfst-sse2-64.asm b/simd/jfdctfst-sse2-64.asm index 0e2bd90d..fe87fccd 100644 --- a/simd/jfdctfst-sse2-64.asm +++ b/simd/jfdctfst-sse2-64.asm @@ -80,6 +80,9 @@ PW_F1306 times 8 dw F_1_306 << CONST_SHIFT global EXTN(jsimd_fdct_ifast_sse2) EXTN(jsimd_fdct_ifast_sse2): + push rbp + mov rax,rsp + mov rbp,rsp collect_args ; ---- Pass 1: process rows. @@ -343,6 +346,7 @@ EXTN(jsimd_fdct_ifast_sse2): movdqa XMMWORD [XMMBLOCK(7,0,rdx,SIZEOF_DCTELEM)], xmm15 uncollect_args + pop rbp ret ; For some reason, the OS X linker does not honor the request to align the diff --git a/simd/jfdctint-sse2-64.asm b/simd/jfdctint-sse2-64.asm index 6a7c0028..996a53b3 100644 --- a/simd/jfdctint-sse2-64.asm +++ b/simd/jfdctint-sse2-64.asm @@ -101,6 +101,9 @@ PW_DESCALE_P2X times 8 dw 1 << (PASS1_BITS-1) global EXTN(jsimd_fdct_islow_sse2) EXTN(jsimd_fdct_islow_sse2): + push rbp + mov rax,rsp + mov rbp,rsp collect_args ; ---- Pass 1: process rows. @@ -552,6 +555,7 @@ EXTN(jsimd_fdct_islow_sse2): movdqa XMMWORD [XMMBLOCK(7,0,rdx,SIZEOF_DCTELEM)], xmm15 uncollect_args + pop rbp ret ; For some reason, the OS X linker does not honor the request to align the