id
stringlengths
22
129
text
stringlengths
60
19.5k
arch
stringclasses
9 values
syntax
stringclasses
5 values
kind
stringclasses
4 values
repo
stringclasses
32 values
path
stringlengths
7
108
license
stringclasses
10 values
commit
stringlengths
40
40
source_host
stringclasses
1 value
category
stringclasses
15 values
source_url
stringlengths
85
192
line_start
int64
1
5.48k
line_end
int64
4
5.5k
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:8
; begin epilog pop rdi pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_h2_ssse3) PRIVATE sym(vpx_filter_block1d8_h2_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi ; e...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
bdbecea1baba853b86b1647d116c284c86df723f
github
media
https://github.com/webmproject/libvpx/blob/bdbecea1baba853b86b1647d116c284c86df723f/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
281
340
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:9
SAVE_XMM 7 push rsi push rdi ; end prolog GET_PARAM .loop: movdqu xmm0, [rsi] ;load src movdqu xmm1, [rsi + 1] movdqa xmm2, xmm0 APPLY_FILTER_16 0 jnz .loop ; begin epilog pop rdi pop rsi RESTOR...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
bdbecea1baba853b86b1647d116c284c86df723f
github
media
https://github.com/webmproject/libvpx/blob/bdbecea1baba853b86b1647d116c284c86df723f/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
321
380
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:10
; begin epilog pop rdi pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_h2_avg_ssse3) PRIVATE sym(vpx_filter_block1d8_h2_avg_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
bdbecea1baba853b86b1647d116c284c86df723f
github
media
https://github.com/webmproject/libvpx/blob/bdbecea1baba853b86b1647d116c284c86df723f/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
361
420
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:3
lea rsi, [rsi + rax] lea rdi, [rdi + rdx] dec rcx %endm %macro APPLY_FILTER_16 1 punpcklbw xmm0, xmm1 punpckhbw xmm2, xmm1 pmaddubsw xmm0, xmm7 pmaddubsw xmm2, xmm7 pmulhrsw xmm0, xmm6 ;rounding(+64)+shift(>>7) pmulhrsw xmm2, xmm6 ...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
81
140
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:4
APPLY_FILTER_4 0 jnz .loop ; begin epilog pop rdi pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_v2_ssse3) PRIVATE sym(vpx_filter_block1d8_v2_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 ...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
121
180
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:5
mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi ; end prolog GET_PARAM .loop: movdqu xmm0, [rsi] ;0 movdqu xmm1, [rsi + rax] ;1 movdqa xmm2, xmm0 APPLY_FILTER_16 0 jnz .loop ; beg...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
161
220
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:6
; begin epilog pop rdi pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_v2_avg_ssse3) PRIVATE sym(vpx_filter_block1d8_v2_avg_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
201
260
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:7
push rsi push rdi ; end prolog GET_PARAM .loop: movdqu xmm0, [rsi] ;0 movdqu xmm1, [rsi + rax] ;1 movdqa xmm2, xmm0 APPLY_FILTER_16 1 jnz .loop ; begin epilog pop rdi pop rsi RESTORE_XMM ...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
241
300
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:8
pop rdi pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_h2_ssse3) PRIVATE sym(vpx_filter_block1d8_h2_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi ; end prolog GET_...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
281
340
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:9
push rdi ; end prolog GET_PARAM .loop: movdqu xmm0, [rsi] ;load src movdqu xmm1, [rsi + 1] movdqa xmm2, xmm0 APPLY_FILTER_16 0 jnz .loop ; begin epilog pop rdi pop rsi RESTORE_XMM UNSHADOW_ARGS pop ...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
321
380
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:10
pop rsi UNSHADOW_ARGS pop rbp ret global sym(vpx_filter_block1d8_h2_avg_ssse3) PRIVATE sym(vpx_filter_block1d8_h2_avg_ssse3): push rbp mov rbp, rsp SHADOW_ARGS_TO_STACK 6 SAVE_XMM 7 push rsi push rdi ; end prolog GET_PARAM .loop:...
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
361
418
webmproject/libvpx:vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm:11
; end prolog GET_PARAM .loop: movdqu xmm0, [rsi] ;load src movdqu xmm1, [rsi + 1] movdqa xmm2, xmm0 APPLY_FILTER_16 1 jnz .loop ; begin epilog pop rdi pop rsi RESTORE_XMM UNSHADOW_ARGS pop rbp ret
x86_64
nasm-like
macro-heavy
webmproject/libvpx
vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
BSD-3-Clause
b2fb48cfcff0bfe1fc8ac699786557e34bc1019d
github
media
https://github.com/webmproject/libvpx/blob/b2fb48cfcff0bfe1fc8ac699786557e34bc1019d/vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
401
418
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
60beb781c140b61c1957abd2a6717d2e9a831933
github
media
https://github.com/webmproject/libvpx/blob/60beb781c140b61c1957abd2a6717d2e9a831933/vpx_ports/emms.asm
1
38
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/emms.asm
1
38
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
fc2b06c625fc7d417379f4849d6d2f32ad99d5e4
github
media
https://github.com/webmproject/libvpx/blob/fc2b06c625fc7d417379f4849d6d2f32ad99d5e4/vpx_ports/emms.asm
1
38
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/emms.asm
1
38
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The VP8 project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing projec...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vpx_ports/emms.asm
1
38
webmproject/libvpx:vpx_ports/emms.asm:1
; ; Copyright (c) 2010 The VP8 project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license and patent ; grant that can be found in the LICENSE file in the root of the source ; tree. All contributing project authors may be found in the AUTHORS ; file in the root of the sourc...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vpx_ports/emms.asm
1
37
webmproject/libvpx:vpx_ports/emms_mmx.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms_mmx.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/emms_mmx.asm
1
18
webmproject/libvpx:vpx_ports/emms_mmx.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms_mmx.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/emms_mmx.asm
1
18
webmproject/libvpx:vpx_ports/emms_mmx.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/emms_mmx.asm
BSD-3-Clause
a6fdfda44c0c637b0c99bfa5e583bf691c58bca7
github
media
https://github.com/webmproject/libvpx/blob/a6fdfda44c0c637b0c99bfa5e583bf691c58bca7/vpx_ports/emms_mmx.asm
1
18
webmproject/libvpx:vpx_ports/float_control_word.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/float_control_word.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/float_control_word.asm
1
33
webmproject/libvpx:vpx_ports/float_control_word.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/float_control_word.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/float_control_word.asm
1
33
webmproject/libvpx:vpx_ports/float_control_word.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
arm64
nasm-like
handwritten
webmproject/libvpx
vpx_ports/float_control_word.asm
BSD-3-Clause
99e1784525d940ec9975261e352252f89f0694db
github
media
https://github.com/webmproject/libvpx/blob/99e1784525d940ec9975261e352252f89f0694db/vpx_ports/float_control_word.asm
1
33
webmproject/libvpx:vpx_ports/x86_abi_support.asm:1
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
1
60
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
%macro movq 2 %ifidn %1,eax movd %1,%2 %elifidn %2,eax movd %1,%2 %elifidn %1,ebx movd %1,%2 %elifidn %2,ebx movd %1,%2 %elifidn %1,ecx movd %1,%2 %elifidn %2,ecx movd %1,%2 %elifidn %1,edx movd %1,%2 %elifidn %2,edx movd %1,%2 %elifidn %1,esi movd %1,%2 %elifidn ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; LIBVPX_YASM_WIN64 ; Set LIBVPX_YASM_WIN64 if output is Windows 64bit so the code will work if x64 ; or win64 is defined on the Yasm command line. %ifidn __OUTPUT_FORMAT__,win64 %define LIBVPX_YASM_WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define LIBVPX_YASM_WIN64 1 %else %define LIBVPX_YASM_WIN64 0 %endif ; Declare gr...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%define sym(x) _ %+ x %endif ; globalsym() ; Return a global declaration with the proper decoration for the target ABI. ; ; When CHROMIUM is defined, include attributes to hide the symbol from the ; global namespace. ; ; Chromium doesn't like exported global symbols due to symbol clashing with ; plugins among other th...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%if ABI_IS_32BIT %define arg(x) [ebp+8+4*x] %else ; 64 bit ABI passes arguments in registers. This is a workaround to get up ; and running quickly. Relies on SHADOW_ARGS_TO_STACK %if LIBVPX_YASM_WIN64 %define arg(x) [rbp+16+8*x] %else %define arg(x) [rbp-8-8*x] %endif %endif ; REG_SZ_BYTES, REG_SZ_...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
; %define them away to maintain as much compatibility as possible with the ; original inline assembler we're porting from. ; %idefine PTR %idefine XMMWORD %idefine MMWORD ; PIC macros ; %if ABI_IS_32BIT %if CONFIG_PIC=1 %ifidn __OUTPUT_FORMAT__,elf32 %define WRT_PLT wrt ..plt %macro GET_GOT 1 extern ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%endif %endif %ifdef CHROMIUM %ifidn __OUTPUT_FORMAT__,macho32 %define HIDDEN_DATA(x) x:private_extern %else %define HIDDEN_DATA(x) x %endif %else %define HIDDEN_DATA(x) x %endif %else %macro GET_GOT 1 %endmacro %define GLOBAL(x) rel x %ifidn __OUTPUT_FORMAT__,elf64 %def...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%ifndef WRT_PLT %define WRT_PLT %endif %if ABI_IS_32BIT %macro SHADOW_ARGS_TO_STACK 1 %endm %define UNSHADOW_ARGS %else %if LIBVPX_YASM_WIN64 %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 mov arg(0),rcx %endif %if %1 > 1 mov arg(1),rdx %endif %if %1 > 2 mov arg(2),...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
%endif %if %1 > 5 push r9 %endif %if %1 > 6 %assign i %1-6 %assign off 16 %rep i mov rax,[rbp+off] push rax %assign off off+8 %endrep %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Win64 ABI requires that XMM6:XMM15 are callee...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%endmacro %macro RESTORE_XMM 0 %ifndef last_xmm %error RESTORE_XMM must be paired with SAVE_XMM n %else %assign i last_xmm %rep (last_xmm - 5) movxmm xmm %+ i, [rsp +((i - 6) * 16)] %assign i i-1 %endrep add rsp, xmm_stack_space ; there are a couple functions which return from mu...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
361
420
webmproject/libvpx:vpx_ports/x86_abi_support.asm:11
; Tell GNU ld that we don't require an executable stack. %ifidn __OUTPUT_FORMAT__,elf32 section .note.GNU-stack noalloc noexec nowrite progbits section .text %elifidn __OUTPUT_FORMAT__,elf64 section .note.GNU-stack noalloc noexec nowrite progbits section .text %elifidn __OUTPUT_FORMAT__,elfx32 section .note.GNU-stack n...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5024f4f191678a2a776b466815178fe985d2b967
github
media
https://github.com/webmproject/libvpx/blob/5024f4f191678a2a776b466815178fe985d2b967/vpx_ports/x86_abi_support.asm
401
425
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
%macro movq 2 %ifidn %1,eax movd %1,%2 %elifidn %2,eax movd %1,%2 %elifidn %1,ebx movd %1,%2 %elifidn %2,ebx movd %1,%2 %elifidn %1,ecx movd %1,%2 %elifidn %2,ecx movd %1,%2 %elifidn %1,edx movd %1,%2 %elifidn %2,edx movd %1,%2 %elifidn %1,esi movd %1,%2 %elifidn ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; LIBVPX_YASM_WIN64 ; Set LIBVPX_YASM_WIN64 if output is Windows 64bit so the code will work if x64 ; or win64 is defined on the Yasm command line. %ifidn __OUTPUT_FORMAT__,win64 %define LIBVPX_YASM_WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define LIBVPX_YASM_WIN64 1 %else %define LIBVPX_YASM_WIN64 0 %endif ; sym() ; Re...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%ifdef CHROMIUM %ifdef __NASM_VER__ %if __NASM_VERSION_ID__ < 0x020e0000 ; 2.14 ; nasm < 2.14 does not support :private_extern directive %fatal Must use nasm 2.14 or newer %endif %endif %ifidn __OUTPUT_FORMAT__,elf32 %define PRIVATE :function hidden %elifidn __OUTPUT_FORMAT__,elf64 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
; REG_SZ_BYTES, REG_SZ_BITS ; Size of a register %if ABI_IS_32BIT %define REG_SZ_BYTES 4 %define REG_SZ_BITS 32 %else %define REG_SZ_BYTES 8 %define REG_SZ_BITS 64 %endif ; ALIGN_STACK <alignment> <register> ; This macro aligns the stack to the given alignment (in bytes). The stack ; is left such that the previous ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%define WRT_PLT wrt ..plt %macro GET_GOT 1 extern _GLOBAL_OFFSET_TABLE_ push %1 call %%get_got %%sub_offset: jmp %%exitGG %%get_got: mov %1, [esp] add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%else %macro GET_GOT 1 %endmacro %define GLOBAL(x) rel x %ifidn __OUTPUT_FORMAT__,elf64 %define WRT_PLT wrt ..plt %define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,elfx32 %define WRT_PLT wrt ..plt %define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,macho64 %ifde...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
mov arg(0),rcx %endif %if %1 > 1 mov arg(1),rdx %endif %if %1 > 2 mov arg(2),r8 %endif %if %1 > 3 mov arg(3),r9 %endif %endm %else %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 push rdi %endif %if %1 > 1 push rsi %endif %if %1...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
%endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Win64 ABI requires that XMM6:XMM15 are callee saved ; SAVE_XMM n, [u] ; store registers 6-n on the stack ; if u is specified, use unaligned movs. ; Win64 ABI requires 16 byte stack alignment, but then pushes an 8 byte return ; value. Typically we foll...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
; otherwise, we could uncomment these: ; %undef last_xmm ; %undef xmm_stack_space ; %undef movxmm %endif %endmacro %else %macro SAVE_XMM 1-2 %endmacro %macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
361
413
webmproject/libvpx:vpx_ports/x86_abi_support.asm:11
%endif ; On Android platforms use lrand48 when building postproc routines. Prior to L ; rand() was not available. %if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1 %ifdef __ANDROID__ extern sym(lrand48) %define LIBVPX_RAND lrand48 %else extern sym(rand) %define LIBVPX_RAND rand %endif %endif ; CONFIG_POSTPROC || CONFIG_V...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
1717ac939c12e31a358056a36c2fa7a8882e71ed
github
media
https://github.com/webmproject/libvpx/blob/1717ac939c12e31a358056a36c2fa7a8882e71ed/vpx_ports/x86_abi_support.asm
401
413
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; LIBVPX_YASM_WIN64 ; Set LIBVPX_YASM_WIN64 if output is Windows 64bit so the code will work if x64 ; or win64 is defined on the Yasm command line. %ifidn __OUTPUT_FORMAT__,win64 %define LIBVPX_YASM_WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define LIBVPX_YASM_WIN64 1 %else %define LIBVPX_YASM_WIN64 0 %endif ; sym() ; Re...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%ifdef CHROMIUM %ifdef __NASM_VER__ %if __NASM_VERSION_ID__ < 0x020e0000 ; 2.14 ; nasm < 2.14 does not support :private_extern directive %fatal Must use nasm 2.14 or newer %endif %endif %ifidn __OUTPUT_FORMAT__,elf32 %define PRIVATE :function hidden %elifidn __OUTPUT_FORMAT__,elf64 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%if ABI_IS_32BIT %define REG_SZ_BYTES 4 %define REG_SZ_BITS 32 %else %define REG_SZ_BYTES 8 %define REG_SZ_BITS 64 %endif ; ALIGN_STACK <alignment> <register> ; This macro aligns the stack to the given alignment (in bytes). The stack ; is left such that the previous value of the stack pointer is the first ; argumen...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
extern _GLOBAL_OFFSET_TABLE_ push %1 call %%get_got %%sub_offset: jmp %%exitGG %%get_got: mov %1, [esp] add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define GLOBAL(x) x + %1 wrt ..gotoff %undef RESTORE_G...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%endmacro %define GLOBAL(x) rel x %ifidn __OUTPUT_FORMAT__,elf64 %define WRT_PLT wrt ..plt %define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,elfx32 %define WRT_PLT wrt ..plt %define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,macho64 %ifdef CHROMIUM %define HI...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%if %1 > 1 mov arg(1),rdx %endif %if %1 > 2 mov arg(2),r8 %endif %if %1 > 3 mov arg(3),r9 %endif %endm %else %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 push rdi %endif %if %1 > 1 push rsi %endif %if %1 > 2 push rdx %end...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
%endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Win64 ABI requires that XMM6:XMM15 are callee saved ; SAVE_XMM n, [u] ; store registers 6-n on the stack ; if u is specified, use unaligned movs. ; Win64 ABI requires 16 byte stack alignment, but then pushes an 8 byte return ; value. Typically we follow this up with...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
; %undef xmm_stack_space ; %undef movxmm %endif %endmacro %else %macro SAVE_XMM 1-2 %endmacro %macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
361
411
webmproject/libvpx:vpx_ports/x86_abi_support.asm:11
; On Android platforms use lrand48 when building postproc routines. Prior to L ; rand() was not available. %if CONFIG_POSTPROC=1 || CONFIG_VP9_POSTPROC=1 %ifdef __ANDROID__ extern sym(lrand48) %define LIBVPX_RAND lrand48 %else extern sym(rand) %define LIBVPX_RAND rand %endif %endif ; CONFIG_POSTPROC || CONFIG_VP9_POSTP...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e8be64983a9a12acbf23d1d8f78a261bc23d8765
github
media
https://github.com/webmproject/libvpx/blob/e8be64983a9a12acbf23d1d8f78a261bc23d8765/vpx_ports/x86_abi_support.asm
401
411
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; LIBVPX_YASM_WIN64 ; Set LIBVPX_YASM_WIN64 if output is Windows 64bit so the code will work if x64 ; or win64 is defined on the Yasm command line. %ifidn __OUTPUT_FORMAT__,win64 %define LIBVPX_YASM_WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define LIBVPX_YASM_WIN64 1 %else %define LIBVPX_YASM_WIN64 0 %endif ; sym() ; Re...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
b3d12b3c7fe4b12f4dee68d0f15dfb2c825c867e
github
media
https://github.com/webmproject/libvpx/blob/b3d12b3c7fe4b12f4dee68d0f15dfb2c825c867e/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%ifdef CHROMIUM %ifdef __NASM_VER__ %if __NASM_VERSION_ID__ < 0x020e0000 ; 2.14 ; nasm < 2.14 does not support :private_extern directive %fatal Must use nasm 2.14 or newer %endif %endif %ifidn __OUTPUT_FORMAT__,elf32 %define PRIVATE :hidden %elifidn __OUTPUT_FORMAT__,elf64 %define...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
b3d12b3c7fe4b12f4dee68d0f15dfb2c825c867e
github
media
https://github.com/webmproject/libvpx/blob/b3d12b3c7fe4b12f4dee68d0f15dfb2c825c867e/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; LIBVPX_YASM_WIN64 ; Set LIBVPX_YASM_WIN64 if output is Windows 64bit so the code will work if x64 ; or win64 is defined on the Yasm command line. %ifidn __OUTPUT_FORMAT__,win64 %define LIBVPX_YASM_WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define LIBVPX_YASM_WIN64 1 %else %define LIBVPX_YASM_WIN64 0 %endif ; sym() ; Re...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%ifdef CHROMIUM %ifidn __OUTPUT_FORMAT__,elf32 %define PRIVATE :hidden %elifidn __OUTPUT_FORMAT__,elf64 %define PRIVATE :hidden %elifidn __OUTPUT_FORMAT__,elfx32 %define PRIVATE :hidden %elif LIBVPX_YASM_WIN64 %define PRIVATE %else %define PRIVATE :private_extern %endif %else %define...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
; ALIGN_STACK <alignment> <register> ; This macro aligns the stack to the given alignment (in bytes). The stack ; is left such that the previous value of the stack pointer is the first ; argument on the stack (ie, the inverse of this macro is 'pop rsp.') ; This macro uses one temporary register, which is not preserved,...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define GLOBAL(x) x + %1 wrt ..gotoff %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %elifidn __OUTPUT_FORMAT__,macho32 %macro GET_GOT 1 push %1 call %%get_got ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,macho64 %ifdef CHROMIUM %define HIDDEN_DATA(x) x:private_extern %else %define HIDDEN_DATA(x) x %endif %else %define HIDDEN_DATA(x) x %endif %endif %ifnmacro GET_GOT %macro GET_GOT 1 %endmacro %define GLOBAL(x) ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
mov arg(3),r9 %endif %endm %else %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 push rdi %endif %if %1 > 1 push rsi %endif %if %1 > 2 push rdx %endif %if %1 > 3 push rcx %endif %if %1 > 4 push r8 %endif %if %1 > 5 push ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
; if u is specified, use unaligned movs. ; Win64 ABI requires 16 byte stack alignment, but then pushes an 8 byte return ; value. Typically we follow this up with 'push rbp' - re-aligning the stack - ; but in some cases this is not done and unaligned movs must be used. %if LIBVPX_YASM_WIN64 %macro SAVE_XMM 1-2 a %if %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %elifidn __OUTPUT_FORMAT__,aout %d...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
cd08120d6202fe1bee2d715962e5942054558313
github
media
https://github.com/webmproject/libvpx/blob/cd08120d6202fe1bee2d715962e5942054558313/vpx_ports/x86_abi_support.asm
361
404
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
; ALIGN_STACK <alignment> <register> ; This macro aligns the stack to the given alignment (in bytes). The stack ; is left such that the previous value of the stack pointer is the first ; argument on the stack (ie, the inverse of this macro is 'pop rsp.') ; This macro uses one temporary register, which is not preserved,...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
mov %1, [esp] add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define GLOBAL(x) x + %1 wrt ..gotoff %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %elifidn __OUTPUT_FORMAT__,macho32 %define GET_GOT_SAVE_ARG 1 %mac...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%elifidn __OUTPUT_FORMAT__,elfx32 %define WRT_PLT wrt ..plt %define HIDDEN_DATA(x) x:data hidden %elifidn __OUTPUT_FORMAT__,macho64 %ifdef CHROMIUM %define HIDDEN_DATA(x) x:private_extern %else %define HIDDEN_DATA(x) x %endif %else %define HIDDEN_DATA(x) x %endif %endif %ifnmac...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%endif %if %1 > 3 mov arg(3),r9 %endif %endm %else %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 push rdi %endif %if %1 > 1 push rsi %endif %if %1 > 2 push rdx %endif %if %1 > 3 push rcx %endif %if %1 > 4 push r8 %endi...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
; SAVE_XMM n, [u] ; store registers 6-n on the stack ; if u is specified, use unaligned movs. ; Win64 ABI requires 16 byte stack alignment, but then pushes an 8 byte return ; value. Typically we follow this up with 'push rbp' - re-aligning the stack - ; but in some cases this is not done and unaligned movs must be used...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%macro SAVE_XMM 1-2 %endmacro %macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %eli...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7
github
media
https://github.com/webmproject/libvpx/blob/d5484f109ecbb17e8d37f6ec8dd9c0aace5d6ec7/vpx_ports/x86_abi_support.asm
361
406
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%macro SAVE_XMM 1-2 %endmacro %macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %eli...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
79afb5eb416ff7adc862bfe28aac3c69f173efdd
github
media
https://github.com/webmproject/libvpx/blob/79afb5eb416ff7adc862bfe28aac3c69f173efdd/vpx_ports/x86_abi_support.asm
361
406
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%macro SAVE_XMM 1-2 %endmacro %macro RESTORE_XMM 0 %endmacro %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't work on OSX. ; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %eli...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
f67d740b342f3a0d7d0605bfb0a13db0987e57e7
github
media
https://github.com/webmproject/libvpx/blob/f67d740b342f3a0d7d0605bfb0a13db0987e57e7/vpx_ports/x86_abi_support.asm
361
394
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
%macro movq 2 %ifidn %1,eax movd %1,%2 %elifidn %2,eax movd %1,%2 %elifidn %1,ebx movd %1,%2 %elifidn %2,ebx movd %1,%2 %elifidn %1,ecx movd %1,%2 %elifidn %2,ecx movd %1,%2 %elifidn %1,edx movd %1,%2 %elifidn %2,edx movd %1,%2 %elifidn %1,esi movd %1,%2 %elifidn ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; sym() ; Return the proper symbol name for the target ABI. ; ; Certain ABIs, notably MS COFF and Darwin MACH-O, require that symbols ; with C linkage be prefixed with an underscore. ; %ifidn __OUTPUT_FORMAT__,elf32 %define sym(x) x %elifidn __OUTPUT_FORMAT__,elf64 %define sym(x) x %elifidn __OUTPUT_FORMAT__,elfx32 %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%endif %else %define PRIVATE %endif ; arg() ; Return the address specification of the given argument ; %if ABI_IS_32BIT %define arg(x) [ebp+8+4*x] %else ; 64 bit ABI passes arguments in registers. This is a workaround to get up ; and running quickly. Relies on SHADOW_ARGS_TO_STACK %ifidn __OUTPUT_FORMAT__,x6...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
lea rsp, [rsp - (%1 - REG_SZ_BYTES)] push %2 %endmacro ; ; The Microsoft assembler tries to impose a certain amount of type safety in ; its register usage. YASM doesn't recognize these directives, so we just ; %define them away to maintain as much compatibility as possible with the ; original inlin...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%macro GET_GOT 1 push %1 call %%get_got %%get_got: pop %1 %undef GLOBAL %define GLOBAL(x) x + %1 - %%get_got %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %endif %endif %ifdef CHROMIUM %ifidn __OUTPUT_FORMAT__,macho32 %define HIDDEN_DATA(x)...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%endif %endif %ifnmacro GET_GOT %macro GET_GOT 1 %endmacro %define GLOBAL(x) x %endif %ifndef RESTORE_GOT %define RESTORE_GOT %endif %ifndef WRT_PLT %define WRT_PLT %endif %if ABI_IS_32BIT %macro SHADOW_ARGS_TO_STACK 1 %endm %define UNSHADOW_ARGS %else %ifidn __OUTPUT_FORMAT__,x64 %macro SHADOW_ARG...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
push rsi %endif %if %1 > 2 push rdx %endif %if %1 > 3 push rcx %endif %if %1 > 4 push r8 %endif %if %1 > 5 push r9 %endif %if %1 > 6 %assign i %1-6 %assign off 16 %rep i mov rax,[rbp+off] push rax %assign o...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
%assign last_xmm %1 %define movxmm movdq %+ %2 %assign xmm_stack_space ((last_xmm - 5) * 16) sub rsp, xmm_stack_space %assign i 6 %rep (last_xmm - 5) movxmm [rsp + ((i - 6) * 16)], xmm %+ i %assign i i+1 %endrep %endif %endmacro %macro RESTORE_XMM 0 %ifndef last_xmm %error RE...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
321
380
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %elifidn __OUTPUT_FORMAT__,aout %define SECTION_RODATA section .data %else %define SECTION_RODATA section .rodata %endif ; Tell GNU ld that we don't require an executable stack. %ifidn __OUTPUT_FORM...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e48776f29bbc991b1842c80baf8f3b3d5e24eceb
github
media
https://github.com/webmproject/libvpx/blob/e48776f29bbc991b1842c80baf8f3b3d5e24eceb/vpx_ports/x86_abi_support.asm
361
383
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%macro GET_GOT 1 push %1 call %%get_got %%get_got: pop %1 %undef GLOBAL %define GLOBAL(x) x + %1 - %%get_got %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %endif %endif %ifdef CHROMIUM %ifidn __OUTPUT_FORMAT__,macho32 %define HIDDEN_DATA(x)...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%endif %ifndef RESTORE_GOT %define RESTORE_GOT %endif %ifndef WRT_PLT %define WRT_PLT %endif %if ABI_IS_32BIT %macro SHADOW_ARGS_TO_STACK 1 %endm %define UNSHADOW_ARGS %else %ifidn __OUTPUT_FORMAT__,x64 %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 mov arg(0),rcx %endif %if %1 > 1 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
push rcx %endif %if %1 > 4 push r8 %endif %if %1 > 5 push r9 %endif %if %1 > 6 %assign i %1-6 %assign off 16 %rep i mov rax,[rbp+off] push rax %assign off off+8 %endrep %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
movxmm [rsp + ((i - 6) * 16)], xmm %+ i %assign i i+1 %endrep %endif %endmacro %macro RESTORE_XMM 0 %ifndef last_xmm %error RESTORE_XMM must be paired with SAVE_XMM n %else %assign i last_xmm %rep (last_xmm - 5) movxmm xmm %+ i, [rsp +((i - 6) * 16)] %assign i i-1 %endrep ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/x86_abi_support.asm
321
377
webmproject/libvpx:vpx_ports/x86_abi_support.asm:10
%define SECTION_RODATA section .data %else %define SECTION_RODATA section .rodata %endif ; Tell GNU ld that we don't require an executable stack. %ifidn __OUTPUT_FORMAT__,elf32 section .note.GNU-stack noalloc noexec nowrite progbits section .text %elifidn __OUTPUT_FORMAT__,elf64 section .note.GNU-stack noalloc noexec...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
807acf17baf7ba839ecc0038cdaee5d17964e612
github
media
https://github.com/webmproject/libvpx/blob/807acf17baf7ba839ecc0038cdaee5d17964e612/vpx_ports/x86_abi_support.asm
361
377
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
%macro movq 2 %ifidn %1,eax movd %1,%2 %elifidn %2,eax movd %1,%2 %elifidn %1,ebx movd %1,%2 %elifidn %2,ebx movd %1,%2 %elifidn %1,ecx movd %1,%2 %elifidn %2,ecx movd %1,%2 %elifidn %1,edx movd %1,%2 %elifidn %2,edx movd %1,%2 %elifidn %1,esi movd %1,%2 %elifidn ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; sym() ; Return the proper symbol name for the target ABI. ; ; Certain ABIs, notably MS COFF and Darwin MACH-O, require that symbols ; with C linkage be prefixed with an underscore. ; %ifidn __OUTPUT_FORMAT__,elf32 %define sym(x) x %elifidn __OUTPUT_FORMAT__,elf64 %define sym(x) x %elifidn __OUTPUT_FORMAT__,x64 %def...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
; arg() ; Return the address specification of the given argument ; %if ABI_IS_32BIT %define arg(x) [ebp+8+4*x] %else ; 64 bit ABI passes arguments in registers. This is a workaround to get up ; and running quickly. Relies on SHADOW_ARGS_TO_STACK %ifidn __OUTPUT_FORMAT__,x64 %define arg(x) [rbp+16+8*x] %el...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
; ; The Microsoft assembler tries to impose a certain amount of type safety in ; its register usage. YASM doesn't recognize these directives, so we just ; %define them away to maintain as much compatibility as possible with the ; original inline assembler we're porting from. ; %idefine PTR %idefine XMMWORD %idefine MMW...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
pop %1 %undef GLOBAL %define GLOBAL(x) x + %1 - %%get_got %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %endif %endif %ifdef CHROMIUM %ifidn __OUTPUT_FORMAT__,macho32 %define HIDDEN_DATA(x) x:private_extern %else %define HIDDEN_DATA(x) x %endif %el...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%if ABI_IS_32BIT %macro SHADOW_ARGS_TO_STACK 1 %endm %define UNSHADOW_ARGS %else %ifidn __OUTPUT_FORMAT__,x64 %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 mov arg(0),rcx %endif %if %1 > 1 mov arg(1),rdx %endif %if %1 > 2 mov arg(2),r8 %endif %if %1 > 3 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%endif %if %1 > 6 %assign i %1-6 %assign off 16 %rep i mov rax,[rbp+off] push rax %assign off off+8 %endrep %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Win64 ABI requires that XMM6:XMM15 are callee saved ; SAVE_XMM n, [u] ; store registers...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
281
340
webmproject/libvpx:vpx_ports/x86_abi_support.asm:9
%error RESTORE_XMM must be paired with SAVE_XMM n %else %assign i last_xmm %rep (last_xmm - 5) movxmm xmm %+ i, [rsp +((i - 6) * 16)] %assign i i-1 %endrep add rsp, xmm_stack_space ; there are a couple functions which return from multiple places. ; otherwise, we could uncomment the...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0f7e4665ae6f3850c681b29e6318ed4e556d70fb
github
media
https://github.com/webmproject/libvpx/blob/0f7e4665ae6f3850c681b29e6318ed4e556d70fb/vpx_ports/x86_abi_support.asm
321
367
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
%macro movq 2 %ifidn %1,eax movd %1,%2 %elifidn %2,eax movd %1,%2 %elifidn %1,ebx movd %1,%2 %elifidn %2,ebx movd %1,%2 %elifidn %1,ecx movd %1,%2 %elifidn %2,ecx movd %1,%2 %elifidn %1,edx movd %1,%2 %elifidn %2,edx movd %1,%2 %elifidn %1,esi movd %1,%2 %elifidn ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; sym() ; Return the proper symbol name for the target ABI. ; ; Certain ABIs, notably MS COFF and Darwin MACH-O, require that symbols ; with C linkage be prefixed with an underscore. ; %ifidn __OUTPUT_FORMAT__,elf32 %define sym(x) x %elifidn __OUTPUT_FORMAT__,elf64 %define sym(x) x %elifidn __OUTPUT_FORMAT__,x64 %def...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
mov %1, [esp] add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define GLOBAL(x) x + %1 wrt ..gotoff %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %elifidn __OUTPUT_FORMAT__,macho32 %define GET_GOT_SAVE_ARG 1 %mac...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%ifndef RESTORE_GOT %define RESTORE_GOT %endif %ifndef WRT_PLT %define WRT_PLT %endif %if ABI_IS_32BIT %macro SHADOW_ARGS_TO_STACK 1 %endm %define UNSHADOW_ARGS %else %ifidn __OUTPUT_FORMAT__,x64 %macro SHADOW_ARGS_TO_STACK 1 ; argc %if %1 > 0 mov arg(0),rcx %endif %if %1 > 1 mov ar...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%endif %if %1 > 4 push r8 %endif %if %1 > 5 push r9 %endif %if %1 > 6 %assign i %1-6 %assign off 16 %rep i mov rax,[rbp+off] push rax %assign off off+8 %endrep %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Win...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%assign i i+1 %endrep %endif %endmacro %macro RESTORE_XMM 0 %ifndef last_xmm %error RESTORE_XMM must be paired with SAVE_XMM n %else %assign i last_xmm %rep (last_xmm - 5) movxmm xmm %+ i, [rsp +((i - 6) * 16)] %assign i i-1 %endrep add rsp, xmm_stack_space ; there are a co...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
2dad8d65d917ed2bf19a2437e7b235c213209d06
github
media
https://github.com/webmproject/libvpx/blob/2dad8d65d917ed2bf19a2437e7b235c213209d06/vpx_ports/x86_abi_support.asm
281
333