// File: /workspace/github_cpp_makefile_star2_O1/gvaumour[P]cache-simulator/src/Perceptron.cc
// Function: PerceptronPredictor::printConfig(std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void PerceptronPredictor::printConfig(std::ostream& out, std::string entete) { 

	out << entete << ":Perceptron:TableSize\t" << m_tableSize << endl; 
	
	string a = m_enableAllocation ? "TRUE" : "FALSE";
	out << entete << ":Perceptron:EnableAllocation\t" << a << endl;
	a = m_enableBP ? "TRUE" : "FALSE";
	out << entete << ":Perceptron:EnableBP\t" << a << endl;
	
	out << entete << ":Perceptron:BypassThreshold\t" << simu_parameters.perceptron_bypass_threshold  << endl;
	out << entete << ":Perceptron:BypassLearning\t" << simu_parameters.perceptron_bypass_learning << endl; 
	out << entete << ":Perceptron:AllocThreshold\t" << simu_parameters.perceptron_allocation_threshold  << endl;
	out << entete << ":Perceptron:AllocLearning\t" << simu_parameters.perceptron_allocation_learning << endl; 
	out << entete << ":Perceptron:BypassFeatures\t"; 
	for(auto p : m_BP_criterias_names)
		out << p << ",";
	out << endl;	
	out << entete << ":Perceptron:AllocFeatures\t"; 
	for(auto p : m_Allocation_criterias_names)
		out << p << ",";
	out << endl;	

	Predictor::printConfig(out, entete);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdx), %rsi
movq 0x8(%rdx), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x110f3(%rip), %rsi     # 0x36625
movl $0x16, %edx
movq %rax, %rdi
callq 0x5350
movl 0x300(%r14), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movzbl 0x349(%r14), %edx
leaq 0xef51(%rip), %rbp      # 0x344d8
leaq 0xef4f(%rip), %r12      # 0x344dd
testq %rdx, %rdx
movq %r12, %rsi
cmovneq %rbp, %rsi
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
xorq $0x5, %rdx
addq %rsi, %rdx
leaq 0x38(%rsp), %rdi
callq 0xccac
movq (%r15), %rsi
movq %r15, 0x8(%rsp)
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r13
leaq 0x1106c(%rip), %rsi     # 0x3663c
movl $0x1d, %edx
movq %rax, %rdi
callq 0x5350
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r13, %rdi
callq 0x5350
movq %rax, %r13
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r13, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r13, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movzbl 0x348(%r14), %r8d
testq %r8, %r8
cmovneq %rbp, %r12
leaq 0x38(%rsp), %rdi
movq 0x8(%rdi), %rdx
xorq $0x5, %r8
xorl %esi, %esi
movq %r12, %rcx
callq 0x54b0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x10ffd(%rip), %rsi     # 0x3665a
movl $0x15, %edx
movq %rax, %rdi
callq 0x5350
movq 0x38(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq %r12, %rdi
callq 0x5350
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x10fac(%rip), %rsi     # 0x36670
movl $0x1c, %edx
movq %rax, %rdi
callq 0x5350
leaq 0x20878(%rip), %r13     # 0x45f50
movl 0x1b8(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x10f5e(%rip), %rsi     # 0x3668d
movl $0x1b, %edx
movq %rax, %rdi
callq 0x5350
movl 0x1bc(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x10f16(%rip), %rsi     # 0x366a9
movl $0x1b, %edx
movq %rax, %rdi
callq 0x5350
movl 0x1c0(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
movq %rax, %r12
leaq 0x10ece(%rip), %rsi     # 0x366c5
movl $0x1a, %edx
movq %rax, %rdi
callq 0x5350
movl 0x1c4(%r13), %esi
movq %r12, %rdi
callq 0x5580
movq %rax, %r12
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r12, %rdi
movl $0xa, %esi
callq 0x52b0
movsbl %al, %esi
movq %r12, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
leaq 0x10e88(%rip), %rsi     # 0x366e0
movl $0x1b, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2e8(%r14), %rbp
movq %r14, 0x30(%rsp)
movq 0x2f0(%r14), %r15
cmpq %r15, %rbp
je 0x258e0
leaq 0x20(%rsp), %r14
leaq 0x10(%rsp), %r12
leaq 0xe7b4(%rip), %r13      # 0x34042
movq %r14, 0x10(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xcc1c
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x5350
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x5350
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x258d7
callq 0x52a0
addq $0x20, %rbp
cmpq %r15, %rbp
jne 0x2588e
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x52b0
movq 0x30(%rsp), %r14
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %rbx, %rdi
callq 0x5350
leaq 0x10dd5(%rip), %rsi     # 0x366fc
movl $0x1a, %edx
movq %rax, %rdi
callq 0x5350
movq 0x2a0(%r14), %rbp
movq 0x2a8(%r14), %r15
cmpq %r15, %rbp
je 0x259aa
leaq 0x20(%rsp), %r14
leaq 0x10(%rsp), %r12
leaq 0xe6ea(%rip), %r13      # 0x34042
movq %r14, 0x10(%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0xcc1c
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x5350
movl $0x1, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x5350
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x259a1
callq 0x52a0
addq $0x20, %rbp
cmpq %r15, %rbp
jne 0x25958
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x52b0
movq 0x30(%rsp), %r15
movsbl %al, %esi
movq %rbx, %rdi
callq 0x5030
movq %rax, %rdi
callq 0x51f0
leaq 0x68(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0x58(%rsp), %rdi
callq 0xcc1c
leaq 0x58(%rsp), %rdx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x27ae4
movq 0x58(%rsp), %rdi
cmpq %r14, %rdi
je 0x25a17
callq 0x52a0
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x25a2b
callq 0x52a0
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x58(%rsp), %rdi
jmp 0x25a52
jmp 0x25a5e
jmp 0x25a5e
jmp 0x25a4a
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x25a61
callq 0x52a0
jmp 0x25a61
movq %rax, %rbx
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x25a75
callq 0x52a0
movq %rbx, %rdi
callq 0x55a0
nop