Commit 0fff534b authored by Johann's avatar Johann Committed by Johann Koenig

explicitly label .text sections

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

Based on libvpx bdbecea

Change-Id: If4f8ecdd7d7ce3e9c5b5286a6422cc954da10d15
parent e07fc7cd
......@@ -200,6 +200,8 @@
movdqu [rdi + %2], xmm0
%endm
SECTION .text
;void aom_filter_block1d4_v8_sse2
;(
; unsigned char *src_ptr,
......
......@@ -174,6 +174,8 @@
%endm
%endif
SECTION .text
global sym(aom_highbd_filter_block1d4_v2_sse2) PRIVATE
sym(aom_highbd_filter_block1d4_v2_sse2):
push rbp
......
......@@ -179,6 +179,8 @@
movq [rdi + %2], xmm0
%endm
SECTION .text
;void aom_filter_block1d4_v8_sse2
;(
; unsigned char *src_ptr,
......
......@@ -134,6 +134,8 @@
dec rcx
%endm
SECTION .text
global sym(aom_filter_block1d4_v2_sse2) PRIVATE
sym(aom_filter_block1d4_v2_sse2):
push rbp
......
......@@ -108,6 +108,8 @@
dec rcx
%endm
SECTION .text
global sym(aom_filter_block1d4_v2_ssse3) PRIVATE
sym(aom_filter_block1d4_v2_ssse3):
push rbp
......
......@@ -13,6 +13,8 @@
%include "aom_ports/x86_abi_support.asm"
SECTION .text
;void aom_half_horiz_vert_variance16x_h_sse2(unsigned char *ref,
; int ref_stride,
; unsigned char *src,
......
......@@ -14,6 +14,8 @@
%include "aom_ports/x86_abi_support.asm"
SECTION .text
;unsigned int aom_highbd_calc16x16var_sse2
;(
; unsigned char * src_ptr,
......
......@@ -168,6 +168,8 @@
paddw mm7, mm3
%endmacro
SECTION .text
;void int aom_sad16x16x3_sse3(
; unsigned char *src_ptr,
; int src_stride,
......
......@@ -168,6 +168,8 @@
movdqa [rdi + 16], xmm2
%endmacro
SECTION .text
;void aom_sad16x16x8_sse4_1(
; const unsigned char *src_ptr,
; int src_stride,
......
......@@ -149,6 +149,8 @@
%endmacro
SECTION .text
;void int aom_sad16x16x3_ssse3(
; unsigned char *src_ptr,
; int src_stride,
......
......@@ -47,6 +47,9 @@
paddd %1, xmm1
SUM_ACROSS_Q %1
%endmacro
SECTION .text
;void ssim_parms_sse2(
; unsigned char *s,
; int sp,
......
......@@ -47,6 +47,9 @@
paddd %1, xmm1
SUM_ACROSS_Q %1
%endmacro
SECTION .text
;void ssim_parms_sse2(
; unsigned char *s,
; int sp,
......
......@@ -14,6 +14,8 @@
%include "aom_ports/x86_abi_support.asm"
SECTION .text
; void av1_temporal_filter_apply_sse2 | arg
; (unsigned char *frame1, | 0
; unsigned int stride, | 1
......
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