name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
XNVCtrlSelectTargetNotify | Bool XNVCtrlSelectTargetNotify (
Display *dpy,
int target_type,
int target_id,
int notify_type,
Bool onoff
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSelectTargetNotifyReq *req;
if(!XextHasExtension (info))
return False;
XNVCTRLCheckExtension (dpy, info, False);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, 0x4(%rsp)
movl %ecx, %r14d
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %rbx
callq 0x5020
xorl %ebp, %ebp
testq %rax, %rax
je 0x5dfc
movq %rax, %r13
cmpq $0x0, 0x10(%rax)
je 0x5dfc
movq 0x968(%rbx), %rax
testq %rax, %rax
je 0x5d9e
m... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCtrlSelectNotify | Bool XNVCtrlSelectNotify (
Display *dpy,
int screen,
int type,
Bool onoff
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlSelectNotifyReq *req;
if(!XextHasExtension (info))
return False;
XNVCTRLCheckExtension (dpy, info, False);
LockDisplay (dpy);
GetReq (nvCtrlS... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movl %edx, %r14d
movl %esi, %r15d
movq %rdi, %rbx
callq 0x5020
xorl %r13d, %r13d
testq %rax, %rax
je 0x5ea1
movq %rax, %r12
cmpq $0x0, 0x10(%rax)
je 0x5ea1
movq 0x968(%rbx), %rax
testq %rax, %rax
je 0x5e4b
movq %rbx, %rdi
callq... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLQueryTargetBinaryData | Bool XNVCTRLQueryTargetBinaryData (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
unsigned char **ptr,
int *len
){
XExtDisplayInfo *info = find_display (dpy);
xnvCtrlQueryBinaryDataReply rep;
xnvCtrlQueryBinaryDataReq *req;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
callq 0x5020
movq %rax, %r13
testq %r14, %r14
sete %al
testq %r13, %r13
sete %cl
xorl %r12d, %r12d
orb %al, %cl
jne 0x6000
cmpq $0x0, ... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
XNVCTRLStringOperation | Bool XNVCTRLStringOperation (
Display *dpy,
int target_type,
int target_id,
unsigned int display_mask,
unsigned int attribute,
char *pIn,
char **ppOut
) {
XExtDisplayInfo *info = find_display(dpy);
xnvCtrlStringOperationReq *req;
xnvCtrlStringOperationReply rep;
Bool ret;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %ebp
movl %ecx, %r15d
movq %rdi, %rbx
movl %esi, 0x4(%rsp)
movl %edx, (%rsp)
callq 0x5020
xorl %r12d, %r12d
testq %rax, %rax
je 0x6240
movq %rax, %r13
movq 0x60(%rsp), %rax
testq %rax, %rax
je 0x6240
cmpq $0x0, ... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
wire_to_event | static Bool wire_to_event (Display *dpy, XEvent *host, xEvent *wire)
{
XExtDisplayInfo *info = find_display (dpy);
XNVCtrlEvent *re;
xnvctrlEvent *event;
XNVCtrlEventTarget *reTarget;
xnvctrlEventTarget *eventTarget;
XNVCtrlEventTargetAvailability *reTargetAvailability;
XNVCtrlStringEventTar... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %r15
callq 0x5020
testq %rax, %rax
je 0x62ea
movq 0x10(%rax), %rcx
testq %rcx, %rcx
je 0x62ea
movzbl (%r14), %eax
andl $0x7f, %eax
movl %eax, %edx
subl 0x8(%rcx), %edx
cmpl $0x4, %edx
ja 0x62f9
leaq 0x1782(%rip), %rcx # 0x7a1c
movslq (%rcx... | /envytools[P]envytools/nva/libXNVCtrl/NVCtrl.c |
nva_init_gpu | struct nva_card *nva_init_gpu(struct pci_device *dev) {
struct nva_card *card = calloc(sizeof *card, 1);
if (!card)
return 0;
card->type = NVA_DEVICE_GPU;
card->bus_type = NVA_BUS_PCI;
card->bus.pci = dev;
int ret = pci_device_map_range(dev, dev->regions[0].base_addr, dev->regions[0].size, PCI_DEV_MAP_FLAG_WRIT... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x90, %edi
movl $0x1, %esi
callq 0x31e0
testq %rax, %rax
je 0x65a0
movq %rax, %rbx
movq %r14, 0x8(%rax)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
leaq 0x30(%rax), %r8
movq %r14, %rdi
movl $0x1, %ecx
callq 0x32e0
testl %eax, %eax
jne 0x6595
m... | /envytools[P]envytools/nva/nva.c |
nva_init_smu | struct nva_card *nva_init_smu(struct pci_device *dev) {
struct nva_card *card = calloc(sizeof *card, 1);
if (!card)
return 0;
card->type = NVA_DEVICE_SMU;
card->bus_type = NVA_BUS_PCI;
card->bus.pci = dev;
int ret = pci_device_map_range(dev, dev->regions[0].base_addr, dev->regions[0].size, PCI_DEV_MAP_FLAG_WRIT... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movl $0x90, %edi
movl $0x1, %esi
callq 0x31e0
testq %rax, %rax
je 0x660e
movq %rax, %rbx
movl $0x2, (%rax)
movq %r14, 0x8(%rax)
movq 0x28(%r14), %rsi
movq 0x30(%r14), %rdx
movq %rax, %r8
addq $0x30, %r8
movq %r14, %rdi
movl $0x1, %ecx
callq 0x32e0
testl %eax, %eax
jne 0x... | /envytools[P]envytools/nva/nva.c |
mbedtls_ctr_drbg_init | void mbedtls_ctr_drbg_init( mbedtls_ctr_drbg_context *ctx )
{
memset( ctx, 0, sizeof( mbedtls_ctr_drbg_context ) );
/* Indicate that the entropy nonce length is not set explicitly.
* See mbedtls_ctr_drbg_set_nonce_len(). */
ctx->reseed_counter = -1;
#if defined(MBEDTLS_THREADING_C)
mbedtls_mutex_i... | pushq %rbx
movq %rdi, %rbx
movl $0x158, %edx # imm = 0x158
xorl %esi, %esi
callq 0x3110
orl $-0x1, 0x10(%rbx)
popq %rbx
retq
| /ARMmbed[P]mbed-crypto/library/ctr_drbg.c |
mbedtls_internal_aes_encrypt | int mbedtls_internal_aes_encrypt( mbedtls_aes_context *ctx,
const unsigned char input[16],
unsigned char output[16] )
{
int i;
uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3;
RK = ctx->rk;
GET_UINT32_LE( X0, input, 0 ); X0 ^= *RK++;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x8(%rdi), %rax
movl (%rsi), %r8d
movl 0x4(%rsi), %r9d
xorl (%rax), %r8d
xorl 0x4(%rax), %r9d
movq %rdx, 0x28(%rsp)
movl 0x8(%rsi), %r11d
xorl 0x8(%rax), %r11d
movl 0xc(%rsi), %edx
xorl 0xc(%rax), %edx
movl (%rdi), %ecx
sarl %ecx
ad... | /ARMmbed[P]mbed-crypto/library/aes.c |
mbedtls_aes_crypt_cbc | int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx,
int mode,
size_t length,
unsigned char iv[16],
const unsigned char *input,
unsigned char *output )
{
int i;
unsigned char temp[16];
AES_VALIDATE_RET( ctx ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r12
testb $0xf, %r12b
je 0x70a2
pushq $-0x22
popq %r13
jmp 0x70fb
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movl %esi, %r13d
movq %rdi, %rbp
testl %esi, %esi
je 0x710d
testq %r12, %r12
je 0x70f8
xorl %eax, %eax
cmpq $0x10... | /ARMmbed[P]mbed-crypto/library/aes.c |
mbedtls_aes_crypt_cfb128 | int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx,
int mode,
size_t length,
size_t *iv_off,
unsigned char iv[16],
const unsigned char *input,
unsigned char *output )
{
int c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, 0x8(%rsp)
movq (%rcx), %rbx
cmpq $0xf, %rbx
jbe 0x7430
pushq $-0x21
popq %rax
jmp 0x74c4
movq %r9, %r14
movq %r8, %r15
movq %rdx, %r12
movq %rcx, 0x10(%rsp)
movq 0x50(%rsp), %rbp
xorl %r13d, %r13d
testl %esi, %esi
je 0x74b5
cm... | /ARMmbed[P]mbed-crypto/library/aes.c |
dec_update_map | void dec_update_map(com_core_t * core)
{
int i, j;
int scup = core->cu_scup;
int i_scu = core->seqhdr->i_scu;
int w_cu = 1 << (core->cu_log2w - MIN_CU_LOG2);
int h_cu = 1 << (core->cu_log2h - MIN_CU_LOG2);
s8 (*map_refi)[REFP_NUM] = core->map.map_refi + scup;
s16 (*map_mv) [REFP_NUM... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movl 0x4078(%rdi), %r9d
leal -0x2(%r9), %ecx
movl $0x1, %eax
movl %ecx, 0x44(%rsp)
shll %cl, %eax
movq %rax, 0xb0(%rsp)
movl $0x1, %esi
movl 0x407c(%rdi), %r10d
leal -0x2(%r10), %ecx
shll %cl, %esi
movslq 0x406c... | /uavs3[P]uavs3d/source/decoder/dec_util.c |
dec_get_tb_width_height | void dec_get_tb_width_height(int w, int h, com_part_size_t part, int *tb_w, int *tb_h)
{
switch (part) {
case SIZE_2Nx2N:
break;
case SIZE_NxN:
w >>= 1;
h >>= 1;
break;
case SIZE_2NxhN:
h >>= 2;
break;
case SIZE_hNx2N:
w >>= 2;
break;
... | cmpl $0x7, %edx
je 0xcc66
cmpl $0x6, %edx
je 0xcc61
cmpl $0x5, %edx
jne 0xcc69
sarl %edi
sarl %esi
jmp 0xcc69
sarl $0x2, %esi
jmp 0xcc69
sarl $0x2, %edi
movl %edi, (%rcx)
movl %esi, (%r8)
retq
| /uavs3[P]uavs3d/source/decoder/dec_util.c |
dec_get_tb_start_pos | void dec_get_tb_start_pos(int w, int h, com_part_size_t part, int idx, int *pos_x, int *pos_y)
{
int x = 0, y = 0;
switch (part) {
case SIZE_2Nx2N:
break;
case SIZE_NxN:
y = (idx / 2) * h / 2;
x = (idx % 2) * w / 2;
break;
case SIZE_2NxhN:
y = idx * (h / 4);
... | xorl %eax, %eax
cmpl $0x7, %edx
je 0xcccc
cmpl $0x6, %edx
je 0xccb9
movl $0x0, %r10d
cmpl $0x5, %edx
jne 0xccde
movl %ecx, %edx
shrl $0x1f, %edx
addl %ecx, %edx
movl %edx, %r10d
sarl %r10d
imull %esi, %r10d
movl %r10d, %eax
shrl $0x1f, %eax
addl %r10d, %eax
sarl %eax
andl $-0x2, %edx
subl %edx, %ecx
imull %edi, %ecx
mo... | /uavs3[P]uavs3d/source/decoder/dec_util.c |
dec_is_separate_tree | u8 dec_is_separate_tree(int w, int h, com_split_mode_t split)
{
if (split == SPLIT_QUAD) {
return (w == 8);
}
else if (split == SPLIT_EQT_HOR) {
return (h == 16 || w == 8);
}
else if (split == SPLIT_EQT_VER) {
return (w == 16 || h == 8);
}
else if (split == SPLIT_BI_H... | decl %edx
cmpl $0x4, %edx
ja 0xcd22
leaq 0x51c51(%rip), %rax # 0x5e944
movslq (%rax,%rdx,4), %rcx
addq %rax, %rcx
jmpq *%rcx
cmpl $0x8, %edi
jmp 0xcd0f
cmpl $0x10, %esi
sete %cl
cmpl $0x8, %edi
jmp 0xcd1c
cmpl $0x8, %esi
sete %al
retq
cmpl $0x10, %edi
sete %cl
cmpl $0x8, %esi
sete %al
orb %cl, %al
retq
xorl %eax, %... | /uavs3[P]uavs3d/source/decoder/dec_util.c |
uavs3d_img_cpy_cvt | void __cdecl uavs3d_img_cpy_cvt(uavs3d_io_frm_t * dst, uavs3d_io_frm_t * src, int bit_depth)
{
if (bit_depth == 10) {
uavs3d_funs_handle.conv_fmt_16bit((unsigned char*)src->buffer[0], (unsigned char*)src->buffer[1], (unsigned char**)dst->buffer, src->width[0], src->height[0],
src->stride[0], src... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rax
xorl %r11d, %r11d
cmpl $0xa, %edx
sete %r11b
movq 0x38(%rsi), %rdi
movq 0x40(%rsi), %r10
leaq 0x38(%rax), %rdx
movl 0x14(%rsi), %ecx
movl 0x20(%rsi), %r8d
movl 0x2c(%rsi), %r9d
movl 0x30(%rsi), %ebx
addq $0x2c, %rax
leaq 0x8d635(%rip), %r14 # 0x9a390
subq $0x8, %rsp
... | /uavs3[P]uavs3d/source/decoder/dec_util.c |
uavs3d_if_ver_chroma_w128_avx2 | void uavs3d_if_ver_chroma_w128_avx2(const pel *src, int i_src, pel *dst, int i_dst, int width, int height, const s8 *coeff, int max_val)
{
const int offset = 32;
const int shift = 6;
__m256i mAddOffset = _mm256_set1_epi16(offset);
const int i_src2 = i_src * 2;
const int i_src3 = i_src * 3;
__m25... | testl %r9d, %r9d
je 0x25cc9
movq 0x8(%rsp), %r8
movslq %esi, %rax
subq %rax, %rdi
vpbroadcastw 0x2(%r8), %ymm0
vpbroadcastw (%r8), %ymm1
leaq (%rax,%rax,2), %rsi
movslq %ecx, %rcx
vpbroadcastw 0x59282(%rip), %ymm2 # 0x7edba
vmovdqu (%rdi), %ymm3
vmovdqu 0x20(%rdi), %ymm4
vmovdqu (%rdi,%rax), %ymm5
vmovdqu 0x20(%rdi,%ra... | /uavs3[P]uavs3d/source/decore/avx2/inter_pred_avx2.c |
uavs3d_ipred_ang_x_6_avx2 | void uavs3d_ipred_ang_x_6_avx2(pel *src, pel *dst, int i_dst, int mode, int width, int height)
{
ALIGNED_16(pel first_line[64 + 64]);
int line_size = width + height - 1;
int real_size = COM_MIN(line_size, width * 2);
int i;
__m256i zero = _mm256_setzero_si256();
__m256i offset = _mm256_set1_epi1... | pushq %r14
pushq %rbx
pushq %rax
leal (%r8,%r9), %eax
decl %eax
leal (%r8,%r8), %ecx
cmpl %ecx, %eax
movl %ecx, %r10d
cmovll %eax, %r10d
leaq 0x2(%rdi), %rbx
xorl %r11d, %r11d
cmpl $0x9, %r10d
jl 0x29830
leal -0x8(%r10), %r11d
movslq %r11d, %r14
xorl %r11d, %r11d
vpxor %xmm0, %xmm0, %xmm0
vpbroadcastw 0x557ee(%rip), %y... | /uavs3[P]uavs3d/source/decore/avx2/intra_pred_avx2.c |
dct2_butterfly_h16_avx2 | void dct2_butterfly_h16_avx2(s16* src, int i_src, s16* dst, int line, int shift, int bit_depth)
{
const __m256i c16_p43_p45 = _mm256_set1_epi32(0x002B002D); //row0
const __m256i c16_p35_p40 = _mm256_set1_epi32(0x00230028);
const __m256i c16_p21_p29 = _mm256_set1_epi32(0x0015001D);
const __m256i c16_p0... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movl %r9d, -0x74(%rsp)
movl %ecx, %r10d
movq %r8, -0x48(%rsp)
leal -0x1(%r8), %ecx
movl $0x1, %r8d
movl $0x1, %r9d
shll %cl, %r9d
testl %r10d, %r10d
jle 0x2f194
vmovd %r9d, %xmm0
vpbroadcastd %xmm0, %ymm0
vmovdq... | /uavs3[P]uavs3d/source/decore/avx2/itrans_avx2.c |
itrans_dct2_h4_w16_avx2 | void itrans_dct2_h4_w16_avx2(s16 *src, s16 *dst, int bit_depth)
{
ALIGNED_32(s16 tmp[4 * 16]);
dct2_butterfly_h4_avx2(src, tmp, 16, 5, MAX_TX_DYNAMIC_RANGE);
dct2_butterfly_h16_sse(tmp, 4, dst, 4, 20 - bit_depth, bit_depth);
} | pushq %rbp
movq %rsp, %rbp
andq $-0x20, %rsp
subq $0xa0, %rsp
movl %edx, %r9d
movq %rsi, %rdx
xorl %eax, %eax
vpbroadcastw 0x4f106(%rip), %ymm0 # 0x8266e
vpbroadcastd 0x4f12f(%rip), %ymm1 # 0x826a0
vpbroadcastd 0x4f12a(%rip), %ymm2 # 0x826a4
vpbroadcastd 0x4f125(%rip), %ymm3 # 0x826a8
vpbroadcastd 0x4f110(%rip), %ymm4 ... | /uavs3[P]uavs3d/source/decore/avx2/itrans_avx2.c |
itrans_dct2_h8_w8_avx2 | void itrans_dct2_h8_w8_avx2(s16 *src, s16 *dst, int bit_depth)
{
ALIGNED_32(s16 tmp[8 * 8]);
dct2_butterfly_h8_avx2(src, 8, tmp, 8, 5, MAX_TX_DYNAMIC_RANGE);
dct2_butterfly_h8_avx2(tmp, 8, dst, 8, 20 - bit_depth, bit_depth);
} | subq $0x28, %rsp
vmovdqa (%rdi), %xmm9
vmovdqa 0x10(%rdi), %xmm0
vmovdqa 0x20(%rdi), %xmm6
vmovdqa 0x30(%rdi), %xmm1
vmovdqa 0x50(%rdi), %xmm2
vmovdqa 0x70(%rdi), %xmm3
vpunpcklwd %xmm1, %xmm0, %xmm4 # xmm4 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
vpunpckhwd %xmm1, %xmm0, %xmm0 # xmm0 = xmm0[4]... | /uavs3[P]uavs3d/source/decore/avx2/itrans_avx2.c |
dec_bs_get_one_unit | u8* dec_bs_get_one_unit(com_bs_t *bs, u8 **next_start)
{
u8 *start = bs->cur;
u8 *end = bs->end + 1;
int len = (int)(end - start);
int left_bytes;
if (dec_bs_find_start_code(start + 4, len - 4, &left_bytes)) {
end = start + len - left_bytes;
}
*next_start = end;
return dec_b... | movq %rdi, %rax
movq 0x8(%rdi), %rdi
movq 0x10(%rax), %r9
leaq 0x1(%r9), %rax
movq %rax, %rcx
subq %rdi, %rcx
xorl %edx, %edx
cmpl $0x6, %ecx
setge %r8b
jl 0x388af
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
leal -0x4(%rcx), %r10d
leaq 0x5(%rdi), %rbx
xorl %r11d, %r11d
movslq %r11d, %r14
movl 0x4(%rdi,%r14), %ebp
movl ... | /uavs3[P]uavs3d/source/decoder/bitstream.c |
dec_parse_sao_param | void dec_parse_sao_param(com_core_t* core, int lcu_idx, com_sao_param_t *sao_cur_param)
{
com_patch_header_t *sh = &core->pathdr;
if (!sh->slice_sao_enable[Y_C] && !sh->slice_sao_enable[U_C] && !sh->slice_sao_enable[V_C]) {
sao_cur_param[0].enable = 0;
sao_cur_param[1].enable = 0;
sao_c... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %r14
cmpb $0x0, 0x47e0(%rdi)
jne 0x3dc9e
cmpb $0x0, 0x47e1(%r14)
jne 0x3dc9e
cmpb $0x0, 0x47e2(%r14)
je 0x3e426
movq (%r14), %r12
movq 0x4768(%r14), %rax
movslq %esi, %rbx
movb (%rax,%rbx), %cl
xorl %r13d, %r13d
cmpl $0x0, 0x4... | /uavs3[P]uavs3d/source/decoder/parser.c |
dec_parse_abs_mvd | static u32 dec_parse_abs_mvd(com_lbac_t *lbac, lbac_ctx_model_t *model)
{
u32 act_sym;
if (!lbac_dec_bin(lbac, model)) {
act_sym = 0;
} else if (!lbac_dec_bin(lbac, model + 1)) {
act_sym = 1;
} else if (!lbac_dec_bin(lbac, model + 2)) {
act_sym = 2;
} else {
int add_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
callq 0x3b260
testl %eax, %eax
je 0x3e934
leaq 0x2(%r14), %rsi
movq %rbx, %rdi
callq 0x3b260
testl %eax, %eax
je 0x3e938
addq $0x4, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3b260
testl %eax, %eax
je 0x3e93f
movq %rbx, %rdi
callq ... | /uavs3[P]uavs3d/source/decoder/parser.c |
uavs3d_deblock_hor_luma_sse | void uavs3d_deblock_hor_luma_sse(pel *src, int stride, int alpha, int beta, int flt_flag)
{
int inc = stride;
int inc2 = inc << 1;
int inc3 = inc + inc2;
int inc4 = inc << 2;
int flag0 = -(flt_flag & 1);
int flag1 = -((flt_flag >> 8) & 1);
__m128i TL0, TL1, TL2, TL3;
__m128i TR0, TR1, T... | pushq %rbx
subq $0x40, %rsp
leal (%rsi,%rsi), %r9d
leal (%rsi,%rsi,2), %eax
movl %r8d, %ebx
andl $0x1, %ebx
negl %ebx
shll $0x17, %r8d
sarl $0x1f, %r8d
movd %edx, %xmm0
pshuflw $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0,4,5,6,7]
pshufd $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movd %ecx, %xmm1
pshuflw $0x0, %xm... | /uavs3[P]uavs3d/source/decore/sse/deblock_sse.c |
uavs3d_if_cpy_w4_sse | void uavs3d_if_cpy_w4_sse(const pel *src, int i_src, pel *dst, int i_dst, int width, int height)
{
if (height < 4) {
CP32(dst, src);
CP32(dst + i_dst, src + i_src);
}
else {
int i_src2 = i_src << 1;
int i_dst2 = i_dst << 1;
int i_src3 = i_src + i_src2;
int i_d... | cmpl $0x3, %r9d
jg 0x3fc29
movl (%rdi), %eax
movl %eax, (%rdx)
movslq %esi, %rax
movl (%rdi,%rax), %eax
movslq %ecx, %rcx
movl %eax, (%rdx,%rcx)
retq
pushq %rbp
pushq %r14
pushq %rbx
leal (%rsi,%rsi), %r10d
leal (%rcx,%rcx), %r11d
leal (%rsi,%rsi,2), %ebx
leal (%rcx,%rcx,2), %ebp
movslq %esi, %rax
shll $0x2, %esi
movsl... | /uavs3[P]uavs3d/source/decore/sse/inter_pred_sse.c |
itrans_dst7_pb8_sse | void itrans_dst7_pb8_sse(s16 *coeff, s16 *block, int shift, int line, int limit_line, int max_tr_val, int min_tr_val, s8 *iT)
{
int i, j, k;
__m128i s0, s1, s2, s3;
__m128i c0, c1, c2, c3;
__m128i e0, e1, e2;
__m128i r0, r1;
__m128i zero = _mm_setzero_si128();
__m128i rnd_factor = _m... | movl %ecx, %eax
leal -0x1(%rdx), %ecx
movl $0x1, %r8d
shll %cl, %r8d
testl %eax, %eax
jle 0x5760c
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq 0x40(%rsp), %rcx
movd %r8d, %xmm0
pshufd $0x0, %xmm0, %xmm0 # xmm0 = xmm0[0,0,0,0]
movl %eax, %r8d
leal (%rax,%rax), %r9d
leal (%rax,%rax,2), %r10... | /uavs3[P]uavs3d/source/decore/sse/itrans_sse.c |
uavs3d_conv_fmt_8bit_sse | void uavs3d_conv_fmt_8bit_sse(unsigned char* src_y, unsigned char* src_uv, unsigned char* dst[3], int width, int height, int src_stride, int src_stridec, int dst_stride[3], int uv_shift)
{
__m128i uv_mask = _mm_set1_epi16(0xff), msrc, msrcu, msrcv;
unsigned char* p_src = src_y;
unsigned char* p_dst_y = dst[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, (%rsp)
movq %rsi, %r14
movq 0x58(%rsp), %rsi
movq 0x8(%rdx), %rbp
movq 0x10(%rdx), %rbx
movl %r8d, 0x4(%rsp)
testl %r8d, %r8d
jle 0x5898b
movq %rdi, %r12
movq (%rdx), %r13
movslq (%rsp), %rax
movq %rax, 0x10(%rsp)
movslq %r9d,... | /uavs3[P]uavs3d/source/decore/sse/pixel_sse.c |
uavs3d_alf_one_lcu_one_chroma_avx2 | void uavs3d_alf_one_lcu_one_chroma_avx2(pel *dst, int i_dst, pel *src, int i_src, int lcu_width, int lcu_height, int *coef, int sample_bit_depth)
{
pel *imgPad1, *imgPad2, *imgPad3, *imgPad4, *imgPad5, *imgPad6;
__m256i T00, T01, T10, T11, T20, T21, T30, T31, T40, T41, T50, T51, T60, T61, T70, T71, T80, T8... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2a8, %rsp # imm = 0x2A8
movq %r8, -0x70(%rsp)
movl %ecx, %eax
movq %rdx, %rbx
movb 0x2e8(%rsp), %cl
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
shll %cl, %edx
testl %r9d, %r9d
jle 0x5c59b
movq 0x2e0(%rsp), %rcx
notl %edx
vmovd %edx... | /uavs3[P]uavs3d/source/decore/avx2/alf_avx2.c |
_fastpack44(unsigned long const*, unsigned int*) | static void Pack(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, (1ULL << DELTA) - 1>(
in[OINDEX], out);
Unroller<DELTA, OINDEX + 1>::Pack(in, out);
} | pushq %rbp
pushq %rbx
movq (%rdi), %rcx
movl %ecx, (%rsi)
shrq $0x20, %rcx
movl $0xfff, %eax # imm = 0xFFF
andl %eax, %ecx
movl %ecx, 0x4(%rsi)
movq 0x8(%rdi), %rdx
movl %edx, %r8d
shll $0xc, %r8d
orl %ecx, %r8d
movl %r8d, 0x4(%rsi)
shrq $0x14, %rdx
movl $0xffffff, %ecx # imm = 0xFFFFFF
andl %ecx, %e... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpack46(unsigned long const*, unsigned int*) | static void Pack(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, (1ULL << DELTA) - 1>(
in[OINDEX], out);
Unroller<DELTA, OINDEX + 1>::Pack(in, out);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq (%rdi), %rcx
movl %ecx, (%rsi)
shrq $0x20, %rcx
movl $0x3fff, %eax # imm = 0x3FFF
andl %eax, %ecx
movl %ecx, 0x4(%rsi)
movq 0x8(%rdi), %rdx
movl %edx, %r8d
shll $0xe, %r8d
orl %ecx, %r8d
movl %r8d, 0x4(%rsi)
shrq $0x12, %rdx
movl $0xffffff... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpackwithoutmask55(unsigned long const*, unsigned int*) | static void PackNoMask(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, uint64_t(-1)>(in[OINDEX],
out);
Unroller<DELTA, OINDEX + 1>::PackNoMask(in, out);
} | pushq %rbp
pushq %r14
pushq %rbx
movq (%rdi), %rcx
movq %rcx, (%rsi)
shrq $0x20, %rcx
vmovdqu 0x8(%rdi), %ymm0
movl 0x8(%rdi), %edx
movl 0x10(%rdi), %eax
shll $0x17, %edx
orl %ecx, %edx
movl 0x20(%rdi), %r8d
movl 0x18(%rdi), %r9d
movl %edx, 0x4(%rsi)
shll $0xe, %eax
shll $0x5, %r9d
shll $0x1c, %r8d
movq 0x28(%rdi), %rc... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpackwithoutmask57(unsigned long const*, unsigned int*) | static void PackNoMask(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, uint64_t(-1)>(in[OINDEX],
out);
Unroller<DELTA, OINDEX + 1>::PackNoMask(in, out);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
movq (%rdi), %rax
movq %rax, (%rsi)
shrq $0x20, %rax
vmovdqu64 0x8(%rdi), %zmm2
movq 0x8(%rdi), %rbx
movl %ebx, %ebp
shll $0x19, %ebp
orl %eax, %ebp
movl 0x10(%rdi), %eax
movl 0x20(%rdi), %edx
movl 0x18(%rdi), %ecx
movl 0x30(%rdi), %r9d
movl 0x28(%rdi), %r8d
movl 0x40(%rdi), ... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpackwithoutmask58(unsigned long const*, unsigned int*) | static void PackNoMask(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, uint64_t(-1)>(in[OINDEX],
out);
Unroller<DELTA, OINDEX + 1>::PackNoMask(in, out);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
movq (%rdi), %rax
movq %rax, (%rsi)
shrq $0x20, %rax
vmovdqu64 0x8(%rdi), %zmm3
movl 0x8(%rdi), %ebp
movl 0x10(%rdi), %ecx
shll $0x1a, %ebp
orl %eax, %ebp
movl 0x20(%rdi), %r8d
movl 0x18(%rdi), %edx
movl 0x30(%rdi), %r10d
movl 0x28(%rdi), %r9d
movl 0x40(%rdi), %ebx
movl 0x38(... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpackwithoutmask59(unsigned long const*, unsigned int*) | static void PackNoMask(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, uint64_t(-1)>(in[OINDEX],
out);
Unroller<DELTA, OINDEX + 1>::PackNoMask(in, out);
} | pushq %rbp
pushq %r14
pushq %rbx
movq (%rdi), %rcx
movq %rcx, (%rsi)
shrq $0x20, %rcx
vmovdqu64 0x8(%rdi), %zmm1
movl 0x8(%rdi), %r11d
movl 0x10(%rdi), %eax
shll $0x1b, %r11d
orl %ecx, %r11d
movl 0x20(%rdi), %r8d
movl 0x18(%rdi), %edx
movl 0x30(%rdi), %r10d
movl 0x28(%rdi), %r9d
movl 0x40(%rdi), %r14d
movl 0x38(%rdi), ... | /lemire[P]FastPFor/src/bitpacking.cpp |
_fastpackwithoutmask60(unsigned long const*, unsigned int*) | static void PackNoMask(const uint64_t *__restrict__ in,
uint32_t *__restrict__ out) {
pack_single_in64<DELTA, (DELTA * OINDEX) % 32, uint64_t(-1)>(in[OINDEX],
out);
Unroller<DELTA, OINDEX + 1>::PackNoMask(in, out);
} | pushq %rbx
vmovdqu (%rdi), %ymm3
movl (%rdi), %r8d
movl 0x8(%rdi), %edx
movl 0x18(%rdi), %eax
movl 0x10(%rdi), %ecx
movl %r8d, (%rsi)
shll $0x1c, %edx
shll $0x18, %ecx
shll $0x14, %eax
vmovdqu 0x20(%rdi), %xmm2
vmovd %xmm2, %r8d
shll $0x10, %r8d
vpmovsxbq 0x19470(%rip), %zmm0 # 0x52708
vpermt2q %zmm2, %zmm0, %zmm3
vpmo... | /lemire[P]FastPFor/src/bitpacking.cpp |
FastPForLib::simdhunpack(unsigned char const*, unsigned int*, unsigned int) | void simdhunpack(const uint8_t *in, uint32_t *out, uint32_t bit) {
switch (bit) {
case 0:
SIMD_nullunpacker32(in, out);
return;
case 1:
simdhunpack1(in, out);
return;
case 2:
simdhunpack2(in, out);
return;
case 3:
simdhunpack3(in, out);
return;
case 4:
simdhunpack4(in... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
cmpl $0x20, %edx
ja 0x3b2bb
movq %rsi, %rbx
movq %rdi, %r14
movl %edx, %eax
leaq 0x18717(%rip), %rcx # 0x52b88
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
vpxor %xmm0, %xmm0, %xmm0
vmovdqu64 %zmm0, 0x1c0(%rbx)
vmovdqu64 %zmm0, 0x180(%rbx)
vmovdqu64 %zmm0, ... | /lemire[P]FastPFor/src/horizontalbitpacking.cpp |
PDCLIB_print | const char * _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status )
{
const char * orig_spec = spec;
if ( *( ++spec ) == '%' )
{
/* %% -> print single '%' */
PUT( *spec );
return ++spec;
}
/* Initializing status structure */
status->flags = 0;
status->... | pushq %rbp
movq %rsp, %rbp
subq $0x2c0, %rsp # imm = 0x2C0
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rbp)
movsbl 0x1(%rax), %eax
cmpl $0x25, %eax
jne 0x25dd
jmp 0x2565
movq -0x10(%rbp), ... | /DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print.c |
PDCLIB_print_double | void _PDCLIB_print_double( double value, struct _PDCLIB_status_t * status )
{
unsigned char bytes[ sizeof( double ) ];
int exp;
memcpy( bytes, &value, sizeof( double ) );
exp = _PDCLIB_DBL_EXP( bytes ) - _PDCLIB_DBL_BIAS;
if ( exp == _PDCLIB_DBL_MAX_EXP )
{
/* ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movsd %xmm0, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movzbl -0x11(%rbp), %eax
andl $0x7f, %eax
shll $0x4, %eax
movzbl -0x12(%rbp), %ecx
andl $0xf0, %ecx
shrl $0x4, %ecx
orl %ecx, %eax
subl $0x3ff, %eax # imm = 0x3FF
movl %eax,... | /DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_print_fp.c |
PDCLIB_flushbuffer | int _PDCLIB_flushbuffer( struct _PDCLIB_file_t * stream )
{
/* No need to handle buffers > INT_MAX, as PDCLib doesn't allow them */
_PDCLIB_size_t written = 0;
int rc;
unsigned int retries;
if ( !( stream->status & _PDCLIB_FBIN ) )
{
/* TODO: Text stream conversion here */
}
/*... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0x44(%rax), %eax
andl $0x80, %eax
cmpl $0x0, %eax
jne 0x4f27
jmp 0x4f27
movl $0x1, -0x20(%rbp)
cmpl $0x0, -0x20(%rbp)
jbe 0x5017
movq -0x10(%rbp), %rax
movl (%rax), %edi
movq -0x10(%rbp), %rax
movq 0x8(... | /DevSolar[P]pdclib/platform/example/functions/_PDCLIB/_PDCLIB_flushbuffer.c |
memmove | void * memmove( void * s1, const void * s2, size_t n )
{
char * dest = ( char * ) s1;
const char * src = ( const char * ) s2;
if ( dest <= src )
{
while ( n-- )
{
*dest++ = *src++;
}
}
else
{
src += n;
dest += n;
while ( n-- )
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
cmpq -0x28(%rbp), %rax
ja 0x5507
jmp 0x54cc
movq -0x18(%rbp), %rax
movq %rax, %rcx
addq $-0x1, %rcx
movq %rcx, ... | /DevSolar[P]pdclib/functions/string/memmove.c |
PDCLIB_strtox_prelim | const char * _PDCLIB_strtox_prelim( const char * p, char * sign, int * base )
{
/* skipping leading whitespace */
while ( isspace( (unsigned char)*p ) )
{
++p;
}
/* determining / skipping sign */
if ( *p != '+' && *p != '-' )
{
*sign = '+';
}
else
{
*sign... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movzbl (%rax), %edi
callq 0x58c0
cmpl $0x0, %eax
je 0x5783
movq -0x8(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rbp)
jmp 0x5764
movq -0x8(%rbp), %rax
movsbl (%rax), %eax
cmpl $0x2b, %e... | /DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_strtox_prelim.c |
PDCLIB_atomax | _PDCLIB_intmax_t _PDCLIB_atomax( const char * s )
{
_PDCLIB_intmax_t rc = 0;
char sign = '+';
const char * x;
/* TODO: In other than "C" locale, additional patterns may be defined */
while ( isspace( (unsigned char)*s ) )
{
++s;
}
if ( *s == '+' )
{
++s;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzbl (%rbx), %ebp
movl %ebp, %edi
callq 0x21d8
incq %rbx
testl %eax, %eax
jne 0x213e
cmpl $0x2b, %ebp
je 0x2160
cmpl $0x2d, %ebp
jne 0x215d
xorl %ebp, %ebp
jmp 0x2163
decq %rbx
movb $0x1, %bpl
movzbl (%rbx), %edi
callq 0x21f4
leaq 0xe9e(%rip), %r1... | /DevSolar[P]pdclib/functions/_PDCLIB/_PDCLIB_atomax.c |
fast_float::adjusted_mantissa fast_float::digit_comp<double, char>(fast_float::parsed_number_string_t<char>&, fast_float::adjusted_mantissa) | inline FASTFLOAT_CONSTEXPR20
adjusted_mantissa digit_comp(parsed_number_string_t<UC>& num, adjusted_mantissa am) noexcept {
// remove the invalid exponent bias
am.power2 -= invalid_am_bias;
int32_t sci_exp = scientific_exponent(num);
size_t max_digits = binary_format<T>::max_digits();
size_t digits = 0;
bi... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq 0x8(%rdi), %rsi
movl (%rdi), %ebx
cmpq $0x2710, %rsi # imm = 0x2710
jb 0x1b550
movabsq $0x346dc5d63886594b, %rdi # imm = 0x346DC5D63886594B
movq %rs... | /njoy[P]ENDFtk/build_O3/_deps/fast_float-src/include/fast_float/digit_comparison.h |
njoy::tools::Log::initialize_logger() | static auto initialize_logger() {
auto instance = spdlog::stdout_color_st( "njoy" );
instance->set_pattern( "[%^%l%$] %v" );
#ifndef NDEBUG
instance->set_level( spdlog::level::debug );
#endif
return instance;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x795f1(%rip), %rsi # 0x95f8d
leaq 0x795ee(%rip), %rdx # 0x95f91
leaq 0x20(%rsp), %rdi
callq 0x32780
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
movl $0x1, %edx
callq 0x41d17
movq 0x20(%rsp), %rdi
cmpq ... | /njoy[P]ENDFtk/build_O3/_deps/tools-src/src/tools/Log.hpp |
fmt::v9::appender fmt::v9::detail::write<char, fmt::v9::appender, int, 0>(fmt::v9::appender, int) | FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
bool negative = is_negative(value);
// Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
if (negative) abs_value = ~abs_value + 1;
int num_digits = count_digits(ab... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl %esi, %r14d
negl %r14d
cmovsl %esi, %r14d
movl %r14d, %eax
orl $0x1, %eax
bsrl %eax, %eax
leaq 0x7ca1a(%rip), %rcx # 0x99ce0
movq (%rcx,%rax,8), %rdi
addq %r14, %rdi
movq %rdi, %r15
shrq $0x20, %r15
movl %esi, %eax
shrl $0x1f, %eax
sa... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
void fmt::v9::detail::buffer<char>::append<char>(char const*, char const*) | void buffer<T>::append(const U* begin, const U* end) {
while (begin != end) {
auto count = to_unsigned(end - begin);
try_reserve(size_ + count);
auto free_cap = capacity_ - size_;
if (free_cap < count) count = free_cap;
std::uninitialized_copy_n(begin, count, make_checked(ptr_ + size_, count));
... | cmpq %rdx, %rsi
je 0x1d470
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0x10(%rdi), %rdi
movq %rbx, %r13
subq %r14, %r13
leaq (%rdi,%r13), %rsi
movq 0x18(%r15), %r12
cmpq %rsi, %r12
jae 0x1d436
movq (%r15), %rax
movq %r15, %rdi
callq *(%rax)
movq 0x10(%r15)... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write<char, fmt::v9::appender, __int128, 0>(fmt::v9::appender, __int128) | FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
bool negative = is_negative(value);
// Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
if (negative) abs_value = ~abs_value + 1;
int num_digits = count_digits(ab... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
testq %rdx, %rdx
js 0x1d6e2
movq %r12, %r15
jmp 0x1d6eb
xorl %r15d, %r15d
negq %r14
sbbq %r12, %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x1d86e
movl %eax, %ebp
movq %r12, %rcx
shrq $0x3f, %rcx
cltq
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_int_localized<fmt::v9::appender, unsigned long, char>(fmt::v9::appender, unsigned long, unsigned int, fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::digit_grouping<char> const&) | auto write_int_localized(OutputIt out, UInt value, unsigned prefix,
const basic_format_specs<Char>& specs,
const digit_grouping<Char>& grouping) -> OutputIt {
static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
int num_digits = count_digits(value);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %r15
movq %rcx, %rbx
movl %edx, %ebp
movq %rdi, %r14
movq %rsi, %rax
orq $0x1, %rax
bsrq %rax, %rax
leaq 0x7bb67(%rip), %rcx # 0x99de0
movzbl (%rax,%rcx), %r12d
leaq 0x7bb9b(%rip), %rax # 0x99e20
cmpq (%rax,%r12,8), %rs... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, char fmt::v9::detail::write_int<fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::write_int<char, fmt::v9::appender, unsigned int>(fmt::v9::appender, fmt::v9::detail::write_int_arg<unsigned int>, fmt::v9::basic_f... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x7afb0(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r12
movq... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_escaped_char<char, fmt::v9::appender>(fmt::v9::appender, char) | auto write_escaped_char(OutputIt out, Char v) -> OutputIt {
*out++ = static_cast<Char>('\'');
if ((needs_escape(static_cast<uint32_t>(v)) && v != static_cast<Char>('"')) ||
v == static_cast<Char>('\'')) {
out = write_escaped_cp(
out, find_escape_result<Char>{&v, &v + 1, static_cast<uint32_t>(v)});... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movb %bpl, 0x7(%rsp)
movq 0x10(%rdi), %rax
leaq 0x1(%rax), %rsi
cmpq %rsi, 0x18(%rdi)
jae 0x1ee10
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq 0x10(%rbx), %rax
leaq 0x1(%rax), %rsi
movq 0x8(%rbx), %rcx
movq %rsi, 0x10(%rbx)
movb $... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_codepoint<4ul, char, fmt::v9::appender>(fmt::v9::appender, char, unsigned int) | auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
*out++ = static_cast<Char>('\\');
*out++ = static_cast<Char>(prefix);
Char buf[width];
fill_n(buf, width, static_cast<Char>('0'));
format_uint<4>(buf, cp, width);
return copy_str<Char>(buf, buf + width, out);
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movq 0x10(%rdi), %rax
leaq 0x1(%rax), %rsi
cmpq %rsi, 0x18(%rdi)
jae 0x1f165
movq (%rbx), %rax
movq %rbx, %rdi
callq *(%rax)
movq 0x10(%rbx), %rax
leaq 0x1(%rax), %rsi
movq 0x8(%rbx), %rcx
movq %rsi, 0x10(%rbx)
movb $0x5c... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_nonfinite<char, fmt::v9::appender>(fmt::v9::appender, bool, fmt::v9::basic_format_specs<char>, fmt::v9::detail::float_specs const&) | FMT_CONSTEXPR20 auto write_nonfinite(OutputIt out, bool isnan,
basic_format_specs<Char> specs,
const float_specs& fspecs) -> OutputIt {
auto str =
isnan ? (fspecs.upper ? "NAN" : "nan") : (fspecs.upper ? "INF" : "inf");
constexpr size_t... | subq $0x28, %rsp
movq %rdx, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movl 0x4(%r8), %eax
movabsq $-0xffffff01000000, %rdx # imm = 0xFF000000FF000000
andq %rcx, %rdx
movabsq $0x100000030000000, %rcx # imm = 0x100000030000000
cmpq %rcx, %rdx
jne 0x1f3f8
movb $0x20, 0x13(%rsp)
btl $0x10, %eax
leaq 0x76b0b(%rip), %rcx # 0x95f0e... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::fill_n<fmt::v9::appender, int, char>(fmt::v9::appender, int, char const&) | FMT_CONSTEXPR auto fill_n(OutputIt out, Size count, const T& value)
-> OutputIt {
for (Size i = 0; i < count; ++i) *out++ = value;
return out;
} | pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %r14
testl %esi, %esi
jle 0x1fcbf
movq %rdx, %rbx
movl %esi, %ebp
movq 0x10(%r14), %rax
leaq 0x1(%rax), %rsi
cmpq %rsi, 0x18(%r14)
jae 0x1fcae
movq (%r14), %rax
movq %r14, %rdi
callq *(%rax)
movq 0x10(%r14), %rax
leaq 0x1(%rax), %rsi
movb (%rbx), %cl
movq 0x8(%r14), %rdx
movq... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_significand<fmt::v9::appender, char, unsigned int, fmt::v9::detail::digit_grouping<char>>(fmt::v9::appender, unsigned int, int, int, char, fmt::v9::detail::digit_grouping<char> const&) | FMT_CONSTEXPR20 auto write_significand(OutputIt out, T significand,
int significand_size, int integral_size,
Char decimal_point,
const Grouping& grouping) -> OutputIt {
if (!grouping.separator()) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x228, %rsp # imm = 0x228
movl %ecx, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x20(%r9)
je 0x202d6
movq %r9, %r14
leaq 0x30(%rsp), %r13
movq $0x0, -0x10(%r13)
leaq 0xb21e8(%rip), %rax # 0xd2450
movq %rax, -0x20(%r13)
movq %r13, -0x18(%r13)
mo... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write<char, fmt::v9::appender, double, 0>(fmt::v9::appender, double) | FMT_CONSTEXPR20 auto write(OutputIt out, T value) -> OutputIt {
if (is_constant_evaluated())
return write(out, value, basic_format_specs<Char>());
if (const_check(!is_supported_floating_point(value))) return out;
auto fspecs = float_specs();
if (detail::signbit(value)) {
fspecs.sign = sign::minus;
... | pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq $0x0, 0x8(%rsp)
movq %xmm0, %rax
testq %rax, %rax
jns 0x20621
movl $0x100, 0xc(%rsp) # imm = 0x100
pxor 0x72a0f(%rip), %xmm0 # 0x93030
movups 0x72aa8(%rip), %xmm1 # 0x930d0
movaps %xmm1, 0x10(%rsp)
movq %xmm0, %rax
btrq $0x3f, %rax
movabsq $0x7ff0000000000000... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::dragonbox::decimal_fp<double> fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::do_write_float<fmt::v9::appender, fmt::v9::detail::dragonbox::decimal_fp<double>, char, fmt::v9::detail::digit_grouping<char>>(fmt::v9::appender, fmt::v9::det... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x7898e(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r12
movq %rdi, %rsi
addq $0xb, %rbx
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
int fmt::v9::detail::format_float<long double>(long double, int, fmt::v9::detail::float_specs, fmt::v9::detail::buffer<char>&) | FMT_CONSTEXPR20 auto format_float(Float value, int precision, float_specs specs,
buffer<char>& buf) -> int {
// float is passed as double to reduce the number of instantiations.
static_assert(!std::is_same<Float, float>::value, "");
FMT_ASSERT(value >= 0, "value is negative");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %rbx
movl %edi, %ebp
fldt 0xc0(%rsp)
movabsq $0xff00000000, %r15 # imm = 0xFF00000000
andq %rsi, %r15
fldz
fucompi %st(1), %st
jae 0x21ab9
movq %rsi, %r14
movq %rbx, 0x48(%rsp)
shrq $0x20, %r14
fld %st(0)
fstpt 0x54(%rsp)
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::assign_pow10(int) | FMT_CONSTEXPR20 void assign_pow10(int exp) {
FMT_ASSERT(exp >= 0, "");
if (exp == 0) return *this = 1;
// Find the top bit.
int bitmask = 1;
while (exp >= bitmask) bitmask <<= 1;
bitmask >>= 1;
// pow(10, exp) = pow(5, exp) * pow(2, exp). First compute pow(5, exp) by
// repeated squaring... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0x225a1
movl %esi, %ebp
movl $0x1, %eax
movl %eax, %r14d
leal (%r14,%r14), %eax
cmpl %ebp, %r14d
jle 0x22548
movl $0x5, %esi
movq %rbx, %rdi
callq 0x22946
cmpl $0x4, %r14d
jb 0x22593
sarl $0x2, %r14d
movq %rbx, %rdi
callq 0x2299a
testl %ebp, %r14d
je ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::bigint::divmod_assign(fmt::v9::detail::bigint const&) | FMT_CONSTEXPR20 int divmod_assign(const bigint& divisor) {
FMT_ASSERT(this != &divisor, "");
if (compare(*this, divisor) < 0) return 0;
FMT_ASSERT(divisor.bigits_[divisor.bigits_.size() - 1u] != 0, "");
align(divisor);
int quotient = 0;
do {
subtract_aligned(divisor);
++quotient;
... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x227b7
testl %eax, %eax
js 0x227ae
movq %r14, %rdi
movq %rbx, %rsi
callq 0x22d9e
xorl %ebp, %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x22e40
incl %ebp
movq %r14, %rdi
movq %rbx, %rsi
callq 0x227b7
testl %eax, %eax
jns 0x22790
jmp 0x227b0
xorl %eb... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_significand<fmt::v9::appender, char, char const*, fmt::v9::detail::digit_grouping<char>>(fmt::v9::appender, char const*, int, int, char, fmt::v9::detail::digit_grouping<char> const&) | FMT_CONSTEXPR20 auto write_significand(OutputIt out, T significand,
int significand_size, int integral_size,
Char decimal_point,
const Grouping& grouping) -> OutputIt {
if (!grouping.separator()) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x218, %rsp # imm = 0x218
movl %ecx, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x20(%r9)
je 0x23a1d
movq %r9, %r14
leaq 0x20(%rsp), %r15
movq $0x0, -0x10(%r15)
leaq 0xaeaa3(%rip), %rax # 0xd2450
movq %rax, -0x20(%r15)
movq %r15, -0x18(%r15)
movq $0x1f4, -0x8(%r15) ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::write_ptr<char, fmt::v9::appender, unsigned long>(fmt::v9::appender, unsigned long, fmt::v9::basic_format_specs<char> const*)::'lambda'(fmt::v9::appender)&>(fmt::v9::appender, fmt::v9::ba... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x75a26(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r13
movq %rdi, %r12... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_int_noinline<char, fmt::v9::appender, unsigned long>(fmt::v9::appender, fmt::v9::detail::write_int_arg<unsigned long>, fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::locale_ref) | FMT_CONSTEXPR FMT_NOINLINE auto write_int_noinline(
OutputIt out, write_int_arg<T> arg, const basic_format_specs<Char>& specs,
locale_ref loc) -> OutputIt {
return write_int(out, arg, specs, loc);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, 0x8(%rsp)
movzbl 0x8(%rcx), %r13d
cmpq $0xf, %r13
ja 0x2593e
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x6e0d9(%rip), %rax # 0x933ac
movslq (%rax,%r13,4), %rcx
addq %rax, %rcx
jmpq *%rcx
testb $0... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, char fmt::v9::detail::write_int<fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::write_int<char, fmt::v9::appender, unsigned long>(fmt::v9::appender, fmt::v9::detail::write_int_arg<unsigned long>, fmt::v9::basic... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x73d54(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r12
movq... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_int_noinline<char, fmt::v9::appender, unsigned __int128>(fmt::v9::appender, fmt::v9::detail::write_int_arg<unsigned __int128>, fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::locale_ref) | FMT_CONSTEXPR FMT_NOINLINE auto write_int_noinline(
OutputIt out, write_int_arg<T> arg, const basic_format_specs<Char>& specs,
locale_ref loc) -> OutputIt {
return write_int(out, arg, specs, loc);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq 0xd0(%rsp), %r14
movq 0xd8(%rsp), %rbx
movl 0xe0(%rsp), %ebp
movq %rdi, 0x8(%rsp)
movzbl 0x8(%rsi), %r12d
cmpq $0xf, %r12
ja 0x26612
movq %rsi, %r10
movq %rdi, %r15
leaq 0x6d526(%rip), %rax # 0x933ec
movslq (%rax,%r12,4), %rcx
a... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
bool fmt::v9::detail::write_int_localized<fmt::v9::appender, unsigned __int128, char>(fmt::v9::appender&, unsigned __int128, unsigned int, fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::locale_ref) | auto write_int_localized(OutputIt& out, UInt value, unsigned prefix,
const basic_format_specs<Char>& specs, locale_ref loc)
-> bool {
auto grouping = digit_grouping<Char>(loc);
out = write_int_localized(out, value, prefix, specs, grouping);
return true;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movl %ecx, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movq %rsp, %r13
movq %r13, %rdi
movq %r9, %rsi
movl $0x1, %edx
callq 0x1e160
movq (%rbx), %rdi
movq %r12, %rsi
movq %r15, %rdx
movl %ebp, %ecx
movq %r14, %r8
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
unsigned __int128 fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::write_int_localized<fmt::v9::appender, unsigned __int128, char>(fmt::v9::appender, unsigned __int128, unsigned int, fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::digit_groupi... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x73007(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r12
movq %rdi,... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::appender fmt::v9::detail::write_padded<(fmt::v9::align::type)2, fmt::v9::appender, char, char fmt::v9::detail::write_int<fmt::v9::appender, char, fmt::v9::appender fmt::v9::detail::write_int<char, fmt::v9::appender, unsigned __int128>(fmt::v9::appender, fmt::v9::detail::write_int_arg<unsigned __int128>, fmt::v... | FMT_CONSTEXPR auto write_padded(OutputIt out,
const basic_format_specs<Char>& specs,
size_t size, size_t width, F&& f) -> OutputIt {
static_assert(align == align::left || align == align::right, "");
unsigned spec_width = to_unsigned(specs.width);
siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movl (%rsi), %eax
xorl %r14d, %r14d
subq %rcx, %rax
cmovaeq %rax, %r14
movzwl 0x9(%rsi), %eax
andl $0xf, %eax
leaq 0x72e36(%rip), %rcx # 0x997c0
movb (%rax,%rcx), %cl
movq %r14, %r15
shrq %cl, %r15
movq %r8, %r12
movq... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
bool fmt::v9::detail::check_char_specs<char, fmt::v9::detail::error_handler>(fmt::v9::basic_format_specs<char> const&, fmt::v9::detail::error_handler&&) | FMT_CONSTEXPR auto check_char_specs(const basic_format_specs<Char>& specs,
ErrorHandler&& eh = {}) -> bool {
if (specs.type != presentation_type::none &&
specs.type != presentation_type::chr &&
specs.type != presentation_type::debug) {
check_int_type_spec(specs.type... | pushq %rax
movzbl 0x8(%rdi), %eax
leal -0x1(%rax), %ecx
cmpl $0x6, %ecx
jae 0x26ecc
xorl %eax, %eax
jmp 0x26ef4
cmpl $0x12, %eax
ja 0x26f02
movl $0x48001, %ecx # imm = 0x48001
btl %eax, %ecx
jae 0x26f02
movzwl 0x9(%rdi), %ecx
movl %ecx, %eax
andl $0xf, %eax
cmpw $0x4, %ax
je 0x26ef6
movb $0x1, %al
andl $0xf0, ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/core.h |
int fmt::v9::detail::snprintf_float<double>(double, int, fmt::v9::detail::float_specs, fmt::v9::detail::buffer<char>&) | auto snprintf_float(T value, int precision, float_specs specs,
buffer<char>& buf) -> int {
// Buffer capacity must be non-zero, otherwise MSVC's vsnprintf_s will fail.
FMT_ASSERT(buf.capacity() > buf.size(), "empty buffer");
FMT_ASSERT(specs.format == float_format::hex, "");
static_assert(!s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movl %edi, %ebp
movsd %xmm0, 0x10(%rsp)
shrq $0x20, %rsi
movb $0x25, 0x9(%rsp)
btl $0x13, %esi
jb 0x271e9
leaq 0xa(%rsp), %rax
jmp 0x271f2
leaq 0xb(%rsp), %rax
movb $0x23, -0x1(%rax)
testl %ebp, %ebp
js 0x271ff
movw $0x2a... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
int fmt::v9::detail::format_float<double>(double, int, fmt::v9::detail::float_specs, fmt::v9::detail::buffer<char>&) | FMT_CONSTEXPR20 auto format_float(Float value, int precision, float_specs specs,
buffer<char>& buf) -> int {
// float is passed as double to reduce the number of instantiations.
static_assert(!std::is_same<Float, float>::value, "");
FMT_ASSERT(value >= 0, "value is negative");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r13
movl %edi, %ebp
movabsq $0xff00000000, %rdx # imm = 0xFF00000000
andq %rsi, %rdx
movabsq $0x200000000, %rax # imm = 0x200000000
cmpq %rax, %rdx
sete %r9b
xorpd %xmm1, %xmm1
movsd %xmm0, 0x38(%rsp)
ucomisd %xmm0, ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
fmt::v9::detail::counting_iterator fmt::v9::detail::write_escaped_string<char, fmt::v9::detail::counting_iterator>(fmt::v9::detail::counting_iterator, fmt::v9::basic_string_view<char>) | auto write_escaped_string(OutputIt out, basic_string_view<Char> str)
-> OutputIt {
*out++ = static_cast<Char>('"');
auto begin = str.begin(), end = str.end();
do {
auto escape = find_escape(begin, end);
out = copy_str<Char>(begin, escape.begin, out);
begin = escape.end;
if (!begin) break;
... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
incq %rbx
addq %rsi, %r14
leaq 0x8(%rsp), %r15
movq %r12, %r13
movq %r14, 0x8(%rsp)
movq $0x0, 0x10(%rsp)
movl $0x0, 0x18(%rsp)
movq %r14, %rsi
subq %r12, %rsi
movq %r12, %rdi
movq %r15, %rdx
callq 0x... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
void fmt::v9::detail::for_each_codepoint<fmt::v9::detail::find_escape(char const*, char const*)::'lambda'(unsigned int, fmt::v9::basic_string_view<char>)>(fmt::v9::basic_string_view<char>, fmt::v9::detail::find_escape(char const*, char const*)::'lambda'(unsigned int, fmt::v9::basic_string_view<char>))::'lambda'(char co... | FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
auto decode = [f](const char* buf_ptr, const char* ptr) {
auto cp = uint32_t();
auto error = 0;
auto end = utf8_decode(buf_ptr, &cp, &error);
bool result = f(error ? invalid_code_point : cp,
string_view(ptr, error ? 1 : to... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movzbl (%rsi), %eax
movl %eax, %ecx
shrl $0x3, %ecx
leaq 0x71cf2(%rip), %rsi # 0x99f84
movsbq (%rcx,%rsi), %r13
movl $0x80ff0000, %esi # imm = 0x80FF0000
xorl %r12d, %r12d
btl %ecx, %esi
setb %r12b
leaq 0x71523(... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format.h |
std::array<int, 3ul> njoy::ENDFtk::record::Tail::read<__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(__gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, __gnu_cxx::__normal_iterator<ch... | int& material(){ return this->fields[0]; } | pushq %rbx
subq $0x10, %rsp
leaq 0x4(%rsp), %rcx
leaq 0x8(%rsp), %r8
movq %rsp, %rdx
callq 0x288f2
movq (%rsp), %rax
movl 0x8(%rsp), %edx
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
cmpl $0x1, %edx
jne 0x288e1
movq %rbx, %rdi
callq 0x16210
leaq 0x6dabf(%rip), %rdi # 0x96365
callq 0x1a4d6
movl $0x8, %edi
callq 0... | /njoy[P]ENDFtk/src/ENDFtk/record/Tail.hpp |
std::tuple<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>> njoy::ENDFtk::record::Base<njoy::ENDFtk::record::Character<66>>::readFields<-1, 0, __gnu_cxx::__normal_iterator<char*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(__gnu_cxx::__normal_iterator<... | static FieldTuple
readFields( Iterator& it, const Iterator& end, std::false_type ){
FieldTuple result;
Format::read( it, end, std::get< Indices >( result )... );
return result;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x10(%rdi), %r15
movq %r15, (%rdi)
movq $0x0, 0x8(%rdi)
movb $0x0, 0x10(%rdi)
movq %rsi, %rdi
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x2b0b0
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %r14
movq (%rbx), %rdi
cmpq %r15, %rdi
je 0x2b0a8
movq (%r15), %... | /njoy[P]ENDFtk/src/ENDFtk/record/Base.hpp |
njoy::ENDFtk::section::Type<1, 451>::Type(int, double, int, int, int, int, double, double, int, int, int, double, double, int, int, int, double, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<njoy::ENDFtk::DirectoryRecord, std::allocator<njoy::ENDFtk::DirectoryRe... | Type( int zaid, double awr, int lrp, int lfi, int nlib, int nmod,
double elis, double sta, int lis, int liso, int nfor,
double awi, double emax, int lrel, int nsub, int nver,
double temp, int ldrv,
const std::string& description,
std::vector< DirectoryRecord >&& index,
double rtol = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movsd %xmm6, 0x20(%rsp)
movsd %xmm5, 0x28(%rsp)
movsd %xmm4, 0x10(%rsp)
movsd %xmm3, 0x18(%rsp)
movsd %xmm2, (%rsp)
movsd %xmm1, 0x8(%rsp)
movl %r9d, %ebp
movl %r8d, %r14d
movl %ecx, %r15d
movl %edx, %r12d
movq %rdi, %rbx
movq 0xc8(%rsp)... | /njoy[P]ENDFtk/src/ENDFtk/section/1/451/src/ctor.hpp |
njoy::ENDFtk::section::Type<1, 451>::~Type() | class ENDFTK_PYTHON_EXPORT Type< 1, 451 > :
protected BaseWithoutMT< Type< 1, 451 > > {
friend BaseWithoutMT< Type< 1, 451 > >;
/* fields */
int lrp_;
int lfi_;
int nlib_;
int nmod_;
std::array< ControlRecord, 3 > parameters_;
std::vector< TextRecord > description_;
std::vecto... | pushq %rbx
movq %rdi, %rbx
movq 0xc8(%rdi), %rdi
testq %rdi, %rdi
je 0x2b55f
movq 0xd8(%rbx), %rsi
subq %rdi, %rsi
callq 0x165f0
addq $0xb0, %rbx
movq %rbx, %rdi
popq %rbx
jmp 0x2d440
nop
| /njoy[P]ENDFtk/src/ENDFtk/section/1/451.hpp |
void spdlog::logger::log_<int, int>(spdlog::source_loc, spdlog::level::level_enum, fmt::v9::basic_string_view<char>, int&&, int&&) | void log_(source_loc loc, level::level_enum lvl, string_view_t fmt, Args &&... args)
{
bool log_enabled = should_log(lvl);
bool traceback_enabled = tracer_.enabled();
if (!log_enabled && !traceback_enabled)
{
return;
}
SPDLOG_TRY
{
memo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %r9, %r13
movq %r8, %rbx
movq %rcx, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movl %esi, %ebp
movl 0x40(%rdi), %r15d
cmpl %esi, %r15d
setg %r12b
movq %rdi, 0x18(%rsp)
addq $0x68, %rdi
callq 0x33a84
movl %eax, %r14d
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/logger.h |
int njoy::tools::disco::Integer<3u>::read<int, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>&, __gnu_cxx::__normal_iterat... | static Representation read( Iterator& iter, const Iterator& ) {
unsigned int position = 0;
const auto end = iter + Width;
Representation value = 0;
skipSpaces( iter, position );
if ( isNewLine( iter ) || isEndOfFile( iter ) || Width == position ) {
return value;
}
skipPlusSign( ite... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
leaq 0x3(%rax), %r14
movl $0x0, 0xc(%rsp)
incq %rax
xorl %ebp, %ebp
cmpb $0x20, -0x1(%rax)
jne 0x2cac9
incl %ebp
movq %rax, (%rbx)
incq %rax
cmpl $0x3, %ebp
jne 0x2cab1
movl $0x3, %ebp
movq %rbx, %rdi
callq 0x2c491
testb %al, %al
jne 0x... | /njoy[P]ENDFtk/build_O3/_deps/tools-src/src/tools/disco/Integer.hpp |
int ranges::detail::variant_visit_<ranges::detail::variant_data_<meta::list<ranges::detail::indexed_datum<ranges::basic_iterator<ranges::join_with_view<ranges::transform_view<ranges::ref_view<std::vector<njoy::ENDFtk::TextRecord, std::allocator<njoy::ENDFtk::TextRecord>> const>, njoy::ENDFtk::section::Type<1, 451>::des... | constexpr int variant_visit_(std::size_t n, Data & self, Fun fun, Proj proj = {})
{
return 0 == n ? ((void)invoke(fun, invoke(proj, self.head)), 0)
: detail::variant_visit_(
n - 1, self.tail, detail::move(fun), detail::move(proj));
} | pushq %rbx
movq %rdx, %rbx
testq %rdi, %rdi
je 0x2fed8
movq (%rsi), %rax
movq %rax, (%rbx)
movq $0x1, 0x8(%rbx)
jmp 0x2feeb
movq %rsi, %rdi
callq 0x2fef0
movq %rax, (%rbx)
movq $0x0, 0x8(%rbx)
xorl %eax, %eax
popq %rbx
retq
nop
| /njoy[P]ENDFtk/build_O3/_deps/range-v3-src/include/range/v3/detail/variant.hpp |
spdlog::details::registry::set_formatter(std::unique_ptr<spdlog::formatter, std::default_delete<spdlog::formatter>>) | SPDLOG_INLINE void registry::set_formatter(std::unique_ptr<formatter> formatter)
{
std::lock_guard<std::mutex> lock(logger_map_mutex_);
formatter_ = std::move(formatter);
for (auto &l : loggers_)
{
l.second->set_formatter(formatter_->clone());
}
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x16930
testl %eax, %eax
jne 0x32cad
movq (%r14), %rax
movq $0x0, (%r14)
movq 0xe8(%rbx), %rdi
movq %rax, 0xe8(%rbx)
testq %rdi, %rdi
je 0x32c4a
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x88(%rbx), %r12
testq %r12, %r12
je 0x32c... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/details/registry-inl.h |
spdlog::details::registry::flush_on(spdlog::level::level_enum) | SPDLOG_INLINE void registry::flush_on(level::level_enum log_level)
{
std::lock_guard<std::mutex> lock(logger_map_mutex_);
for (auto &l : loggers_)
{
l.second->flush_on(log_level);
}
flush_level_ = log_level;
} | pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
callq 0x16930
testl %eax, %eax
jne 0x33083
movq 0x88(%rbx), %rax
testq %rax, %rax
je 0x3306f
movq 0x28(%rax), %rcx
movl %ebp, %edx
xchgl %edx, 0x44(%rcx)
movq (%rax), %rax
jmp 0x3305c
movl %ebp, 0xf4(%rbx)
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/details/registry-inl.h |
spdlog::sinks::base_sink<std::mutex>::set_pattern_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void SPDLOG_INLINE spdlog::sinks::base_sink<Mutex>::set_pattern_(const std::string &pattern)
{
set_formatter_(details::make_unique<spdlog::pattern_formatter>(pattern));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3861d
movq (%r14), %rax
movq $0x0, (%r14)
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x48(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x385c0
movq (%rdi), %rax
callq *0x8(%rax)
m... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/sinks/base_sink-inl.h |
spdlog::sinks::base_sink<spdlog::details::null_mutex>::set_pattern_(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void SPDLOG_INLINE spdlog::sinks::base_sink<Mutex>::set_pattern_(const std::string &pattern)
{
set_formatter_(details::make_unique<spdlog::pattern_formatter>(pattern));
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x3861d
movq (%r14), %rax
movq $0x0, (%r14)
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x48(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x388f4
movq (%rdi), %rax
callq *0x8(%rax)
m... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/sinks/base_sink-inl.h |
spdlog::sinks::ansicolor_sink<spdlog::details::console_nullmutex>::set_color_mode(spdlog::color_mode) | SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode(color_mode mode)
{
switch (mode)
{
case color_mode::always:
should_do_colors_ = true;
return;
case color_mode::automatic:
should_do_colors_ = details::os::in_terminal(target_file_) && details::os::is_color_terminal()... | pushq %rbx
movq %rdi, %rbx
testl %esi, %esi
je 0x4172b
cmpl $0x2, %esi
je 0x41727
cmpl $0x1, %esi
jne 0x41727
movq 0x1c0(%rbx), %rdi
callq 0x3488d
testb %al, %al
je 0x41727
callq 0x347ab
jmp 0x4172d
xorl %eax, %eax
jmp 0x4172d
movb $0x1, %al
movb %al, 0x1d0(%rbx)
popq %rbx
retq
nop
| /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/sinks/ansicolor_sink-inl.h |
std::shared_ptr<spdlog::logger> spdlog::stdout_color_mt<spdlog::synchronous_factory>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, spdlog::color_mode) | SPDLOG_INLINE std::shared_ptr<logger> stdout_color_mt(const std::string &logger_name, color_mode mode)
{
return Factory::template create<sinks::stdout_color_sink_mt>(logger_name, mode);
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
leaq 0x4(%rsp), %r14
movl %edx, (%r14)
leaq 0x18(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsi), %rax
movq 0x8(%rsi), %rdx
addq %rax, %rdx
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rax, %rsi
callq 0x1e332
movq %rbx, %rdi
movq %r15, %rsi
movq ... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/sinks/stdout_color_sinks-inl.h |
fmt::v9::detail::print(_IO_FILE*, fmt::v9::basic_string_view<char>) | FMT_FUNC void print(std::FILE* f, string_view text) {
#ifdef _WIN32
if (write_console(f, text)) return;
#endif
detail::fwrite_fully(text.data(), 1, text.size(), f);
} | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %rax
movq %rdi, %rcx
movl $0x1, %esi
movq %rax, %rdi
callq 0x16c30
cmpq %rbx, %rax
jb 0x465f0
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movl $0x20, %edi
callq 0x162c0
movq %rax, %rbx
callq 0x16060
movl (%rax), %esi
leaq 0x5624e(%rip), %rdx # 0x9c859
... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format-inl.h |
fmt::v9::detail::dragonbox::decimal_fp<double> fmt::v9::detail::dragonbox::to_decimal<double>(double) | decimal_fp<T> to_decimal(T x) noexcept {
// Step 1: integer promotion & Schubfach multiplier calculation.
using carrier_uint = typename float_info<T>::carrier_uint;
using cache_entry_type = typename cache_accessor<T>::cache_entry_type;
auto br = bit_cast<carrier_uint>(x);
// Extract significand bits and exp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movabsq $0xfffffffffffff, %rax # imm = 0xFFFFFFFFFFFFF
movq %xmm0, %r15
movq %r15, %r14
andq %rax, %r14
shrq $0x34, %r15
andl $0x7ff, %r15d # imm = 0x7FF
je 0x47146
addl $0xfffffbcd, %r15d # imm = 0xFFFFFBCD
testq %r14, %r14
je 0x472f0
addq %rax, %r... | /njoy[P]ENDFtk/build_O3/_deps/spdlog-src/include/spdlog/fmt/bundled/format-inl.h |
get_mask | UNUSED
static uint8_t get_mask(int field)
{
switch(field) {
case 2: return 0x1; break;
case 256: return 0xff; break;
default:
fprintf(stderr, "%s:%d: Unsupported field size %d.\n",
__FILE__, __LINE__, field);
exit(EXIT_FAILURE);
}
return 0; // Not reached.
} | movb $0x1, %al
cmpl $0x2, %edi
je 0x1b38
cmpl $0x100, %edi # imm = 0x100
jne 0x1b39
movb $-0x1, %al
retq
pushq %rax
callq 0x11f1
| /lorinder[P]TvRQ/samples_tests/test_utils/./utils.h |
test_lu_mul_x | static bool test_lu_mul_x(bool inplace, int n_row, int n_col, int N, int field)
{
const uint8_t mask = get_mask(field);
const int dlen = 8;
for (int i = 0; i < N; ++i) {
/* Create a random matrix */
Def_mat256_rand(A, a, n_row, n_col, mask)
Def_mat256_rand(Xi, x,
(inplace && n_row > n_col) ? n_row : n_col,... | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp # imm = 0x138
movl %edx, %r12d
movl %esi, %r15d
movl %edi, %ebx
movl %ecx, -0x4c(%rbp)
movl %ecx, %edi
callq 0x1b27
movl %r12d, %ecx
imull %r15d, %ecx
cmpl %r12d, %r15d
movl %r12d, %edx
cmovgl %r15d, %edx
movl... | /lorinder[P]TvRQ/samples_tests/unit_tests/m256v_lu.c |
print_mat | UNUSED
static void print_mat(FILE* out, const char* indent, const m256v* M)
{
for (int r = 0; r < M->n_row; ++r) {
fprintf(out, "%s%s", indent, (r == 0 ? "[" : " "));
for (int c = 0; c < M->n_col; ++c) {
fprintf(out, " %02x", (int)m256v_get_el(M, r, c));
}
fprintf(out, "%s\n", ((r == M->n_row - 1) ? " ]" : ... | cmpl $0x0, (%rsi)
jle 0x207f
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x22d1(%rip), %r13 # 0x42a3
leaq 0x22d0(%rip), %rbp # 0x42a9
xorl %r15d, %r15d
testq %r15, %r15
leaq 0x2298(%rip), %rcx # 0x427e
leaq 0x22b4(%rip), %rax # 0x... | /lorinder[P]TvRQ/samples_tests/test_utils/./utils.h |
test_lu_invmul_x | static bool test_lu_invmul_x(bool inplace, int n_row, int n_col, int N, int field)
{
const int maxdim = (n_row > n_col ? n_row : n_col);
const int data_width = 4;
const uint8_t mask = get_mask(field);
int ntest = 0;
for (int i = 0; i < N; ++i) {
/* Create a random matrix & testing data */
Def_mat256_rand(A, a... | pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movl %edx, %ebx
movl %esi, %r13d
movl %edi, -0x58(%rbp)
cmpl %edx, %esi
movl %edx, %eax
cmovgl %esi, %eax
movq %rax, -0x48(%rbp)
movl %ecx, -0x54(%rbp)
movl %ecx, %edi
callq 0x1b27
movl %eax, %r12d
movl %ebx, %r14d
imull ... | /lorinder[P]TvRQ/samples_tests/unit_tests/m256v_lu.c |
m256v_make | m256v m256v_make(int n_row, int n_col, uint8_t* memory)
{
m256v ret;
ret.n_row = n_row;
ret.n_col = n_col;
ret.rstride = n_col;
ret.e = memory;
return ret;
} | movq %rdi, %rax
movl %esi, (%rdi)
movl %edx, 0x4(%rdi)
movslq %edx, %rdx
movq %rdx, 0x8(%rdi)
movq %rcx, 0x10(%rdi)
retq
| /lorinder[P]TvRQ/algebra/m256v.c |
m256v_swap_rows | void m256v_swap_rows(m256v* M, int r1, int r2)
{
if (r1 == r2)
return;
size_t o1 = get_el_offs(M, r1, 0);
size_t o2 = get_el_offs(M, r2, 0);
for (int i = 0; i < M->n_col; ++i) {
const uint8_t sw = M->e[o1];
M->e[o1] = M->e[o2];
M->e[o2] = sw;
++o1;
++o2;
}
} | cmpl %edx, %esi
je 0x26ec
cmpl $0x0, 0x4(%rdi)
jle 0x26ec
movq 0x8(%rdi), %r8
movslq %edx, %rax
imulq %r8, %rax
movslq %esi, %rcx
imulq %r8, %rcx
xorl %edx, %edx
movq 0x10(%rdi), %rsi
movb (%rsi,%rcx), %r8b
movb (%rsi,%rax), %r9b
movb %r9b, (%rsi,%rcx)
movq 0x10(%rdi), %rsi
movb %r8b, (%rsi,%rax)
incq %rcx
incq %rax
in... | /lorinder[P]TvRQ/algebra/m256v.c |
m256v_mult_col_from | void m256v_mult_col_from(m256v* M, int c, int offs, uint8_t alpha)
{
if (alpha != 0) {
const int log_alpha = flog(alpha);
for (int j = offs; j < M->n_row; ++j) {
uint8_t val = get_el(M, j, c);
if (val != 0) {
val = fexp(flog(val) + log_alpha);
set_el(M, j, c, val);
}
}
} else {
for (int j = o... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movl %esi, %r15d
movq %rdi, %rbx
testl %ecx, %ecx
je 0x29b4
movzbl %cl, %edi
callq 0x25ad
cmpl %ebp, (%rbx)
jle 0x29d9
movl %eax, %r14d
movslq %r15d, %r15
movslq %ebp, %r12
movq 0x8(%rbx), %rax
imulq %r12, %rax
addq 0x10(%rbx), %rax
movb (%r15,%rax)... | /lorinder[P]TvRQ/algebra/m256v.c |
m256v_add | void MV_GEN_N(_add)(const MV_GEN_TYPE* A, const MV_GEN_TYPE* B, MV_GEN_TYPE* out)
{
assert(A->n_row == B->n_row);
assert(A->n_col == B->n_col);
assert(A->n_row == out->n_row);
assert(A->n_col == out->n_col);
for (int i = 0; i < A->n_row; ++i) {
MV_GEN_N(_copy_row)(A, i, out, i);
MV_GEN_N(_multadd_row)(B, i, 1... | cmpl $0x0, (%rdi)
jle 0x2e63
xorl %eax, %eax
cmpl $0x0, 0x4(%rdx)
jle 0x2e20
xorl %ecx, %ecx
movq 0x8(%rdi), %r8
imulq %rax, %r8
addq 0x10(%rdi), %r8
movb (%rcx,%r8), %r8b
movq 0x8(%rdx), %r9
imulq %rax, %r9
addq 0x10(%rdx), %r9
movb %r8b, (%rcx,%r9)
incq %rcx
movslq 0x4(%rdx), %r8
cmpq %r8, %rcx
jl 0x2df4
movq 0x8(%rs... | /lorinder[P]TvRQ/algebra/mv_generic.h |
m256v_add_inplace | void MV_GEN_N(_add_inplace)(const MV_GEN_TYPE* A, MV_GEN_TYPE* B_inout)
{
assert(A->n_row == B_inout->n_row);
assert(A->n_col == B_inout->n_col);
for (int r = 0; r < B_inout->n_row; ++r) {
MV_GEN_N(_multadd_row)(A, r, 1, B_inout, r);
}
} | cmpl $0x0, (%rsi)
jle 0x2eae
xorl %eax, %eax
movq 0x8(%rdi), %rcx
imulq %rax, %rcx
addq 0x10(%rdi), %rcx
movslq 0x4(%rdi), %rdx
leaq (%rcx,%rdx), %r8
cmpq %r8, %rcx
jae 0x2ea3
movq 0x8(%rsi), %r8
imulq %rax, %r8
addq 0x10(%rsi), %r8
xorl %r9d, %r9d
movb (%rcx,%r9), %r10b
xorb %r10b, (%r8,%r9)
incq %r9
cmpq %r9, %rdx
jn... | /lorinder[P]TvRQ/algebra/mv_generic.h |
m256v_mul | void MV_GEN_N(_mul)(const MV_GEN_TYPE* A, const MV_GEN_TYPE* B, MV_GEN_TYPE* AB_out)
{
assert(A->n_col == B->n_row);
assert(A->n_row == AB_out->n_row);
assert(B->n_col == AB_out->n_col);
for (int i = 0; i < AB_out->n_row; ++i) {
for (int j = 0; j < AB_out->n_col; ++j) {
MV_GEN_ELTYPE x = 0;
for (int e = 0;... | cmpl $0x0, (%rdx)
jle 0x2f67
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
xorl %r12d, %r12d
movq %rdx, (%rsp)
cmpl $0x0, 0x4(%rdx)
jle 0x2f4a
xorl %r13d, %r13d
cmpl $0x0, 0x4(%r15)
jle 0x2f27
xorl %ebx, %ebx
xorl %ebp, %ebp
movq 0x8(%r15), %rax
imulq %r12,... | /lorinder[P]TvRQ/algebra/mv_generic.h |
m256v_LU_decomp_inplace | int MV_GEN_N(_LU_decomp_inplace)(MV_GEN_TYPE* A,
int* rp,
int* cp)
{
/* Initialize permutations */
int i;
for (i = 0; i < A->n_row; ++i)
rp[i] = i;
for (i = 0; i < A->n_col; ++i)
cp[i] = i;
/* LU decomposition */
for (i = 0; i < A->n_col && i < A->n_row; ++i) {
/* Find a pivot
*
* We must pic... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %r15
cmpl $0x0, (%rdi)
jle 0x2f8e
xorl %eax, %eax
movl %eax, (%rsi,%rax,4)
incq %rax
movslq (%r15), %rcx
cmpq %rcx, %rax
jl 0x2f80
cmpl $0x0, 0x4(%r15)
jle 0x2fa6
xorl %eax, %eax
movl %eax, (%rdx,%rax,4)
incq %rax
movslq 0x4(%... | /lorinder[P]TvRQ/algebra/mv_generic.h |
m256v_LU_det | MV_GEN_ELTYPE MV_GEN_N(_LU_det)(const MV_GEN_TYPE* LU)
{
assert(LU->n_row == LU->n_col);
MV_GEN_ELTYPE det = 1;
for (int i = 0; i < LU->n_col; ++i) {
det = fmul(det, MV_GEN_N(_get_el)(LU, i, i));
}
return det;
} | cmpl $0x0, 0x4(%rdi)
jle 0x3154
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x1, %al
xorl %r14d, %r14d
movq 0x8(%rbx), %rcx
imulq %r14, %rcx
addq 0x10(%rbx), %rcx
movzbl (%r14,%rcx), %esi
movzbl %al, %edi
callq 0x25d5
incq %r14
movslq 0x4(%rbx), %rcx
cmpq %rcx, %r14
jl 0x3127
addq $0x8, %rsp
popq %rbx
popq %... | /lorinder[P]TvRQ/algebra/mv_generic.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.