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_ports/x86_abi_support.asm:9
%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 nowrite progbits section .text %endi...
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
321
333
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
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
1
60
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
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 %2,esi movd %1,%2 %elifidn %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; ; 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 %define sym(x) x %else %define sym(x) _ %+ x %endif ; arg() ; R...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
; 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
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
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 %macro GET_GOT 1 push %1 call %%get_got %%get_got: pop %1 %un...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%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 arg(1),rdx %endif %if %1 > 2 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
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 ; Win64 ABI requires that XMM6:XMM1...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%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 couple functions which return ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9
github
media
https://github.com/webmproject/libvpx/blob/c8a23ad3f44fdd70fbe759d3d6e27f1e03fb37b9/vpx_ports/x86_abi_support.asm
281
329
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
; 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
4a2b684ef4b361b805be8e0db972cbe9b7e24752
github
media
https://github.com/webmproject/libvpx/blob/4a2b684ef4b361b805be8e0db972cbe9b7e24752/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%%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 %%get_got: pop %1 %undef GLOBAL %define GLOBAL(x) x + %1...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
4a2b684ef4b361b805be8e0db972cbe9b7e24752
github
media
https://github.com/webmproject/libvpx/blob/4a2b684ef4b361b805be8e0db972cbe9b7e24752/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%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 arg(1),rdx %endif %if %1 > 2 mov arg(2),r8 %e...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
4a2b684ef4b361b805be8e0db972cbe9b7e24752
github
media
https://github.com/webmproject/libvpx/blob/4a2b684ef4b361b805be8e0db972cbe9b7e24752/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%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 saved ; SA...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
4a2b684ef4b361b805be8e0db972cbe9b7e24752
github
media
https://github.com/webmproject/libvpx/blob/4a2b684ef4b361b805be8e0db972cbe9b7e24752/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%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 multiple pla...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
4a2b684ef4b361b805be8e0db972cbe9b7e24752
github
media
https://github.com/webmproject/libvpx/blob/4a2b684ef4b361b805be8e0db972cbe9b7e24752/vpx_ports/x86_abi_support.asm
281
327
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%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 arg(1),rdx %endif %if %1 > 2 mov arg(2),r8 %e...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a
github
media
https://github.com/webmproject/libvpx/blob/c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%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 ; must keep XMM6:XMM15 (libvpx uses XMM6 and XMM7) on Win6...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a
github
media
https://github.com/webmproject/libvpx/blob/c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text %endmacro %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...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a
github
media
https://github.com/webmproject/libvpx/blob/c7cfde42a9ec05b72d15ebaa9a59cefed4cd323a/vpx_ports/x86_abi_support.asm
281
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%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 ; must keep XMM6:XMM15 (libvpx uses XMM6 and XMM7) on Win6...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
52f6e28e9e5e176424c1c65ff13aa57abf9c00e6
github
media
https://github.com/webmproject/libvpx/blob/52f6e28e9e5e176424c1c65ff13aa57abf9c00e6/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
; 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
5cdc3a4c29c5da43a4c346d57932c1c46068abec
github
media
https://github.com/webmproject/libvpx/blob/5cdc3a4c29c5da43a4c346d57932c1c46068abec/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%%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 %%sub_offset: jmp %%exitGG %%get_got: mov %1, [esp] ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5cdc3a4c29c5da43a4c346d57932c1c46068abec
github
media
https://github.com/webmproject/libvpx/blob/5cdc3a4c29c5da43a4c346d57932c1c46068abec/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
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
5cdc3a4c29c5da43a4c346d57932c1c46068abec
github
media
https://github.com/webmproject/libvpx/blob/5cdc3a4c29c5da43a4c346d57932c1c46068abec/vpx_ports/x86_abi_support.asm
241
300
webmproject/libvpx:vpx_ports/x86_abi_support.asm:8
%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 fake_got: %endmacro %else %define SECTION_RODATA section .rodata %endif ;...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
5cdc3a4c29c5da43a4c346d57932c1c46068abec
github
media
https://github.com/webmproject/libvpx/blob/5cdc3a4c29c5da43a4c346d57932c1c46068abec/vpx_ports/x86_abi_support.asm
281
306
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
; 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
e114f699f654235e05fb1bbd605c35708890d8b8
github
media
https://github.com/webmproject/libvpx/blob/e114f699f654235e05fb1bbd605c35708890d8b8/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%%exitGG: %undef GLOBAL %define GLOBAL + %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 %%sub_offset: jmp %%exitGG %%get_got: mov %1, [esp] ad...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
e114f699f654235e05fb1bbd605c35708890d8b8
github
media
https://github.com/webmproject/libvpx/blob/e114f699f654235e05fb1bbd605c35708890d8b8/vpx_ports/x86_abi_support.asm
161
220
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
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
1
60
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
; 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
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
%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 ; argument on the stack (ie, the inverse of this macro is 'pop rsp.') ; This macro uses one temporary register, which is not p...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
mov %1, [esp] add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc ret %%exitGG: %undef GLOBAL %define GLOBAL + %1 wrt ..gotoff %undef RESTORE_GOT %define RESTORE_GOT pop %1 %endmacro %elifidn __OUTPUT_FORMAT__,macho32 %macro GET_GOT 1 push %1 cal...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%macro GET_GOT 1 %endmacro %define GLOBAL %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 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
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 off off+8 %endrep %endif %endm %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%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 fake_got: %endmacro %else %define ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
746439ef6c1dd2fedbe0c24ddb76d40cb9d26357
github
media
https://github.com/webmproject/libvpx/blob/746439ef6c1dd2fedbe0c24ddb76d40cb9d26357/vpx_ports/x86_abi_support.asm
241
269
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
; 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
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
%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 ; argument on the stack (ie, the inverse of this macro is 'pop rsp.') ; This macro uses one temporary register, which is not p...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%get_got wrt ..gotpc %undef GLOBAL %define GLOBAL + %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 %%get_got: pop %1 a...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%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 arg(1),rdx %endif %if %1 > 2 mov ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%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 ; must keep XMM6:XMM15 (libvpx uses XMM6 and XM...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
; .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 fake_got: %endmacro %else %define SECTION_RODATA section .rodata %endif ; Tell GNU ld that we don't require an e...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c2140b8af169a6d93a70efc403a5956f5ec84dba
github
media
https://github.com/webmproject/libvpx/blob/c2140b8af169a6d93a70efc403a5956f5ec84dba/vpx_ports/x86_abi_support.asm
241
262
webmproject/libvpx:vpx_ports/x86_abi_support.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...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0e8f108fb0c33a509c87f08a870b11d92223e1e4
github
media
https://github.com/webmproject/libvpx/blob/0e8f108fb0c33a509c87f08a870b11d92223e1e4/vpx_ports/x86_abi_support.asm
1
60
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%get_got wrt ..gotpc %undef GLOBAL %define GLOBAL + %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 %%get_got: pop %1 a...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
9f814634545d18dbb0114804e525809f382dcba0
github
media
https://github.com/webmproject/libvpx/blob/9f814634545d18dbb0114804e525809f382dcba0/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%get_got wrt ..gotpc %undef GLOBAL %define GLOBAL + %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 %%get_got: pop %1 a...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%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
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%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 ; must keep XMM6:XMM15 (libvpx uses XMM6 and XMM7) on Win64 ABI ; rsp register has to be aligned %if...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vpx_ports/x86_abi_support.asm
201
258
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
%elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text fake_got: %endmacro %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 __OUTP...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
94c52e4da8a3532989c84f6b0da695dfaeb18449
github
media
https://github.com/webmproject/libvpx/blob/94c52e4da8a3532989c84f6b0da695dfaeb18449/vpx_ports/x86_abi_support.asm
241
258
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%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
63ea8705eb0b4609b1c87968817d18421f051641
github
media
https://github.com/webmproject/libvpx/blob/63ea8705eb0b4609b1c87968817d18421f051641/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%if %1 > 6 mov rax,[rbp+16] push rax %endif %if %1 > 7 mov rax,[rbp+24] push rax %endif %if %1 > 8 mov rax,[rbp+32] push rax %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; must keep XMM6:XMM15 (libvpx uses XMM6 and XMM7) on Win64 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
63ea8705eb0b4609b1c87968817d18421f051641
github
media
https://github.com/webmproject/libvpx/blob/63ea8705eb0b4609b1c87968817d18421f051641/vpx_ports/x86_abi_support.asm
201
260
webmproject/libvpx:vpx_ports/x86_abi_support.asm:7
; %ifidn __OUTPUT_FORMAT__,macho64 %define SECTION_RODATA section .text %elifidn __OUTPUT_FORMAT__,macho32 %macro SECTION_RODATA 0 section .text fake_got: %endmacro %else %define SECTION_RODATA section .rodata %endif ; Tell GNU ld that we don't require an executable stack. %ifidn __OUTPUT_FORMAT__,elf32 section .note...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
63ea8705eb0b4609b1c87968817d18421f051641
github
media
https://github.com/webmproject/libvpx/blob/63ea8705eb0b4609b1c87968817d18421f051641/vpx_ports/x86_abi_support.asm
241
261
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%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
09202d80716ef7e2931de60c66b6fb2383f52613
github
media
https://github.com/webmproject/libvpx/blob/09202d80716ef7e2931de60c66b6fb2383f52613/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
%if %1 > 6 mov rax,[rbp+16] push rax %endif %if %1 > 7 mov rax,[rbp+24] push rax %endif %if %1 > 8 mov rax,[rbp+32] push rax %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Name of the rodata section ; ; .rodata seems to be an elf...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
09202d80716ef7e2931de60c66b6fb2383f52613
github
media
https://github.com/webmproject/libvpx/blob/09202d80716ef7e2931de60c66b6fb2383f52613/vpx_ports/x86_abi_support.asm
201
242
webmproject/libvpx:vpx_ports/x86_abi_support.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...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
1
60
webmproject/libvpx:vpx_ports/x86_abi_support.asm:2
; 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
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
41
100
webmproject/libvpx:vpx_ports/x86_abi_support.asm:3
; 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
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
81
140
webmproject/libvpx:vpx_ports/x86_abi_support.asm:4
%undef GLOBAL %define GLOBAL + %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 %%get_got: pop %1 add %1, fake_got - %%get_got %undef GLOBAL %define GLO...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
121
180
webmproject/libvpx:vpx_ports/x86_abi_support.asm:5
%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 mov arg(3),r9 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
161
220
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
mov rax,[rbp+16] push rax %endif %if %1 > 7 mov rax,[rbp+24] push rax %endif %if %1 > 8 mov rax,[rbp+32] push rax %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
c3c870ed740427859d25e5991fdadcfeed99fb5f
github
media
https://github.com/webmproject/libvpx/blob/c3c870ed740427859d25e5991fdadcfeed99fb5f/vpx_ports/x86_abi_support.asm
201
241
webmproject/libvpx:vpx_ports/x86_abi_support.asm:6
mov rax,[rbp+16] push rax %endif %if %1 > 7 mov rax,[rbp+24] push rax %endif %if %1 > 8 mov rax,[rbp+32] push rax %endif %endm %endif %define UNSHADOW_ARGS mov rsp, rbp %endif ; Name of the rodata section ; ; .rodata seems to be an elf-ism, as it doesn't...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86_abi_support.asm
BSD-3-Clause
0ea50ce9cb4b65eee6afa1d041fe8beb5abda667
github
media
https://github.com/webmproject/libvpx/blob/0ea50ce9cb4b65eee6afa1d041fe8beb5abda667/vpx_ports/x86_abi_support.asm
201
231
webmproject/libvpx:vpx_ports/x86inc.asm:1
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2012 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
1
60
webmproject/libvpx:vpx_ports/x86inc.asm:2
%define UNIX64 0 %define WIN64 0 %if ARCH_X86_64 %ifidn __OUTPUT_FORMAT__,win32 %define WIN64 1 %elifidn __OUTPUT_FORMAT__,win64 %define WIN64 1 %elifidn __OUTPUT_FORMAT__,x64 %define WIN64 1 %else %define UNIX64 1 %endif %endif %ifidn __OUTPUT_FORMAT__,elf32 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
41
100
webmproject/libvpx:vpx_ports/x86inc.asm:3
section .text %else SECTION .rodata align=%1 %endif %endmacro ; aout does not support align= %macro SECTION_TEXT 0-1 16 %ifidn __OUTPUT_FORMAT__,aout SECTION .text %else SECTION .text align=%1 %endif %endmacro %if WIN64 %define PIC %elifidn __OUTPUT_FORMAT__,macho64 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
81
140
webmproject/libvpx:vpx_ports/x86inc.asm:4
; %1 = number of arguments. loads them from stack if needed. ; %2 = number of registers used. pushes callee-saved regs if needed. ; %3 = number of xmm registers used. pushes callee-saved xmm regs if needed. ; %4 = list of names to define to registers ; PROLOGUE can also be invoked by adding the same options to cglobal ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
121
180
webmproject/libvpx:vpx_ports/x86inc.asm:5
%define r%1mp dword r %+ %1m %endif %define r%1 %2 %endmacro %macro DECLARE_REG_SIZE 2 %define r%1q r%1 %define e%1q r%1 %define r%1d e%1 %define e%1d e%1 %define r%1w %1 %define e%1w %1 %define r%1b %2 %define e%1b %2 %if ARCH_X86_64 == 0 %define r%1 e%1 %endif %endmacro ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
161
220
webmproject/libvpx:vpx_ports/x86inc.asm:6
%define t%1q t%1 %+ q %define t%1d t%1 %+ d %define t%1w t%1 %+ w %define t%1b t%1 %+ b %rotate 1 %endrep %endmacro DECLARE_REG_TMP_SIZE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14 %if ARCH_X86_64 %define gprsize 8 %else %define gprsize 4 %endif %macro PUSH 1 push %1 %assig...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
201
260
webmproject/libvpx:vpx_ports/x86inc.asm:7
%rotate 1 %endrep %endmacro %macro LOAD_IF_USED 1-* %rep %0 %if %1 < num_args mov r%1, r %+ %1 %+ mp %endif %rotate 1 %endrep %endmacro %macro SUB 2 sub %1, %2 %ifidn %1, rsp %assign stack_offset stack_offset+(%2) %endif %endmacro %macro ADD 2 a...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
241
300
webmproject/libvpx:vpx_ports/x86inc.asm:8
%if (%1) == 0 %error assert failed %endif %endmacro %macro DEFINE_ARGS 0-* %ifdef n_arg_names %assign %%i 0 %rep n_arg_names CAT_UNDEF arg_name %+ %%i, q CAT_UNDEF arg_name %+ %%i, d CAT_UNDEF arg_name %+ %%i, w CAT_UNDEF arg_name %+ %%i, ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
281
340
webmproject/libvpx:vpx_ports/x86inc.asm:9
DECLARE_REG 0, rcx, ecx, cx, cl DECLARE_REG 1, rdx, edx, dx, dl DECLARE_REG 2, R8, R8D, R8W, R8B DECLARE_REG 3, R9, R9D, R9W, R9B DECLARE_REG 4, R10, R10D, R10W, R10B, 40 DECLARE_REG 5, R11, R11D, R11W, R11B, 48 DECLARE_REG 6, rax, eax, ax, al, 56 DECLARE_REG 7, rdi, edi, di, dil, 64 DECLAR...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
321
380
webmproject/libvpx:vpx_ports/x86inc.asm:10
%endrep %endif %endmacro %macro WIN64_RESTORE_XMM_INTERNAL 1 %if xmm_regs_used > 6 %assign %%i xmm_regs_used %rep (xmm_regs_used-6) %assign %%i %%i-1 movdqa xmm %+ %%i, [%1 + (%%i-6)*16+(~stack_offset&8)] %endrep add %1, (xmm_regs_used-6)*16+16 %endif...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
361
420
webmproject/libvpx:vpx_ports/x86inc.asm:11
DECLARE_REG 3, rcx, ecx, cx, cl DECLARE_REG 4, R8, R8D, R8W, R8B DECLARE_REG 5, R9, R9D, R9W, R9B DECLARE_REG 6, rax, eax, ax, al, 8 DECLARE_REG 7, R10, R10D, R10W, R10B, 16 DECLARE_REG 8, R11, R11D, R11W, R11B, 24 DECLARE_REG 9, rbx, ebx, bx, bl, 32 DECLARE_REG 10, rbp, ebp, bp, bpl, 40 D...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
401
460
webmproject/libvpx:vpx_ports/x86inc.asm:12
DECLARE_REG 2, edx, edx, dx, dl, 12 DECLARE_REG 3, ebx, ebx, bx, bl, 16 DECLARE_REG 4, esi, esi, si, null, 20 DECLARE_REG 5, edi, edi, di, null, 24 DECLARE_REG 6, ebp, ebp, bp, null, 28 %define rsp esp %macro DECLARE_ARG 1-* %rep %0 %define r%1m [esp + stack_offset + 4*%1 + 4] %define r%1mp dwo...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
441
500
webmproject/libvpx:vpx_ports/x86inc.asm:13
%endmacro %endif ;====================================================================== %if WIN64 == 0 %macro WIN64_SPILL_XMM 1 %endmacro %macro WIN64_RESTORE_XMM 1 %endmacro %endif ;============================================================================= ; arch-independent part ;==============================...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
481
540
webmproject/libvpx:vpx_ports/x86inc.asm:14
align function_align %1: RESET_MM_PERMUTATION ; not really needed, but makes disassembly somewhat nicer %assign stack_offset 0 %if %0 > 1 PROLOGUE %2 %endif %endmacro %macro cextern 1 %xdefine %1 mangle(program_name %+ _ %+ %1) CAT_XDEFINE cglobaled_, %1, 1 extern %1 %endmacro ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
521
580
webmproject/libvpx:vpx_ports/x86inc.asm:15
%assign cpuflags_sse (1<<4) | cpuflags_mmx2 %assign cpuflags_sse2 (1<<5) | cpuflags_sse %assign cpuflags_sse2slow (1<<6) | cpuflags_sse2 %assign cpuflags_sse3 (1<<7) | cpuflags_sse2 %assign cpuflags_ssse3 (1<<8) | cpuflags_sse3 %assign cpuflags_sse4 (1<<9) | cpuflags_ssse3 %assign cpuflags_sse42 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
561
620
webmproject/libvpx:vpx_ports/x86inc.asm:16
%define movnta movntps %endif %if cpuflag(aligned) %define movu mova %elifidn %1, sse3 %define movu lddqu %endif %else %xdefine SUFFIX %undef cpuname %undef cpuflags %endif %endmacro ; merge mmx and sse* %macro CAT_XDEFINE 3 %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
601
660
webmproject/libvpx:vpx_ports/x86inc.asm:17
CAT_UNDEF m, %%i CAT_UNDEF nmm, %%i %assign %%i %%i+1 %endrep INIT_CPUFLAGS %1 %endmacro %macro INIT_XMM 0-1+ %assign avx_enabled 0 %define RESET_MM_PERMUTATION INIT_XMM %1 %define mmsize 16 %define num_mmregs 8 %if ARCH_X86_64 %define num_mmregs 16 %endif %define mova m...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
641
700
webmproject/libvpx:vpx_ports/x86inc.asm:18
%define num_mmregs 8 %if ARCH_X86_64 %define num_mmregs 16 %endif %define mova vmovaps %define movu vmovups %undef movh %define movnta vmovntps %assign %%i 0 %rep num_mmregs CAT_XDEFINE m, %%i, ymm %+ %%i CAT_XDEFINE nymm, %%i, %%i %assign %%i %%i+1 %endrep INIT_C...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
681
740
webmproject/libvpx:vpx_ports/x86inc.asm:19
%xdefine m%1 tmp%2 %xdefine nm%1 ntmp%2 %undef tmp%2 %undef ntmp%2 %rotate 2 %endrep %endmacro %macro SWAP 2-* ; swaps a single chain (sometimes more concise than pairs) %rep %0-1 %ifdef m%1 %xdefine tmp m%1 %xdefine m%1 m%2 %xdefine m%2 tmp CAT_XDEFINE n, m%1, %1 CAT_XDEFINE n, m%2...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
721
780
webmproject/libvpx:vpx_ports/x86inc.asm:20
%xdefine %%f current_function %+ _m %endif %assign %%i 0 %rep num_mmregs CAT_XDEFINE %%f, %%i, m %+ %%i %assign %%i %%i+1 %endrep %endmacro %macro LOAD_MM_PERMUTATION 1 ; name to load from %ifdef %1_m0 %assign %%i 0 %rep num_mmregs CAT_XDEFINE m, %%i, %1_m %+...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
761
820
webmproject/libvpx:vpx_ports/x86inc.asm:21
%else add %1, %2 %endif %else add %1, %2 %endif %endmacro %macro sub 2 %ifnum %2 %if %2==128 add %1, -128 %else sub %1, %2 %endif %else sub %1, %2 %endif %endmacro ;=================================================...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
801
860
webmproject/libvpx:vpx_ports/x86inc.asm:22
%macro RUN_AVX_INSTR 6-7+ %ifid %5 %define %%size sizeof%5 %else %define %%size mmsize %endif %if %%size==32 %if %0 >= 7 v%1 %5, %6, %7 %else v%1 %5, %6 %endif %else %if %%size==8 %define %%regmov movq %elif ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
841
900
webmproject/libvpx:vpx_ports/x86inc.asm:23
; 3arg AVX ops with a memory arg can only have it in src2, ; whereas SSE emulation of 3arg prefers to have it in src1 (i.e. the mov). ; So, if the op is symmetric and the wrong one is memory, swap them. %macro RUN_AVX_INSTR1 8 %assign %%swap 0 %if avx_enabled %ifnid %6 %assign %%swap 1 ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
881
940
webmproject/libvpx:vpx_ports/x86inc.asm:24
AVX_INSTR addps, 1, 0, 1 AVX_INSTR addsd, 1, 0, 1 AVX_INSTR addss, 1, 0, 1 AVX_INSTR addsubpd, 1, 0, 0 AVX_INSTR addsubps, 1, 0, 0 AVX_INSTR andpd, 1, 0, 1 AVX_INSTR andps, 1, 0, 1 AVX_INSTR andnpd, 1, 0, 0 AVX_INSTR andnps, 1, 0, 0 AVX_INSTR blendpd, 1, 0, 0 AVX_INSTR blendps, 1, 0, 0 AVX_INSTR blendvpd, 1, 0, 0 AVX_I...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
921
980
webmproject/libvpx:vpx_ports/x86inc.asm:25
AVX_INSTR movss, 1, 0, 0 AVX_INSTR mpsadbw, 0, 1, 0 AVX_INSTR mulpd, 1, 0, 1 AVX_INSTR mulps, 1, 0, 1 AVX_INSTR mulsd, 1, 0, 1 AVX_INSTR mulss, 1, 0, 1 AVX_INSTR orpd, 1, 0, 1 AVX_INSTR orps, 1, 0, 1 AVX_INSTR packsswb, 0, 0, 0 AVX_INSTR packssdw, 0, 0, 0 AVX_INSTR packuswb, 0, 0, 0 AVX_INSTR packusdw, 0, 0, 0 AVX_INST...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
961
1,020
webmproject/libvpx:vpx_ports/x86inc.asm:26
AVX_INSTR phaddd, 0, 0, 0 AVX_INSTR phaddsw, 0, 0, 0 AVX_INSTR phsubw, 0, 0, 0 AVX_INSTR phsubd, 0, 0, 0 AVX_INSTR phsubsw, 0, 0, 0 AVX_INSTR pmaddwd, 0, 0, 1 AVX_INSTR pmaddubsw, 0, 0, 0 AVX_INSTR pmaxsb, 0, 0, 1 AVX_INSTR pmaxsw, 0, 0, 1 AVX_INSTR pmaxsd, 0, 0, 1 AVX_INSTR pmaxub, 0, 0, 1 AVX_INSTR pmaxuw, 0, 0, 1 AV...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
1,001
1,060
webmproject/libvpx:vpx_ports/x86inc.asm:27
AVX_INSTR psrlq, 0, 0, 0 AVX_INSTR psrldq, 0, 0, 0 AVX_INSTR psubb, 0, 0, 0 AVX_INSTR psubw, 0, 0, 0 AVX_INSTR psubd, 0, 0, 0 AVX_INSTR psubq, 0, 0, 0 AVX_INSTR psubsb, 0, 0, 0 AVX_INSTR psubsw, 0, 0, 0 AVX_INSTR psubusb, 0, 0, 0 AVX_INSTR psubusw, 0, 0, 0 AVX_INSTR punpckhbw, 0, 0, 0 AVX_INSTR punpckhwd, 0, 0, 0 AVX_I...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
1,041
1,100
webmproject/libvpx:vpx_ports/x86inc.asm:28
%if j < 10 CAT_XDEFINE q000, j, i %elif j < 100 CAT_XDEFINE q00, j, i %elif j < 1000 CAT_XDEFINE q0, j, i %else CAT_XDEFINE q, j, i %endif %assign i i+1 %endrep %undef i %undef j %macro FMA_INSTR 3 %macro %1 4-7 %1, %2, %3 %if cpuflag(xop) v%5 %1,...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
1f9943ab1aaeef91e54f05f0c096950b0a718e53
github
media
https://github.com/webmproject/libvpx/blob/1f9943ab1aaeef91e54f05f0c096950b0a718e53/vpx_ports/x86inc.asm
1,081
1,108
webmproject/libvpx:vpx_ports/x86inc.asm:1
;***************************************************************************** ;* x86inc.asm: x264asm abstraction layer ;***************************************************************************** ;* Copyright (C) 2005-2012 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Anton Mitrofan...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
1
60
webmproject/libvpx:vpx_ports/x86inc.asm:2
%define UNIX64 0 %define WIN64 0 %if ARCH_X86_64 %ifidn __OUTPUT_FORMAT__,win32 %define WIN64 1 %elifidn __OUTPUT_FORMAT__,win64 %define WIN64 1 %else %define UNIX64 1 %endif %endif %ifdef PREFIX %define mangle(x) _ %+ x %else %define mangle(x) x %endif ; FIXME: All ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
41
100
webmproject/libvpx:vpx_ports/x86inc.asm:3
; aout does not support align= %macro SECTION_TEXT 0-1 16 %ifidn __OUTPUT_FORMAT__,aout SECTION .text %else SECTION .text align=%1 %endif %endmacro %if WIN64 %define PIC %elif ARCH_X86_64 == 0 ; x86_32 doesn't require PIC. ; Some distros prefer shared objects to be PIC, but nothing brea...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
81
140
webmproject/libvpx:vpx_ports/x86inc.asm:4
; TODO Some functions can use some args directly from the stack. If they're the ; last args then you can just not declare them, but if they're in the middle ; we need more flexible macro. ; RET: ; Pops anything that was pushed by PROLOGUE, and returns. ; REP_RET: ; Same, but if it doesn't pop anything it becomes a 2-...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
121
180
webmproject/libvpx:vpx_ports/x86inc.asm:5
%define r%1w %1 %define e%1w %1 %define r%1b %2 %define e%1b %2 %if ARCH_X86_64 == 0 %define r%1 e%1 %endif %endmacro DECLARE_REG_SIZE ax, al DECLARE_REG_SIZE bx, bl DECLARE_REG_SIZE cx, cl DECLARE_REG_SIZE dx, dl DECLARE_REG_SIZE si, sil DECLARE_REG_SIZE di, dil DECLARE_REG_SIZE bp, bpl ; t# defines...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
161
220
webmproject/libvpx:vpx_ports/x86inc.asm:6
%if ARCH_X86_64 %define gprsize 8 %else %define gprsize 4 %endif %macro PUSH 1 push %1 %assign stack_offset stack_offset+gprsize %endmacro %macro POP 1 pop %1 %assign stack_offset stack_offset-gprsize %endmacro %macro PUSH_IF_USED 1-* %rep %0 %if %1 < regs_used PUSH r%...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
201
260
webmproject/libvpx:vpx_ports/x86inc.asm:7
%endrep %endmacro %macro SUB 2 sub %1, %2 %ifidn %1, rsp %assign stack_offset stack_offset+(%2) %endif %endmacro %macro ADD 2 add %1, %2 %ifidn %1, rsp %assign stack_offset stack_offset-(%2) %endif %endmacro %macro movifnidn 2 %ifnidn %1, %2 mov %1, %2 %endif %...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
241
300
webmproject/libvpx:vpx_ports/x86inc.asm:8
CAT_UNDEF arg_name %+ %%i, d CAT_UNDEF arg_name %+ %%i, w CAT_UNDEF arg_name %+ %%i, b CAT_UNDEF arg_name %+ %%i, m CAT_UNDEF arg_name %+ %%i, mp CAT_UNDEF arg_name, %%i %assign %%i %%i+1 %endrep %endif %xdefine %%stack_offset stac...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
281
340
webmproject/libvpx:vpx_ports/x86inc.asm:9
DECLARE_REG 10, rbp, ebp, bp, bpl, 88 DECLARE_REG 11, R12, R12D, R12W, R12B, 96 DECLARE_REG 12, R13, R13D, R13W, R13B, 104 DECLARE_REG 13, R14, R14D, R14W, R14B, 112 DECLARE_REG 14, R15, R15D, R15W, R15B, 120 %macro PROLOGUE 2-4+ 0 ; #args, #regs, #xmm_regs, arg_names... %assign num_args %1 %assign regs_us...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
321
380
webmproject/libvpx:vpx_ports/x86inc.asm:10
%endrep add %1, (xmm_regs_used-6)*16+16 %endif %endmacro %macro WIN64_RESTORE_XMM 1 WIN64_RESTORE_XMM_INTERNAL %1 %assign stack_offset stack_offset-(xmm_regs_used-6)*16+16 %assign xmm_regs_used 0 %endmacro %macro RET 0 WIN64_RESTORE_XMM_INTERNAL rsp POP_IF_USED 14, 13, 12, 11, 10, 9, 8...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
361
420
webmproject/libvpx:vpx_ports/x86inc.asm:11
DECLARE_REG 13, R14, R14D, R14W, R14B, 64 DECLARE_REG 14, R15, R15D, R15W, R15B, 72 %macro PROLOGUE 2-4+ ; #args, #regs, #xmm_regs, arg_names... %assign num_args %1 %assign regs_used %2 ASSERT regs_used >= num_args ASSERT regs_used <= 15 PUSH_IF_USED 9, 10, 11, 12, 13, 14 LOAD_IF_USED 6, 7, 8, ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
401
460
webmproject/libvpx:vpx_ports/x86inc.asm:12
%define r%1mp dword r%1m %rotate 1 %endrep %endmacro DECLARE_ARG 7, 8, 9, 10, 11, 12, 13, 14 %macro PROLOGUE 2-4+ ; #args, #regs, #xmm_regs, arg_names... %assign num_args %1 %assign regs_used %2 %if regs_used > 7 %assign regs_used 7 %endif ASSERT regs_used >= num_args PUSH_...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
441
500
webmproject/libvpx:vpx_ports/x86inc.asm:13
;============================================================================= ; arch-independent part ;============================================================================= %assign function_align 16 ; Begin a function. ; Applies any symbol mangling needed for C linkage, and sets up a define such that ; subse...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
481
540
webmproject/libvpx:vpx_ports/x86inc.asm:14
%xdefine %1 mangle(program_name %+ _ %+ %1) CAT_XDEFINE cglobaled_, %1, 1 extern %1 %endmacro ; like cextern, but without the prefix %macro cextern_naked 1 %xdefine %1 mangle(%1) CAT_XDEFINE cglobaled_, %1, 1 extern %1 %endmacro %macro const 2+ %xdefine %1 mangle(program_name %+ _ %+ %1) g...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
521
580
webmproject/libvpx:vpx_ports/x86inc.asm:15
%assign cpuflags_cache32 (1<<16) %assign cpuflags_cache64 (1<<17) %assign cpuflags_slowctz (1<<18) %assign cpuflags_lzcnt (1<<19) %assign cpuflags_misalign (1<<20) %assign cpuflags_aligned (1<<21) ; not a cpu feature, but a function variant %assign cpuflags_atom (1<<22) %define cpuflag(x) ((cpuflags & (c...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
561
620
webmproject/libvpx:vpx_ports/x86inc.asm:16
%undef cpuflags %endif %endmacro ; merge mmx and sse* %macro CAT_XDEFINE 3 %xdefine %1%2 %3 %endmacro %macro CAT_UNDEF 2 %undef %1%2 %endmacro %macro INIT_MMX 0-1+ %assign avx_enabled 0 %define RESET_MM_PERMUTATION INIT_MMX %1 %define mmsize 8 %define num_mmregs 8 %define mova movq ...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
601
660
webmproject/libvpx:vpx_ports/x86inc.asm:17
%define mmsize 16 %define num_mmregs 8 %if ARCH_X86_64 %define num_mmregs 16 %endif %define mova movdqa %define movu movdqu %define movh movq %define movnta movntdq %assign %%i 0 %rep num_mmregs CAT_XDEFINE m, %%i, xmm %+ %%i CAT_XDEFINE nxmm, %%i, %%i %assign %%i %%i...
x86_64
masm-like
macro-heavy
webmproject/libvpx
vpx_ports/x86inc.asm
BSD-3-Clause
7a000715767c3765575977d77e3d22d2e763450b
github
media
https://github.com/webmproject/libvpx/blob/7a000715767c3765575977d77e3d22d2e763450b/vpx_ports/x86inc.asm
641
700