name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
m256v_LU_mult
void MV_GEN_N(_LU_mult)(const MV_GEN_TYPE* LU, const int* rp, const int* cp, const MV_GEN_TYPE* X, MV_GEN_TYPE* Y_out) { /* Check dimensions */ assert(LU->n_col == X->n_row); assert(LU->n_row == Y_out->n_row); assert(X->n_col == Y_out->n_col); /* Clear out the rows in the target vector */ for...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r8, %rbx movq %rcx, %r13 movq %rdx, %r9 movq %rdi, %r15 cmpl $0x0, (%r8) jle 0x31a8 xorl %eax, %eax cmpl $0x0, 0x4(%rbx) jle 0x319d xorl %ecx, %ecx movq 0x8(%rbx), %rdx imulq %rax, %rdx addq 0x10(%rbx), %rdx movb $0x0, (%rcx,%rdx) ...
/lorinder[P]TvRQ/algebra/mv_generic.h
m256v_LU_mult_inplace
void MV_GEN_N(_LU_mult_inplace)(const MV_GEN_TYPE* LU, const int* inv_rowperm, const int* colperm, MV_GEN_TYPE* X_inout) { /* Create the views for inputs & outputs * * The views access the same underlying backend storage, * so some elements alias. The number of rows of the views * differ, howev...
pushq %r15 pushq %r14 pushq %rbx subq $0x30, %rsp movq %rcx, %r14 movq %rsi, %rbx movq %rdi, %r15 movl 0x4(%rdi), %eax movl 0x4(%rcx), %ecx movl %eax, 0x18(%rsp) movl %ecx, 0x1c(%rsp) movq 0x8(%r14), %rax movq %rax, 0x20(%rsp) movq 0x10(%r14), %rsi movq %rsi, 0x28(%rsp) movl (%rdi), %edi movl %edi, (%rsp) movl %ecx, 0x...
/lorinder[P]TvRQ/algebra/mv_generic.h
m256v_U_mult_inplace
void MV_GEN_N(_U_mult_inplace)(const MV_GEN_TYPE* LU, MV_GEN_TYPE* X_inout) { for (int i = 0; i < LU->n_col && i < LU->n_row; ++i) { MV_GEN_N(_mult_row)(X_inout, i, MV_GEN_N(_get_el)(LU, i, i)); for (int j = i + 1; j < LU->n_col; ++j) { MV_GEN_N(_multadd_row)(X_inout, j, MV_GEN_N(_get_el)(LU, i, j), X...
cmpl $0x0, 0x4(%rdi) jle 0x35d9 pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rsi, %rbx movq %rdi, %r14 movl $0x1, %r13d xorl %ebp, %ebp movslq (%r14), %rax cmpq %rax, %rbp jge 0x35cb movq %rbp, %r15 movq 0x8(%r14), %rax imulq %rbp, %rax addq 0x10(%r14), %rax movzbl (%rbp,%rax), %ed...
/lorinder[P]TvRQ/algebra/mv_generic.h
m256v_LU_invmult_inplace
void MV_GEN_N(_LU_invmult_inplace)(const MV_GEN_TYPE* LU, int rank, const int* rowperm, const int* inv_colperm, MV_GEN_TYPE* X_inout) { /* If the rank is unspecified (-1), we assume the max rank */ if (rank == -1) rank = (LU->n_col < LU->n_row ? LU->n_col : LU->n_row); /* Create adequate views */ ...
pushq %rbp pushq %r14 pushq %rbx subq $0x30, %rsp movq %rcx, %rbx movl %esi, %ebp movq %rdi, %r14 cmpl $-0x1, %esi jne 0x36f7 movl (%r14), %ebp movl 0x4(%r14), %eax cmpl %ebp, %eax cmovll %eax, %ebp movl 0x4(%r14), %eax movl 0x4(%r8), %ecx movl %eax, 0x18(%rsp) movl %ecx, 0x1c(%rsp) movq 0x8(%r8), %rax movq %rax, 0x20(...
/lorinder[P]TvRQ/algebra/mv_generic.h
gf256_init_
int gf256_init_(int version) { if (version != GF256_VERSION) return -1; // User's header does not match library version. // Avoid multiple initialization if (Initialized) return 0; Initialized = true; if (!IsExpectedEndian()) return -2; // Unexpected byte order. gf256_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl $0xffffffff, %ebx # imm = 0xFFFFFFFF cmpl $0x2, %edi jne 0x1eec xorl %ebx, %ebx cmpb $0x0, 0x42c56(%rip) # 0x44b40 je 0x1f00 movl %ebx, %eax addq $0x8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp vzeroupper ...
/catid[P]wirehair/gf256.cpp
gf256_addset_mem
void gf256_addset_mem(void * GF256_RESTRICT vz, const void * GF256_RESTRICT vx, const void * GF256_RESTRICT vy, int bytes) { GF256_M128 * GF256_RESTRICT z16 = reinterpret_cast<GF256_M128*>(vz); const GF256_M128 * GF256_RESTRICT x16 = reinterpret_cast<const GF256_M128*>(vx); ...
cmpb $0x0, 0x41bed(%rip) # 0x44b41 je 0x2fae leal 0x1f(%rcx), %r8d testl %ecx, %ecx movl %ecx, %eax cmovsl %r8d, %eax sarl $0x5, %eax cmpl $0x3f, %r8d jb 0x2f97 cmpl $0x1, %eax movl %eax, %r8d adcl $0x0, %r8d xorl %r9d, %r9d shlq $0x5, %r8 vmovups (%rdx,%r9), %ymm0 vxorps (%rsi,%r9), %ymm0, %ymm0 vmovups %ymm0, (%r...
/catid[P]wirehair/gf256.cpp
gf256_mul_mem
void gf256_mul_mem(void * GF256_RESTRICT vz, const void * GF256_RESTRICT vx, uint8_t y, int bytes) { // Use a single if-statement to handle special cases if (y <= 1) { if (y == 0) memset(vz, 0, bytes); else if (vz != vx) memcpy(vz, vx, bytes); return; } ...
cmpb $0x1, %dl ja 0x30b7 testb %dl, %dl je 0x31b5 cmpq %rsi, %rdi je 0x32e8 movslq %ecx, %rdx jmp 0x10d0 movl %edx, %eax cmpl $0x20, %ecx jl 0x3127 cmpb $0x1, 0x41a7c(%rip) # 0x44b41 jne 0x3130 movl %eax, %edx shll $0x5, %edx leaq 0x1b24d(%rip), %r8 # 0x1e320 vpbroadcastb 0x63dc(%rip), %ymm2 # 0x94b8 vmovdqa 0...
/catid[P]wirehair/gf256.cpp
gf256_muladd_mem
void gf256_muladd_mem(void * GF256_RESTRICT vz, uint8_t y, const void * GF256_RESTRICT vx, int bytes) { // Use a single if-statement to handle special cases if (y <= 1) { if (y == 1) gf256_add_mem(vz, vx, bytes); return; } GF256_M128 * GF...
cmpb $0x1, %sil ja 0x3302 jne 0x362e movq %rdx, %rsi movl %ecx, %edx jmp 0x2d00 movl %esi, %eax cmpl $0x20, %ecx jl 0x3404 cmpb $0x1, 0x4182d(%rip) # 0x44b41 jne 0x340d movl %eax, %esi shll $0x5, %esi leaq 0x1affa(%rip), %r8 # 0x1e320 vmovdqa 0x2000(%rsi,%r8), %ymm1 vmovdqa 0x4000(%rsi,%r8), %ymm0 movl %ecx, %...
/catid[P]wirehair/gf256.cpp
wirehair::Codec::ResumeSolveMatrix(unsigned int, void const*)
WirehairResult Codec::ResumeSolveMatrix( const unsigned id, ///< Block ID const void * GF256_RESTRICT data ///< Block data ) { CAT_IF_DUMP(cout << endl << "---- ResumeSolveMatrix ----" << endl << endl;) if (!data) { return Wirehair_InvalidInput; } unsigned row_i, ge_row_i, new_pivot_i;...
testq %rdx, %rdx je 0x6b5d pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movzwl 0x16(%rdi), %eax movzwl 0x4(%rdi), %ecx movzwl 0x14(%rdi), %r10d movl %esi, %ebp movq %rdi, %rbx movzwl %ax, %r14d leal (%r10,%rcx), %esi cmpl %r14d, %esi jbe 0x6b63 movl 0xc0(%rbx), %edi movl %r14d, %r1...
/catid[P]wirehair/WirehairCodec.cpp
wirehair::Codec::InitializeEncoder(unsigned long, unsigned int)
WirehairResult Codec::InitializeEncoder( uint64_t message_bytes, unsigned block_bytes) { WirehairResult result = ChooseMatrix(message_bytes, block_bytes); if (result == Wirehair_Success) { // Calculate partial final bytes unsigned partial_final_bytes = message_bytes % _block_bytes; ...
pushq %r14 pushq %rbx pushq %rax movq %rsi, %r14 movq %rdi, %rbx callq 0x67b0 testl %eax, %eax jne 0x7a5d movl (%rbx), %ecx movq %r14, %rax xorl %edx, %edx movq %rbx, %rdi divq %rcx testq %rdx, %rdx cmovel %ecx, %edx movl %edx, 0x38(%rbx) movl %ecx, 0x3c(%rbx) movw $0x0, 0x14(%rbx) movb $0x0, 0x58(%rbx) callq 0x790e xo...
/catid[P]wirehair/WirehairCodec.cpp
yy_6_integer
YY_ACTION(void) yy_6_integer(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR) { #define i G->val[-1] yyprintf((stderr, "do yy_6_integer")); yyprintfvTcontext(yytext); yyprintf((stderr, "\n {\n\ int base = i->iv;\n\ yy = PVIP_node_new_intf(&(G->data), PVIP_NODE_INT, yytext, yyl...
pushq %rbx movq %rsi, %rax movq %rdi, %rbx movq 0x48(%rdi), %rcx movq -0x8(%rcx), %rcx movl 0x8(%rcx), %r8d addq $0x60, %rdi movslq %edx, %rcx movl $0x3, %esi movq %rax, %rdx callq 0x2604 movq %rax, 0x40(%rbx) popq %rbx retq
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_5_item_assignment_expr
YY_ACTION(void) yy_5_item_assignment_expr(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR) { #define b G->val[-1] #define a G->val[-2] yyprintf((stderr, "do yy_5_item_assignment_expr")); yyprintfvTcontext(yytext); yyprintf((stderr, "\n {yy = PVIP_node_new_children2(&(G->data), PVIP_NODE_INPLA...
pushq %rbx movq %rdi, %rbx addq $0x60, %rdi movq 0x48(%rbx), %rax movq -0x10(%rax), %rdx movq -0x8(%rax), %rcx movl $0x55, %esi callq 0x2776 movq %rax, 0x40(%rbx) movq 0x48(%rbx), %rcx movq %rax, -0x10(%rcx) popq %rbx retq
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_loose_and_expr
YY_RULE(int) yy_loose_and_expr(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyDo(G, yyPush, 2, 0, "yyPush"); yyprintfv((stderr, "%s\n", "loose_and_expr")); if (!yy_list_prefix_expr(G)) goto l764; yyDo(G, yySet, -2, 0, "yySet"); l765:; { int yypos766= G->pos, yythunkpos766= G->thunkpos; { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl 0x10(%rdi), %r14d movl 0x3c(%rdi), %r15d leaq -0x12a87(%rip), %rsi # 0x3f37 leaq 0x1f81(%rip), %r8 # 0x18946 xorl %ebp, %ebp movl $0x2, %edx xorl %ecx, %ecx callq 0x3ec9 movq %rbx, %rdi callq 0x16c59 testl %eax, %...
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_2_loose_or_expr
YY_ACTION(void) yy_2_loose_or_expr(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR) { #define f2 G->val[-1] #define f1 G->val[-2] yyprintf((stderr, "do yy_2_loose_or_expr")); yyprintfvTcontext(yytext); yyprintf((stderr, "\n {yy = PVIP_node_new_children2(&(G->data), PVIP_NODE_LOGICAL_XOR, f1, ...
pushq %rbx movq %rdi, %rbx addq $0x60, %rdi movq 0x48(%rbx), %rax movq -0x10(%rax), %rdx movq -0x8(%rax), %rcx movl $0x39, %esi callq 0x2776 movq %rax, 0x40(%rbx) movq 0x48(%rbx), %rcx movq %rax, -0x10(%rcx) popq %rbx retq
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_3_loose_or_expr
YY_ACTION(void) yy_3_loose_or_expr(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR) { #define f2 G->val[-1] #define f1 G->val[-2] yyprintf((stderr, "do yy_3_loose_or_expr")); yyprintfvTcontext(yytext); yyprintf((stderr, "\n {yy=f1; }\n")); yy=f1; ; #undef f2 #undef f1 }
movq 0x48(%rdi), %rax movq -0x10(%rax), %rax movq %rax, 0x40(%rdi) retq
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_list_prefix_expr
YY_RULE(int) yy_list_prefix_expr(GREG *G) { int yypos0= G->pos, yythunkpos0= G->thunkpos; yyDo(G, yyPush, 4, 0, "yyPush"); yyprintfv((stderr, "%s\n", "list_prefix_expr")); { int yypos754= G->pos, yythunkpos754= G->thunkpos; if (!yymatchChar(G, '[')) goto l755; if (!yy_reduce_operator(G)) goto l755; yyDo(G...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movl 0x10(%rdi), %r15d movl 0x3c(%rdi), %r14d leaq -0x12d42(%rip), %rsi # 0x3f37 leaq 0x1cc6(%rip), %r8 # 0x18946 movl $0x4, %edx xorl %ecx, %ecx callq 0x3ec9 movl 0x10(%rbx), %eax movl %eax, 0x14(%rsp) movl 0x3c...
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
yy_4_normal_or_postfix_stmt
YY_ACTION(void) yy_4_normal_or_postfix_stmt(GREG *G, char *yytext, int yyleng, yythunk *thunk, YY_XTYPE YY_XVAR) { #define cond_for G->val[-1] #define cond_unless G->val[-2] #define cond_if G->val[-3] #define n G->val[-4] yyprintf((stderr, "do yy_4_normal_or_postfix_stmt")); yyprintfvTcontext(yytext); yyprintf((s...
pushq %rbx movq %rdi, %rbx addq $0x60, %rdi movq 0x48(%rbx), %rax movq -0x20(%rax), %rcx movq -0x8(%rax), %rdx movl $0x23, %esi callq 0x2776 movq %rax, 0x40(%rbx) popq %rbx retq
/tokuhirom[P]pvip/build_O3/gen.pvip.y.c
ar_mean
double ar_mean(double *x, int N) { double mn; int i; mn = 0.0; for(i = 0; i < N;++i) { mn += x[i]; } mn /= (double) N; return mn; }
pushq %rbp movq %rsp, %rbp xorl %eax, %eax testl %esi, %esi movl $0x0, %ecx cmovgl %esi, %ecx xorpd %xmm0, %xmm0 cmpq %rax, %rcx je 0x637f addsd (%rdi,%rax,8), %xmm0 incq %rax jmp 0x6370 cvtsi2sd %esi, %xmm1 divsd %xmm1, %xmm0 popq %rbp retq
/rafat[P]ctsa/test/artest2.c
sarimax_wrapper_predict
void sarimax_wrapper_predict(sarimax_wrapper_object obj, double *inp, double *xreg, int L,double *newxreg, double *xpred, double *amse) { int d, i, N, ip, iq, ir,D,P,Q,s,p,q,t,ps,qs,j,diter; double *coef1,*coef2,*delta, *W, *resid, *phi, *theta; double wmean; d = obj->sarimax->d; N = obj->sarimax->N; p = obj->sa...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %rbx movq %rcx, -0xe0(%rbp) movq %rdx, -0xb8(%rbp) movq %rsi, -0xf0(%rbp) movq %rdi, -0x88(%rbp) movq (%rdi), %rsi movl 0x10(%rsi), %r14d movl 0x20(%rsi), %edx movl 0x28(%rsi), %ecx movslq 0x1c(%rsi), %r13 movl ...
/rafat[P]ctsa/src/ctsa.c
sarima_summary
void sarima_summary(sarima_object obj) { int i,pq,t; pq = obj->p + obj->q + obj->P + obj->Q + obj->M; if (obj->method == 0 || obj->method == 1) { printf("\n\nExit Status \n"); printf("Return Code : %d \n", obj->retval); printf("Exit Message : "); if (obj->retval == 0) { printf("Input Error"); } else ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movl 0x18(%rdi), %r12d addl 0x10(%rdi), %r12d addl 0x20(%rdi), %r12d addl 0x28(%rdi), %r12d addl 0x2c(%rdi), %r12d cmpl $0x1, 0x8(%rdi) ja 0xe534 leaq 0x4089c(%rip), %rdi # 0x4ed67 callq 0x60a0 movl 0x90(%rb...
/rafat[P]ctsa/src/ctsa.c
sarimax_summary
void sarimax_summary(sarimax_object obj) { int i, pq,t,nd,ncxreg,mean; pq = obj->p + obj->q + obj->P + obj->Q + obj->M; mean = obj->M - obj->r; if (obj->method == 0 || obj->method == 1) { printf("\n\nExit Status \n"); printf("Return Code : %d \n", obj->retval); printf("Exit Message : "); if (obj->retval ...
pushq %rbp movq %rsp, %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdi, %rbx movl 0x18(%rdi), %r12d addl 0x10(%rdi), %r12d addl 0x20(%rdi), %r12d addl 0x28(%rdi), %r12d movl 0x30(%rdi), %eax movl %eax, -0x38(%rbp) addl %eax, %r12d movl 0x2c(%rdi), %eax movl %eax, -0x34(%rbp) cmpl $...
/rafat[P]ctsa/src/ctsa.c
cppnet::Thread::~Thread()
virtual ~Thread() {}
pushq %rbx movq %rdi, %rbx leaq 0x1a31f(%rip), %rax # 0x24fd0 movq %rax, (%rdi) movq 0x10(%rdi), %rdi testq %rdi, %rdi je 0xacc8 cmpq $0x0, (%rdi) jne 0xacd2 callq 0x6330 movq $0x0, 0x10(%rbx) popq %rbx retq callq 0x60b0 nop
/caozhiyi[P]CppNet/common/thread/thread.h
cppnet::BufferQueue::ReadNotMovePt(char*, unsigned int)
uint32_t BufferQueue::ReadNotMovePt(char* res, uint32_t len) { if (_buffer_list.Size() == 0 || !res) { return 0; } std::shared_ptr<BufferBlock> temp = _buffer_list.GetHead(); uint32_t read_len = 0; while (temp && read_len < len) { read_len += temp->ReadNotMovePt(res + read_len, len ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x18, %rsp xorl %ebx, %ebx movq %rsi, 0x10(%rsp) testq %rsi, %rsi je 0x10ac1 movq %rdi, %r15 cmpl $0x0, 0x10(%rdi) je 0x10ac1 movq 0x18(%r15), %r13 movq 0x20(%r15), %r14 testq %r14, %r14 je 0x10a2f movq 0x15599(%rip), %rax # 0x25fb8 cmpb $0x0, ...
/caozhiyi[P]CppNet/common/buffer/buffer_queue.cpp
cppnet::Address::Address(cppnet::AddressType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned short)
Address::Address(AddressType at, const std::string& ip, uint16_t port): _address_type(at), _ip(ip), _port(port) { }
pushq %r14 pushq %rbx pushq %rax movl %ecx, %ebx movq %rdi, %r14 movl %esi, (%rdi) addq $0x8, %rdi leaq 0x18(%r14), %rax movq %rax, 0x8(%r14) movq (%rdx), %rsi movq 0x8(%rdx), %rdx addq %rsi, %rdx callq 0xae72 movw %bx, 0x28(%r14) addq $0x8, %rsp popq %rbx popq %r14 retq nop
/caozhiyi[P]CppNet/common/network/address.cpp
cppnet::BufferBlock::_Read(char*, unsigned int, bool)
uint32_t BufferBlock::_Read(char* res, uint32_t len, bool move_pt) { /*s-----------r-----w-------------e*/ if (_read < _write) { size_t size = _write - _read; // res can load all if (size <= len) { memcpy(res, _read, size); if(move_pt) { Clear(); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebp movl %edx, %r14d movq %rsi, %r15 movq %rdi, %rbx movq 0x38(%rdi), %rsi movq 0x40(%rdi), %r12 cmpq %r12, %rsi jae 0x1690f subq %rsi, %r12 movl %r14d, %r13d movq %r15, %rdi cmpq %r13, %r12 jbe 0x1696f movq %r13, %rdx callq 0x62d0...
/caozhiyi[P]CppNet/common/buffer/buffer_block.cpp
main
int main(int argc, char **argv) { struct jpeg_decompress_struct srcinfo; #if TRANSFORMS_SUPPORTED struct jpeg_decompress_struct dropinfo; struct jpeg_error_mgr jdroperr; FILE *drop_file; #endif struct jpeg_compress_struct dstinfo; struct jpeg_error_mgr jsrcerr, jdsterr; struct cdjpeg_progress_mgr src_prog...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x978, %rsp # imm = 0x978 movq %rsi, %rbx movl %edi, %r14d movq (%rsi), %rax movq %rax, 0x9bcb(%rip) # 0xc188 testq %rax, %rax je 0x25c7 cmpb $0x0, (%rax) jne 0x25d5 leaq 0x6a36(%rip), %rax # 0x9004 movq %rax, 0x9bb3(%rip) ...
/rui314[P]libjpeg-turbo/jpegtran.c
select_transform
LOCAL(void) select_transform(JXFORM_CODE transform) /* Silly little routine to detect multiple transform options, * which we can't handle. */ { #if TRANSFORMS_SUPPORTED if (transformoption.transform == JXFORM_NONE || transformoption.transform == transform) { transformoption.transform = transform; } else...
movl 0x89e8(%rip), %eax # 0xc1b8 testl %eax, %eax setne %cl cmpl %edi, %eax setne %al testb %al, %cl jne 0x37e5 movl %edi, 0x89d4(%rip) # 0xc1b8 retq pushq %rax callq 0x23f2 nop
/rui314[P]libjpeg-turbo/jpegtran.c
read_stdin
GLOBAL(FILE *) read_stdin(void) { FILE *input_file = stdin; #ifdef USE_SETMODE /* need to hack file mode? */ setmode(fileno(stdin), O_BINARY); #endif #ifdef USE_FDOPEN /* need to re-open in binary mode? */ if ((input_file = fdopen(fileno(stdin), READ_BINARY)) == NULL) { fprintf(std...
movq 0x869b(%rip), %rax # 0xbfd8 movq (%rax), %rax retq
/rui314[P]libjpeg-turbo/cdjpeg.c
write_stdout
GLOBAL(FILE *) write_stdout(void) { FILE *output_file = stdout; #ifdef USE_SETMODE /* need to hack file mode? */ setmode(fileno(stdout), O_BINARY); #endif #ifdef USE_FDOPEN /* need to re-open in binary mode? */ if ((output_file = fdopen(fileno(stdout), WRITE_BINARY)) == NULL) { fpr...
movq 0x8688(%rip), %rax # 0xbfd0 movq (%rax), %rax retq
/rui314[P]libjpeg-turbo/cdjpeg.c
read_quant_tables
GLOBAL(boolean) read_quant_tables(j_compress_ptr cinfo, char *filename, boolean force_baseline) /* Read a set of quantization tables from the specified file. * The file is plain ASCII text: decimal numbers with whitespace between. * Comments preceded by '#' may be included in the file. * There may be one to NUM_QUAN...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x128, %rsp # imm = 0x128 movl %edx, 0x1c(%rsp) movq %rsi, %r14 movq %rdi, %r15 leaq 0x62ce(%rip), %rsi # 0x9c3c movq %r14, %rdi callq 0x21f0 testq %rax, %rax je 0x3a6a movq %rax, %rbx movq %r14, 0x8(%rsp) leaq 0x10(%rsp), %rsi leaq...
/rui314[P]libjpeg-turbo/rdswitch.c
read_text_integer
LOCAL(boolean) read_text_integer(FILE *file, long *result, int *termchar) /* Read an unsigned decimal integer from a file, store it in result */ /* Reads one trailing character after the integer; returns it in termchar */ { register int ch; register long val; /* Skip any leading whitespace, detect EOF */ do { ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rsi, %r14 movq %rdi, %r15 xorl %r13d, %r13d movq %r15, %rdi callq 0x415a cmpl $-0x1, %eax je 0x3b2b movl %eax, %ebp callq 0x22a0 movq %rax, %r12 movq (%rax), %rax movslq %ebp, %rcx movzwl (%rax,%rcx,2), %eax btl $0xd, %ea...
/rui314[P]libjpeg-turbo/rdswitch.c
read_scan_integer
LOCAL(boolean) read_scan_integer(FILE *file, long *result, int *termchar) /* Variant of read_text_integer that always looks for a non-space termchar; * this simplifies parsing of punctuation in scan scripts. */ { register int ch; if (!read_text_integer(file, result, termchar)) return FALSE; ch = *termchar;...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %rbx movq %rdi, %r14 callq 0x3aaf xorl %ebp, %ebp testl %eax, %eax je 0x3e97 movslq (%rbx), %r15 cmpq $-0x1, %r15 setne %r13b je 0x3e50 callq 0x22a0 movq %rax, %r12 movq (%rax), %rax testb $0x20, 0x1(%rax,%r15,2) je 0x3e50 movq %r14...
/rui314[P]libjpeg-turbo/rdswitch.c
text_getc
LOCAL(int) text_getc(FILE *file) /* Read next char, skipping over any comments (# to end of line) */ /* A comment/newline sequence is returned as a newline */ { register int ch; ch = getc(file); if (ch == '#') { do { ch = getc(file); } while (ch != '\n' && ch != EOF); } return ch; }
pushq %rbx movq %rdi, %rbx callq 0x2290 cmpl $0x23, %eax jne 0x417a movq %rbx, %rdi callq 0x2290 cmpl $0xa, %eax je 0x417a cmpl $-0x1, %eax jne 0x4168 popq %rbx retq
/rui314[P]libjpeg-turbo/rdswitch.c
jtransform_parse_crop_spec
GLOBAL(boolean) jtransform_parse_crop_spec(jpeg_transform_info *info, const char *spec) { info->crop = FALSE; info->crop_width_set = JCROP_UNSET; info->crop_height_set = JCROP_UNSET; info->crop_xoffset_set = JCROP_UNSET; info->crop_yoffset_set = JCROP_UNSET; if (isdigit(*spec)) { /* fetch width */ ...
pushq %r15 pushq %r14 pushq %rbx subq $0x10, %rsp movq %rsi, %r15 movq %rdi, %r14 movq %rsi, 0x8(%rsp) xorl %ebx, %ebx movl %ebx, 0x10(%rdi) movl %ebx, 0x1c(%rdi) movl %ebx, 0x24(%rdi) movl %ebx, 0x2c(%rdi) movl %ebx, 0x34(%rdi) callq 0x22a0 movq (%rax), %rax movsbq (%r15), %rcx testb $0x8, 0x1(%rax,%rcx,2) je 0x4212 l...
/rui314[P]libjpeg-turbo/transupp.c
adjust_exif_parameters
LOCAL(void) adjust_exif_parameters(JOCTET *data, unsigned int length, JDIMENSION new_width, JDIMENSION new_height) { boolean is_motorola; /* Flag for byte order */ unsigned int number_of_tags, tagnum; unsigned int firstoffset, offset; JDIMENSION new_value; if (length < 12) return; /* L...
cmpl $0xc, %esi jb 0x50cf movzbl (%rdi), %r8d cmpl $0x4d, %r8d je 0x507f cmpl $0x49, %r8d jne 0x50cf movb $0x1, %al cmpb $0x49, 0x1(%rdi) je 0x5087 cmpb $0x4d, %r8b jne 0x50cf cmpb $0x4d, 0x1(%rdi) jne 0x50cf xorl %eax, %eax testb %al, %al je 0x5099 cmpb $0x0, 0x3(%rdi) jne 0x50cf cmpb $0x2a, 0x2(%rdi) je 0x50a5 jmp 0x...
/rui314[P]libjpeg-turbo/transupp.c
do_flip_h_no_crop
LOCAL(void) do_flip_h_no_crop(j_decompress_ptr srcinfo, j_compress_ptr dstinfo, JDIMENSION x_crop_offset, jvirt_barray_ptr *src_coef_arrays) /* Horizontal flip; done in-place, so no separate dest array is required. * NB: this only works when y_crop_offset is zero. */ { JDIMENSION MCU_cols, comp_wi...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x58, %rsp movq %rcx, 0x38(%rsp) movl %edx, 0x8(%rsp) movq %rdi, 0x30(%rsp) movl 0x88(%rdi), %eax movl 0x138(%rsi), %ecx shll $0x3, %ecx xorl %edx, %edx divl %ecx movl %eax, 0x4(%rsp) cmpl $0x0, 0x4c(%rsi) jle 0x7f3e xorl %ebx, %ebx movq %rsi, 0x20...
/rui314[P]libjpeg-turbo/transupp.c
sptk::AddInLogSpace(double, double)
double AddInLogSpace(double log_x, double log_y) { if (log_x == log_y) return log_x + kLogTwo; const double smaller((log_x < log_y) ? log_x : log_y); const double greater((log_x < log_y) ? log_y : log_x); const double diff(smaller - greater); if (diff < kThresholdOfInformationLossInLogSpace) return greater; ...
ucomisd %xmm1, %xmm0 jne 0x41b6 jp 0x41b6 addsd 0x63c8(%rip), %xmm0 # 0xa578 movapd %xmm0, %xmm2 jmp 0x41f9 movapd %xmm1, %xmm2 movapd %xmm0, %xmm1 minsd %xmm2, %xmm1 maxsd %xmm0, %xmm2 subsd %xmm2, %xmm1 movsd 0x639e(%rip), %xmm0 # 0xa570 ucomisd %xmm1, %xmm0 ja 0x41f9 pushq %rax movapd %xmm1, %xmm0 movsd %xmm...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
sptk::Warp(double, double, double)
double Warp(double omega, double alpha, double theta) { if (0.0 == alpha && 0.0 == theta) return omega; const double x(omega - theta); const double y(omega + theta); return (omega + std::atan2(alpha * std::sin(x), 1.0 - alpha * std::cos(x)) + std::atan2(alpha * std::sin(y), 1.0 - alpha * std::cos(y)))...
movapd %xmm0, %xmm3 xorpd %xmm0, %xmm0 ucomisd %xmm0, %xmm1 jne 0x427c jp 0x427c ucomisd %xmm0, %xmm2 jne 0x427c jnp 0x4331 subq $0x28, %rsp movapd %xmm3, %xmm0 subsd %xmm2, %xmm0 movsd %xmm0, 0x20(%rsp) addsd %xmm3, %xmm2 movsd %xmm2, 0x18(%rsp) movsd %xmm1, (%rsp) movsd %xmm3, 0x10(%rsp) callq 0x2080 mulsd (%rsp), %x...
/sp-nitech[P]SPTK/src/utils/sptk_utils.cc
llvm::DenseMapBase<llvm::DenseMap<std::pair<mlir::TypeID, mlir::TypeID>, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo<std::pair<mlir::TypeID, mlir::TypeID>, void>, llvm::detail::DenseSetPair<std::pair<mlir::TypeID, mlir::TypeID>>>, std::pair<mlir::TypeID, mlir::TypeID>, llvm::detail::DenseSetEmpty, llvm::DenseMapInf...
unsigned getMinBucketToReserveForEntries(unsigned NumEntries) { // Ensure that "NumEntries * 4 < NumBuckets * 3" if (NumEntries == 0) return 0; // +1 is required because of the strict equality. // For example if NumEntries is 48, we need to return 401. return NextPowerOf2(NumEntries * 4 / 3 + ...
subq $0x18, %rsp movq %rdi, 0x8(%rsp) movl %esi, 0x4(%rsp) cmpl $0x0, 0x4(%rsp) jne 0x218be movl $0x0, 0x14(%rsp) jmp 0x218de movl 0x4(%rsp), %eax shll $0x2, %eax movl $0x3, %ecx xorl %edx, %edx divl %ecx addl $0x1, %eax movl %eax, %eax movl %eax, %edi callq 0x219f0 movl %eax, 0x14(%rsp) movl 0x14(%rsp), %eax addq $0x1...
/llvm/ADT/DenseMap.h
llvm::DenseMapIterator<mlir::Operation*, unsigned int, llvm::DenseMapInfo<mlir::Operation*, void>, llvm::detail::DenseMapPair<mlir::Operation*, unsigned int>, true>::AdvancePastEmptyBuckets()
void AdvancePastEmptyBuckets() { assert(Ptr <= End); const KeyT Empty = KeyInfoT::getEmptyKey(); const KeyT Tombstone = KeyInfoT::getTombstoneKey(); while (Ptr != End && (KeyInfoT::isEqual(Ptr->getFirst(), Empty) || KeyInfoT::isEqual(Ptr->getFirst(), Tombstone))) ++Ptr; ...
subq $0x28, %rsp movq %rdi, 0x20(%rsp) movq 0x20(%rsp), %rax movq %rax, 0x8(%rsp) callq 0x84e20 movq %rax, 0x18(%rsp) callq 0x84e40 movq %rax, 0x10(%rsp) movq 0x8(%rsp), %rdx movq (%rdx), %rcx xorl %eax, %eax cmpq 0x8(%rdx), %rcx movb %al, 0x7(%rsp) je 0x9ec08 movq 0x8(%rsp), %rax movq (%rax), %rdi callq 0x9ea20 movq (...
/llvm/ADT/DenseMap.h
llvm::StringRef llvm::getTypeName<mlir::RegionKindInterface>()
inline StringRef getTypeName() { #if defined(__clang__) || defined(__GNUC__) StringRef Name = __PRETTY_FUNCTION__; StringRef Key = "DesiredTypeName = "; Name = Name.substr(Name.find(Key)); assert(!Name.empty() && "Unable to find the template parameter!"); Name = Name.drop_front(Key.size()); assert(Name.en...
subq $0x78, %rsp leaq 0x30fee2(%rip), %rsi # 0x45e69d leaq 0x50(%rsp), %rdi movq %rdi, 0x8(%rsp) callq 0x1f030 leaq 0x30dd6e(%rip), %rsi # 0x45c53f leaq 0x40(%rsp), %rdi movq %rdi, (%rsp) callq 0x1f030 movq 0x8(%rsp), %rdi movups 0x40(%rsp), %xmm0 movaps %xmm0, 0x20(%rsp) movq 0x20(%rsp), %rsi movq 0x28(%rsp), %r...
/llvm/Support/TypeName.h
void llvm::interleave<mlir::ValueTypeIterator<llvm::detail::indexed_accessor_range_base<mlir::ResultRange, mlir::detail::OpResultImpl*, mlir::OpResult, mlir::OpResult, mlir::OpResult>::iterator>, void llvm::interleaveComma<mlir::ValueTypeRange<mlir::ResultRange>, mlir::OpAsmPrinter, mlir::Type>(mlir::ValueTypeRange<mli...
inline void interleave(ForwardIterator begin, ForwardIterator end, UnaryFunctor each_fn, NullaryFunctor between_fn) { if (begin == end) return; each_fn(*begin); ++begin; for (; begin != end; ++begin) { between_fn(); each_fn(*begin); } }
subq $0x48, %rsp leaq 0x50(%rsp), %rax movq %rax, 0x8(%rsp) movq %rdi, 0x38(%rsp) movq %rsi, 0x40(%rsp) movq %rdx, 0x28(%rsp) movq %rcx, 0x30(%rsp) movq %r8, 0x20(%rsp) leaq 0x38(%rsp), %rdi leaq 0x28(%rsp), %rsi callq 0x56cd0 testb $0x1, %al jne 0x15cbbc jmp 0x15cbbe jmp 0x15cc2f leaq 0x38(%rsp), %rdi callq 0x56870 mo...
/llvm/ADT/STLExtras.h
main
int main() { CategoriesMutex mutex({1, 3, 5}); if (auto guard = mutex.try_lock(1); guard) { // critical section } }
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movl $0x0, -0x4(%rbp) movl $0x1, -0xb4(%rbp) movl $0x3, -0xb0(%rbp) movl $0x5, -0xac(%rbp) leaq -0xb4(%rbp), %rax movq %rax, -0xa8(%rbp) movq $0x3, -0xa0(%rbp) leaq -0xb5(%rbp), %rdi movq %rdi, -0xe0(%rbp) callq 0x1450 movq -0xe0(%rbp), %rcx movq -0xa8(%rbp), %rsi movq -0xa0(...
/madoka-wizard[P]cpp-semester-5/task_1/main.cpp
CategoriesMutex::try_lock_unsafe(int)
LockStatus try_lock_unsafe(int category) { if (current_category_ != -1 && category != current_category_) { return ANOTHER_CATEGORY; } if (count_ == category_sizes_[category]) { return THREADS_COUNT_EXCEEDED; } current_category_ = category; ++coun...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) cmpl $-0x1, (%rax) je 0x18b0 movq -0x20(%rbp), %rcx movl -0x14(%rbp), %eax cmpl (%rcx), %eax je 0x18b0 movl $0x2, -0x4(%rbp) jmp 0x18f3 movq -0x20(%rbp), %rdi movl 0x4(%rdi), %eax movl...
/madoka-wizard[P]cpp-semester-5/task_1/main.cpp
curlx_uztoul
unsigned long curlx_uztoul(size_t uznum) { #ifdef __INTEL_COMPILER # pragma warning(push) # pragma warning(disable:810) /* conversion may lose significant bits */ #endif DEBUGASSERT(uznum <= (size_t) CURL_MASK_ULONG); return (unsigned long)(uznum & (size_t) CURL_MASK_ULONG); #ifdef __INTEL_COMPILER # pragma warni...
movq %rdi, %rax retq
/lesstif[P]curl/lib/warnless.c
Index
int Index(int ndim, int subscript[], int dims[]) { int idx = 0, i, factor=1; for(i=0;i<ndim;i++){ idx += subscript[i]*factor; factor *= dims[i]; } return idx; }
xorl %ecx, %ecx testl %edi, %edi cmovlel %ecx, %edi pushq $0x1 popq %r8 xorl %eax, %eax cmpq %rcx, %rdi je 0x4ea0 movl (%rsi,%rcx,4), %r9d imull %r8d, %r9d addl %r9d, %eax imull (%rdx,%rcx,4), %r8d incq %rcx jmp 0x4e86 retq
/GlobalArrays[P]ga/global/testing/util.c
print_range_
void FATR print_range_(Integer *me, Integer LO[], Integer HI[], Integer *ndim) { int hi[GA_MAX_DIM], lo[GA_MAX_DIM]; char msg[100]; /* GA_MAX_DIM is defined for C and Fortran. Fortran routines should use <= * whereas C routines should use < for comparisons. */ assert((int)*ndim <= GA_MAX_DIM); sprintf...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0xb0, %rsp cmpl $0x8, (%rcx) jge 0x55e1 movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %rbx movl (%rdi), %edx leaq 0xa6112(%rip), %rsi # 0xab698 leaq 0x40(%rsp), %r12 movq %r12, %rdi xorl %eax, %eax callq 0x30a0 movl (%r15), %ebp leaq 0x20(%rsp), %r15 movq %r...
/GlobalArrays[P]ga/global/testing/util.c
NGA_Create_config64
int NGA_Create_config64(int type, int ndim, int64_t dims[], char *name, int64_t chunk[], int p_handle) { Integer *ptr, g_a; logical st; Integer _ga_dims[MAXDIM]; Integer _ga_work[MAXDIM]; if(ndim>MAXDIM)return 0; COPYC2F(dims,_ga_dims, ndim); if(!chunk)ptr=(Integer*)0; else { ...
pushq %r14 pushq %rbx subq $0x88, %rsp xorl %ebx, %ebx cmpl $0x7, %esi jg 0x61f2 xorl %eax, %eax testl %esi, %esi movl $0x0, %r10d cmovgl %esi, %r10d leal -0x1(%rsi), %r11d cmpq %rax, %r10 je 0x619d movq (%rdx,%rax,8), %rbx movslq %r11d, %r11 movq %rbx, 0x50(%rsp,%r11,8) incq %rax decl %r11d jmp 0x6184 xorl %ebx, %ebx ...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Create_irreg
int NGA_Create_irreg(int type,int ndim,int dims[],char *name,int block[],int map[]) { Integer g_a; logical st; Integer _ga_dims[MAXDIM]; Integer _ga_work[MAXDIM]; Integer *_ga_map_capi; if(ndim>MAXDIM)return 0; COPYC2F(dims,_ga_dims, ndim); COPYC2F(block,_ga_work, ndim); _ga_map_cap...
cmpl $0x7, %esi jle 0x6207 xorl %eax, %eax retq pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x90, %rsp movq %rcx, %rbx movl %esi, %r14d movl %edi, %ebp xorl %ecx, %ecx testl %esi, %esi movl $0x0, %eax cmovgl %esi, %eax leal -0x1(%r14), %esi cmpq %rcx, %rax je 0x6246 movslq (%rdx,%rcx,4), %rdi movslq %e...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Create_irreg64
int NGA_Create_irreg64(int type,int ndim,int64_t dims[],char *name,int64_t block[],int64_t map[]) { Integer g_a; logical st; Integer _ga_dims[MAXDIM]; Integer _ga_work[MAXDIM]; Integer *_ga_map_capi; if(ndim>MAXDIM)return 0; COPYC2F(dims,_ga_dims, ndim); COPYC2F(block,_ga_work, ndim); ...
cmpl $0x7, %esi jle 0x6363 xorl %eax, %eax retq pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x90, %rsp movq %rcx, %rbx movl %esi, %r14d movl %edi, %ebp xorl %ecx, %ecx testl %esi, %esi movl $0x0, %eax cmovgl %esi, %eax leal -0x1(%r14), %esi cmpq %rcx, %rax je 0x63a2 movq (%rdx,%rcx,8), %rdi movslq %esi...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Create_ghosts_irreg_config
int NGA_Create_ghosts_irreg_config(int type, int ndim, int dims[], int width[], char *name, int block[], int map[], int p_handle) { Integer g_a; logical st; Integer _ga_dims[MAXDIM]; Integer _ga_work[MAXDIM]; Integer _ga_width[MAXDIM]; Integer *_ga_map_capi; if(ndim>MAXDIM)return 0; COP...
cmpl $0x7, %esi jle 0x68a2 xorl %eax, %eax retq pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r8, %rbx movq %rdx, %rax movl %esi, %r14d movl %edi, %ebp movl 0x108(%rsp), %r12d movq 0x100(%rsp), %rdx xorl %edi, %edi testl %esi, %esi movl $0x0, %esi cmovgl %r14d, %esi leal -0x1(...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Create_ghosts
int NGA_Create_ghosts(int type, int ndim,int dims[], int width[], char *name, int chunk[]) { Integer *ptr, g_a; logical st; Integer _ga_dims[MAXDIM]; Integer _ga_work[MAXDIM]; Integer _ga_width[MAXDIM]; if(ndim>MAXDIM)return 0; COPYC2F(dims,_ga_dims, ndim); COPYC2F(width,_ga_width,...
pushq %rbx subq $0xd0, %rsp xorl %ebx, %ebx cmpl $0x7, %esi jg 0x6b90 xorl %eax, %eax testl %esi, %esi movl $0x0, %r10d cmovgl %esi, %r10d leal -0x1(%rsi), %r11d cmpq %rax, %r10 je 0x6b1b movslq (%rdx,%rax,4), %rbx movslq %r11d, %r11 movq %rbx, 0x90(%rsp,%r11,8) incq %rax decl %r11d jmp 0x6aff leal -0x1(%rsi), %eax xor...
/GlobalArrays[P]ga/global/src/capi.c
GA_Set_data64
void GA_Set_data64(int g_a, int ndim, int64_t dims[], int type) { Integer aa, nndim, ttype; Integer _ga_dims[MAXDIM]; COPYC2F(dims,_ga_dims, ndim); aa = (Integer)g_a; nndim = (Integer)ndim; ttype = (Integer)type; wnga_set_data(aa, nndim, _ga_dims, ttype); }
subq $0x38, %rsp xorl %eax, %eax testl %esi, %esi movl $0x0, %r8d cmovgl %esi, %r8d leal -0x1(%rsi), %r9d cmpq %rax, %r8 je 0x6e80 movq (%rdx,%rax,8), %r10 movslq %r9d, %r9 movq %r10, (%rsp,%r9,8) incq %rax decl %r9d jmp 0x6e68 movslq %edi, %rdi movslq %esi, %rsi movslq %ecx, %rcx movq %rsp, %rdx callq 0x67351 addq $0x...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Set_chunk64
void NGA_Set_chunk64(int g_a, int64_t chunk[]) { Integer aa, *ptr, ndim; Integer _ga_work[MAXDIM]; aa = (Integer)g_a; ndim = wnga_get_dimension(aa); if(!chunk)ptr=(Integer*)0; else { COPYC2F(chunk,_ga_work, ndim); ptr = _ga_work; } wnga_set_chunk(aa, ptr); }
pushq %r14 pushq %rbx subq $0x38, %rsp movq %rsi, %r14 movslq %edi, %rbx movq %rbx, %rdi callq 0x67a67 testq %r14, %r14 je 0x7074 xorl %ecx, %ecx testq %rax, %rax movl $0x0, %edx cmovgq %rax, %rdx leaq (%rsp,%rax,8), %rax addq $-0x8, %rax movq %rsp, %rsi cmpq %rcx, %rdx je 0x7076 movq (%r14,%rcx,8), %rdi movq %rdi, (%r...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Set_tiled_proc_grid
void NGA_Set_tiled_proc_grid(int g_a, int block[], int proc_grid[]) { Integer aa, ndim; Integer _block[MAXDIM]; Integer _proc_grid[MAXDIM]; aa = (Integer)g_a; ndim = wnga_get_dimension(aa); COPYC2F(block,_block, ndim); COPYC2F(proc_grid, _proc_grid, ndim); wnga_set_tiled_proc_grid(aa, _b...
pushq %r15 pushq %r14 pushq %rbx subq $0x80, %rsp movq %rdx, %r14 movq %rsi, %r15 movslq %edi, %rbx movq %rbx, %rdi callq 0x67a67 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x38, %rsi cmpq %rdx, %rcx je 0x77f2 movslq (%r15,%rdx,4), %rdi movq %rdi, (%rsi) incq %rdx ...
/GlobalArrays[P]ga/global/src/capi.c
GA_List_nodeid
void GA_List_nodeid(int *nlist, int nprocs) { Integer i, procs; Integer *list; procs = (Integer)(nprocs); list = malloc(procs*sizeof(int)); wnga_list_nodeid(list, procs); for (i=0; i<procs; i++) { nlist[i] = (int)list[i]; } free(list); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movslq %esi, %r14 leaq (,%r14,4), %rdi callq 0x33d0 movq %rax, %r15 movq %rax, %rdi movq %r14, %rsi callq 0x6e4ca xorl %eax, %eax testq %r14, %r14 cmovleq %rax, %r14 cmpq %rax, %r14 je 0x81fe movl (%r15,%rax,8), %ecx movl %ecx, (%rbx,%rax,4) incq %rax jmp 0x81ed movq %r1...
/GlobalArrays[P]ga/global/src/capi.c
NGA_List_nodeid
void NGA_List_nodeid(int *nlist, int nprocs) { Integer i, procs; Integer *list; procs = (Integer)(nprocs); list = malloc(procs*sizeof(int)); wnga_list_nodeid(list, procs); for (i=0; i<procs; i++) { nlist[i] = (int)list[i]; } free(list); }
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx movslq %esi, %r14 leaq (,%r14,4), %rdi callq 0x33d0 movq %rax, %r15 movq %rax, %rdi movq %r14, %rsi callq 0x6e4ca xorl %eax, %eax testq %r14, %r14 cmovleq %rax, %r14 cmpq %rax, %r14 je 0x824b movl (%r15,%rax,8), %ecx movl %ecx, (%rbx,%rax,4) incq %rax jmp 0x823a movq %r1...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Merge_distr_patch
void NGA_Merge_distr_patch(int g_a, int *alo, int *ahi, int g_b, int *blo, int *bhi) { Integer a = (Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_alo[MAXDIM], _ga_ahi[MAXDIM]; Integer _ga_blo[MAXDIM], _ga_b...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x108, %rsp # imm = 0x108 movq %r9, %r14 movq %r8, %r12 movl %ecx, %r15d movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %rdi movq %rdi, 0x8(%rsp) callq 0x6b530 movq %rax, %rbx movslq %r15d, %r15 movq %r15, %rdi callq 0x6b530 xorl %edx, %ed...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Update_ghost_dir
int NGA_Update_ghost_dir(int g_a, int dimension, int dir, int flag) { Integer a=(Integer)g_a; Integer idim = (Integer)dimension; Integer idir = (Integer)dir; logical iflag = (logical)flag; logical st; idim++; st = wnga_update_ghost_dir(a,idim,idir,iflag); return (int)st; }
movslq %edi, %rdi movslq %esi, %rsi movslq %edx, %rdx movslq %ecx, %rcx incq %rsi jmp 0x89e3b
/GlobalArrays[P]ga/global/src/capi.c
NGA_Get64
void NGA_Get64(int g_a, int64_t lo[], int64_t hi[], void* buf, int64_t ld[]) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer _ga_work[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(hi,_ga_hi, ndim); COPYC2F(ld,_ga_work, ndim-1); ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc0, %rsp movq %r8, %r15 movq %rcx, %rbx movq %rdx, %r12 movq %rsi, %r13 movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x78, %rsi cmpq %rdx, %rcx je 0x8ac3 mo...
/GlobalArrays[P]ga/global/src/capi.c
NGA_NbAcc
void NGA_NbAcc(int g_a, int lo[], int hi[], void* buf,int ld[], void* alpha, ga_nbhdl_t* nbhandle) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer _ga_work[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(hi,_ga_hi, ndim...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %rbx movq %r8, %r12 movq %rcx, %r14 movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %r15 movq %r15, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x88, %rsi cm...
/GlobalArrays[P]ga/global/src/capi.c
NGA_NbAcc64
void NGA_NbAcc64(int g_a, int64_t lo[], int64_t hi[], void* buf,int64_t ld[], void* alpha, ga_nbhdl_t* nbhandle) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer _ga_work[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(h...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %rbx movq %r8, %r12 movq %rcx, %r14 movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %r15 movq %r15, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x88, %rsi cm...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Periodic_acc64
void NGA_Periodic_acc64(int g_a, int64_t lo[], int64_t hi[], void* buf,int64_t ld[], void* alpha) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer _ga_work[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(hi,_ga_hi, ndim); COPYC2F(l...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, %rbx movq %r8, %r12 movq %rcx, %r14 movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %r15 movq %r15, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x88, %rsi cm...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Read_inc
long NGA_Read_inc(int g_a, int subscript[], long inc) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer in=(Integer)inc; Integer _ga_lo[MAXDIM]; COPYINDEX_C2F(subscript, _ga_lo, ndim); return (long)wnga_read_inc(a, _ga_lo, in); }
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %rbx movq %rsi, %r15 movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 xorl %ecx, %ecx testq %rax, %rax movl $0x0, %edx cmovgq %rax, %rdx leaq (%rsp,%rax,8), %rax addq $-0x8, %rax cmpq %rcx, %rdx je 0x9f31 movslq (%r15,%rcx,4), %rsi incq %rsi movq %rsi, (%rax) ...
/GlobalArrays[P]ga/global/src/capi.c
GA_Pack64
void GA_Pack64(int g_src, int g_dest, int g_mask, int64_t lo, int64_t hi, int64_t *icount) { Integer a = (Integer)g_src; Integer b = (Integer)g_dest; Integer s = (Integer)g_mask; Integer icnt; Integer alo = lo+1; Integer ahi = hi+1; wnga_pack(a, b, s, alo, ahi, &icnt); *icount =...
pushq %r14 pushq %rbx pushq %rax movq %r9, %rbx movslq %edi, %rdi movslq %esi, %rsi movslq %edx, %rdx incq %rcx incq %r8 movq %rsp, %r14 movq %r14, %r9 callq 0x400bc movq (%r14), %rax movq %rax, (%rbx) addq $0x8, %rsp popq %rbx popq %r14 retq
/GlobalArrays[P]ga/global/src/capi.c
GA_Compare_distr
int GA_Compare_distr(int g_a, int g_b) { logical st; Integer a=(Integer)g_a; Integer b=(Integer)g_b; st = wnga_compare_distr(a,b); if(st == TRUE) return 0; else return 1; }
pushq %rax movslq %edi, %rdi movslq %esi, %rsi callq 0x6df93 xorl %ecx, %ecx cmpq $0x1, %rax setne %cl movl %ecx, %eax popq %rcx retq
/GlobalArrays[P]ga/global/src/capi.c
NGA_Access64
void NGA_Access64(int g_a, int64_t lo[], int64_t hi[], void *ptr, int64_t ld[]) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer _ga_work[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo,ndim); COPYINDEX_C2F(hi,_ga_hi,ndim); wnga_access_ptr(a,_ga...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r8, %rbx movq %rcx, %r15 movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %r12 movq %r12, %rdi callq 0x6b530 movq %rax, %r14 xorl %ecx, %ecx testq %rax, %rax movl $0x0, %eax cmovgq %r14, %rax leaq (%rsp,%r14,8), %rdx addq $0x78, %rdx c...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Access_ghosts
void NGA_Access_ghosts(int g_a, int dims[], void *ptr, int ld[]) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM]; Integer _ga_work[MAXDIM]; wnga_access_ghost_ptr(a, _ga_lo, ptr, _ga_work); COPYF2C(_ga_work,ld, ndim-1); COPYF2C(_ga_lo, dims, ndim); }
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x80, %rsp movq %rcx, %r15 movq %rdx, %r12 movq %rsi, %rbx movslq %edi, %r13 movq %r13, %rdi callq 0x6b530 movq %rax, %r14 leaq 0x40(%rsp), %rsi movq %rsp, %rcx movq %r13, %rdi movq %r12, %rdx callq 0x7c4c4 leaq -0x1(%r14), %rax xorl %ecx, %ecx testq %rax, %r...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Locate_region64
int NGA_Locate_region64(int g_a,int64_t lo[],int64_t hi[],int64_t map[],int procs[]) { logical st; Integer a=(Integer)g_a, np_guess, np_actual; Integer ndim = wnga_ndim(a); Integer *tmap; int i; Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; Integer *_ga_map_capi; COPYINDEX_C2F(lo,_ga_l...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xa8, %rsp movq %r8, %r15 movq %rcx, 0x18(%rsp) movq %rdx, %r12 movq %rsi, %r14 movl %edi, 0x14(%rsp) movslq %edi, %rdi movq %rdi, %r13 callq 0x6b530 movq %rax, %rbx xorl %eax, %eax testq %rbx, %rbx movl $0x0, %ebp cmovgq %rbx, %rbp leaq (%rsp,%rbx...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Inquire
void NGA_Inquire(int g_a, int *type, int *ndim, int dims[]) { Integer a=(Integer)g_a; Integer ttype, nndim; Integer _ga_dims[MAXDIM]; wnga_inquire(a,&ttype, &nndim, _ga_dims); COPYF2C(_ga_dims, dims,nndim); *ndim = (int)nndim; *type = (int)ttype; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %rbx movslq %edi, %rdi movq %rsp, %rsi leaq 0x8(%rsp), %r12 leaq 0x10(%rsp), %rcx movq %r12, %rdx callq 0x6c9f5 movq (%r12), %rax xorl %ecx, %ecx testq %rax, %rax movl $0x0, %edx cmovgq %rax, %rdx leaq (%r15,%rax,4),...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Inquire64
void NGA_Inquire64(int g_a, int *type, int *ndim, int64_t dims[]) { Integer a=(Integer)g_a; Integer ttype, nndim; Integer _ga_dims[MAXDIM]; wnga_inquire(a,&ttype, &nndim, _ga_dims); COPYF2C_64(_ga_dims, dims,nndim); *ndim = (int)nndim; *type = (int)ttype; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x48, %rsp movq %rcx, %r15 movq %rdx, %r14 movq %rsi, %rbx movslq %edi, %rdi movq %rsp, %rsi leaq 0x8(%rsp), %r12 leaq 0x10(%rsp), %rcx movq %r12, %rdx callq 0x6c9f5 movq (%r12), %rax xorl %ecx, %ecx testq %rax, %rax movl $0x0, %edx cmovgq %rax, %rdx leaq (%r15,%rax,8),...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Scatter_acc64
void NGA_Scatter_acc64(int g_a, void *v, int64_t* subsArray[], int64_t n, void *alpha) { int64_t idx; int i; Integer a = (Integer)g_a; Integer nv = (Integer)n; #ifndef USE_GATSCAT_NEW Integer ndim = wnga_ndim(a); Integer *_subs_array; _subs_array = (Integer *)malloc((int)ndim* n * sizeof(Int...
movq %r8, %r9 movq %rcx, %r8 movslq %edi, %rdi pushq $0x1 popq %rcx jmp 0x7984c
/GlobalArrays[P]ga/global/src/capi.c
NGA_Gather_flat
void NGA_Gather_flat(int g_a, void *v, int subsArray[], int n) { int idx, i; Integer a = (Integer)g_a; Integer nv = (Integer)n; Integer ndim = wnga_ndim(a); Integer *_subs_array; _subs_array = (Integer *)malloc((int)ndim* n * sizeof(Integer)); if(_subs_array == NULL) GA_Error("Memory allocat...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebp movq %rdx, %r15 movq %rsi, %rbx movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 movq %rax, %r13 imull %ebp, %eax movslq %eax, %rdi shlq $0x3, %rdi callq 0x33d0 movq %rax, %r12 testq %rax, %rax jne 0xbc03 leaq 0x9fe0f(%rip), %rd...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Matmul_patch_alt
void NGA_Matmul_patch_alt(char transa, char transb, void* alpha, void *beta, int g_a, int alo[], int ahi[], int g_b, int blo[], int bhi[], int g_c, int clo[], int chi[]) { Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %r9, %rbx movq %rcx, 0x38(%rsp) movq %rdx, 0x28(%rsp) movq 0x218(%rsp), %r12 movq 0x208(%rsp), %r13 movq 0x200(%rsp), %rbp movq 0x1f0(%rsp), %r14 movslq 0x210(%rsp), %rax movq %rax, 0x10(%rsp) movslq 0x1f8(...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Ddot_patch
double NGA_Ddot_patch(int g_a, char t_a, int alo[], int ahi[], int g_b, char t_b, int blo[], int bhi[]) { double res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_alo[MAXDIM], _ga_ahi[MAXDIM]; Int...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0xf(%rsp) movb %r9b, 0xe(%rsp) movslq %edi, %rdi movq %rdi, 0x10(%rsp) callq 0x6b530 movq %rax, %r13 movsl...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Zdot_patch
DoubleComplex NGA_Zdot_patch(int g_a, char t_a, int alo[], int ahi[], int g_b, char t_b, int blo[], int bhi[]) { DoubleComplex res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0x7(%rsp) movb %r9b, 0x6(%rsp) movslq %edi, %rdi movq %rdi, 0x8(%rsp) callq 0x6b530 movq %rax, %r13 movslq...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Idot_patch64
int NGA_Idot_patch64(int g_a, char t_a, int64_t alo[], int64_t ahi[], int g_b, char t_b, int64_t blo[], int64_t bhi[]) { int res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_alo[MAXDIM], _ga_ah...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0xf(%rsp) movb %r9b, 0xe(%rsp) movslq %edi, %rdi movq %rdi, 0x10(%rsp) callq 0x6b530 movq %rax, %r13 movsl...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Ddot_patch64
double NGA_Ddot_patch64(int g_a, char t_a, int64_t alo[], int64_t ahi[], int g_b, char t_b, int64_t blo[], int64_t bhi[]) { double res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_alo[MAXDIM], _...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0xf(%rsp) movb %r9b, 0xe(%rsp) movslq %edi, %rdi movq %rdi, 0x10(%rsp) callq 0x6b530 movq %rax, %r13 movsl...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Zdot_patch64
DoubleComplex NGA_Zdot_patch64(int g_a, char t_a, int64_t alo[], int64_t ahi[], int g_b, char t_b, int64_t blo[], int64_t bhi[]) { DoubleComplex res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0x7(%rsp) movb %r9b, 0x6(%rsp) movslq %edi, %rdi movq %rdi, 0x8(%rsp) callq 0x6b530 movq %rax, %r13 movslq...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Fdot_patch64
float NGA_Fdot_patch64(int g_a, char t_a, int64_t alo[], int64_t ahi[], int g_b, char t_b, int64_t blo[], int64_t bhi[]) { float res; Integer a=(Integer)g_a; Integer andim = wnga_ndim(a); Integer b=(Integer)g_b; Integer bndim = wnga_ndim(b); Integer _ga_alo[MAXDIM], _g...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x118, %rsp # imm = 0x118 movl %r8d, %ebp movq %rcx, %r15 movq %rdx, %r12 movq 0x158(%rsp), %rbx movq 0x150(%rsp), %r14 movb %sil, 0xf(%rsp) movb %r9b, 0xe(%rsp) movslq %edi, %rdi movq %rdi, 0x10(%rsp) callq 0x6b530 movq %rax, %r13 movsl...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Fill_patch64
void NGA_Fill_patch64(int g_a, int64_t lo[], int64_t hi[], void *val) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(hi,_ga_hi, ndim); wnga_fill_patch(a, _ga_lo, _ga_hi, val); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r12 movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x38, %rsi cmpq %rdx, %rcx je 0xe41d movq (%r12,%rdx,8), %rdi inc...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Scale_patch
void NGA_Scale_patch(int g_a, int lo[], int hi[], void *alpha) { Integer a=(Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo, ndim); COPYINDEX_C2F(hi,_ga_hi, ndim); wnga_scale_patch(a, _ga_lo, _ga_hi, alpha); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x78, %rsp movq %rcx, %rbx movq %rdx, %r15 movq %rsi, %r12 movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x38, %rsi cmpq %rdx, %rcx je 0xe5bf movslq (%r12,%rdx,4), %rdi i...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Release_update
void NGA_Release_update(int g_a, int lo[], int hi[]) { Integer a = (Integer)g_a; Integer ndim = wnga_ndim(a); Integer _ga_lo[MAXDIM], _ga_hi[MAXDIM]; COPYINDEX_C2F(lo,_ga_lo,ndim); COPYINDEX_C2F(hi,_ga_hi,ndim); wnga_release_update(a,_ga_lo, _ga_hi); }
pushq %r15 pushq %r14 pushq %rbx subq $0x80, %rsp movq %rdx, %r14 movq %rsi, %r15 movslq %edi, %rbx movq %rbx, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%rax,8), %rsi addq $0x38, %rsi cmpq %rdx, %rcx je 0xecea movslq (%r15,%rdx,4), %rdi incq %rdi movq %rdi, (%rsi) ...
/GlobalArrays[P]ga/global/src/capi.c
GA_Elem_divide_patch64
void GA_Elem_divide_patch64(int g_a, int64_t alo[], int64_t ahi[], int g_b, int64_t blo[], int64_t bhi[], int g_c, int64_t clo[], int64_t chi[]) { Integer a = (Integer)g_a; Integer b = (Integer)g_b; Integer c = (Integer)g_c; Integer andim = wnga_nd...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %r9, %r12 movq %r8, %r13 movq %rdx, %rbx movq %rsi, %r14 movq 0x1d8(%rsp), %rbp movslq 0x1d0(%rsp), %rax movq %rax, (%rsp) movslq %edi, %rdi movslq %ecx, %r15 movq %rdi, 0x10(%rsp) callq 0x6b530 movq %rax, ...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Nbput_field
void NGA_Nbput_field(int g_a, int *lo, int *hi, int foff, int fsize, void *buf, int *ld, ga_nbhdl_t *nbhandle) { Integer a = (Integer)g_a; Integer andim = wnga_ndim(a); Integer _alo[MAXDIM], _ahi[MAXDIM]; Integer _ld[MAXDIM]; COPYINDEX_C2F(lo,_alo, andim); COPYINDEX_C2F(hi,_ahi, andim); COPYINDEX_C...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xc8, %rsp movq %r9, 0x8(%rsp) movl %r8d, %ebp movl %ecx, %r15d movq %rdx, %r12 movq %rsi, %r13 movq 0x100(%rsp), %rbx movslq %edi, %r14 movq %r14, %rdi callq 0x6b530 xorl %edx, %edx testq %rax, %rax movl $0x0, %ecx cmovgq %rax, %rcx leaq (%rsp,%ra...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_row_distribution
void NGA_Sprs_array_row_distribution(int s_a, int iproc, int *lo, int *hi) { Integer sa = (Integer)s_a; Integer ip = (Integer)iproc; Integer ilo, ihi; wnga_sprs_array_row_distribution(sa,ip,&ilo,&ihi); *lo = (int)ilo; *hi = (int)ihi; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rdx, %r14 movslq %edi, %rdi movslq %esi, %rsi leaq 0x10(%rsp), %r15 leaq 0x8(%rsp), %r12 movq %r15, %rdx movq %r12, %rcx callq 0x44718 movl (%r15), %eax movl %eax, (%r14) movl (%r12), %eax movl %eax, (%rbx) addq $0x18, %rsp popq %rbx pop...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_row_distribution64
void NGA_Sprs_array_row_distribution64(int s_a, int iproc, int64_t *lo, int64_t *hi) { Integer sa = (Integer)s_a; Integer ip = (Integer)iproc; Integer ilo, ihi; wnga_sprs_array_row_distribution(sa,ip,&ilo,&ihi); *lo = (int64_t)ilo; *hi = (int64_t)ihi; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rdx, %r14 movslq %edi, %rdi movslq %esi, %rsi leaq 0x10(%rsp), %r15 leaq 0x8(%rsp), %r12 movq %r15, %rdx movq %r12, %rcx callq 0x44718 movq (%r15), %rax movq %rax, (%r14) movq (%r12), %rax movq %rax, (%rbx) addq $0x18, %rsp popq %rbx pop...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_get_block
int NGA_Sprs_array_get_block(int s_a, int irow, int icol, int **idx, int **jdx, void **data, int *ilo, int *ihi, int *jlo, int *jhi) { Integer sa = (Integer)s_a; Integer ir = (Integer)irow; Integer ic = (Integer)icol; Integer il, ih, jl, jh; void *id, *jd; int ret = wnga_sprs_array_get_block(sa, ir, ic,...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, %rbx movq %rcx, %r14 movslq %edi, %rdi movslq %esi, %rsi movslq %edx, %rdx leaq 0x10(%rsp), %rax leaq 0x20(%rsp), %r13 leaq 0x28(%rsp), %r15 leaq 0x30(%rsp), %rbp leaq 0x18(%rsp), %r12 leaq 0x8(%rsp), %r8 movq %r12, %rcx pushq ...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_get_block64
int NGA_Sprs_array_get_block64(int s_a, int64_t irow, int64_t icol, int64_t **idx, int64_t **jdx, void **data, int64_t *ilo, int64_t *ihi, int64_t *jlo, int64_t *jhi) { Integer sa = (Integer)s_a; Integer ir = (Integer)irow; Integer ic = (Integer)icol; Integer il, ih, jl, jh; void *id, *jd; int ret =...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r8, %rbx movq %rcx, %r14 movslq %edi, %rdi leaq 0x10(%rsp), %rax leaq 0x20(%rsp), %rbp leaq 0x28(%rsp), %r15 leaq 0x30(%rsp), %r13 leaq 0x18(%rsp), %r12 leaq 0x8(%rsp), %r8 movq %r12, %rcx pushq %rax pushq %rbp pushq %r15 pushq %r1...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_col_block_list
void NGA_Sprs_array_col_block_list(int s_a, int **idx, int *n) { Integer *Idx; Integer i,N; Integer sa = s_a; wnga_sprs_array_col_block_list(sa, &Idx, &N); *n = N; *idx = (int*)malloc(N*sizeof(int)); for (i=0; i<N; i++) { (*idx)[i] = (int)(Idx[i]); } free(Idx); }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rdx, %rbx movq %rsi, %r14 movslq %edi, %rdi leaq 0x10(%rsp), %r15 leaq 0x8(%rsp), %r12 movq %r15, %rsi movq %r12, %rdx callq 0x44904 movq (%r12), %r12 movl %r12d, (%rbx) leaq (,%r12,4), %rdi callq 0x33d0 movq %rax, (%r14) movq (%r15), %rdi xorl %ecx, %e...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Sprs_array_count_sketch
int NGA_Sprs_array_count_sketch(int s_a, int size_k, int *g_k, int *g_w) { Integer sa = (Integer)s_a; Integer size = (Integer)size_k; Integer gk; Integer gw; int ret = (int)wnga_sprs_array_count_sketch(sa, size, &gk, &gw, 1); *g_k = (int)gk; *g_w = (int)gw; return ret; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x18, %rsp movq %rcx, %rbx movq %rdx, %r14 movslq %edi, %rdi movslq %esi, %rsi leaq 0x10(%rsp), %r15 leaq 0x8(%rsp), %r12 pushq $0x1 popq %r8 movq %r15, %rdx movq %r12, %rcx callq 0x50188 movl (%r15), %ecx movl %ecx, (%r14) movl (%r12), %ecx movl %ecx, (%rbx) addq $0x18...
/GlobalArrays[P]ga/global/src/capi.c
ga_distribution_
void FATR ga_distribution_(Integer *g_a, Integer *proc, Integer *ilo, Integer *ihi, Integer *jlo, Integer *jhi) { Integer lo[2], hi[2]; wnga_distribution(*g_a, *proc, lo, hi); *ilo = lo[0]; *jlo = lo[1]; *ihi = hi[0]; *jhi = hi[1]; }
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r9, %rbx movq %r8, %r14 movq %rcx, %r15 movq %rdx, %r12 movq (%rdi), %rdi movq (%rsi), %rsi leaq 0x10(%rsp), %r13 movq %rsp, %rbp movq %r13, %rdx movq %rbp, %rcx callq 0x66689 movq (%r13), %rax movq %rax, (%r12) movq 0x8(%r13), %ra...
/GlobalArrays[P]ga/global/src/fapi.c
ga_locate_region_
logical FATR ga_locate_region_( Integer *g_a, Integer *ilo, Integer *ihi, Integer *jlo, Integer *jhi, Integer map[][5], Integer ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, %rbx movq %r8, 0x8(%rsp) movq %rcx, %r15 movq %rdx, (%rsp) movq %rsi, %r13 movq %rdi, %rbp xorl %eax, %eax callq 0x6df65 leaq (,%rax,8), %rdi callq 0x33d0 movq %rax, %r14 xorl %eax, %eax callq 0x6df65 imulq $0x28, %rax, %rdi ca...
/GlobalArrays[P]ga/global/src/fapi.c
ga_nbget_
void FATR ga_nbget_(Integer *g_a, Integer *ilo, Integer *ihi, Integer *jlo, Integer *jhi, void *buf, Integer *ld, Integer *nbhandle) { Integer lo[2], hi[2]; lo[0]=*ilo; lo[1]=*jlo; hi[0]=*ihi; hi[1]=*jhi; wnga_nbget(*g_a, lo, hi, buf, ld, nbhandle); }
subq $0x28, %rsp movq %r9, %r10 movq 0x30(%rsp), %rax movq 0x38(%rsp), %r9 movq (%rsi), %r11 leaq 0x10(%rsp), %rsi movq %r11, (%rsi) movq (%rcx), %rcx movq %rcx, 0x8(%rsi) movq (%rdx), %rcx movq %rsp, %rdx movq %rcx, (%rdx) movq (%r8), %rcx movq %rcx, 0x8(%rdx) movq (%rdi), %rdi movq %r10, %rcx movq %rax, %r8 callq 0x7...
/GlobalArrays[P]ga/global/src/fapi.c
ga_nbput_
void FATR ga_nbput_(Integer *g_a, Integer *ilo, Integer *ihi, Integer *jlo, Integer *jhi, void *buf, Integer *ld, Integer *nbhandle) { Integer lo[2], hi[2]; lo[0]=*ilo; lo[1]=*jlo; hi[0]=*ihi; hi[1]=*jhi; wnga_nbput(*g_a, lo, hi, buf, ld, nbhandle); }
subq $0x28, %rsp movq %r9, %r10 movq 0x30(%rsp), %rax movq 0x38(%rsp), %r9 movq (%rsi), %r11 leaq 0x10(%rsp), %rsi movq %r11, (%rsi) movq (%rcx), %rcx movq %rcx, 0x8(%rsi) movq (%rdx), %rcx movq %rsp, %rdx movq %rcx, (%rdx) movq (%r8), %rcx movq %rcx, 0x8(%rdx) movq (%rdi), %rdi movq %r10, %rcx movq %rax, %r8 callq 0x6...
/GlobalArrays[P]ga/global/src/fapi.c
ga_release_update_
void FATR ga_release_update_(Integer *g_a, Integer *ilo, Integer *ihi, Integer *jlo, Integer *jhi) { Integer lo[2], hi[2]; lo[0]=*ilo; lo[1]=*jlo; hi[0]=*ihi; hi[1]=*jhi; wnga_release_update(*g_a, lo, hi); }
subq $0x28, %rsp movq (%rsi), %rax leaq 0x10(%rsp), %rsi movq %rax, (%rsi) movq (%rcx), %rax movq %rax, 0x8(%rsi) movq (%rdx), %rax movq %rsp, %rdx movq %rax, (%rdx) movq (%r8), %rax movq %rax, 0x8(%rdx) movq (%rdi), %rdi callq 0x729a7 addq $0x28, %rsp retq
/GlobalArrays[P]ga/global/src/fapi.c
nga_idot_patch_
Integer nga_idot_patch_(Integer *g_a, char *t_a, int alen, Integer *alo, Integer *ahi, Integer *g_b, char *t_b, int blen, Integer *blo, Integer *bhi) #endif { Integer retval; Integer atype, btype; pnga_inquire_type(*g_a, &atype); pnga_inquire_type(*g_b, &btype); if (atype != btype || (a...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %r9, 0x8(%rsp) movq %r8, %r13 movq %rcx, (%rsp) movq %rdx, %r15 movq %rsi, %r12 movq %rdi, %rbp movq (%rdi), %rdi leaq 0x18(%rsp), %rbx movq %rbx, %rsi callq 0x6cae1 movq (%r13), %rdi leaq 0x10(%rsp), %r14 movq %r14, %rsi callq 0x6c...
/GlobalArrays[P]ga/global/src/fapi.c
sga_add_patch
static void sga_add_patch(void *alpha, Integer g_a, Integer *ailo, Integer *aihi, Integer *ajlo, Integer *ajhi, void *beta, Integer g_b, Integer *bilo, Integer *bihi, Integer *bjlo, Integer *bjhi, Integer g_c, Integer *cilo, Integer *cihi, Integer *cjlo, Integer *cjhi) { Integer alo[2], ahi[2], blo[2], bhi[2], clo[...
pushq %r14 pushq %rbx subq $0x68, %rsp movq %r9, %rax movq %r8, %r10 movq 0x80(%rsp), %r8 movq 0x88(%rsp), %r9 movq 0xc0(%rsp), %r11 movq 0xb8(%rsp), %rbx movq (%rdx), %r14 leaq 0x50(%rsp), %rdx movq %r14, (%rdx) movq 0x98(%rsp), %r14 movq (%r10), %r10 movq %r10, 0x8(%rdx) movq (%rcx), %r10 leaq 0x40(%rsp), %rcx movq %...
/GlobalArrays[P]ga/global/src/fapi.c
ga_iadd_patch_
void FATR ga_iadd_patch_(Integer *alpha, Integer *g_a, Integer *ailo, Integer *aihi, Integer *ajlo, Integer *ajhi, Integer *beta, Integer *g_b, Integer *bilo, Integer *bihi, Integer *bjlo, Integer *bjhi, Integer *g_c, Integer *cilo, Integer *cihi, Integer *cjlo, Integer *cjhi) { Integer atype, btype, ctype; pn...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, 0x18(%rsp) movq %r8, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %rdx, %r12 movq %rsi, %rbp movq %rdi, %r13 movq 0xa0(%rsp), %r15 movq 0x78(%rsp), %r14 movq (%rsi), %rdi leaq 0x30(%rsp), %rbx movq %rbx, %rsi callq 0x6cae1 movq (%r14),...
/GlobalArrays[P]ga/global/src/fapi.c
ga_sadd_patch_
void FATR ga_sadd_patch_(Real *alpha, Integer *g_a, Integer *ailo, Integer *aihi, Integer *ajlo, Integer *ajhi, Real *beta, Integer *g_b, Integer *bilo, Integer *bihi, Integer *bjlo, Integer *bjhi, Integer *g_c, Integer *cilo, Integer *cihi, Integer *cjlo, Integer *cjhi) { Integer atype, btype, ctype; pnga_inq...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x38, %rsp movq %r9, 0x18(%rsp) movq %r8, 0x10(%rsp) movq %rcx, 0x8(%rsp) movq %rdx, %r12 movq %rsi, %rbp movq %rdi, %r13 movq 0xa0(%rsp), %r15 movq 0x78(%rsp), %r14 movq (%rsi), %rdi leaq 0x30(%rsp), %rbx movq %rbx, %rsi callq 0x6cae1 movq (%r14),...
/GlobalArrays[P]ga/global/src/fapi.c