Commit bdbecea1 authored by Johann's avatar Johann
Browse files

explicitly label .text sections

nasm should infer .text but does not for windows:
https://bugzilla.nasm.us/show_bug.cgi?id=3392451

Change-Id: Ib195465e5f33405f5ff61c4cf88aa2a72640cacb
parent 65df957d
......@@ -11,6 +11,7 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp8_copy32xn_sse2(
; unsigned char *src_ptr,
......
......@@ -83,6 +83,7 @@
ret
%endmacro
SECTION .text
;void vp8_copy32xn_sse3(
; unsigned char *src_ptr,
......
......@@ -11,6 +11,7 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q)
global sym(vp8_dequantize_b_impl_mmx) PRIVATE
......
......@@ -31,6 +31,7 @@
; *
; **************************************************************************/
SECTION .text
;void vp8_short_idct4x4llm_mmx(short *input, unsigned char *pred,
;int pitch, unsigned char *dest,int stride)
......
......@@ -19,6 +19,8 @@
; int dst_stride - 3
; )
SECTION .text
global sym(vp8_idct_dequant_0_2x_sse2) PRIVATE
sym(vp8_idct_dequant_0_2x_sse2):
push rbp
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp8_short_inv_walsh4x4_sse2(short *input, short *output)
global sym(vp8_short_inv_walsh4x4_sse2) PRIVATE
sym(vp8_short_inv_walsh4x4_sse2):
......
......@@ -125,6 +125,8 @@
pxor %1, [GLOBAL(t80)]
%endmacro
SECTION .text
;void vp8_loop_filter_bh_y_sse2
;(
; unsigned char *src_ptr,
......
......@@ -276,6 +276,8 @@
%endmacro
SECTION .text
%if ABI_IS_32BIT
;void vp8_loop_filter_horizontal_edge_sse2
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp8_filter_by_weight16x16_sse2
;(
; unsigned char *src,
......
......@@ -11,6 +11,7 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void copy_mem8x8_mmx(
; unsigned char *src,
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void copy_mem16x16_sse2(
; unsigned char *src,
; int src_stride,
......
......@@ -17,6 +17,7 @@ extern sym(vp8_bilinear_filters_x86_8)
%define vp8_filter_weight 128
%define VP8_FILTER_SHIFT 7
SECTION .text
;void vp8_filter_block1d_h6_mmx
;(
......
......@@ -16,6 +16,7 @@ extern sym(vp8_bilinear_filters_x86_8)
%define VP8_FILTER_WEIGHT 128
%define VP8_FILTER_SHIFT 7
SECTION .text
;/************************************************************************************
; Notes: filter_block1d_h6 applies a 6 tap filter horizontally to the input pixels. The
......
......@@ -15,6 +15,7 @@
%define VP8_FILTER_WEIGHT 128
%define VP8_FILTER_SHIFT 7
SECTION .text
;/************************************************************************************
; Notes: filter_block1d_h6 applies a 6 tap filter horizontally to the input pixels. The
......
......@@ -60,6 +60,8 @@
ret
%endmacro
SECTION .text
;void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch)
global sym(vp8_short_fdct4x4_sse2) PRIVATE
sym(vp8_short_fdct4x4_sse2):
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;int vp8_block_error_sse2(short *coeff_ptr, short *dcoef_ptr)
global sym(vp8_block_error_sse2) PRIVATE
sym(vp8_block_error_sse2):
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp8_short_walsh4x4_sse2(short *input, short *output, int pitch)
global sym(vp8_short_walsh4x4_sse2) PRIVATE
sym(vp8_short_walsh4x4_sse2):
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
; void vp8_temporal_filter_apply_sse2 | arg
; (unsigned char *frame1, | 0
; unsigned int stride, | 1
......
......@@ -12,6 +12,8 @@
; TODO(jackychen): Find a way to fix the duplicate.
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vp9_filter_by_weight16x16_sse2
;(
; unsigned char *src,
......
......@@ -11,6 +11,8 @@
%include "vpx_ports/x86_abi_support.asm"
SECTION .text
;void vpx_plane_add_noise_sse2(uint8_t *start, const int8_t *noise,
; int blackclamp, int whiteclamp,
; int width, int height, int pitch)
......
Markdown is supported
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