name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
GA_Set_irreg_distr
void GA_Set_irreg_distr(int g_a, int map[], int block[]) { Integer aa, ndim; Integer _ga_work[MAXDIM]; Integer *_ga_map_capi; aa = (Integer)g_a; ndim = wnga_get_dimension(aa); COPYC2F(block,_ga_work, ndim); _ga_map_capi = copy_map(block, (int)ndim, map); wnga_set_irreg_distr(aa, _ga_ma...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %r15 movq %rsi, %r14 movslq %edi, %rbx movq %rbx, %rdi callq 0x7e34f testq %rax, %rax jle 0x194cd movq %r15, %rcx movq %rax, %rdx movslq (%rcx), %rsi movq %rsi, -0x8(%rsp,%rdx,8) addq $0x4, %rcx decq %rdx jne 0x194bc movq %r15, %rdi movl %eax, %esi movq %r14,...
/GlobalArrays[P]ga/global/src/capi.c
NGA_Set_irreg_distr
void NGA_Set_irreg_distr(int g_a, int map[], int block[]) { Integer aa, ndim; Integer _ga_work[MAXDIM]; Integer *_ga_map_capi; aa = (Integer)g_a; ndim = wnga_get_dimension(aa); COPYC2F(block,_ga_work, ndim); _ga_map_capi = copy_map(block, (int)ndim, map); wnga_set_irreg_distr(aa, _ga_m...
pushq %r15 pushq %r14 pushq %rbx subq $0x40, %rsp movq %rdx, %r15 movq %rsi, %r14 movslq %edi, %rbx movq %rbx, %rdi callq 0x7e34f testq %rax, %rax jle 0x19599 movq %r15, %rcx movq %rax, %rdx movslq (%rcx), %rsi movq %rsi, -0x8(%rsp,%rdx,8) addq $0x4, %rcx decq %rdx jne 0x19588 movq %r15, %rdi movl %eax, %esi movq %r14,...
/GlobalArrays[P]ga/global/src/capi.c
NGA_NbGet
void NGA_NbGet(int g_a, int lo[], int hi[], void* buf, int ld[], 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); COPYC...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0xb8, %rsp movq %r9, %rbx movq %r8, %r12 movq %rcx, %r14 movq %rdx, %r13 movq %rsi, %rbp movslq %edi, %r15 movq %r15, %rdi callq 0x825cc testq %rax, %rax jle 0x1a147 movq %rax, %rcx movslq (%rbp), %rdx incq %rdx movq %rdx, 0x78(%rsp,%rcx,8) addq $0...
/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 0x825cc testq %rax, %rax jle 0x1b0b4 movq %rax, %rcx movq (%rbp), %rdx incq %rdx movq %rdx, 0x88(%rsp,%rcx,8) addq $0x8...
/GlobalArrays[P]ga/global/src/capi.c
GA_Scan_copy
void GA_Scan_copy(int g_a, int g_b, int g_sbit, int lo, int hi) { Integer a = (Integer)g_a; Integer b = (Integer)g_b; Integer s = (Integer)g_sbit; Integer alo = lo+1; Integer ahi = hi+1; wnga_scan_copy(a, b, s, alo, ahi); }
movslq %edi, %rdi movslq %esi, %rsi movslq %edx, %rdx incl %ecx movslq %ecx, %rcx incl %r8d movslq %r8d, %r8 jmp 0x48a12
/GlobalArrays[P]ga/global/src/capi.c
NGA_Compare_distr
int NGA_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 0x85ab6 xorl %ecx, %ecx cmpq $0x1, %rax setne %cl movl %ecx, %eax popq %rcx retq
/GlobalArrays[P]ga/global/src/capi.c
NGA_Scatter_acc
void NGA_Scatter_acc(int g_a, void *v, int* subsArray[], int n, void *alpha) { int idx, 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(Integer)); if(_subs_a...
movq %r8, %r9 movslq %edi, %rdi movslq %ecx, %r8 movl $0x1, %ecx jmp 0x91d7e
/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, %r13 movb %sil, 0xf(%rsp) movb %r9b, 0xe(%rsp) movslq %edi, %rbx movq %rbx, %rdi callq 0x825cc movq %rax, %r12 movslq %ebp, %r14 movq %r14, %rdi callq 0x825cc testq %r1...
/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 0x825cc testq %rax, %rax jle 0x1f567 movq %rax, %rcx movslq (%r15), %rdx incq %rdx movq %rdx, 0x38(%rsp,%rcx,8) addq $0x4, %r15 decq %rcx jne 0x1f53a testq %rax, %rax jle 0x1f567 movslq (%r14), %rcx...
/GlobalArrays[P]ga/global/src/capi.c
GA_Elem_minimum_patch
void GA_Elem_minimum_patch(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 b = (Integer)g_b; Integer c = (Integer)g_c; Integer andim = wnga_ndim(a); Integer bndim = ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x198, %rsp # imm = 0x198 movq %r9, %r12 movq %r8, %rbp movq %rdx, %rbx movq %rsi, %r15 movslq 0x1d0(%rsp), %rax movq %rax, 0x8(%rsp) movslq %edi, %rdi movslq %ecx, %r13 movq %rdi, 0x10(%rsp) callq 0x825cc movq %rax, %r14 movq %r13, 0x18...
/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
trace_init_
void trace_init_(long *n) { MA_AccessIndex index; long err; if(*n<=0){ printf("trace_init>> invalid max number of events: %ld\n",*n); return; } current = 0; err = 0; /* MA_initialize(MT_INT,10000,10000); */ MAX_EVENTS = *n; if(!MA_push_get(MT_L...
movq (%rdi), %rsi testq %rsi, %rsi jle 0x2d1a2 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx movq $0x0, 0x29437d(%rip) # 0x2c14f0 movq %rsi, 0x29437e(%rip) # 0x2c14f8 addq %rsi, %rsi leaq 0x9846d(%rip), %rdx # 0xc55f1 leaq 0x294375(%rip), %rcx # 0x2c1500 movq %rsp, %r8 movl $0x3ea, %edi # imm = ...
/GlobalArrays[P]ga/global/src/ga_trace.c
gam_LocationF
void gam_LocationF(int proc, Integer g_handle, Integer subscript[], char **ptr_loc, Integer ld[]) { Integer _offset=0, _d, _w, _factor=1, _last=GA[g_handle].ndim-1; Integer _lo[MAXDIM], _hi[MAXDIM], _pinv, _p_handle; ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x1b8, %rsp # imm = 0x1B8 movq %r8, 0x18(%rsp) movq %rcx, %r12 movq %rdx, %r14 movl %edi, %r13d leaq 0x28d25e(%rip), %rax # 0x2c5c08 movq (%rax), %rbp imulq $0x368, %rsi, %r15 # imm = 0x368 leaq (%r15,%rbp), %rsi movswq (%rbp,%r1...
/GlobalArrays[P]ga/global/src/iterator.c
MA_get_mbase
public Pointer MA_get_mbase(Integer datatype) /* to get base address of */ { #ifdef STATS ma_stats.calls[(int)FID_MA_get_mbase]++; #endif /* STATS */ /* preinitialize if necessary */ ma_preinitialize("MA_get_mbase"); /* verify datatype */ if (!mt_valid(datatype)) { (void)sprintf(ma_...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %r14 incq 0x2519b5(%rip) # 0x2c5498 leaq 0x569e0(%rip), %rdi # 0xca4ca callq 0x73b46 leaq -0x3e8(%r14), %rax cmpq $0x11, %rax jae 0x73b0d leaq 0x7755d(%rip), %rax # 0xeb060 movq -0x1f40(%rax,%r14,8), %rbx jmp 0x73b3d leaq 0x251bbc(%rip), %r15 # 0x2c56d0 le...
/GlobalArrays[P]ga/ma/ma.c
MA_set_numalign
public Boolean MA_set_numalign(Integer value) { #ifdef STATS ma_stats.calls[(int)FID_MA_set_numalign]++; #endif /* STATS */ if ((value < 0) || (value > 30)) { (void)sprintf(ma_ebuf, "invalid alignment: %ld", (size_t)value); ma_error(EL_Nonfatal, ET_External, "MA_set...
pushq %r14 pushq %rbx pushq %rax movq %rdi, %rdx incq 0x250b6b(%rip) # 0x2c5540 cmpq $0x1f, %rdi jb 0x74a0d leaq 0x250cee(%rip), %r14 # 0x2c56d0 leaq 0x55d6d(%rip), %rsi # 0xca756 xorl %ebx, %ebx movq %r14, %rdi xorl %eax, %eax callq 0x30a0 leaq 0x55d71(%rip), %rdx # 0xca76d movl $0x1, %edi xorl %es...
/GlobalArrays[P]ga/ma/ma.c
iutest::UnitTest::UnitTest()
UnitTest() : m_repeat_counter(0) , m_init_iutest_count(0) , m_test_started(false) , m_start_timestamp(0) { // デフォルトリポーターをセット TestEnv::SetGlobalTestPartResultReporter(&m_default_test_part_result_reporter); // 環境変数によるテストフラグ指定をロード TestEnv::LoadEnvironment...
pushq %r15 pushq %r14 pushq %rbx movq %rdi, %rbx xorl %eax, %eax movq %rax, (%rdi) movl $0x0, 0x8(%rdi) xorps %xmm0, %xmm0 movups %xmm0, 0x10(%rdi) movups %xmm0, 0x20(%rdi) movups %xmm0, 0x30(%rdi) movups %xmm0, 0x40(%rdi) movups %xmm0, 0x50(%rdi) movups %xmm0, 0x60(%rdi) movq %rdi, 0x17e26(%rip) # 0x2d860 leaq 0x7...
/srz-zumix[P]iutest/include/iutest_core.hpp
iutest::detail::iuCodeMessage::make_newline_message[abi:cxx11]() const
::std::string make_newline_message() const { return make_message() + "\n"; }
pushq %r15 pushq %r14 pushq %rbx subq $0x20, %rsp movq %rsi, %r14 movq %rdi, %rbx movq 0x20(%rsi), %rsi movl 0x28(%r14), %edx movq %rsp, %r15 movq %r15, %rdi callq 0x16751 leaq 0xbec4(%rip), %rsi # 0x222b7 movq %r15, %rdi callq 0x10570 movq (%r14), %rsi movq %rsp, %rdi callq 0x10570 leaq 0xdbed(%rip), %rsi # ...
/srz-zumix[P]iutest/include/internal/../internal/iutest_message.hpp
iutest::TestEnv::set_stream_result_to(char const*)
static bool IsEnableFlag(int flag) { return (GetInstance().m_test_flags & flag) ? true : false; }
pushq %rbx subq $0x30, %rsp testq %rdi, %rdi leaq 0xd3b2(%rip), %rsi # 0x23ffb cmovneq %rdi, %rsi leaq 0x10(%rsp), %rdi leaq 0xf(%rsp), %rdx callq 0x1178a callq 0x1502e movq %rax, %rbx leaq 0x80(%rax), %rdi leaq 0x10(%rsp), %rsi callq 0x10180 movb $0x1, 0x78(%rbx) leaq 0x20(%rsp), %rax movq -0x10(%rax), %rdi cmpq ...
/srz-zumix[P]iutest/include/internal/../internal/../iutest_env.hpp
iutest::detail::IFileSystem::ReadAll(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
static bool ReadAll(const char* filename, ::std::string& dst) { IFile* fp = detail::IFileSystem::New(); if(fp == NULL) { return false; } if(!fp->Open(filename, IFile::OpenRead)) { detail::IFileSystem::Free(fp); return false; ...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %r15 movq 0x16a7b(%rip), %rdi # 0x2d870 testq %rdi, %rdi je 0x16e05 movq (%rdi), %rax callq *0x18(%rax) movq %rax, %rbx jmp 0x16e07 xorl %ebx, %ebx testq %rbx, %rbx je 0x16e83 movq (%rbx), %rax movq %rbx, %rdi movq %r15, %rsi mo...
/srz-zumix[P]iutest/include/internal/../internal/../impl/../internal/iutest_file.hpp
iutest::detail::StringRemoveComment(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline ::std::string StringRemoveComment(const ::std::string& str) { ::std::string r; ::std::string::size_type prev = 0; ::std::string::size_type pos = str.find('\n', 0); while( pos != ::std::string::npos ) { ++pos; if( str[prev] != '#' ) { r += str.substr(prev, pos-prev)...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %r13 movq %r13, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) xorl %r15d, %r15d movq %rsi, %rdi movl $0xa, %esi xorl %edx, %edx callq 0x103d0 cmpq $-0x1, %rax je 0x1701d leaq 0x18(%rsp...
/srz-zumix[P]iutest/include/internal/iutest_string.hpp
iutest::TestEnv::ReleaseGlobalTestEnvironment()
static iuEnvironmentList& environments() { return get_vars().m_environment_list; }
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax callq 0x1502e movq 0xd0(%rax), %rbx callq 0x1502e cmpq 0xd8(%rax), %rbx je 0x17252 leaq 0x8(%rbx), %r14 movq (%rbx), %r15 callq 0x1502e movq %rax, %r12 movq 0xd8(%rax), %rdx cmpq %rdx, %r14 je 0x1722d subq %r14, %rdx movq %rbx, %rdi movq %r14, %rsi callq 0x104b0 ad...
/srz-zumix[P]iutest/include/internal/../internal/../iutest_env.hpp
iutest::StdioFile::OpenImpl(char const*, int)
virtual bool OpenImpl(const char* filename, int mode) IUTEST_CXX_OVERRIDE { Close(); switch( mode ) { case IFile::OpenRead: m_fp = internal::posix::FileOpen(filename, "rb"); break; case IFile::OpenWrite: m_fp = internal::posix::FileOpen(fil...
pushq %rbp pushq %r14 pushq %rbx movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movq (%rdi), %rax callq *0x20(%rax) decl %ebp cmpl $0x2, %ebp ja 0x17591 movl %ebp, %eax leaq 0xd2a2(%rip), %rcx # 0x24820 movslq (%rcx,%rax,4), %rsi addq %rcx, %rsi movq %r14, %rdi callq 0x10320 movq %rax, 0x10(%rbx) cmpq $0x0, 0x10(...
/srz-zumix[P]iutest/include/internal/../internal/../impl/../internal/iutest_file.hpp
iutest::detail::IInStream::ReadAll[abi:cxx11]()
virtual ::std::string ReadAll() { ::std::string str; const size_t size = static_cast<size_t>(GetSize()); if( size != 0 ) { char* buf = new char[size+1]; buf[size] = '\0'; if( Read(buf, size, 1) ) { str = buf; ...
pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx leaq 0x10(%rdi), %r13 movq %r13, (%rdi) movq $0x0, 0x8(%rdi) movb $0x0, 0x10(%rdi) movq (%rsi), %rax movq %rsi, %rdi callq *0x18(%rax) movq %rax, %r12 testq %rax, %rax je 0x176ae leaq 0x1(%r12), %rdi callq 0x10030 movq %rax, %r14 mov...
/srz-zumix[P]iutest/include/internal/../internal/../impl/../internal/iutest_stream.hpp
iutest::detail::StringFormat[abi:cxx11](char const*, __va_list_tag*)
inline ::std::string StringFormat(const char* format, va_list va) { size_t n = strlen(format) * 2 + 1; { va_list va2; iu_va_copy(va2, va); // cppcheck-suppress va_list_usedBeforeStarted const int ret = iu_vsnprintf(NULL, 0u, format, va2); va_end(va2); if( ret > 0 ) ...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %rbx movq %rsi, %rdi callq 0x10120 leaq 0x1(,%rax,2), %rbp movq 0x10(%r14), %rax leaq 0x10(%rsp), %r12 movq %rax, 0x10(%r12) movups (%r14), %xmm0 movaps %xmm0, (%r12) xorl %edi, %edi xorl %esi, ...
/srz-zumix[P]iutest/include/internal/iutest_string.hpp
iutest::TestEnv::set_locale_ctype(char const*)
static bool IsEnableFlag(int flag) { return (GetInstance().m_test_flags & flag) ? true : false; }
pushq %r15 pushq %r14 pushq %rbx testq %rdi, %rdi leaq 0xc0dc(%rip), %rbx # 0x23ffb cmovneq %rdi, %rbx callq 0x1502e movq 0x2b0(%rax), %r14 leaq 0x2a8(%rax), %r15 movq %rbx, %rdi callq 0x10120 movq %r15, %rdi xorl %esi, %esi movq %r14, %rdx movq %rbx, %rcx movq %rax, %r8 popq %rbx popq %r14 popq %r15 jmp 0x10470
/srz-zumix[P]iutest/include/internal/../internal/../iutest_env.hpp
iutest::TestSuite::testsuite_name_with_where[abi:cxx11]() const
::std::string testsuite_name_with_where() const { ::std::string str = m_testsuite_name; if( type_param() != NULL ) { str += ", where TypeParam = "; str += type_param(); } return str; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %r15 movq %r15, (%rdi) movq 0x8(%rsi), %rsi movq 0x10(%r14), %rdx addq %rsi, %rdx callq 0x154bc movq (%r14), %rax movq %r14, %rdi callq *0x10(%rax) testq %rax, %rax je 0x1a427 leaq 0x9ae4(%rip), %rsi # 0x23eef movq %rbx, %rdi callq 0...
/srz-zumix[P]iutest/include/internal/../iutest_suite.hpp
iutest::TestInfo::test_name_with_where[abi:cxx11]() const
::std::string test_name_with_where() const { ::std::string str = m_testname; if( value_param() != NULL ) { str += ", where GetParam() = "; str += m_value_param; } return str; }
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx leaq 0x10(%rdi), %r15 movq %r15, (%rdi) movq (%rsi), %rsi movq 0x8(%r14), %rdx addq %rsi, %rdx callq 0x154bc cmpq $0x0, 0x28(%r14) je 0x1a49c cmpq $0x0, 0x20(%r14) je 0x1a49c leaq 0x9a80(%rip), %rsi # 0x23f04 movq %rbx, %rdi callq 0x10570 movq 0x20(%...
/srz-zumix[P]iutest/include/internal/../iutest_info.hpp
iutest::TestSuite::Passed() const
bool Passed() const { return failed_test_count() == 0 && m_ad_hoc_testresult.Passed(); }
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdi, %rbx cmpl $0x0, 0x5c(%rdi) je 0x1a581 movq 0x28(%rbx), %r14 movq 0x30(%rbx), %r15 cmpq %r15, %r14 je 0x1a581 xorl %ebp, %ebp movq (%r14), %rdi cmpb $0x1, 0x98(%rdi) movl $0x0, %eax jne 0x1a56e addq $0x40, %rdi callq 0x1a4c4 movzbl %al, %eax addl %eax, %e...
/srz-zumix[P]iutest/include/internal/../iutest_suite.hpp
unsigned int std::uniform_int_distribution<unsigned long>::_S_nd<unsigned long, iutest::detail::iuRandom::Engine, unsigned int>(iutest::detail::iuRandom::Engine&, unsigned int)
result_type gen() { const unsigned int t = (m_v1 ^ (m_v1 << 11)); m_v1 = m_v2; m_v2 = m_v3; m_v3 = m_v4; m_v4 = (m_v4 ^ (m_v4 >> 19)) ^ (t ^ (t >> 8)); return m_v4; }
movl (%rdi), %eax movl %eax, %ecx shll $0xb, %ecx xorl %eax, %ecx movq 0x4(%rdi), %rax movq %rax, (%rdi) movl 0xc(%rdi), %eax movl %eax, 0x8(%rdi) movl %eax, %edx shrl $0x13, %edx xorl %ecx, %edx shrl $0x8, %ecx xorl %edx, %ecx xorl %eax, %ecx movl %ecx, 0xc(%rdi) movl %esi, %r8d imulq %r8, %rcx cmpl %esi, %ecx jae 0x1...
/srz-zumix[P]iutest/include/internal/../internal/../internal/iutest_random.hpp
doctest::(anonymous namespace)::ConsoleReporter::file_line_to_stream(char const*, int, char const*)
virtual void file_line_to_stream(const char* file, int line, const char* tail = "") { s << Color::LightGrey << skipPathFromFilename(file) << (opt.gnu_file_line ? ":" : "(") << (opt.no_line_numbers ? 0 : line) // 0 or the real num depending on the option ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rcx, %rbx movl %edx, %ebp movq %rsi, %r12 movq %rdi, %r14 movq 0x8(%rdi), %r15 movq %r15, %rdi movl $0x17, %esi callq 0xa991 movq %r12, %rdi callq 0xae1f testq %rax, %rax je 0x1db0c movq %rax, %r12 movq %rax, %rdi callq 0x61b0 movq %r15, %rdi movq %r12, %rsi ...
/taskflow[P]taskflow/3rd-party/doctest/doctest.h
void tf::Executor::_schedule<tf::Node**>(tf::Worker&, tf::Node**, tf::Node**)
void Executor::_schedule(Worker& worker, I first, I last) { size_t num_nodes = last - first; if(num_nodes == 0) { return; } // NOTE: We cannot use first/last in the for-loop (e.g., for(; first != last; ++first)). // This is because when a node v is inserted into the queue, v can run and finish /...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $0x28, %rsp movq %rcx, %r15 movq %rdx, (%rsp) subq %rdx, %r15 je 0x23614 movq %rsi, %r12 movq %rdi, %r14 sarq $0x3, %r15 cmpq %rdi, 0x18(%rsi) je 0x23591 cmpq $0x1, %r15 movq %r15, 0x10(%rsp) movq %r15, %rbp adcq $0x0, %rbp xorl %ebx, %ebx movq (%rs...
/taskflow[P]taskflow/taskflow/core/executor.hpp
bsp_abort_va
void bsp_abort_va( const char * format, va_list ap ) { int mpi_init = 0; MPI_Initialized( & mpi_init ); s_aborting = true; if (s_expect_abort_msg) { char buffer[200]; std::vsnprintf(buffer, sizeof(buffer), format, ap ); size_t len = strlen( s_expect_abort_msg ); if (len...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) leaq -0x14(%rbp), %rdi callq 0x15190 movb $0x1, 0x2aa1e(%rip) # 0x40338 cmpq $0x0, 0x2aa0e(%rip) # 0x40330 je 0x159db leaq -0xe0(%rbp), %rdi movq -0x8(%rbp), %rdx movq -0x10(%rbp), %rcx movl $0xc8, %e...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_init
void bsp_init( void (*spmd_part)(void), int argc, char *argv[]) { int pid = -1; int mpi_init = 0; MPI_Initialized(&mpi_init); if (!mpi_init) { MPI_Init(&argc, &argv); atexit( bsp_check_exit ); } if (s_spmd) bsp_abort( "bsp_init: May be called only once\n" ); if (!sp...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movl $0xffffffff, -0x1c(%rbp) # imm = 0xFFFFFFFF movl $0x0, -0x20(%rbp) leaq -0x20(%rbp), %rdi callq 0x15190 cmpl $0x0, -0x20(%rbp) jne 0x15a99 leaq -0xc(%rbp), %rdi leaq -0x18(%rbp), %rsi callq 0x154f0 leaq 0...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_begin
void bsp_begin( bsp_pid_t maxprocs ) { int mpi_init = 0; MPI_Initialized(&mpi_init); if (!mpi_init) { MPI_Init(NULL, NULL); atexit( bsp_check_exit ); } int mpi_pid = 0; MPI_Comm_rank( MPI_COMM_WORLD, &mpi_pid ); if (s_spmd) bsp_abort( "bsp_begin: May be called only ...
pushq %rbp movq %rsp, %rbp subq $0x100, %rsp # imm = 0x100 movl %edi, -0x4(%rbp) movl $0x0, -0x8(%rbp) leaq -0x8(%rbp), %rdi callq 0x15190 cmpl $0x0, -0x8(%rbp) jne 0x15c5c xorl %eax, %eax movl %eax, %esi movq %rsi, %rdi callq 0x154f0 leaq -0xf7(%rip), %rdi # 0x15b60 callq 0x30310 movl $0x0, -0xc(%rbp)...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_end
void bsp_end() { if (!s_spmd) bsp_abort("bsp_end: called without calling bsp_begin() before\n"); if (s_spmd->closed()) bsp_abort("bsp_end: may not be called multiple times\n"); if (s_spmd->end_sync()) bsp_abort("bsp_sync/bsp_end: Some processes have called bsp_sync, " ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp cmpq $0x0, 0x2a180(%rip) # 0x40340 jne 0x161d0 leaq 0x1b35d(%rip), %rdi # 0x31526 movb $0x0, %al callq 0x15850 movq 0x2a169(%rip), %rdi # 0x40340 callq 0x17c80 testb $0x1, %al jne 0x161e2 jmp 0x161f0 leaq 0x1b371(%rip), %rdi # 0x3155a movb $0x0, %al callq 0x15...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_nprocs
bsp_pid_t bsp_nprocs() { if (!s_spmd) { int init, fini; MPI_Initialized( & init ); MPI_Finalized( &fini ); if ( fini ) bsp_abort("bsp_nprocs: internal error\n"); if (!init ) { MPI_Init(NULL, NULL); atexit( bsp_check_exit ); ...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp cmpq $0x0, 0x2a070(%rip) # 0x40340 jne 0x16335 leaq -0x8(%rbp), %rdi callq 0x15190 leaq -0xc(%rbp), %rdi callq 0x152c0 cmpl $0x0, -0xc(%rbp) je 0x162f8 leaq 0x1b374(%rip), %rdi # 0x31665 movb $0x0, %al callq 0x15850 cmpl $0x0, -0x8(%rbp) jne 0x16316 xorl %eax, %eax mo...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_sync
void bsp_sync() { if (!s_spmd || s_spmd->closed()) bsp_abort("bsp_sync: can only be called within SPMD section\n"); if (s_spmd->normal_sync()) bsp_abort("bsp_sync/bsp_end: Some processes have called bsp_sync, " "while others have called bsp_end instead\n"); #ifdef PROFILE { ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp cmpq $0x0, 0x29f60(%rip) # 0x40340 je 0x163f4 movq 0x29f57(%rip), %rdi # 0x40340 callq 0x17c80 testb $0x1, %al jne 0x163f4 jmp 0x16402 leaq 0x1b2e9(%rip), %rdi # 0x316e4 movb $0x0, %al callq 0x15850 movq 0x29f37(%rip), %rdi # 0x40340 callq 0x1b4d0 cmpl $0x0, %...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_pop_reg
void bsp_pop_reg( const void * addr ) { if (!s_spmd || s_spmd->closed()) bsp_abort("bsp_pop_reg: can only be called within SPMD section\n"); bsplib::Rdma::Memslot slot = s_rdma->lookup_reg( addr, true, false ); if ( s_rdma->no_slot() == slot ) bsp_abort("bsp_pop_reg: memory at address %p wa...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) cmpq $0x0, 0x29d1c(%rip) # 0x40340 je 0x16638 movq 0x29d13(%rip), %rdi # 0x40340 callq 0x17c80 testb $0x1, %al jne 0x16638 jmp 0x16646 leaq 0x1b146(%rip), %rdi # 0x31785 movb $0x0, %al callq 0x15850 movq 0x29cfb(%rip), %rdi # 0x40348 movq...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bsp_put
void bsp_put( bsp_pid_t pid, const void * src, void * dst, bsp_size_t offset, bsp_size_t nbytes ) { #ifdef PROFILE TicToc t( TicToc::PUT, nbytes ); #endif if (!s_spmd || s_spmd->closed()) bsp_abort("bsp_put: can only be called within SPMD section\n"); if (nbytes == 0) // ignore any empty w...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movl %r8d, -0x20(%rbp) cmpq $0x0, 0x29c7e(%rip) # 0x40340 je 0x166d6 movq 0x29c75(%rip), %rdi # 0x40340 callq 0x17c80 testb $0x1, %al jne 0x166d6 jmp 0x166e4 leaq 0x1b113(%rip),...
/wijnand-suijlen[P]bsponmpi/src/bsp.cc
bool bsplib::read_env<unsigned long>(char const*, unsigned long&)
bool read_env( const char * str, T & result ) { #if HAS_DUPENV_S_WIN32 char * env = NULL; if (_dupenv_s( &env, NULL , str) ) return false; #else const char * env = std::getenv( str ); #endif if (env) { std::istringstream s( env ); #if HAS_DUPENV_S_WIN32 ...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x153e0 movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x17e2b movq -0x20(%rbp), %rax movq %rax, -0x1e8(%rbp) leaq -0x1c1(%rbp), %rdi movq %rdi, -0x1e0(%rbp) callq 0x155d0 m...
/wijnand-suijlen[P]bsponmpi/src/config.h
bool bsplib::read_env<int>(char const*, int&)
bool read_env( const char * str, T & result ) { #if HAS_DUPENV_S_WIN32 char * env = NULL; if (_dupenv_s( &env, NULL , str) ) return false; #else const char * env = std::getenv( str ); #endif if (env) { std::istringstream s( env ); #if HAS_DUPENV_S_WIN32 ...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x153e0 movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x1802b movq -0x20(%rbp), %rax movq %rax, -0x1e8(%rbp) leaq -0x1c1(%rbp), %rdi movq %rdi, -0x1e0(%rbp) callq 0x155d0 m...
/wijnand-suijlen[P]bsponmpi/src/config.h
bool bsplib::read_env<double>(char const*, double&)
bool read_env( const char * str, T & result ) { #if HAS_DUPENV_S_WIN32 char * env = NULL; if (_dupenv_s( &env, NULL , str) ) return false; #else const char * env = std::getenv( str ); #endif if (env) { std::istringstream s( env ); #if HAS_DUPENV_S_WIN32 ...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0x153e0 movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) je 0x181bb movq -0x20(%rbp), %rax movq %rax, -0x1e8(%rbp) leaq -0x1c1(%rbp), %rdi movq %rdi, -0x1e0(%rbp) callq 0x155d0 m...
/wijnand-suijlen[P]bsponmpi/src/config.h
bsplib::Rdma::~Rdma()
class DLL_LOCAL Rdma { public: struct Memblock { void * addr; size_t size; enum Status { NORMAL=0x0, PUSHED=0x1, POPPED=0x2 }; unsigned status; }; typedef size_t Memslot; Rdma( MPI_Comm comm , size_t max_msg_size, size_t small_exch_size, double alpha, double beta...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x10(%rbp) addq $0x4d0, %rdi # imm = 0x4D0 callq 0x18c10 movq -0x10(%rbp), %rdi addq $0x4a0, %rdi # imm = 0x4A0 callq 0x18c10 movq -0x10(%rbp), %rdi addq $0x428, %rdi # imm = 0x428 callq ...
/wijnand-suijlen[P]bsponmpi/src/rdma.h
bsplib::A2A::exchange()
void A2A::exchange( ) { std::size_t max_recv = 0, max_bruck_vol = 0; std::size_t new_cap = m_send_cap; { #ifdef PROFILE TicToc t( TicToc::MPI_META_A2A, 4*sizeof(std::size_t)*m_nprocs ); #endif // exchange data sizes. MPI_Alltoall( m_send_sizes.data(), sizeof(std::size_t), MPI_BY...
pushq %rbp movq %rsp, %rbp subq $0x280, %rsp # imm = 0x280 movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x150(%rbp) movq $0x0, -0x10(%rbp) movq $0x0, -0x18(%rbp) movq 0x20(%rdi), %rax movq %rax, -0x20(%rbp) addq $0x78, %rdi callq 0x1d4c0 movq -0x150(%rbp), %rdi movq %rax, -0x158(%rbp) addq $0xc0, ...
/wijnand-suijlen[P]bsponmpi/src/a2a.cc
bsplib::Unbuf::Unbuf(unsigned long, ompi_communicator_t*)
Unbuf::Unbuf( size_t max_msg_size, MPI_Comm comm) : m_pid(-1), m_nprocs(-1) , m_comm(MPI_COMM_NULL) , m_max_msg_size( max_msg_size ) { MPI_Comm_dup( comm, &m_comm ); MPI_Comm_size( m_comm, &m_nprocs ); MPI_Comm_rank( m_comm, &m_pid ); }
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x40(%rbp) movl $0xffffffff, (%rdi) # imm = 0xFFFFFFFF movl $0xffffffff, 0x4(%rdi) # imm = 0xFFFFFFFF movq %rdi, %rax addq $0x8, %rax movq %rax, -0x30(%rbp) movq 0x1efdd...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::send(int, void const*, unsigned long)
int Unbuf :: send( int dst_pid, const void * addr, size_t size ) { size_t int_max = std::numeric_limits<int>::max(); if ( m_sends.size() > (int_max/2 - m_pid)/m_nprocs ) throw exception("bsp_hpput") << "Too many HP messages"; Entry entry = { dst_pid, static_cast<char *>(const_c...
pushq %rbp movq %rsp, %rbp subq $0x220, %rsp # imm = 0x220 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x208(%rbp) callq 0x17e50 movq -0x208(%rbp), %rdi cltq movq %rax, -0x28(%rbp) addq $0x18, %rdi callq 0x21be0 movq -0x208(%rbp)...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::send(int, int, void const*, unsigned long)
void Unbuf :: send( int recv_tag, int dst_pid, const void * addr, size_t size ) { Entry entry = { dst_pid, static_cast<char *>(const_cast<void*>(addr)), size, recv_tag }; m_sends.push_back( entry ); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq %r8, -0x20(%rbp) movq -0x8(%rbp), %rdi movl -0x10(%rbp), %eax movl %eax, -0x40(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x38(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x30(%rbp) movl...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::recv(int, void*, unsigned long)
int Unbuf :: recv( int src_pid, void * addr, size_t size ) { size_t int_max = std::numeric_limits<int>::max(); if ( m_recvs.size() > int_max ) throw exception("bsp_hpput") << "Too many HP messages"; Entry entry = { src_pid, static_cast<char *>(addr), size, ...
pushq %rbp movq %rsp, %rbp subq $0x210, %rsp # imm = 0x210 movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x200(%rbp) callq 0x17e50 movq -0x200(%rbp), %rdi cltq movq %rax, -0x28(%rbp) addq $0x30, %rdi callq 0x21be0 cmpq -0x28(%rbp),...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::recv(int, int, void*, unsigned long)
void Unbuf :: recv( int send_tag, int src_pid, void * addr, size_t size ) { Entry entry = { src_pid, static_cast<char *>(addr), size, send_tag }; m_recvs.push_back( entry ); }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq %r8, -0x20(%rbp) movq -0x8(%rbp), %rdi movl -0x10(%rbp), %eax movl %eax, -0x40(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x38(%rbp) movq -0x20(%rbp), %rax movq %rax, -0x30(%rbp) movl...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::start()
void Unbuf :: start( ) { m_reqs.resize( m_sends.size() + m_recvs.size() ); size_t j = 0; for ( size_t i = 0 ; i < m_recvs.size(); ++j, ++i ) { Entry & u = m_recvs[i]; size_t size = std::min( m_max_msg_size, u.size ); char * addr = const_cast<char *>( u.addr ); char * next_addr = add...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x88(%rbp) movq %rdi, %rax addq $0x48, %rax movq %rax, -0x78(%rbp) addq $0x18, %rdi callq 0x21be0 movq -0x88(%rbp), %rdi movq %rax, -0x80(%rbp) addq $0x30, %rdi callq 0x21be0 movq -0x80(%rbp), %rsi movq -0x78(%rbp), %rdi...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Unbuf::wait()
void Unbuf :: wait( ) { while (true) { int outcount = MPI_UNDEFINED; MPI_Waitsome( int(m_reqs.size()), m_reqs.data(), &outcount, m_ready.data(), MPI_STATUSES_IGNORE ); if (outcount == MPI_UNDEFINED ) break; for (int i = 0; i < outcount; ++i ) {...
pushq %rbp movq %rsp, %rbp subq $0xe0, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x70(%rbp) movq -0x70(%rbp), %rdi movl $0xffff8002, -0xc(%rbp) # imm = 0xFFFF8002 addq $0x48, %rdi callq 0x1d600 movq -0x70(%rbp), %rdi movl %eax, -0x7c(%rbp) addq $0x48, %rdi callq 0x1d620 movq -0x70(%rbp), %rdi movq %r...
/wijnand-suijlen[P]bsponmpi/src/unbuf.cc
bsplib::Rdma::Rdma(ompi_communicator_t*, unsigned long, unsigned long, double, double, unsigned long, bsplib::A2A::Method)
Rdma :: Rdma( MPI_Comm comm, size_t max_msg_size, size_t small_exch_size, double alpha, double beta, size_t min_n_hp_msg_size, A2A::Method method ) : m_first_exchange( comm, max_msg_size, small_exch_size, alpha, beta, method ) , m_second_exchange( comm, max_msg_size, small_...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movsd %xmm0, -0x28(%rbp) movsd %xmm1, -0x30(%rbp) movq %r8, -0x38(%rbp) movl %r9d, -0x3c(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x60(%rbp) movq %rdi, %rax movq %rax, -0x68(%rbp) movq -...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::push_reg(void*, unsigned long)
void Rdma::push_reg( void * addr, size_t size ) { Memslot id = no_slot(); if ( m_free_slots.empty() ) { id = m_used_slots.size() / m_nprocs; if ( m_used_slots.capacity() < m_used_slots.size() + m_nprocs ) m_used_slots.reserve( std::max( 2*m_used_slots.capacit...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x70(%rbp) callq 0x18890 movq -0x70(%rbp), %rdi movq %rax, -0x20(%rbp) addq $0x350, %rdi # imm = 0x350 callq 0x259f0 testb $0x1, %al jne 0x231b1 jmp 0x232ad movq -...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::pop_reg(unsigned long)
void Rdma::pop_reg( Memslot id ) { assert( id == null_slot() || !( slot(m_pid, id ).status & Memblock::POPPED) ); if ( id != null_slot() ) { slot( m_pid, id ).status |= Memblock::POPPED; } m_send_push_pop_comm_buf.m_popped_slots.push_back( id ); }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) callq 0x1a150 movq -0x20(%rbp), %rcx movq %rax, %rdx movb $0x1, %al cmpq %rdx, %rcx movb %al, -0x11(%rbp) je 0x233da movq -0x28(%rbp), %rdi ...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::put(void const*, int, unsigned long, unsigned long, unsigned long)
void Rdma::put( const void * src, int dst_pid, Memslot dst_slot, size_t dst_offset, size_t size ) { #ifdef PROFILE TicToc t( TicToc::PUT ); size_t t_a = m_second_exchange.send_size(dst_pid); #endif assert( ! (slot( m_pid, dst_slot ).status & Memblock::PUSHED) ); serial( m_second_exchange, dst_...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x38(%rbp) movl 0x2f0(%rdi), %esi movq -0x20(%rbp), %rdx callq 0x188a0 movl 0x10(%rax), %eax andl $0x1, %ea...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::hpput(void const*, int, unsigned long, unsigned long, unsigned long)
void Rdma::hpput( const void * src, int dst_pid, Memslot dst_slot, size_t dst_offset, size_t size ) { #ifdef PROFILE TicToc t( TicToc::HPPUT ); #endif if ( size < m_min_n_hp_msg_size ) { put( src, dst_pid, dst_slot, dst_offset, size ); return; } assert( ! (slot( m_pid, dst_slot...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x88(%rbp) movq -0x30(%rbp), %rax cmpq 0x2f8(%rcx), %rax jae 0x2359e movq -0x88(%rbp), %rdi movq -0x10(%rbp...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::hpget(int, unsigned long, unsigned long, void*, unsigned long)
void Rdma::hpget( int src_pid, Memslot src_slot, size_t src_offset, void * dst, size_t size ) { #ifdef PROFILE TicToc t( TicToc::HPGET ); #endif if ( size < m_min_n_hp_msg_size ) { get( src_pid, src_slot, src_offset, dst, size ); return; } assert( !( slot( m_pid, src_slot ).sta...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x80(%rbp) movq -0x30(%rbp), %rax cmpq 0x2f8(%rcx), %rax jae 0x23808 movq -0x80(%rbp), %rdi movl -0xc(%rbp),...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::write_gets()
void Rdma::write_gets() { #ifdef PROFILE TicToc t(TicToc::GET ); #endif for (int p = 0; p < m_nprocs; ++p){ size_t start = m_recv_actions.m_get_buffer_offset[p]; m_second_exchange.recv_pop( p, start ); while ( m_second_exchange.recv_size( p ) > 0 ) { size_t size, slot; ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x38(%rbp) movl $0x0, -0xc(%rbp) movq -0x38(%rbp), %rcx movl -0xc(%rbp), %eax cmpl 0x2f4(%rcx), %eax jge 0x23a21 movq -0x38(%rbp), %rdi addq $0x3d8, %rdi # imm = 0x3D8 addq $0x30, %rdi movslq -0xc(%rbp), %rsi ...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::ActionBuf::serialize(bsplib::A2A&)
void Rdma::ActionBuf::serialize( A2A & a2a ) { for (int p = 0; p < a2a.nprocs(); ++p ) { serial( a2a, p, m_dummy_bsmp ); serial( a2a, p, m_get_buffer_offset[ p ] ); serial( a2a, p, m_counts[ p ] ); } for (size_t i = 0; i < m_actions.size(); ++i ) { Action a = m_actions...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x60(%rbp) movl $0x0, -0x14(%rbp) movl -0x14(%rbp), %eax movl %eax, -0x64(%rbp) movq -0x10(%rbp), %rdi callq 0x25840 movl %eax, %ecx movl -0x64(%rbp), %eax cmpl %ecx, %eax jge 0x24027 movq -0x60(%r...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::Rdma::PushPopCommBuf::deserialize(bsplib::A2A&)
void Rdma::PushPopCommBuf::deserialize( A2A & a2a ) { size_t n_pushed_slots = 0; // read pushed slots for (int p = 0; p < a2a.nprocs(); ++p) { size_t n; deserial( a2a, p, n ); if ( p == 0 ) { n_pushed_slots = n; m_pushed_slots.resize( a2a.nprocs() * n ); ...
pushq %rbp movq %rsp, %rbp subq $0x690, %rsp # imm = 0x690 movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq %rax, -0x5a8(%rbp) movq $0x0, -0x18(%rbp) movl $0x0, -0x1c(%rbp) movl -0x1c(%rbp), %eax movl %eax, -0x5ac(%rbp) movq -0x10(%rbp), %rdi callq 0x25840 movl %eax, %ecx movl -0x5ac(%...
/wijnand-suijlen[P]bsponmpi/src/rdma.cc
bsplib::AlignedBuf::append(unsigned long)
void * append( size_t extra_bytes ) { extra_bytes = align( extra_bytes ); if ( m_size + extra_bytes > m_capacity ) { size_t newsize = std::max( 2 * m_capacity, m_size + extra_bytes ); void * ptr = std::malloc( newsize + 2*m_alignment ); void * aligned_ptr = align( ptr...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rdi movq %rdi, -0x48(%rbp) movq -0x10(%rbp), %rsi callq 0x1ae60 movq -0x48(%rbp), %rcx movq %rax, -0x10(%rbp) movq 0x20(%rcx), %rax addq -0x10(%rbp), %rax cmpq 0x18(%rcx), %rax jbe 0x2cde9 movq -0x48(%rbp), %rax m...
/wijnand-suijlen[P]bsponmpi/src/aligned_buf.h
bsplib::LinCost::get_bruck_vol()
std::size_t LinCost::get_bruck_vol() { if ( m_nprocs == 1 ) return m_sizes.back(); // Make sure the list m_sizes consists of unique numbers, sorted in // increasing order, while m_counts contains the multiplicity std::sort( m_sizes.begin(), m_sizes.end() ); unsigned k = 0; for ( unsigned i = 0,...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x88(%rbp) cmpl $0x1, 0x10(%rax) jne 0x2d9cc movq -0x88(%rbp), %rdi addq $0x18, %rdi callq 0x25c20 movq (%rax), %rax movq %rax, -0x8(%rbp) jmp 0x2de40 movq -0x88(%rbp), %rdi addq $0x18, %rdi callq 0x1d550 movq -0x88(%r...
/wijnand-suijlen[P]bsponmpi/src/lincost.cc
int_log
unsigned int_log( unsigned base, unsigned x ) { unsigned q = base; unsigned y = 1, result = 0; unsigned powers[ CHAR_BIT*sizeof(unsigned) ]; /* We use that we want to find a binary representation of the log base q of x Find n s.t. q^n = x Or when n is in base 2 q...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movl %edi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl -0x8(%rbp), %eax movl %eax, -0x10(%rbp) movl $0x1, -0x14(%rbp) movl $0x0, -0x18(%rbp) movl $0x0, -0xa4(%rbp) movl $0x1, -0xa8(%rbp) movl -0x10(%rbp), %eax movl %eax, -0xac(%rbp) cmpl $0x0, -0x10(%rbp) je 0x2f50e cmpl $0x1, -0x1...
/wijnand-suijlen[P]bsponmpi/src/util.c
Thumb_getInstruction
static DecodeStatus _Thumb_getInstruction(cs_struct *ud, MCInst *MI, const uint8_t *code, size_t code_len, uint16_t *Size, uint64_t Address) { uint8_t bytes[4]; uint16_t insn16; DecodeStatus result; bool InITBlock; unsigned Firstcond, Mask; uint32_t NEONLdStInsn, insn32, NEONDataInsn, NEONCryptoInsn, NEONv8Ins...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax cmpq $0x2, %rdx jae 0x47989 xorl %ebp, %ebp jmp 0x47a6d movq %r8, %r15 movq %rcx, %rbx movq %rdx, %r13 movq %rsi, %r12 movq %rdi, %r14 movq 0x310(%rcx), %rax movq 0xe8(%rax), %rdi testq %rdi, %rdi je 0x479e1 addq $0x30, %rdi movl $0x5c8, %edx ...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeThumbAddSPReg
static DecodeStatus DecodeThumbAddSPReg(MCInst *Inst, uint16_t Insn, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; if (MCInst_getOpcode(Inst) == ARM_tADDrSP) { unsigned Rdm = fieldFromInstruction_2(Insn, 0, 3); Rdm |= fieldFromInstruction_2(Insn, 7, 1) << 3; if (!Check(&S...
pushq %rbp pushq %r14 pushq %rbx movl %esi, %r14d movq %rdi, %rbx callq 0x446dd cmpl $0xa81, %eax # imm = 0xA81 jne 0x50a2a movl %r14d, %eax andl $0x7, %eax shrl $0x4, %r14d andl $0x8, %r14d orl %eax, %r14d leaq 0x7dd04(%rip), %rax # 0xce710 movzwl (%rax,%r14,2), %ebp movq %rbx, %rdi movl %ebp, %esi call...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeThumbAddrModeRR
static DecodeStatus DecodeThumbAddrModeRR(MCInst *Inst, unsigned Val, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned Rn = fieldFromInstruction_4(Val, 0, 3); unsigned Rm = fieldFromInstruction_4(Val, 3, 3); if (!Check(&S, DecodetGPRRegisterClass(Inst, Rn, Address, Deco...
pushq %r15 pushq %r14 pushq %rbx movl %esi, %ebx movq %rdi, %r14 movl %esi, %eax andl $0x7, %eax leaq 0x7dc7f(%rip), %r15 # 0xce710 movzwl (%r15,%rax,2), %esi callq 0x4476d shrl $0x2, %ebx andl $0xe, %ebx movzwl (%rbx,%r15), %esi movq %r14, %rdi callq 0x4476d movl $0x3, %eax popq %rbx popq %r14 popq %r15 retq
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeT2AddrModeImm8s4
static DecodeStatus DecodeT2AddrModeImm8s4(MCInst *Inst, unsigned Val, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned Rn = fieldFromInstruction_4(Val, 9, 4); unsigned imm = fieldFromInstruction_4(Val, 0, 9); if (!Check(&S, DecodeGPRRegisterClass(Inst, Rn, Address, Dec...
pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movl %esi, %eax shrl $0x8, %eax andl $0x1e, %eax leaq 0x7d9c8(%rip), %rcx # 0xce710 movzwl (%rax,%rcx), %esi callq 0x4476d testl $0x1ff, %ebp # imm = 0x1FF je 0x50d70 movzbl %bpl, %eax movl %eax, %ecx negl %ecx btl $0x8, %ebp cmovbl %eax, %...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeT2MOVTWInstruction
static DecodeStatus DecodeT2MOVTWInstruction(MCInst *Inst, unsigned Insn, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned Rd = fieldFromInstruction_4(Insn, 8, 4); unsigned imm = 0; imm |= (fieldFromInstruction_4(Insn, 0, 8) << 0); imm |= (fieldFromInstruction_4(Insn, ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movl %esi, %ebx movq %rdi, %r14 movl %esi, %ebp shrl $0x8, %ebp andl $0xf, %ebp callq 0x446dd cmpl $0x988, %eax # imm = 0x988 jne 0x510a4 movl $0xd00, %eax # imm = 0xD00 movl %ebx, %r15d andl %eax, %r15d xorl %r12d, %r12d cmpl %eax, %r15d setn...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeThumb2BCCInstruction
static DecodeStatus DecodeThumb2BCCInstruction(MCInst *Inst, unsigned Insn, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned brtarget; unsigned pred = fieldFromInstruction_4(Insn, 22, 4); if (pred == 0xE || pred == 0xF) { unsigned imm; unsigned opc = fieldFromInstruct...
pushq %rbp pushq %r14 pushq %rbx movl %esi, %r14d movq %rdi, %rbx movl %esi, %eax notl %eax testl $0x3800000, %eax # imm = 0x3800000 jne 0x51270 movl %r14d, %ecx shrl $0x4, %ecx addl $0xf0c4070c, %ecx # imm = 0xF0C4070C xorl %eax, %eax cmpl $0x2, %ecx ja 0x512e0 movl %ecx, %eax leaq 0x7cb55(%rip), %rcx ...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeT2LoadShift
static DecodeStatus DecodeT2LoadShift(MCInst *Inst, unsigned Insn, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned addrmode; unsigned Rt = fieldFromInstruction_4(Insn, 12, 4); unsigned Rn = fieldFromInstruction_4(Insn, 16, 4); if (Rn == 15) { switch (MCInst_getOpcode...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movl %esi, %r14d movq %rdi, %rbx movl %esi, %ebp shrl $0x10, %ebp andl $0xf, %ebp cmpl $0xf, %ebp jne 0x516a7 movq %rbx, %rdi callq 0x446dd movl %eax, %ecx xorl %eax, %eax cmpl $0x967, %ecx # imm = 0x967 jle 0x5174d cmpl $0x9af, %ecx # imm = 0...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
DecodeSPRRegListOperand
static DecodeStatus DecodeSPRRegListOperand(MCInst *Inst, unsigned Val, uint64_t Address, const void *Decoder) { DecodeStatus S = MCDisassembler_Success; unsigned i; unsigned Vd = fieldFromInstruction_4(Val, 8, 5); unsigned regs = fieldFromInstruction_4(Val, 0, 8); // In case of unpredictable encoding, tweak th...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdi, %rbx movzbl %sil, %r15d movl %esi, %r14d shrl $0x8, %r14d andl $0x1f, %r14d testl %r15d, %r15d sete %cl leal (%r14,%r15), %eax cmpl $0x21, %eax setae %dl orb %cl, %dl movl $0x3, %ebp cmpb $0x1, %dl jne 0x51d7c movl $0x20, %ecx subl ...
/bughoho[P]capstone/arch/ARM/ARMDisassembler.c
printAddrModeImm12Operand
static void printAddrModeImm12Operand(MCInst *MI, unsigned OpNum, SStream *O, bool AlwaysPrintImm0) { MCOperand *MO1 = MCInst_getOperand(MI, OpNum); MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); int32_t OffImm; bool isSub; if (!MCOperand_isReg(MO1)) { // FIXME: This is for CP entries, but isn't right. pr...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %ecx, %ebp movq %rdx, %r14 movl %esi, %r13d movq %rdi, %rbx callq 0x446e4 movq %rax, %r12 leal 0x1(%r13), %esi movq %rbx, %rdi callq 0x446e4 movq %rax, %r15 movq %r12, %rdi callq 0x44722 testb %al, %al je 0x5d326 leaq 0x80b85(%rip), %rsi ...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printFBits16
static void printFBits16(MCInst *MI, unsigned OpNum, SStream *O) { unsigned tmp; tmp = 16 - (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); if (tmp > HEX_THRESHOLD) SStream_concat(O, "#0x%x", tmp); else SStream_concat(O, "#%u", tmp); if (MI->csh->detail) { MI->flat_insn->detail->arm.operands[M...
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movl $0x2, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movl $0x10, %ebp subl %eax, %ebp cmpl $0xa, %ebp leaq 0x77ac3(%rip), %rax # 0xd51c6 leaq 0x77ac4(%rip), %rsi # 0xd51ce cmovaeq %rax, %rsi movq %r14, %rdi movl %ebp, %edx xorl %eax, %eax c...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printVectorListThree
static void printVectorListThree(MCInst *MI, unsigned OpNum, SStream *O) { // Normally, it's not safe to use register enum values directly with // addition to get the next register, but for VFP registers, the // sort order is guaranteed because they're all of the form D<n>. SStream_concat0(O, "{"); printRegName(MI...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %rbx movl %esi, %ebp movq %rdi, %r14 leaq 0x76729(%rip), %rsi # 0xd5004 movq %rdx, %rdi callq 0x447c2 movq 0x320(%r14), %r15 movq %r14, %rdi movl %ebp, %esi callq 0x446e4 movq %rax, %rdi callq 0x4473a movl %eax, %edi callq *0x80(%r15) movq %rbx, %rdi...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printVectorListThreeSpaced
static void printVectorListThreeSpaced(MCInst *MI, unsigned OpNum, SStream *O) { // Normally, it's not safe to use register enum values directly with // addition to get the next register, but for VFP registers, the // sort order is guaranteed because they're all of the form D<n>. SStream_concat0(O, "{"); printRegN...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %rbx movq %rdi, %r14 leaq 0x75ba6(%rip), %rsi # 0xd5004 movq %rbx, %rdi callq 0x447c2 movq 0x320(%r14), %r15 movq %r14, %rdi xorl %esi, %esi callq 0x446e4 movq %rax, %rdi callq 0x4473a movl %eax, %edi callq *0x80(%r15) movq %rbx, %rdi movq %rax, %rsi callq 0x447c2 movq 0x...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printThumbLdrLabelOperand
static void printThumbLdrLabelOperand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO1 = MCInst_getOperand(MI, OpNum); int32_t OffImm; bool isSub; SStream_concat0(O, "[pc, "); OffImm = (int32_t)MCOperand_getImm(MO1); isSub = OffImm < 0; // Special value for #-0. All others are normal. if (OffImm == IN...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movq %rdi, %rbx callq 0x446e4 movq %rax, %r15 leaq 0x750d1(%rip), %rsi # 0xd529a movq %r14, %rdi callq 0x447c2 movq %r15, %rdi callq 0x44742 xorl %ebp, %ebp movl %eax, %ecx negl %ecx cmovnol %eax, %ebp testl %eax, %eax js 0x601f4 cmpl $0xa, %eax...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printVectorIndex
static void printVectorIndex(MCInst *MI, unsigned OpNum, SStream *O) { unsigned tmp = (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); if (tmp > HEX_THRESHOLD) SStream_concat(O, "[0x%x]",tmp); else SStream_concat(O, "[%u]",tmp); if (MI->csh->detail) { MI->flat_insn->detail->arm.operands[MI->flat_...
pushq %r15 pushq %r14 pushq %rbx movq %rdx, %r15 movq %rdi, %rbx callq 0x446e4 movq %rax, %rdi callq 0x44742 movq %rax, %r14 cmpl $0xa, %r14d leaq 0x74b17(%rip), %rax # 0xd52ba leaq 0x74b17(%rip), %rsi # 0xd52c1 cmovaeq %rax, %rsi movq %r15, %rdi movl %r14d, %edx xorl %eax, %eax callq 0x44809 movq 0x320(%rbx), ...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printFBits32
static void printFBits32(MCInst *MI, unsigned OpNum, SStream *O) { unsigned tmp; tmp = 32 - (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); if (tmp > HEX_THRESHOLD) SStream_concat(O, "#0x%x", tmp); else SStream_concat(O, "#%u", tmp); if (MI->csh->detail) { MI->flat_insn->detail->arm.operands[M...
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movl $0x2, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movl $0x20, %ebp subl %eax, %ebp cmpl $0xa, %ebp leaq 0x74905(%rip), %rax # 0xd51c6 leaq 0x74906(%rip), %rsi # 0xd51ce cmovaeq %rax, %rsi movq %r14, %rdi movl %ebp, %edx xorl %eax, %eax c...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printBitfieldInvMaskImmOperand
static void printBitfieldInvMaskImmOperand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO = MCInst_getOperand(MI, OpNum); uint32_t v = ~(uint32_t)MCOperand_getImm(MO); int32_t lsb = CountTrailingZeros_32(v); int32_t width = (32 - CountLeadingZeros_32 (v)) - lsb; //assert(MO.isImm() && "Not a valid bf_inv...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r14 movq %rdi, %rbx callq 0x446e4 movq %rax, %rdi callq 0x44742 xorl $-0x1, %eax movl $0x20, %r12d movl $0x20, %ebp je 0x60a42 bsfl %eax, %ebp testl %eax, %eax je 0x60a4e bsrl %eax, %r12d xorl $0x1f, %r12d addl %ebp, %r12d movl $0x20, %r15d subl %r12d, ...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printT2AddrModeImm0_1020s4Operand
static void printT2AddrModeImm0_1020s4Operand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO1 = MCInst_getOperand(MI, OpNum); MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1); unsigned tmp; SStream_concat0(O, "["); set_mem_access(MI, true); printRegName(MI->csh, O, MCOperand_getReg(MO1)); if (MI->csh->d...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r14 movl %esi, %ebp movq %rdi, %rbx callq 0x446e4 movq %rax, %r12 incl %ebp movq %rbx, %rdi movl %ebp, %esi callq 0x446e4 movq %rax, %r15 leaq 0x7cba2(%rip), %rsi # 0xdde13 movq %r14, %rdi callq 0x447c2 movq %rbx, %rdi movl $0x...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printT2AddrModeImm8OffsetOperand
static void printT2AddrModeImm8OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO1 = MCInst_getOperand(MI, OpNum); int32_t OffImm = (int32_t)MCOperand_getImm(MO1); SStream_concat0(O, ", "); if (OffImm == INT32_MIN) { SStream_concat0(O, "#-0"); if (MI->csh->detail) { MI->flat_insn->detail...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movl $0x3, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movq %rax, %r14 leaq 0x738f2(%rip), %rsi # 0xd50d2 movq %r15, %rdi callq 0x447c2 movl %r14d, %edx negl %edx jno 0x6180a leaq 0x73ad0(%rip), %rsi # 0xd52c6 movq %r15, %rdi callq 0x447c2 mo...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printPostIdxImm8Operand
static void printPostIdxImm8Operand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO = MCInst_getOperand(MI, OpNum); unsigned Imm = (unsigned int)MCOperand_getImm(MO); if ((Imm & 0xff) > HEX_THRESHOLD) SStream_concat(O, "#%s0x%x", ((Imm & 256) ? "" : "-"), (Imm & 0xff)); else SStream_concat(O, "#%s%u", (...
pushq %rbp pushq %r14 pushq %rbx movq %rsi, %r14 movq %rdi, %rbx movl $0x3, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movzbl %al, %ebp btl $0x8, %eax leaq 0xee139(%rip), %rax # 0x14fc2e leaq 0xe5529(%rip), %rdx # 0x147025 cmovaeq %rax, %rdx cmpl $0xa, %ebp leaq 0x736cf(%rip), %rax # 0xd51d9 leaq 0x73...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printT2AddrModeImm8s4OffsetOperand
static void printT2AddrModeImm8s4OffsetOperand(MCInst *MI, unsigned OpNum, SStream *O) { MCOperand *MO1 = MCInst_getOperand(MI, OpNum); int32_t OffImm = (int32_t)MCOperand_getImm(MO1); //assert(((OffImm & 0x3) == 0) && "Not a valid immediate!"); SStream_concat0(O, ", "); if (OffImm == INT32_MIN) { SStream_co...
pushq %r15 pushq %r14 pushq %rbx movq %rsi, %r15 movq %rdi, %rbx movl $0x4, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movq %rax, %r14 leaq 0x72fc9(%rip), %rsi # 0xd50d2 movq %r15, %rdi callq 0x447c2 movl %r14d, %edx negl %edx jno 0x62133 leaq 0x731a7(%rip), %rsi # 0xd52c6 movq %r15, %rdi callq 0x447c2 mo...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
printThumbAddrModeImm5SOperand
static void printThumbAddrModeImm5SOperand(MCInst *MI, unsigned Op, SStream *O, unsigned Scale) { MCOperand *MO1 = MCInst_getOperand(MI, Op); MCOperand *MO2 = MCInst_getOperand(MI, Op + 1); unsigned ImmOffs, tmp; if (!MCOperand_isReg(MO1)) { // FIXME: This is for CP entries, but isn't right. printOperand(MI,...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %edx, %ebp movq %rsi, %r14 movq %rdi, %rbx movl $0x1, %esi callq 0x446e4 movq %rax, %r12 movq %rbx, %rdi movl $0x2, %esi callq 0x446e4 movq %rax, %r15 movq %r12, %rdi callq 0x44722 testb %al, %al je 0x62431 leaq 0x7baf7(%rip), %rsi # ...
/bughoho[P]capstone/arch/ARM/ARMInstPrinter.c
ARM_reg_name2
const char *ARM_reg_name2(csh handle, unsigned int reg) { #ifndef CAPSTONE_DIET if (reg >= ARM_REG_ENDING) return NULL; return reg_name_maps2[reg].name; #else return NULL; #endif }
cmpl $0x6e, %esi jbe 0x62473 xorl %eax, %eax retq movl %esi, %eax shlq $0x4, %rax leaq 0x120b80(%rip), %rcx # 0x183000 movq 0x8(%rax,%rcx), %rax retq
/bughoho[P]capstone/arch/ARM/ARMMapping.c
DecodeLogicalImmInstruction
static DecodeStatus DecodeLogicalImmInstruction(MCInst *Inst, uint32_t insn, uint64_t Addr, void *Decoder) { unsigned Rd = fieldFromInstruction(insn, 0, 5); unsigned Rn = fieldFromInstruction(insn, 5, 5); unsigned Datasize = fieldFromInstruction(insn, 31, 1); unsigned imm; if (Datasize) { if (MCInst_getOpco...
pushq %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movl %esi, %r13d andl $0x1f, %r13d movl %esi, %r12d shrl $0x5, %r12d andl $0x1f, %r12d callq 0x446dd movl %ebp, %r14d shrl $0xa, %r14d movl %r14d, %r15d andl $0x3f, %r15d testl %ebp, %ebp js 0x6625b cmpq $0x1f, ...
/bughoho[P]capstone/arch/AArch64/AArch64Disassembler.c
DecodeUnsignedLdStInstruction
static DecodeStatus DecodeUnsignedLdStInstruction(MCInst *Inst, uint32_t insn, uint64_t Addr, void *Decoder) { unsigned Rt = fieldFromInstruction(insn, 0, 5); unsigned Rn = fieldFromInstruction(insn, 5, 5); unsigned offset = fieldFromInstruction(insn, 10, 12); switch (MCInst_getOpcode(Inst)) { default: re...
pushq %rbp pushq %r14 pushq %rbx movl %esi, %ebp movq %rdi, %rbx movl %esi, %r14d andl $0x1f, %r14d callq 0x446dd movl %eax, %ecx xorl %eax, %eax cmpl $0x499, %ecx # imm = 0x499 jg 0x667c3 cmpl $0x3dc, %ecx # imm = 0x3DC jle 0x667fc leal -0x3e8(%rcx), %edx cmpl $0x27, %edx ja 0x667a6 movabsq $0x80...
/bughoho[P]capstone/arch/AArch64/AArch64Disassembler.c
printShifter
static void printShifter(MCInst *MI, unsigned OpNum, SStream *O) { unsigned Val = (unsigned)MCOperand_getImm(MCInst_getOperand(MI, OpNum)); // LSL #0 should not be printed. if (AArch64_AM_getShiftType(Val) == AArch64_AM_LSL && AArch64_AM_getShiftValue(Val) == 0) return; SStream_concat(O, ", %s ", AArch64_AM_...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx pushq %rax movq %rdx, %r15 movq %rdi, %rbx callq 0x446e4 movq %rax, %rdi callq 0x44742 movq %rax, %r14 movl %r14d, %r12d shrl $0x6, %r12d andl $0x7, %r12d cmpl $0x4, %r12d ja 0x81ffd leaq 0x5621b(%rip), %rax # 0xd81d8 movslq (%rax,%r12,4), %rcx addq %rax, %rcx jmpq *%rcx ...
/bughoho[P]capstone/arch/AArch64/AArch64InstPrinter.c
printMRSSystemRegister
static void printMRSSystemRegister(MCInst *MI, unsigned OpNo, SStream *O) { unsigned Val = (unsigned)MCOperand_getImm(MCInst_getOperand(MI, OpNo)); bool Valid; char Name[128]; A64SysRegMapper_toString(&AArch64_MRSMapper, Val, &Valid, Name); if (Valid) { SStream_concat0(O, Name); if (MI->csh->detail) { MI-...
pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $0x98, %rsp movq %rsi, %r15 movq %rdi, %rbx movl $0x1, %esi callq 0x446e4 movq %rax, %rdi callq 0x44742 movq %rax, %r14 leaq 0x20579a(%rip), %rdi # 0x287a60 leaq 0xf(%rsp), %r12 leaq 0x10(%rsp), %rcx movl %r14d, %esi movq %r12, %rdx callq 0xc1417 cmpb $0x1, (%r12) jne...
/bughoho[P]capstone/arch/AArch64/AArch64InstPrinter.c
AArch64_reg_name
const char *AArch64_reg_name(csh handle, unsigned int reg) { #ifndef CAPSTONE_DIET if (reg >= ARM64_REG_ENDING) return NULL; return reg_name_maps[reg].name; #else return NULL; #endif }
cmpl $0x103, %esi # imm = 0x103 jbe 0x82e07 xorl %eax, %eax retq movl %esi, %eax shlq $0x4, %rax leaq 0x10269c(%rip), %rcx # 0x1854b0 movq 0x8(%rax,%rcx), %rax retq
/bughoho[P]capstone/arch/AArch64/AArch64Mapping.c
Mips_init
void Mips_init(MCRegisterInfo *MRI) { // InitMCRegisterInfo(MipsRegDesc, 394, RA, PC, // MipsMCRegisterClasses, 48, // MipsRegUnitRoots, // 273, // MipsRegDiffLists, // MipsRegStrings, // MipsSubRegIdxLists, // 12, // MipsSubRegIdxRanges, // MipsRegEncodingTable); MCRegisterInfo_InitMCRegi...
pushq %rax xorl %eax, %eax leaq 0x17113a(%rip), %r10 # 0x1f4260 leaq 0x170f33(%rip), %r11 # 0x1f4060 leaq 0x16e8dc(%rip), %rsi # 0x1f1a10 leaq 0x1707a5(%rip), %r9 # 0x1f38e0 movl $0x18a, %edx # imm = 0x18A xorl %ecx, %ecx xorl %r8d, %r8d pushq %rax pushq $0xc pushq %r10 pushq %rax pushq %r11 pus...
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeMemMMImm16
static DecodeStatus DecodeMemMMImm16(MCInst *Inst, unsigned Insn, uint64_t Address, MCRegisterInfo *Decoder) { int Offset = SignExtend32(Insn & 0xffff, 16); unsigned Reg = fieldFromInstruction(Insn, 21, 5); unsigned Base = fieldFromInstruction(Insn, 16, 5); Reg = getReg(Decoder, Mips_GPR32RegClassID, Reg); Base...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r15 movl %esi, %r14d movq %rdi, %rbx movq %rdx, %rdi movl $0x8, %esi callq 0x47736 movq 0x8(%rax), %rax movl %r14d, %ecx shrl $0x14, %ecx andl $0x3e, %ecx movzwl (%rax,%rcx), %ebp movq %r15, %rdi movl $0x8, %esi callq 0x47736 movq 0x8(%rax), %rax movl %...
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeGPR64RegisterClass
static DecodeStatus DecodeGPR64RegisterClass(MCInst *Inst, unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder) { unsigned Reg; if (RegNo > 31) return MCDisassembler_Fail; Reg = getReg(Decoder, Mips_GPR64RegClassID, RegNo); MCOperand_CreateReg0(Inst, Reg); return MCDisassembler_Success; }
xorl %eax, %eax cmpl $0x1f, %esi ja 0x86ca9 pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movq %rdx, %rdi movl $0x1c, %esi callq 0x47736 movq 0x8(%rax), %rax movl %ebp, %ecx movzwl (%rax,%rcx,2), %esi movq %rbx, %rdi callq 0x4476d movl $0x3, %eax addq $0x8, %rsp popq %rbx popq %rbp retq
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeFGR64RegisterClass
static DecodeStatus DecodeFGR64RegisterClass(MCInst *Inst, unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder) { unsigned Reg; if (RegNo > 31) return MCDisassembler_Fail; Reg = getReg(Decoder, Mips_FGR64RegClassID, RegNo); MCOperand_CreateReg0(Inst, Reg); return MCDisassembler_Success; }
xorl %eax, %eax cmpl $0x1f, %esi ja 0x86d57 pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movq %rdx, %rdi movl $0x1b, %esi callq 0x47736 movq 0x8(%rax), %rax movl %ebp, %ecx movzwl (%rax,%rcx,2), %esi movq %rbx, %rdi callq 0x4476d movl $0x3, %eax addq $0x8, %rsp popq %rbx popq %rbp retq
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeMSACtrlRegisterClass
static DecodeStatus DecodeMSACtrlRegisterClass(MCInst *Inst, unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder) { unsigned Reg; if (RegNo > 7) return MCDisassembler_Fail; Reg = getReg(Decoder, Mips_MSACtrlRegClassID, RegNo); MCOperand_CreateReg0(Inst, Reg); return MCDisassembler_Success; }
xorl %eax, %eax cmpl $0x7, %esi ja 0x86f0d pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movq %rdx, %rdi movl $0x12, %esi callq 0x47736 movq 0x8(%rax), %rax movl %ebp, %ecx movzwl (%rax,%rcx,2), %esi movq %rbx, %rdi callq 0x4476d movl $0x3, %eax addq $0x8, %rsp popq %rbx popq %rbp retq
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeBgtzGroupBranch_4
static DecodeStatus DecodeBgtzGroupBranch_4(MCInst *MI, uint32_t insn, uint64_t Address, MCRegisterInfo *Decoder) { // If we are called then we can assume that MIPS32r6/MIPS64r6 is enabled // (otherwise we would have matched the BGTZ instruction from the earlier // ISA's instead). // // We have: // 0b000111 ...
pushq %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx movq %rdx, %r14 movl %esi, %ebp movq %rdi, %rbx movl %esi, %r15d shrl $0x15, %r15d andl $0x1f, %r15d movl %esi, %r12d shrl $0x10, %r12d andl $0x1f, %r12d je 0x873f0 testl %r15d, %r15d je 0x873ff movl $0xf6, %esi cmpl %r12d, %r15d je 0x873f5 movq %rbx, %rdi movl $0x...
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
DecodeCOP2RegisterClass
static DecodeStatus DecodeCOP2RegisterClass(MCInst *Inst, unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder) { unsigned Reg; if (RegNo > 31) return MCDisassembler_Fail; Reg = getReg(Decoder, Mips_COP2RegClassID, RegNo); MCOperand_CreateReg0(Inst, Reg); return MCDisassembler_Success; }
xorl %eax, %eax cmpl $0x1f, %esi ja 0x87564 pushq %rbp pushq %rbx pushq %rax movl %esi, %ebp movq %rdi, %rbx movq %rdx, %rdi movl $0x2, %esi callq 0x47736 movq 0x8(%rax), %rax movl %ebp, %ecx movzwl (%rax,%rcx,2), %esi movq %rbx, %rdi callq 0x4476d movl $0x3, %eax addq $0x8, %rsp popq %rbx popq %rbp retq
/bughoho[P]capstone/arch/Mips/MipsDisassembler.c
printUnsignedImm
static void printUnsignedImm(MCInst *MI, int opNum, SStream *O) { MCOperand *MO = MCInst_getOperand(MI, opNum); if (MCOperand_isImm(MO)) { int64_t imm = MCOperand_getImm(MO); if (imm >= 0) { if (imm > HEX_THRESHOLD) SStream_concat(O, "0x%x", (unsigned short int)imm); else SStream_concat(O, "%u", (un...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r15 movl %esi, %ebp movq %rdi, %rbx callq 0x446e4 movq %rax, %r14 movq %rax, %rdi callq 0x4472a testb %al, %al je 0x8984c movq %r14, %rdi callq 0x44742 movq %rax, %r14 testq %rax, %rax js 0x89863 cmpq $0xa, %r14 jb 0x8987a movzwl %r14w, %edx leaq 0x5daa...
/bughoho[P]capstone/arch/Mips/MipsInstPrinter.c
printUnsignedImm8
static void printUnsignedImm8(MCInst *MI, int opNum, SStream *O) { MCOperand *MO = MCInst_getOperand(MI, opNum); if (MCOperand_isImm(MO)) { uint8_t imm = (uint8_t)MCOperand_getImm(MO); if (imm > HEX_THRESHOLD) SStream_concat(O, "0x%x", imm); else SStream_concat(O, "%u", imm); if (MI->csh->detail) { M...
pushq %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax movq %rdx, %r14 movl %esi, %ebp movq %rdi, %rbx callq 0x446e4 movq %rax, %r15 movq %rax, %rdi callq 0x4472a testb %al, %al je 0x89a78 movq %r15, %rdi callq 0x44742 movq %rax, %r15 movzbl %r15b, %edx cmpl $0xa, %edx leaq 0x5d8f8(%rip), %rax # 0xe72f5 leaq 0x4276...
/bughoho[P]capstone/arch/Mips/MipsInstPrinter.c
PPC_init
void PPC_init(MCRegisterInfo *MRI) { /* InitMCRegisterInfo(PPCRegDesc, 279, RA, PC, PPCMCRegisterClasses, 21, PPCRegUnitRoots, 146, PPCRegDiffLists, PPCRegStrings, PPCSubRegIdxLists, 8, PPCSubRegIdxRanges, PPCRegEncodingTable); */ MCRegisterInfo_InitMCRegisterInfo(MRI, PPCRegDesc, 279, ...
pushq %rax xorl %eax, %eax leaq 0x186cf3(%rip), %r10 # 0x210c30 leaq 0x186bec(%rip), %r11 # 0x210b30 leaq 0x1852c5(%rip), %rsi # 0x20f210 leaq 0x18688e(%rip), %r9 # 0x2107e0 movl $0x117, %edx # imm = 0x117 xorl %ecx, %ecx xorl %r8d, %r8d pushq %rax pushq $0x8 pushq %r10 pushq %rax pushq %r11 pus...
/bughoho[P]capstone/arch/PowerPC/PPCDisassembler.c