name string | code string | asm string | file string |
|---|---|---|---|
virtual thunk to ncnn::DeconvolutionDepthWise_x86::create_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86::create_pipeline(const Option& opt)
{
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
// depth-wise
if (channels == group && group == num_output)
{
int elempack = 1;
#if __SSE2__
if... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x2d4f38
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/src/layer/x86/deconvolutiondepthwise_x86.cpp |
ncnn::DeconvolutionDepthWise_x86::destroy_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86::destroy_pipeline(const Option& opt)
{
for (int i = 0; i < (int)group_ops.size(); i++)
{
group_ops[i]->destroy_pipeline(opt);
delete group_ops[i];
}
group_ops.clear();
return 0;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %r15
jge 0x2d5c55
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movq 0x8(%rbx), %rax
m... | /csukuangfj[P]ncnn/src/layer/x86/deconvolutiondepthwise_x86.cpp |
ncnn::DeconvolutionDepthWise_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int DeconvolutionDepthWise_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
// convolv with NxN kernel
// value = value + bias
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
size_t elemsize = bottom_blob.elemsize;
int elempack = bot... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x268, %rsp # imm = 0x268
movq %rdx, 0x110(%rsp)
movq %rdi, %r15
movl 0x2c(%rsi), %ebx
movl 0x30(%rsi), %r10d
movq 0x10(%rsi), %rax
movq %rsi, 0x50(%rsp)
movslq 0x18(%rsi), %r11
movq (%rdi), %rdi
movq -0x18(%rdi), %rdx
movl 0xd4(%r15,%rd... | /csukuangfj[P]ncnn/src/layer/x86/deconvolutiondepthwise_x86.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int DeconvolutionDepthWise_x86::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
// convolv with NxN kernel
// value = value + bias
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
size_t elemsize = bottom_blob.elemsize;
int elempack = bot... | movq (%rdi), %rax
addq -0x48(%rax), %rdi
jmp 0x2d5c78
| /csukuangfj[P]ncnn/src/layer/x86/deconvolutiondepthwise_x86.cpp |
ncnn::DeconvolutionDepthWise_x86_avx512::create_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_avx512::create_pipeline(const Option& opt)
{
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
// depth-wise
if (channels == group && group == num_output)
{
int elempack = 1;
#if __SSE2__
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xa8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rax
movq -0x18(%rax), %r8
movslq 0xd4(%rdi,%r8), %rax
movslq 0xd8(%rdi,%r8), %r15
imulq %rax, %r15
movl 0xd0(%rdi,%r8), %ecx
movl 0x110(%rdi,%r8), %eax
movl 0x114(%rdi,%r8), %ebp
cltd
idivl %... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx512.cpp |
ncnn::DeconvolutionDepthWise_x86_avx512::create_group_ops(ncnn::Option const&) | int DeconvolutionDepthWise_x86_avx512::create_group_ops(const Option& opt)
{
// create Deconvolution op for each group
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
for (int i = 0; i < (int)group_ops.size(); i++)
delete gr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rsi, 0x120(%rsp)
movq %rdi, %r14
movq (%rdi), %rax
movq -0x18(%rax), %rdx
movl 0xd0(%rdi,%rdx), %ecx
movl 0xd8(%rdi,%rdx), %ebp
imull 0xd4(%rdi,%rdx), %ebp
movl 0x110(%rdi,%rdx), %eax
movl 0x114(%rdi,%rdx)... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx512.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86_avx512::create_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_avx512::create_pipeline(const Option& opt)
{
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
// depth-wise
if (channels == group && group == num_output)
{
int elempack = 1;
#if __SSE2__
... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x2d7218
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx512.cpp |
ncnn::DeconvolutionDepthWise_x86_avx512::destroy_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_avx512::destroy_pipeline(const Option& opt)
{
for (int i = 0; i < (int)group_ops.size(); i++)
{
group_ops[i]->destroy_pipeline(opt);
delete group_ops[i];
}
group_ops.clear();
return 0;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %r15
jge 0x2d80df
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movq 0x8(%rbx), %rax
m... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx512.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86_avx512::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int DeconvolutionDepthWise_x86_avx512::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
// convolv with NxN kernel
// value = value + bias
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
size_t elemsize = bottom_blob.elemsize;
int elempac... | movq (%rdi), %rax
addq -0x48(%rax), %rdi
jmp 0x2d8102
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx512.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86_fma::create_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_fma::create_pipeline(const Option& opt)
{
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
// depth-wise
if (channels == group && group == num_output)
{
int elempack = 1;
#if __SSE2__
... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x2da31c
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_fma.cpp |
ncnn::DeconvolutionDepthWise_x86_fma::destroy_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_fma::destroy_pipeline(const Option& opt)
{
for (int i = 0; i < (int)group_ops.size(); i++)
{
group_ops[i]->destroy_pipeline(opt);
delete group_ops[i];
}
group_ops.clear();
return 0;
} | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
xorl %r15d, %r15d
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
shrq $0x3, %rdx
movslq %edx, %rdx
cmpq %rdx, %r15
jge 0x2db125
movq (%rax,%r15,8), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movq 0x8(%rbx), %rax
m... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_fma.cpp |
ncnn::DeconvolutionDepthWise_x86_fma::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int DeconvolutionDepthWise_x86_fma::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
// convolv with NxN kernel
// value = value + bias
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
size_t elemsize = bottom_blob.elemsize;
int elempack =... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp # imm = 0x258
movq %rdx, 0x118(%rsp)
movq %rdi, %r15
movl 0x2c(%rsi), %ebx
movl 0x30(%rsi), %r10d
movq 0x10(%rsi), %rax
movq %rsi, 0x48(%rsp)
movslq 0x18(%rsi), %r11
movq (%rdi), %r8
movq -0x18(%r8), %rdx
movl 0xd4(%rdi,%rdx)... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_fma.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86_fma::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int DeconvolutionDepthWise_x86_fma::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
// convolv with NxN kernel
// value = value + bias
int w = bottom_blob.w;
int h = bottom_blob.h;
int channels = bottom_blob.c;
size_t elemsize = bottom_blob.elemsize;
int elempack =... | movq (%rdi), %rax
addq -0x48(%rax), %rdi
jmp 0x2db148
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_fma.cpp |
virtual thunk to ncnn::DeconvolutionDepthWise_x86_avx::create_pipeline(ncnn::Option const&) | int DeconvolutionDepthWise_x86_avx::create_pipeline(const Option& opt)
{
const int maxk = kernel_w * kernel_h;
int channels = (weight_data_size / group) / maxk / (num_output / group) * group;
// depth-wise
if (channels == group && group == num_output)
{
int elempack = 1;
#if __SSE2__
... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x2dcdbc
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deconvolutiondepthwise_x86_avx.cpp |
ncnn::InstanceNorm::load_model(ncnn::ModelBin const&) | int InstanceNorm::load_model(const ModelBin& mb)
{
if (affine == 0)
return 0;
gamma_data = mb.load(channels, 1);
if (gamma_data.empty())
return -100;
beta_data = mb.load(channels, 1);
if (beta_data.empty())
return -100;
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
xorl %ebx, %ebx
cmpl $0x0, 0xd8(%rdi)
je 0x2dfd3e
movq %rsi, %r15
movq %rdi, %r14
movl 0xd0(%rdi), %edx
movq (%rsi), %rax
movq %rsp, %r12
pushq $0x1
popq %rcx
movq %r12, %rdi
callq *0x10(%rax)
leaq 0xe0(%r14), %r13
movq 0x8(%r12), %rax
c... | /csukuangfj[P]ncnn/src/layer/instancenorm.cpp |
ncnn::InstanceNorm::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int InstanceNorm::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
// x = (x - mean) / (sqrt(var + eps)) * gamma + beta
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int c = bottom_top_blob.c;
int size = w * h;
#pragma omp parallel for num_threads(opt.num_threads)
f... | pushq %rbx
movl 0x30(%rsi), %eax
movl 0x38(%rsi), %ecx
imull 0x2c(%rsi), %eax
movq (%rsi), %rdx
movq 0x40(%rsi), %r8
cvtsi2ss %eax, %xmm1
movl 0xd8(%rdi), %r9d
xorl %r10d, %r10d
testl %eax, %eax
cmovlel %r10d, %eax
movq 0xe0(%rdi), %r11
testl %ecx, %ecx
cmovlel %r10d, %ecx
movq 0x128(%rdi), %rbx
movss 0x10ee88(%rip), %... | /csukuangfj[P]ncnn/src/layer/instancenorm.cpp |
virtual thunk to ncnn::Clip_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Clip_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp parallel fo... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x2e004c
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/src/layer/x86/clip_x86.cpp |
ncnn::Clip_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Clip_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp para... | movl 0x30(%rsi), %eax
imull 0x2c(%rsi), %eax
imull 0x34(%rsi), %eax
movl 0x38(%rsi), %ecx
imull 0x18(%rsi), %eax
movq (%rdi), %rdx
xorl %r8d, %r8d
testl %ecx, %ecx
cmovlel %r8d, %ecx
cmpq %rcx, %r8
je 0x2e02cc
movq 0x40(%rsi), %r9
imulq %r8, %r9
imulq 0x10(%rsi), %r9
addq (%rsi), %r9
movq -0x18(%rdx), %r10
vbroadcastss... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/clip_x86_avx512.cpp |
virtual thunk to ncnn::Clip_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Clip_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp para... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x2e0198
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/clip_x86_avx512.cpp |
virtual thunk to ncnn::Clip_x86_fma::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Clip_x86_fma::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp paralle... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x2e032c
xorl %eax, %eax
popq %rcx
retq
nopl (%rax)
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/clip_x86_fma.cpp |
ncnn::Clip_x86_avx::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Clip_x86_avx::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp paralle... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x30(%rsi), %eax
imull 0x2c(%rsi), %eax
imull 0x34(%rsi), %eax
movl 0x38(%rsi), %ecx
imull 0x18(%rsi), %eax
movq (%rdi), %rdx
xorl %r8d, %r8d
testl %ecx, %ecx
cmovlel %r8d, %ecx
cmpq %rcx, %r8
je 0x2e05d9
movq (%rsi), %r9
movq 0x10(%rsi), %rbx
movq 0x40(%rsi),... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/clip_x86_avx.cpp |
ncnn::YoloDetectionOutput::load_param(ncnn::ParamDict const&) | int YoloDetectionOutput::load_param(const ParamDict& pd)
{
num_class = pd.get(0, 20);
num_box = pd.get(1, 5);
confidence_threshold = pd.get(2, 0.01f);
nms_threshold = pd.get(3, 0.45f);
biases = pd.get(4, Mat());
return 0;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0xa0, %rsp
movq %rsi, %r14
movq %rdi, %rbx
pushq $0x14
popq %rdx
movq %rsi, %rdi
xorl %esi, %esi
callq 0x718a6
movl %eax, 0xd0(%rbx)
pushq $0x1
popq %rsi
pushq $0x5
popq %rdx
movq %r14, %rdi
callq 0x718a6
movl %eax, 0xd4(%rbx)
pushq $0x2
popq %rsi
movss 0x1189de(%rip), %xmm0 # 0... | /csukuangfj[P]ncnn/src/layer/yolodetectionoutput.cpp |
ncnn::YoloDetectionOutput::create_pipeline(ncnn::Option const&) | int YoloDetectionOutput::create_pipeline(const Option& opt)
{
{
softmax = ncnn::create_layer(ncnn::LayerType::Softmax);
ncnn::ParamDict pd;
pd.set(0, 0); // axis
softmax->load_param(pd);
softmax->create_pipeline(opt);
}
return 0;
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x20
popq %rdi
callq 0x782bf
movq %rax, 0x128(%r14)
movq %rsp, %r15
movq %r15, %rdi
callq 0x71548
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x7193a
movq 0x128(%r14), %rdi
movq (%rdi), %rax
movq %rsp, %rsi
callq *0x10(%r... | /csukuangfj[P]ncnn/src/layer/yolodetectionoutput.cpp |
ncnn::YoloDetectionOutput::forward_inplace(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int YoloDetectionOutput::forward_inplace(std::vector<Mat>& bottom_top_blobs, const Option& opt) const
{
// gather all box
std::vector<BBoxRect> all_bbox_rects;
std::vector<float> all_bbox_scores;
for (size_t b = 0; b < bottom_top_blobs.size(); b++)
{
Mat& bottom_top_blob = bottom_top_blobs[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %rdx, 0x108(%rsp)
movq %rsi, 0x100(%rsp)
movq %rdi, %rbp
xorps %xmm0, %xmm0
leaq 0x60(%rsp), %rax
andq $0x0, 0x10(%rax)
leaq 0xe0(%rsp), %rcx
andq $0x0, 0x10(%rcx)
movaps %xmm0, (%rax)
movaps %xmm0, (%rcx)
... | /csukuangfj[P]ncnn/src/layer/yolodetectionoutput.cpp |
void ncnn::qsort_descent_inplace<ncnn::BBoxRect>(std::vector<ncnn::BBoxRect, std::allocator<ncnn::BBoxRect>>&, std::vector<float, std::allocator<float>>&, int, int) | static void qsort_descent_inplace(std::vector<T>& datas, std::vector<float>& scores, int left, int right)
{
int i = left;
int j = right;
float p = scores[(left + right) / 2];
while (i <= j)
{
while (scores[i] > p)
i++;
while (scores[j] < p)
j--;
if ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %ebx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rsi
pushq $0x2
popq %r12
movl %ebp, %r8d
leal (%r8,%rbx), %eax
cltd
idivl %r12d
cltq
movss (%rsi,%rax,4), %xmm0
movl %ebx, %r9d
movl %ebp, %eax
movl %r9d, %ecx
movl %eax,... | /csukuangfj[P]ncnn/src/layer/yolodetectionoutput.cpp |
ncnn::Quantize::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int Quantize::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
int dims = bottom_blob.dims;
if (dims == 1)
{
int w = bottom_blob.w;
top_blob.create(w, (size_t)1u, opt.blob_allocator);
if (top_blob.empty())
return -100;
const float* ptr ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
movq %rsi, 0x10(%rsp)
movl 0x28(%rsi), %eax
cmpl $0x3, %eax
movq %rdi, 0x28(%rsp)
movq %rdx, 0x30(%rsp)
je 0x2e1b99
movq %rdi, %r14
cmpl $0x2, %eax
je 0x2e1a80
movq $0x0, 0x8(%rsp)
cmpl $0x1, %eax
jne 0x2e1d14
movq 0x10(%... | /csukuangfj[P]ncnn/src/layer/quantize.cpp |
ncnn::Dequantize::load_model(ncnn::ModelBin const&) | int Dequantize::load_model(const ModelBin& mb)
{
scale_data = mb.load(scale_data_size, 1);
if (scale_data.empty())
return -100;
if (bias_data_size)
{
bias_data = mb.load(bias_data_size, 1);
if (bias_data.empty())
return -100;
}
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl 0xd0(%rdi), %edx
movq (%rsi), %rax
leaq 0x8(%rsp), %r14
pushq $0x1
popq %rcx
movq %r14, %rdi
callq *0x10(%rax)
leaq 0xd8(%rbx), %r12
movq 0x8(%r14), %rax
cmpq %r14, %r12
je 0x2e8ef1
testq %rax, %rax
je 0x2e8e61
... | /csukuangfj[P]ncnn/src/layer/dequantize.cpp |
ncnn::Dequantize::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int Dequantize::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
int dims = bottom_blob.dims;
if (dims == 1)
{
int w = bottom_blob.w;
top_blob.create(w, (size_t)4u, opt.blob_allocator);
if (top_blob.empty())
return -100;
const int* intp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %rbx
movl 0x28(%rsi), %edx
cmpl $0x3, %edx
je 0x2e927d
cmpl $0x2, %edx
je 0x2e9195
xorl %eax, %eax
cmpl $0x1, %edx
jne 0x2e9547
movl 0x2c(%r12), %r14d
movq 0x8(%rcx), %rcx
pushq $0x4
popq %rdx
movq %r... | /csukuangfj[P]ncnn/src/layer/dequantize.cpp |
ncnn::Yolov3DetectionOutput::~Yolov3DetectionOutput() | Yolov3DetectionOutput::~Yolov3DetectionOutput()
{
//delete softmax;
} | pushq %rbx
movq %rdi, %rbx
leaq 0x19ba15(%rip), %rax # 0x48a0a0
movq %rax, (%rdi)
movq 0x178(%rdi), %rax
testq %rax, %rax
je 0x2ee6c2
lock
decl (%rax)
jne 0x2ee6c2
movq 0x170(%rbx), %rsi
movq 0x190(%rbx), %rdi
testq %rdi, %rdi
je 0x2ee6ba
movq (%rdi), %rax
callq *0x18(%rax)
jmp 0x2ee6c2
movq %rsi, %rdi
callq 0x5f3e0... | /csukuangfj[P]ncnn/src/layer/yolov3detectionoutput.cpp |
virtual thunk to ncnn::Swish_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int Swish_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int d = bottom_top_blob.d;
int channels = bottom_top_blob.c;
int elempack = bottom_top_blob.elempack;
int size = w * h * d * elempack;
#pragma omp parallel f... | pushq %rax
callq 0x34fb08
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/src/layer/x86/swish_x86.cpp |
ncnn::transpose_pack_A_tile(ncnn::Mat const&, ncnn::Mat&, int, int, int, int) | static void transpose_pack_A_tile(const Mat& A, Mat& AT, int i, int max_ii, int k, int max_kk)
{
const int elempack = A.elempack;
const int A_hstep = A.dims == 3 ? (int)A.cstep : A.w;
float* pp = AT;
int ii = 0;
#if __SSE2__
#if __AVX__
#if __AVX512F__
for (; ii + 15 < max_ii; ii += 16)
{
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %ecx, -0x38(%rsp)
movq %rdi, %rbp
leaq 0x2c(%rdi), %rax
leaq 0x40(%rdi), %rcx
cmpl $0x3, 0x28(%rdi)
cmoveq %rcx, %rax
movslq (%rax), %rax
imull %eax, %r8d
movslq %r8d, %rcx
xorl %r8d, %r8d
testl %r9d, %r9d
movl $0x0, %edi
cmovgl %r9d, %edi
movl %edi... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_fma.cpp |
ncnn::pack_A_tile(ncnn::Mat const&, ncnn::Mat&, int, int, int, int) | static void pack_A_tile(const Mat& A, Mat& AT, int i, int max_ii, int k, int max_kk)
{
const int elempack = A.elempack;
const int A_hstep = A.dims == 3 ? (int)A.cstep : A.w;
float* pp = AT;
int ii = 0;
#if __SSE2__
#if __AVX__
#if __AVX512F__
for (; ii + 15 < max_ii; ii += 16)
{
if (el... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %ecx, -0x70(%rsp)
movq %rsi, %r14
leaq 0x2c(%rdi), %rax
leaq 0x40(%rdi), %rcx
cmpl $0x3, 0x28(%rdi)
cmoveq %rcx, %rax
movslq (%rax), %r13
leal (,%r8,4), %eax
movslq %eax, %rbx
movslq %r8d, %rax
xorl %r12d, %r12d
testl %r9d, %r9d
mov... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_fma.cpp |
ncnn::transpose_pack_B_tile(ncnn::Mat const&, ncnn::Mat&, int, int, int, int) | static void transpose_pack_B_tile(const Mat& B, Mat& BT, int j, int max_jj, int k, int max_kk)
{
const int elempack = B.elempack;
const int B_hstep = B.dims == 3 ? (int)B.cstep : B.w;
float* pp = BT;
int jj = 0;
#if __SSE2__
for (; jj + 11 < max_jj; jj += 12)
{
#if __AVX__
#if __AVX512F__
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %ecx, -0x60(%rsp)
movq %rdi, %rbp
leaq 0x2c(%rdi), %rax
leaq 0x40(%rdi), %rcx
cmpl $0x3, 0x28(%rdi)
cmoveq %rcx, %rax
movslq (%rax), %rax
imull %eax, %r8d
xorl %r10d, %r10d
testl %r9d, %r9d
movl $0x0, %ecx
cmovgl %r9d, %ecx
movl %ecx, -0x54(%rsp)
mo... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_fma.cpp |
ncnn::Gemm_x86_fma::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int Gemm_x86_fma::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
int M;
int N;
if (constantA && constantB)
{
M = constantM;
N = constantN;
}
else if (constantA)
{
const Mat& B = bottom_blobs[0];
M = consta... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2d8, %rsp # imm = 0x2D8
movq %rcx, %rbp
movq %rdx, %rbx
movq %rdi, %r15
movq (%rdi), %rax
movq -0x18(%rax), %rcx
cmpl $0x0, 0xe0(%rdi,%rcx)
movl 0xe4(%rdi,%rcx), %r8d
je 0x36b444
testl %r8d, %r8d
je 0x36b45e
movl 0xec(%r15,%rcx), %r12d... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_fma.cpp |
virtual thunk to ncnn::Gemm_x86_fma::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int Gemm_x86_fma::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
int M;
int N;
if (constantA && constantB)
{
M = constantM;
N = constantN;
}
else if (constantA)
{
const Mat& B = bottom_blobs[0];
M = consta... | movq (%rdi), %rax
addq -0x40(%rax), %rdi
jmp 0x36b402
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_fma.cpp |
ncnn::transpose_pack_B_tile(ncnn::Mat const&, ncnn::Mat&, int, int, int, int) | static void transpose_pack_B_tile(const Mat& B, Mat& BT, int j, int max_jj, int k, int max_kk)
{
const int elempack = B.elempack;
const int B_hstep = B.dims == 3 ? (int)B.cstep : B.w;
float* pp = BT;
int jj = 0;
#if __SSE2__
for (; jj + 11 < max_jj; jj += 12)
{
#if __AVX__
#if __AVX512F__
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %ecx, -0x60(%rsp)
movq %rdi, %rbp
leaq 0x2c(%rdi), %rax
leaq 0x40(%rdi), %rcx
cmpl $0x3, 0x28(%rdi)
cmoveq %rcx, %rax
movslq (%rax), %rax
imull %eax, %r8d
xorl %r10d, %r10d
testl %r9d, %r9d
movl $0x0, %ecx
cmovgl %r9d, %ecx
movl %ecx, -0x54(%rsp)
mo... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_avx.cpp |
virtual thunk to ncnn::Gemm_x86_avx::create_pipeline(ncnn::Option const&) | int Gemm_x86_avx::create_pipeline(const Option& opt)
{
if (constantA)
{
const int M = constantM;
const int K = constantK;
int TILE_M, TILE_N, TILE_K;
get_optimal_tile_mnk(M, 0, K, constant_TILE_M, constant_TILE_N, constant_TILE_K, TILE_M, TILE_N, TILE_K, opt.num_threads);
... | movq (%rdi), %rax
addq -0x30(%rax), %rdi
jmp 0x371306
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_avx.cpp |
ncnn::transpose_unpack_output_tile(ncnn::Mat const&, ncnn::Mat&, int, int, int, int) | static void transpose_unpack_output_tile(const Mat& topT, Mat& top_blob, int i, int max_ii, int j, int max_jj)
{
const int out_elempack = top_blob.elempack;
const int out_hstep = top_blob.dims == 3 ? (int)top_blob.cstep : top_blob.w;
const float* pp = topT;
int ii = 0;
#if __SSE2__
#if __AVX__
#if __A... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl %r8d, %ebp
movl %edx, %r10d
leaq 0x2c(%rsi), %rax
leaq 0x40(%rsi), %rdx
cmpl $0x3, 0x28(%rsi)
cmoveq %rdx, %rax
movl 0x18(%rsi), %r11d
movslq (%rax), %rbx
movq (%rdi), %rdi
leal (,%rbx,8), %r14d
movl $0x8, %r8d
movl %ebp, %eax
cltd
idivl %r8d
imull ... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/gemm_x86_avx.cpp |
ncnn::GroupNorm_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int GroupNorm_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
const int dims = bottom_top_blob.dims;
const int channels_per_group = channels / group;
if (dims == 1)
{
#pragma omp parallel for num_threads(opt.num_threads)
for (int g = 0; g < group; g++)
{
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rsi, -0x38(%rsp)
movl 0x28(%rsi), %esi
movq (%rdi), %rax
movq %rax, -0x28(%rsp)
movq -0x18(%rax), %r10
movl 0xd0(%rdi,%r10), %ebp
movl 0xd4(%rdi,%r10), %eax
cltd
idivl %ebp
movl %eax, %ecx
movslq %eax, %r11
cmpl $0x2, %esi
movq %rdi, -0x20(%rsp)
mo... | /csukuangfj[P]ncnn/src/layer/x86/groupnorm_x86.cpp |
ncnn::LayerNorm::load_model(ncnn::ModelBin const&) | int LayerNorm::load_model(const ModelBin& mb)
{
if (affine == 0)
return 0;
gamma_data = mb.load(affine_size, 1);
if (gamma_data.empty())
return -100;
beta_data = mb.load(affine_size, 1);
if (beta_data.empty())
return -100;
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
xorl %ebx, %ebx
cmpl $0x0, 0xd8(%rdi)
je 0x37dc1a
movq %rsi, %r15
movq %rdi, %r14
movl 0xd0(%rdi), %edx
movq (%rsi), %rax
movq %rsp, %r12
pushq $0x1
popq %rcx
movq %r12, %rdi
callq *0x10(%rax)
leaq 0xe0(%r14), %r13
movq 0x8(%r12), %rax
c... | /csukuangfj[P]ncnn/src/layer/layernorm.cpp |
ncnn::LayerNorm::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
// x = (x - mean) / sqrt(var + eps) * gamma + beta
int dims = bottom_top_blob.dims;
if (dims == 1)
{
int w = bottom_top_blob.w;
// assert affine_size == w
float* ptr = bottom_top_blob;
// ... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl 0x28(%rsi), %eax
cmpl $0x3, %eax
je 0x37de0b
cmpl $0x2, %eax
je 0x37dce3
cmpl $0x1, %eax
jne 0x37e14b
movl 0x2c(%rsi), %edx
movq (%rsi), %rax
xorl %esi, %esi
testl %edx, %edx
movl $0x0, %ecx
cmovgl %edx, %ecx
xorps %xmm0, %xmm0
cmpq %rsi, %rcx
je 0x37df6a
addss (%rax,%rs... | /csukuangfj[P]ncnn/src/layer/layernorm.cpp |
virtual thunk to ncnn::LayerNorm_x86::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const float*... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x37e1b8
xorl %eax, %eax
popq %rcx
retq
nopl (%rax)
| /csukuangfj[P]ncnn/src/layer/x86/layernorm_x86.cpp |
ncnn::LayerNorm_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r8
movl 0x18(%rsi), %eax
movl %eax, -0x34(%rsp)
movl 0x28(%rsi), %eax
movl 0x2c(%rsi), %r9d
movq (%rdi), %rcx
movq %rcx, -0x18(%rsp)
movq -0x18(%rcx), %rcx
movq 0xe0(%rdi,%rcx), %rdi
movq %rdi, -0x28(%rsp)
movq %r8, -0x20(%rsp)
movq 0x128(%r8... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_avx512.cpp |
virtual thunk to ncnn::LayerNorm_x86_avx512::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_avx512::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x37ef00
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_avx512.cpp |
ncnn::LayerNorm_x86_fma::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_fma::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const fl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r8
movl 0x18(%rsi), %eax
movl %eax, -0x34(%rsp)
movl 0x28(%rsi), %eax
movl 0x2c(%rsi), %r9d
movq (%rdi), %rcx
movq %rcx, -0x18(%rsp)
movq -0x18(%rcx), %rcx
movq 0xe0(%rdi,%rcx), %rdi
movq %rdi, -0x28(%rsp)
movq %r8, -0x20(%rsp)
movq 0x128(%r8... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_fma.cpp |
virtual thunk to ncnn::LayerNorm_x86_fma::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_fma::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const fl... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x38112c
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_fma.cpp |
ncnn::LayerNorm_x86_avx::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_avx::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const fl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %r8
movl 0x18(%rsi), %eax
movl %eax, -0x34(%rsp)
movl 0x28(%rsi), %eax
movl 0x2c(%rsi), %r9d
movq (%rdi), %rcx
movq %rcx, -0x18(%rsp)
movq -0x18(%rcx), %rcx
movq 0xe0(%rdi,%rcx), %rdi
movq %rdi, -0x28(%rsp)
movq %r8, -0x20(%rsp)
movq 0x128(%r8... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_avx.cpp |
virtual thunk to ncnn::LayerNorm_x86_avx::forward_inplace(ncnn::Mat&, ncnn::Option const&) const | int LayerNorm_x86_avx::forward_inplace(Mat& bottom_top_blob, const Option& opt) const
{
int dims = bottom_top_blob.dims;
int elempack = bottom_top_blob.elempack;
int w = bottom_top_blob.w;
int h = bottom_top_blob.h;
int channels = bottom_top_blob.c;
const float* gamma = gamma_data;
const fl... | pushq %rax
movq (%rdi), %rax
addq -0x58(%rax), %rdi
callq 0x3825bc
xorl %eax, %eax
popq %rcx
retq
nopl (%rax)
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/layernorm_x86_avx.cpp |
ncnn::gru(ncnn::Mat const&, ncnn::Mat&, int, ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) | static int gru(const Mat& bottom_blob, Mat& top_blob, int reverse, const Mat& weight_xc, const Mat& bias_c, const Mat& weight_hc, Mat& hidden_state, const Option& opt)
{
int size = bottom_blob.w;
int T = bottom_blob.h;
int num_output = top_blob.w;
// 2 x num_output
Mat gates(2, num_output, 4u, opt... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %r9, 0x78(%rsp)
movq %r8, 0x70(%rsp)
movq %rcx, 0x68(%rsp)
movl %edx, 0x10(%rsp)
movq %rsi, %rbx
movq %rdi, %r14
movq 0x198(%rsp), %rax
movl 0x2c(%rdi), %ebp
movl 0x30(%rdi), %ecx
movl %ecx, 0x8(%rsp)
movl ... | /csukuangfj[P]ncnn/src/layer/gru.cpp |
virtual thunk to ncnn::MultiHeadAttention_x86::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MultiHeadAttention_x86::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& q_blob = bottom_blobs[0];
const Mat& k_blob = (bottom_blobs.size() == 1 || (bottom_blobs.size() == 2 && attn_mask)) ? q_blob : bottom_blobs[1];
const Mat& v_blob = (bo... | pushq %rax
movq (%rdi), %rax
addq -0x40(%rax), %rdi
callq 0x388fac
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/src/layer/x86/multiheadattention_x86.cpp |
ncnn::MultiHeadAttention_x86_avx512::MultiHeadAttention_x86_avx512() | MultiHeadAttention_x86_avx512::MultiHeadAttention_x86_avx512()
{
#if __SSE2__
support_packing = true;
#endif // __SSE2__
q_gemm = 0;
k_gemm = 0;
v_gemm = 0;
qk_gemm = 0;
qkv_gemm = 0;
qk_softmax = 0;
o_gemm = 0;
} | movq (%rsi), %rax
movq %rax, (%rdi)
movq 0x8(%rsi), %rcx
movq -0x18(%rax), %rax
movq %rcx, (%rdi,%rax)
movq (%rdi), %rax
movq -0x18(%rax), %rax
movb $0x1, 0xb(%rdi,%rax)
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, 0x20(%rdi)
vmovups %ymm0, 0x8(%rdi)
vzeroupper
retq
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/multiheadattention_x86_avx512.cpp |
ncnn::MultiHeadAttention_x86_avx512::MultiHeadAttention_x86_avx512() | MultiHeadAttention_x86_avx512::MultiHeadAttention_x86_avx512()
{
#if __SSE2__
support_packing = true;
#endif // __SSE2__
q_gemm = 0;
k_gemm = 0;
v_gemm = 0;
qk_gemm = 0;
qkv_gemm = 0;
qk_softmax = 0;
o_gemm = 0;
} | pushq %rbx
movq %rdi, %rbx
addq $0x40, %rdi
callq 0x385df0
leaq 0x103c20(%rip), %rax # 0x48dec0
movq %rax, (%rbx)
leaq 0x103c96(%rip), %rax # 0x48df40
movq %rax, 0x40(%rbx)
movb $0x1, 0x4b(%rbx)
vxorps %xmm0, %xmm0, %xmm0
vmovups %ymm0, 0x8(%rbx)
vmovups %ymm0, 0x20(%rbx)
popq %rbx
vzeroupper
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/multiheadattention_x86_avx512.cpp |
virtual thunk to ncnn::MultiHeadAttention_x86_avx512::destroy_pipeline(ncnn::Option const&) | int MultiHeadAttention_x86_avx512::destroy_pipeline(const Option& opt)
{
if (q_gemm)
{
q_gemm->destroy_pipeline(opt);
delete q_gemm;
q_gemm = 0;
}
if (k_gemm)
{
k_gemm->destroy_pipeline(opt);
delete k_gemm;
k_gemm = 0;
}
if (v_gemm)
{
... | pushq %rax
movq (%rdi), %rax
addq -0x38(%rax), %rdi
callq 0x38b9c4
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/multiheadattention_x86_avx512.cpp |
ncnn::MultiHeadAttention_x86_avx512::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MultiHeadAttention_x86_avx512::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& q_blob = bottom_blobs[0];
const Mat& k_blob = (bottom_blobs.size() == 1 || (bottom_blobs.size() == 2 && attn_mask)) ? q_blob : bottom_blobs[1];
const Mat& v_blo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2f8, %rsp # imm = 0x2F8
movq %rcx, %r15
movq %rdx, 0x270(%rsp)
movq %rdi, %r12
movq (%rsi), %rbx
movq 0x8(%rsi), %rcx
subq %rbx, %rcx
pushq $0x48
popq %rsi
movq %rcx, %rax
cqto
idivq %rsi
movq %rbx, %r14
movq %rbx, %r13
cmpq $0x1, %rax... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/multiheadattention_x86_avx512.cpp |
virtual thunk to ncnn::MatMul_x86::create_pipeline(ncnn::Option const&) | int MatMul_x86::create_pipeline(const Option& opt)
{
gemm = ncnn::create_layer(ncnn::LayerType::Gemm);
ncnn::ParamDict pd;
pd.set(2, 0); // transA
pd.set(3, transB); // transB
pd.set(4, 0); // constantA
pd.set(5, 0); // constantB
pd.set(6, 1); // constantC
pd.set(7, ... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x3b034a
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/src/layer/x86/matmul_x86.cpp |
ncnn::MatMul_x86::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = std::max... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rcx, %r15
movq %rdi, 0x98(%rsp)
movq (%rsi), %rbx
leaq 0x48(%rbx), %rax
movq %rax, 0x88(%rsp)
movq %rdx, 0x70(%rsp)
movq (%rdx), %r12
movl 0x28(%rbx), %ebp
movl 0x70(%rbx), %r14d
cmpl %r14d, %ebp
movl %r14... | /csukuangfj[P]ncnn/src/layer/x86/matmul_x86.cpp |
virtual thunk to ncnn::MatMul_x86::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = std::max... | movq (%rdi), %rax
addq -0x40(%rax), %rdi
jmp 0x3b04da
nop
| /csukuangfj[P]ncnn/src/layer/x86/matmul_x86.cpp |
ncnn::MatMul_x86_avx512::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86_avx512::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = s... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rcx, %r15
movq %rdi, 0x98(%rsp)
movq (%rsi), %rbx
leaq 0x48(%rbx), %rax
movq %rax, 0x88(%rsp)
movq %rdx, 0x70(%rsp)
movq (%rdx), %r12
movl 0x28(%rbx), %ebp
movl 0x70(%rbx), %r14d
cmpl %r14d, %ebp
movl %r14... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/matmul_x86_avx512.cpp |
virtual thunk to ncnn::MatMul_x86_avx512::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86_avx512::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = s... | movq (%rdi), %rax
addq -0x40(%rax), %rdi
jmp 0x3b3316
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/matmul_x86_avx512.cpp |
ncnn::MatMul_x86_avx::create_pipeline(ncnn::Option const&) | int MatMul_x86_avx::create_pipeline(const Option& opt)
{
gemm = ncnn::create_layer(ncnn::LayerType::Gemm);
ncnn::ParamDict pd;
pd.set(2, 0); // transA
pd.set(3, transB); // transB
pd.set(4, 0); // constantA
pd.set(5, 0); // constantB
pd.set(6, 1); // constantC
pd.set... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %rbx
movq %rdi, %r14
pushq $0x4a
popq %rdi
callq 0x782bf
movq %rax, 0x8(%r14)
movq %rsp, %r15
movq %r15, %rdi
callq 0x71548
pushq $0x2
popq %rsi
movq %r15, %rdi
xorl %edx, %edx
callq 0x7193a
movq (%r14), %rax
movq -0x18(%rax), %rax
movl 0xd0(%r14,%rax), %edx
... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/matmul_x86_avx.cpp |
ncnn::MatMul_x86_avx::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86_avx::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = std:... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp # imm = 0x1B8
movq %rcx, %r15
movq %rdi, 0x98(%rsp)
movq (%rsi), %rbx
leaq 0x48(%rbx), %rax
movq %rax, 0x88(%rsp)
movq %rdx, 0x70(%rsp)
movq (%rdx), %r12
movl 0x28(%rbx), %ebp
movl 0x70(%rbx), %r14d
cmpl %r14d, %ebp
movl %r14... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/matmul_x86_avx.cpp |
virtual thunk to ncnn::MatMul_x86_avx::forward(std::vector<ncnn::Mat, std::allocator<ncnn::Mat>> const&, std::vector<ncnn::Mat, std::allocator<ncnn::Mat>>&, ncnn::Option const&) const | int MatMul_x86_avx::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& top_blobs, const Option& opt) const
{
const Mat& A = bottom_blobs[0];
const Mat& B = bottom_blobs[1];
Mat& top_blob = top_blobs[0];
const int Adims = A.dims;
const int Bdims = B.dims;
const int max_ABdims = std:... | movq (%rdi), %rax
addq -0x40(%rax), %rdi
jmp 0x3b8fd6
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/matmul_x86_avx.cpp |
ncnn::Deconvolution1D::load_model(ncnn::ModelBin const&) | int Deconvolution1D::load_model(const ModelBin& mb)
{
weight_data = mb.load(weight_data_size, 0);
if (weight_data.empty())
return -100;
if (bias_term)
{
bias_data = mb.load(num_output, 1);
if (bias_data.empty())
return -100;
}
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl 0xf4(%rdi), %edx
movq (%rsi), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
xorl %ecx, %ecx
callq *0x10(%rax)
leaq 0x148(%rbx), %r12
movq 0x8(%r14), %rax
cmpq %r14, %r12
je 0x3bc096
testq %rax, %rax
je 0x3bc006
lock... | /csukuangfj[P]ncnn/src/layer/deconvolution1d.cpp |
ncnn::Deconvolution1D::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int Deconvolution1D::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const
{
int w = bottom_blob.w;
size_t elemsize = bottom_blob.elemsize;
const int kernel_extent_w = dilation_w * (kernel_w - 1) + 1;
int outw = (w - 1) * stride_w + kernel_extent_w + output_pad_right;
Mat top_bl... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rcx, 0x80(%rsp)
movq %rdx, %r12
movl 0x2c(%rsi), %ebp
movl 0xd4(%rdi), %ebx
decl %ebx
imull 0xd8(%rdi), %ebx
movq %rsi, 0x90(%rsp)
movq 0x10(%rsi), %r13
decl %ebp
imull 0xdc(%rdi), %ebp
movl 0xe8(%rdi), %r14d
andq $0x0, 0x70(%rsp)
... | /csukuangfj[P]ncnn/src/layer/deconvolution1d.cpp |
ncnn::Deconvolution1D::cut_padding(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | void Deconvolution1D::cut_padding(const Mat& top_blob_bordered, Mat& top_blob, const Option& opt) const
{
if (pad_left > 0 || pad_right > 0)
{
copy_cut_border(top_blob_bordered, top_blob, 0, 0, pad_left, pad_right, opt);
}
else if (output_w > 0)
{
int wcut = top_blob_bordered.w - out... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl 0xe0(%rdi), %r8d
movl 0xe4(%rdi), %r9d
testl %r8d, %r8d
setg %al
testl %r9d, %r9d
setg %dl
orb %al, %dl
cmpb $0x1, %dl
jne 0x3bc86e
movq %rcx, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
jmp 0x3bc91e
movl 0xec(%rdi), %eax
t... | /csukuangfj[P]ncnn/src/layer/deconvolution1d.cpp |
ncnn::DeconvolutionDepthWise1D::cut_padding(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | void DeconvolutionDepthWise1D::cut_padding(const Mat& top_blob_bordered, Mat& top_blob, const Option& opt) const
{
if (pad_left > 0 || pad_right > 0)
{
copy_cut_border(top_blob_bordered, top_blob, 0, 0, pad_left, pad_right, opt);
}
else if (output_w > 0)
{
int wcut = top_blob_bordere... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movl 0xe0(%rdi), %r8d
movl 0xe4(%rdi), %r9d
testl %r8d, %r8d
setg %al
testl %r9d, %r9d
setg %dl
orb %al, %dl
cmpb $0x1, %dl
jne 0x3bd9ac
movq %rcx, (%rsp)
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
jmp 0x3bda5c
movl 0xec(%rdi), %eax
t... | /csukuangfj[P]ncnn/src/layer/deconvolutiondepthwise1d.cpp |
ncnn::Deconvolution3D::load_param(ncnn::ParamDict const&) | int Deconvolution3D::load_param(const ParamDict& pd)
{
num_output = pd.get(0, 0);
kernel_w = pd.get(1, 0);
kernel_h = pd.get(11, kernel_w);
kernel_d = pd.get(21, kernel_w);
dilation_w = pd.get(2, 1);
dilation_h = pd.get(12, dilation_w);
dilation_d = pd.get(22, dilation_w);
stride_w = pd.... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x98, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq %rsi, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x718a6
movl %eax, 0xd0(%rbx)
pushq $0x1
popq %rbp
movq %r14, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x718a6
movl %eax, 0xd4(%rbx)
pushq $0xb
popq %rsi
movq %r14, %rdi
m... | /csukuangfj[P]ncnn/src/layer/deconvolution3d.cpp |
ncnn::DeconvolutionDepthWise3D::load_model(ncnn::ModelBin const&) | int DeconvolutionDepthWise3D::load_model(const ModelBin& mb)
{
weight_data = mb.load(weight_data_size, 0);
if (weight_data.empty())
return -100;
if (bias_term)
{
bias_data = mb.load(num_output, 1);
if (bias_data.empty())
return -100;
}
return 0;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x50, %rsp
movq %rsi, %r15
movq %rdi, %rbx
movl 0x12c(%rdi), %edx
movq (%rsi), %rax
leaq 0x8(%rsp), %r14
movq %r14, %rdi
xorl %ecx, %ecx
callq *0x10(%rax)
leaq 0x180(%rbx), %r12
movq 0x8(%r14), %rax
cmpq %r14, %r12
je 0x3bf392
testq %rax, %rax
je 0x3bf302
loc... | /csukuangfj[P]ncnn/src/layer/deconvolutiondepthwise3d.cpp |
virtual thunk to ncnn::DeformableConv2D_x86_avx512::create_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_avx512::create_pipeline(const Option& opt)
{
activation = create_activation_layer(activation_type, activation_params, opt);
int kernel_size = kernel_w * kernel_h;
int num_input = weight_data_size / kernel_size / num_output;
int elempack = 1;
int out_elempack = 1;
#if __SS... | pushq %rax
movq (%rdi), %rax
addq -0x30(%rax), %rdi
callq 0x3c7244
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_avx512.cpp |
ncnn::DeformableConv2D_x86_fma::destroy_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_fma::destroy_pipeline(const Option& opt)
{
if (activation)
{
activation->destroy_pipeline(opt);
delete activation;
activation = 0;
}
if (gemm)
{
gemm->destroy_pipeline(opt);
delete gemm;
gemm = 0;
}
return 0;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x3d8350
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3d834b
movq (%rdi), %rax
callq *0x8(%rax)
andq $0x0, 0x8(%rbx)
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x3d8... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_fma.cpp |
virtual thunk to ncnn::DeformableConv2D_x86_fma::destroy_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_fma::destroy_pipeline(const Option& opt)
{
if (activation)
{
activation->destroy_pipeline(opt);
delete activation;
activation = 0;
}
if (gemm)
{
gemm->destroy_pipeline(opt);
delete gemm;
gemm = 0;
}
return 0;
} | pushq %rax
movq (%rdi), %rax
addq -0x38(%rax), %rdi
callq 0x3d8320
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_fma.cpp |
ncnn::DeformableConv2D_x86_avx::create_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_avx::create_pipeline(const Option& opt)
{
activation = create_activation_layer(activation_type, activation_params, opt);
int kernel_size = kernel_w * kernel_h;
int num_input = weight_data_size / kernel_size / num_output;
int elempack = 1;
int out_elempack = 1;
#if __SSE2_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %rsi, (%rsp)
movq %rdi, %r12
movq (%rdi), %rax
movq -0x18(%rax), %rbx
movl 0x104(%rdi,%rbx), %ecx
decl %ecx
cmpl $0x5, %ecx
ja 0x3e107a
leaq 0x1c878(%rip), %rax # 0x3fd154
movslq (%rax,%rcx,4), %rcx
add... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_avx.cpp |
ncnn::DeformableConv2D_x86_avx::destroy_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_avx::destroy_pipeline(const Option& opt)
{
if (activation)
{
activation->destroy_pipeline(opt);
delete activation;
activation = 0;
}
if (gemm)
{
gemm->destroy_pipeline(opt);
delete gemm;
gemm = 0;
}
return 0;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x3e1830
movq (%rdi), %rax
movq %r14, %rsi
callq *0x28(%rax)
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x3e182b
movq (%rdi), %rax
callq *0x8(%rax)
andq $0x0, 0x8(%rbx)
movq 0x58(%rbx), %rdi
testq %rdi, %rdi
je 0x3e1... | /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_avx.cpp |
virtual thunk to ncnn::DeformableConv2D_x86_avx::destroy_pipeline(ncnn::Option const&) | int DeformableConv2D_x86_avx::destroy_pipeline(const Option& opt)
{
if (activation)
{
activation->destroy_pipeline(opt);
delete activation;
activation = 0;
}
if (gemm)
{
gemm->destroy_pipeline(opt);
delete gemm;
gemm = 0;
}
return 0;
} | pushq %rax
movq (%rdi), %rax
addq -0x38(%rax), %rdi
callq 0x3e1800
xorl %eax, %eax
popq %rcx
retq
nop
| /csukuangfj[P]ncnn/build_O2/src/layer/x86/deformableconv2d_x86_avx.cpp |
ncnn::GLU::forward(ncnn::Mat const&, ncnn::Mat&, ncnn::Option const&) const | int GLU::forward(const Mat& bottom_blob, Mat& top_blob,
const Option& opt) const
{
int dims = bottom_blob.dims;
int positive_axis = axis < 0 ? dims + axis : axis;
if (dims == 1)
{ // ignore axis
int w = bottom_blob.w;
int out_w = w / 2;
top_blob.create(out_w, ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r15
movq %rsi, %r12
movl 0x28(%rsi), %eax
cmpl $0x1, %eax
jne 0x3ea1d4
movl 0x2c(%r12), %eax
pushq $0x2
popq %rsi
cltd
idivl %esi
movl %eax, %ebx
movq 0x8(%rcx), %rcx
pushq $0x4
popq %rdx
movq %r15, %rdi
movl %eax, %esi
callq... | /csukuangfj[P]ncnn/src/layer/glu.cpp |
ncnn::Unfold::load_param(ncnn::ParamDict const&) | int Unfold::load_param(const ParamDict& pd)
{
kernel_w = pd.get(1, 0);
kernel_h = pd.get(11, kernel_w);
dilation_w = pd.get(2, 1);
dilation_h = pd.get(12, dilation_w);
stride_w = pd.get(3, 1);
stride_h = pd.get(13, stride_w);
pad_left = pd.get(4, 0);
pad_right = pd.get(15, pad_left);
... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
pushq $0x1
popq %rbp
movq %rsi, %rdi
movl %ebp, %esi
xorl %edx, %edx
callq 0x718a6
movl %eax, 0xd0(%rbx)
pushq $0xb
popq %rsi
movq %r14, %rdi
movl %eax, %edx
callq 0x718a6
movl %eax, 0xd4(%rbx)
pushq $0x2
popq %rsi
movq %r14, %rdi
movl %ebp, %edx
callq 0x... | /csukuangfj[P]ncnn/src/layer/unfold.cpp |
void ncnn::copy_to_image<float>(ncnn::Mat const&, ncnn::Mat&, int, int) | static void copy_to_image(const Mat& src, Mat& self, int top, int left)
{
int w = src.w;
int h = src.h;
const T* ptr = src;
T* outptr = self.row<T>(top) + left;
for (int y = 0; y < h; y++)
{
memcpy(outptr, ptr, w * sizeof(T));
ptr += w;
outptr += self.w;
}
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movslq 0x2c(%rdi), %r14
movl 0x30(%rdi), %eax
movslq 0x2c(%rsi), %rsi
movslq %edx, %rdx
imulq %rsi, %rdx
imulq 0x10(%rbx), %rdx
addq (%rbx), %rdx
movq (%rdi), %r15
movslq %ecx, %rcx
leaq (%rdx,%rcx,4), %r12
shlq $0x2, %r14
xorl %ebp, %ebp
testl %eax... | /csukuangfj[P]ncnn/src/layer/copyto.cpp |
nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::basic_json(std::i... | basic_json(initializer_list_t init,
bool type_deduction = true,
value_t manual_type = value_t::array)
{
// check if each element is an array with two elements whose first
// element is a string
bool is_an_object = std::all_of(init.begin(), init.end(),
... | pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp # imm = 0x120
movb %r8b, %al
movq %rsi, -0x10(%rbp)
movq %rdx, -0x8(%rbp)
movq %rdi, -0x18(%rbp)
andb $0x1, %cl
movb %cl, -0x19(%rbp)
movb %al, -0x1a(%rbp)
movq -0x18(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
movq %rdi, %rax
movq %rax, -0xd0(%rbp)
xorps %xmm0, %xmm0
movu... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::type_error nlohmann::json_abi_v3_11_3::detail::type_error::create<std::nullptr_t, 0>(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::nullptr_t) | static type_error create(int id_, const std::string& what_arg, BasicJsonContext context)
{
const std::string w = concat(exception::name("type_error", id_), exception::diagnostics(context), what_arg);
return {id_, w.c_str()};
} | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0xd0(%rbp)
movq %rdi, %rax
movq %rax, -0xc8(%rbp)
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
leaq -0x81(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x305f0
movq -0xc0(%rbp), %rdx
leaq 0x203f3(%rip), %rsi # 0x6335f
le... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>, void>::basic_json(nlohma... | basic_json(const basic_json& other)
: json_base_class_t(other)
{
m_data.m_type = other.m_data.m_type;
// check of passed value is valid
other.assert_invariant();
switch (m_data.m_type)
{
case value_t::object:
{
m_data.m_value =... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x70(%rbp)
movq %rdi, %rax
movq %rax, -0x78(%rbp)
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
callq 0x3f870
movq -0x70(%rbp), %rax
movq -0x10(%rbp), %rcx
movb (%rcx), %cl
movb %cl, (%rax)
movq -0x10(%r... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_3::detail::priority_tag<3u>{}), fp.get<std::vector<double, std::allocator<double>>::value_type>(), (void)()) nlohmann::json_abi_v3_11_3::detail::from_json<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::c... | auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
j.template get<typename ConstructibleArrayType::value_type>(),
void())
{
if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
{
JSON_THROW(type_error::create(302, concat("type must be ar... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x403d0
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x48828
jmp 0x488c8
movb $0x1, -0x45(%rbp)
movl $0x20, %edi
callq 0x30190
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
callq 0x... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
decltype(fp0.reserve(std::declval<std::vector<double, std::allocator<double>>::size_type>()), fp.get<std::vector<double, std::allocator<double>>::value_type>(), (void)()) nlohmann::json_abi_v3_11_3::detail::from_json_array_impl<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<cha... | auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, priority_tag<1> /*unused*/)
-> decltype(
arr.reserve(std::declval<typename ConstructibleArrayType::size_type>()),
j.template get<typename ConstructibleArrayType::value_type>(),
void())
{
using std::end;
ConstructibleArra... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0xb8(%rbp)
callq 0x33120
movq -0x10(%rbp), %rdi
callq 0x3bdb0
movq -0xb8(%rbp), %rdi
movq %rax, %rsi
callq 0x48b10
jmp 0x489cd
movq -0x10(%rbp), %rsi
leaq -0x60(%rbp), %rdi
callq 0x48ca0
movq -0x... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::alloc... | iter_impl& operator++()
{
JSON_ASSERT(m_object != nullptr);
switch (m_object->m_data.m_type)
{
case value_t::object:
{
std::advance(m_it.object_iterator, 1);
break;
}
case value_t::array:
{
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, (%rax)
je 0x491ac
jmp 0x491cb
leaq 0x1aeb9(%rip), %rdi # 0x6406c
leaq 0x196ec(%rip), %rsi # 0x628a6
movl $0x33bf, %edx # imm = 0x33BF
leaq 0x1b0b6(%rip), %rcx # 0x6427c
callq 0... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
bool nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::... | bool operator==(const IterImpl& other) const
{
// if objects are not the same, the comparison is undefined
if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
{
JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object));
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x68(%rbp)
movq (%rax), %rax
movq -0x18(%rbp), %rcx
cmpq (%rcx), %rax
setne %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x49285
jmp 0x49337
movb $0x1, -0x4d(%rbp)
movl $0x20, %edi
cal... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::iter_impl<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::alloc... | explicit iter_impl(pointer object) noexcept : m_object(object)
{
JSON_ASSERT(m_object != nullptr);
switch (m_object->m_data.m_type)
{
case value_t::object:
{
m_it.object_iterator = typename object_t::iterator();
break;
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
movq -0x10(%rbp), %rax
movq %rax, (%rdi)
addq $0x8, %rdi
movq %rdi, -0x40(%rbp)
callq 0x4a2d0
movq -0x40(%rbp), %rdi
addq $0x8, %rdi
callq 0x4a2f0
movq -0x40(%rbp), %rdi
addq $0x10, %rdi... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allo... | void dump(const BasicJsonType& val,
const bool pretty_print,
const bool ensure_ascii,
const unsigned int indent_step,
const unsigned int current_indent = 0)
{
switch (val.m_data.m_type)
{
case value_t::object:
{
... | pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
movb %cl, %al
movb %dl, %cl
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
andb $0x1, %cl
movb %cl, -0x11(%rbp)
andb $0x1, %al
movb %al, -0x12(%rbp)
movl %r8d, -0x18(%rbp)
movl %r9d, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x100(%rbp)
movq -0x10(... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
void nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std:... | void dump_integer(NumberType x)
{
static constexpr std::array<std::array<char, 2>, 100> digits_to_99
{
{
{{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
{{'1', '0'}... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x4dc0a
movq -0x38(%rbp), %rdi
callq 0x4ca80
movq %rax, %rdi
movq (%rdi), %rax
movl $0x30, %esi
callq *(%rax)
jmp 0x4de22
movq -0x38(%rbp), %rdi
addq $0x10, %r... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
void nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std:... | void dump_integer(NumberType x)
{
static constexpr std::array<std::array<char, 2>, 100> digits_to_99
{
{
{{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
{{'1', '0'}... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x4deaa
movq -0x38(%rbp), %rdi
callq 0x4ca80
movq %rax, %rdi
movq (%rdi), %rax
movl $0x30, %esi
callq *(%rax)
jmp 0x4e0c2
movq -0x38(%rbp), %rdi
addq $0x10, %r... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allo... | static std::uint8_t decode(std::uint8_t& state, std::uint32_t& codep, const std::uint8_t byte) noexcept
{
static const std::array<std::uint8_t, 400> utf8d =
{
{
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1F
... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movb %al, -0x11(%rbp)
movzbl -0x11(%rbp), %eax
movq %rax, -0x28(%rbp)
leaq 0x175dc(%rip), %rdi # 0x657c0
callq 0x4e6b0
movq %rax, %rcx
movq -0x28(%rbp), %rax
cmpq %rcx, %rax
jae 0x4e1f7
jmp 0x4e216
leaq 0x16506(%r... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::serializer<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::json_abi_v3_11_3::adl_serializer, std::vector<unsigned char, std::allo... | static std::string hex_bytes(std::uint8_t byte)
{
std::string result = "FF";
constexpr const char* nibble_to_hex = "0123456789ABCDEF";
result[0] = nibble_to_hex[byte / 16];
result[1] = nibble_to_hex[byte % 16];
return result;
} | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x38(%rbp)
movb %sil, %al
movq %rdi, %rcx
movq %rcx, -0x40(%rbp)
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movb $0x0, -0xa(%rbp)
leaq -0xb(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x305f0
movq -0x38(%rbp), %rdi
movq -0x30(%rbp), %rdx
leaq 0x162af(%rip), %rsi ... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::boundaries nlohmann::json_abi_v3_11_3::detail::dtoa_impl::compute_boundaries<double>(double) | boundaries compute_boundaries(FloatType value)
{
JSON_ASSERT(std::isfinite(value));
JSON_ASSERT(value > 0);
// Convert the IEEE representation into a diyfp.
//
// If v is denormal:
// value = 0.F * 2^(1 - bias) = ( F) * 2^(1 - bias - (p-1))
// If v is normalized:
// v... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0x100(%rbp)
movq %rdi, -0xf8(%rbp)
movsd %xmm0, -0x8(%rbp)
movsd -0x8(%rbp), %xmm0
callq 0x4ef70
testb $0x1, %al
jne 0x4f62e
jmp 0x4f630
jmp 0x4f64f
leaq 0x15469(%rip), %rdi # 0x64aa0
leaq 0x13268(%rip), %rsi # 0x628a6
movl $0x42c... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp::mul(nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&, nlohmann::json_abi_v3_11_3::detail::dtoa_impl::diyfp const&) | static diyfp mul(const diyfp& x, const diyfp& y) noexcept
{
static_assert(kPrecision == 64, "internal error");
// Computes:
// f = round((x.f * y.f) / 2^q)
// e = x.e + y.e + q
// Emulate the 64-bit * 64-bit multiplication:
//
// p = u * v
// = (... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rax
movl 0x4(%rax), %eax
movq %rax, -0x30(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
movq %rax, -0x38(%rbp)
movq -0x20(%rbp), %rax
movl 0x4(%ra... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_3::detail::priority_tag<3u>{}), fp.get<std::array<double, 7ul>::value_type>(), (void)()) nlohmann::json_abi_v3_11_3::detail::from_json<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, st... | auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
j.template get<typename ConstructibleArrayType::value_type>(),
void())
{
if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
{
JSON_THROW(type_error::create(302, concat("type must be ar... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x403d0
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x53688
jmp 0x53728
movb $0x1, -0x45(%rbp)
movl $0x20, %edi
callq 0x30190
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
callq 0x... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
decltype(from_json_array_impl(fp, fp0, nlohmann::json_abi_v3_11_3::detail::priority_tag<3u>{}), fp.get<std::array<double, 8ul>::value_type>(), (void)()) nlohmann::json_abi_v3_11_3::detail::from_json<nlohmann::json_abi_v3_11_3::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, st... | auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
j.template get<typename ConstructibleArrayType::value_type>(),
void())
{
if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
{
JSON_THROW(type_error::create(302, concat("type must be ar... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x403d0
xorb $-0x1, %al
xorb $-0x1, %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x53fb8
jmp 0x54058
movb $0x1, -0x45(%rbp)
movl $0x20, %edi
callq 0x30190
movq %rax, -0x50(%rbp)
movq -0x8(%rbp), %rdi
callq 0x... | /pantor[P]ruckig/third_party/nlohmann/json.hpp |
ruckig::BrakeProfile::finalize(double&, double&, double&) | void finalize(double& ps, double& vs, double& as) {
if (t[0] <= 0.0 && t[1] <= 0.0) {
duration = 0.0;
return;
}
duration = t[0];
p[0] = ps;
v[0] = vs;
a[0] = as;
std::tie(ps, vs, as) = integrate(t[0], ps, vs, as, j[0]);
if (t[1] >... | pushq %rbp
movq %rsp, %rbp
subq $0x100, %rsp # imm = 0x100
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x88(%rbp)
addq $0x8, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x54ba0
xorps %xmm0, %xmm0
ucomisd (%rax), %xmm0
jb 0x54f2d
... | /pantor[P]ruckig/include/ruckig/brake.hpp |
ruckig::BrakeProfile::finalize_second_order(double&, double&, double&) | void finalize_second_order(double& ps, double& vs, double& as) {
if (t[0] <= 0.0) {
duration = 0.0;
return;
}
duration = t[0];
p[0] = ps;
v[0] = vs;
std::tie(ps, vs, as) = integrate(t[0], ps, vs, a[0], 0.0);
} | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x8, %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x54ba0
xorps %xmm0, %xmm0
ucomisd (%rax), %xmm0
jb 0x55279
movq -0x58(%rbp), %rax
xor... | /pantor[P]ruckig/include/ruckig/brake.hpp |
bool ruckig::Profile::check_for_velocity<(ruckig::Profile::ControlSigns)0, (ruckig::Profile::ReachedLimits)7>(double, double, double) | bool check_for_velocity(double jf, double aMax, double aMin) {
if (t[0] < 0) {
return false;
}
t_sum[0] = t[0];
for (size_t i = 0; i < 6; ++i) {
if (t[i+1] < 0) {
return false;
}
t_sum[i+1] = t_sum[i] + t[i+1];
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp # imm = 0x170
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movsd %xmm1, -0x20(%rbp)
movsd %xmm2, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0x88(%rbp)
xorl %eax, %eax
movl %eax, %esi
callq 0x53a00
xorps %xmm0, %xmm0
ucomisd (%rax), %xmm0
jbe 0x5c3e4
movb $0... | /pantor[P]ruckig/include/ruckig/profile.hpp |
bool ruckig::Profile::check_for_second_order_velocity<(ruckig::Profile::ControlSigns)1, (ruckig::Profile::ReachedLimits)7>(double) | bool check_for_second_order_velocity(double aUp) {
// ReachedLimits::ACC0
if (t[1] < 0.0) {
return false;
}
t_sum = {0, t[1], t[1], t[1], t[1], t[1], t[1]};
if (t_sum.back() > t_max) { // For numerical reasons, is that needed?
return false;
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0x10(%rbp)
movsd %xmm0, -0x18(%rbp)
movq -0x10(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
movl $0x1, %esi
callq 0x53a00
xorps %xmm0, %xmm0
ucomisd (%rax), %xmm0
jbe 0x5daab
movb $0x0, -0x1(%rbp)
jmp 0x5deea
movq -0xd8(%rbp), %rdi
xorps %xmm0, %xm... | /pantor[P]ruckig/include/ruckig/profile.hpp |
flatbuffers::FlatBufferBuilder::~FlatBufferBuilder() | explicit FlatBufferBuilder(uoffset_t initial_size = 1024)
: buf_(initial_size), minalign_(1), force_defaults_(false) {
offsetbuf_.reserve(16); // Avoid first few reallocs.
vtables_.reserve(16);
EndianCheck();
flatbuffer_version_string =
"FlatBuffers "
FLATBUFFERS_STRING(FLATBUFFERS_VERS... | pushq %rbx
movq %rdi, %rbx
movq 0x30(%rdi), %rdi
testq %rdi, %rdi
je 0x2758
callq 0x20a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x2766
callq 0x20a0
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x2775
popq %rbx
jmp 0x20d0
popq %rbx
retq
nop
| /AlexStocks[P]flatbuffers/include/flatbuffers/flatbuffers.h |
void flatbuffers::FlatBufferBuilder::AddElement<unsigned int>(unsigned short, unsigned int, unsigned int) | void AddElement(voffset_t field, T e, T def) {
// We don't serialize values equal to the default.
if (e == def && !force_defaults_) return;
auto off = PushElement(e);
TrackField(field, off);
} | pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
cmpl %ecx, %edx
jne 0x2b64
cmpb $0x1, 0x50(%rbx)
jne 0x2b98
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2ad6
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2a0a
movl %r14d, (%rax)
movl (%rbx), %edx
subl 0x10(%rbx), %edx
addl 0x8(%rbx), %edx
movzwl %... | /AlexStocks[P]flatbuffers/include/flatbuffers/flatbuffers.h |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.