Work around alignment issue with OS X linker which was causing problems on Leopard and Snow Leopard
This commit is contained in:
@@ -474,3 +474,6 @@ EXTN(jsimd_rgb_ycc_convert_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -482,3 +482,6 @@ EXTN(jsimd_rgb_ycc_convert_sse2):
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -500,3 +500,6 @@ EXTN(jsimd_rgb_ycc_convert_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -228,3 +228,6 @@ EXTN(jsimd_quantize_float_3dnow):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -269,3 +269,6 @@ EXTN(jsimd_quantize_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -150,3 +150,7 @@ EXTN(jsimd_quantize_float_sse2):
|
||||
uncollect_args
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -166,3 +166,6 @@ EXTN(jsimd_quantize_float_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -179,3 +179,7 @@ EXTN(jsimd_quantize_sse2):
|
||||
uncollect_args
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -195,3 +195,6 @@ EXTN(jsimd_quantize_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -206,3 +206,6 @@ EXTN(jsimd_quantize_float_sse):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -319,3 +319,6 @@ EXTN(jsimd_h2v2_downsample_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -322,3 +322,7 @@ EXTN(jsimd_h2v2_downsample_sse2):
|
||||
uncollect_args
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -346,3 +346,6 @@ EXTN(jsimd_h2v2_downsample_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -402,3 +402,6 @@ EXTN(jsimd_ycc_rgb_convert_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -481,3 +481,7 @@ EXTN(jsimd_ycc_rgb_convert_sse2):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -500,3 +500,6 @@ EXTN(jsimd_ycc_rgb_convert_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -461,3 +461,6 @@ EXTN(jsimd_h2v2_merged_upsample_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -563,3 +563,7 @@ EXTN(jsimd_h2v2_merged_upsample_sse2):
|
||||
pop rbx
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -559,3 +559,6 @@ EXTN(jsimd_h2v2_merged_upsample_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -732,3 +732,6 @@ EXTN(jsimd_h2v2_upsample_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -662,3 +662,7 @@ EXTN(jsimd_h2v2_upsample_sse2):
|
||||
pop rbx
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -724,3 +724,6 @@ EXTN(jsimd_h2v2_upsample_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -315,3 +315,6 @@ EXTN(jsimd_fdct_float_3dnow):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -392,3 +392,6 @@ EXTN(jsimd_fdct_ifast_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -617,3 +617,6 @@ EXTN(jsimd_fdct_islow_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -386,3 +386,7 @@ EXTN(jsimd_fdct_ifast_sse2):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -399,3 +399,6 @@ EXTN(jsimd_fdct_ifast_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -616,3 +616,7 @@ EXTN(jsimd_fdct_islow_sse2):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -629,3 +629,6 @@ EXTN(jsimd_fdct_islow_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -352,3 +352,7 @@ EXTN(jsimd_fdct_float_sse):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -365,3 +365,6 @@ EXTN(jsimd_fdct_float_sse):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -447,3 +447,6 @@ EXTN(jsimd_idct_float_3dnow):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -495,3 +495,6 @@ EXTN(jsimd_idct_ifast_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -847,3 +847,6 @@ EXTN(jsimd_idct_islow_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -701,3 +701,6 @@ EXTN(jsimd_idct_2x2_mmx):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -477,3 +477,7 @@ EXTN(jsimd_idct_float_sse2):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -493,3 +493,6 @@ EXTN(jsimd_idct_float_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -486,3 +486,7 @@ EXTN(jsimd_idct_ifast_sse2):
|
||||
pop rbp
|
||||
ret
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -497,3 +497,6 @@ EXTN(jsimd_idct_ifast_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -842,3 +842,7 @@ EXTN(jsimd_idct_islow_sse2):
|
||||
pop rsp ; rsp <- original rbp
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -854,3 +854,6 @@ EXTN(jsimd_idct_islow_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -569,3 +569,7 @@ EXTN(jsimd_idct_2x2_sse2):
|
||||
pop rbx
|
||||
pop rbp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -589,3 +589,6 @@ EXTN(jsimd_idct_2x2_sse2):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -567,3 +567,6 @@ EXTN(jsimd_idct_float_sse):
|
||||
pop ebp
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
@@ -100,3 +100,6 @@ EXTN(jpeg_simd_cpu_support):
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
; For some reason, the OS X linker does not honor the request to align the
|
||||
; segment unless we do this.
|
||||
align 16
|
||||
|
||||
Reference in New Issue
Block a user