name
stringlengths 1
473k
| code
stringlengths 7
647k
| asm
stringlengths 4
3.39M
| file
stringlengths 8
196
|
---|---|---|---|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
return m_func.apply(ctx,
m_args.a->evaluate(ctx), m_args.b->evaluate(ctx),
m_args.c->evaluate(ctx), m_args.d->evaluate(ctx));
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x70, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rsi
movq (%rsi), %rax
leaq 0x28(%rsp), %r13
movq %r13, %rdi
callq *0x20(%rax)
movq 0x20(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq 0x30(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq 0x40(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
leaq 0x8(%rsp), %rcx
movq %r13, (%rcx)
leaq 0x7(%rsp), %rax
movq %rax, 0x8(%rcx)
leaq 0x6(%rsp), %rax
movq %rax, 0x10(%rcx)
leaq 0x5(%rsp), %rax
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x70, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableStatement<tcu::Vector<float, 3>>::doPrint(std::ostream&) const
|
void doPrint (ostream& os) const
{
if (m_isDeclaration)
os << glu::declare(getVarTypeOf<T>(), m_variable->getName());
else
os << m_variable->getName();
os << " = " << *m_value << ";\n";
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x28(%rdi)
jne 0x6e9327
leaq 0x60(%rsp), %rdi
movl $0x3, %esi
movl $0x3, %edx
callq 0x8d997c
movq 0x8(%r14), %rax
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x334442
leaq 0x20(%rsp), %rdi
leaq 0x60(%rsp), %rsi
movq %rsp, %rdx
xorl %ecx, %ecx
callq 0x461f6e
leaq 0x20(%rsp), %rsi
movq %rbx, %rdi
callq 0x8da5ad
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6e92fb
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x20(%rsp), %rdi
callq 0x8d9a14
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x6e931b
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x60(%rsp), %rdi
callq 0x8d9a14
jmp 0x6e9373
movq 0x8(%r14), %rax
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x334442
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6e9373
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x36265b(%rip), %rsi # 0xa4b9d5
movl $0x3, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x18(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x39e3c8(%rip), %rsi # 0xa87763
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x4619c6
jmp 0x6e93c6
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x6e93fd
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6e93fd
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6e9407
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6e9407
movq %rax, %rbx
leaq 0x60(%rsp), %rdi
callq 0x8d9a14
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableStatement<tcu::Vector<float, 3>>::doExecute(deqp::gls::BuiltinPrecisionTests::EvalContext&) const
|
void doExecute (EvalContext& ctx) const
{
if (m_isDeclaration)
ctx.env.bind(*m_variable, m_value->evaluate(ctx));
else
ctx.env.lookup(*m_variable) = m_value->evaluate(ctx);
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %rbx
movq %rdi, %r14
cmpb $0x1, 0x28(%rdi)
jne 0x6e9452
movq 0x30(%rbx), %r15
movq 0x8(%r14), %r12
movq 0x18(%r14), %rsi
movq (%rsi), %rax
movq %rsp, %r14
movq %r14, %rdi
movq %rbx, %rdx
callq *0x20(%rax)
movq %r15, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x6be7aa
jmp 0x6e9480
movq 0x18(%r14), %rsi
movq (%rsi), %rax
movq %rsp, %r15
movq %r15, %rdi
movq %rbx, %rdx
callq *0x20(%rax)
movq 0x30(%rbx), %rdi
movq 0x8(%r14), %rsi
callq 0x6bdea6
movl $0x9, %ecx
movq %rax, %rdi
movq %r15, %rsi
rep movsq (%rsi), %es:(%rdi)
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6bbf2f
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x35ad8a(%rip), %rsi # 0xa443b2
leaq 0x35ad87(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6bc46d
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e96ba
testq %rax, %rax
je 0x6e9695
lock
decl 0x8(%rax)
jne 0x6e9671
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9695
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x6e968c
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x6e96ba
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9701
lock
decl 0x8(%rax)
jne 0x6e96dd
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9701
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e96f8
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9718
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x35b244(%rip), %rsi # 0xa4496b
leaq 0x35b241(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e97d3
testq %rax, %rax
je 0x6e97a5
lock
decl 0x8(%rax)
jne 0x6e9778
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e97a5
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9799
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x6e97d3
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e981a
lock
decl 0x8(%rax)
jne 0x6e97f6
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e981a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9811
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9831
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x323d1c(%rip), %rsi # 0xa0d55c
leaq 0x323d18(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6bc46d
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e98cd
testq %rax, %rax
je 0x6e98a8
lock
decl 0x8(%rax)
jne 0x6e9884
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e98a8
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6e989f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x6e98cd
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9914
lock
decl 0x8(%rax)
jne 0x6e98f0
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9914
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e990b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e992b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x324229(%rip), %rsi # 0xa0db63
leaq 0x324225(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e99c7
testq %rax, %rax
je 0x6e99a2
lock
decl 0x8(%rax)
jne 0x6e997e
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e99a2
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9999
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x6e99c7
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9a0e
lock
decl 0x8(%rax)
jne 0x6e99ea
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9a0e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9a05
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9a25
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3287be(%rip), %rsi # 0xa121f2
leaq 0x3287ba(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e9ac1
testq %rax, %rax
je 0x6e9a9c
lock
decl 0x8(%rax)
jne 0x6e9a78
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9a9c
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9a93
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x6e9ac1
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9b08
lock
decl 0x8(%rax)
jne 0x6e9ae4
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9b08
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9aff
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9b1f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x37df61(%rip), %rsi # 0xa67a8f
leaq 0x37df5d(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6e9bbb
testq %rax, %rax
je 0x6e9b96
lock
decl 0x8(%rax)
jne 0x6e9b72
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9b96
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9b8d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x6e9bbb
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9c02
lock
decl 0x8(%rax)
jne 0x6e9bde
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9c02
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9bf9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9c2b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x6e7711
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x6e908f
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x6e778a
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6e9cbe
lock
decl 0x8(%rax)
jne 0x6e9c9a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9cbe
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9cb5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x6e9d06
lock
decl 0x8(%rax)
jne 0x6e9ce2
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6e9d06
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9cfd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x6e8a5a
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9d2d
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9d4a
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9d67
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x6e9d84
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x6e9da5
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6be1ea
jmp 0x6e9de6
jmp 0x6e9de3
jmp 0x6e9dc7
jmp 0x6e9de3
jmp 0x6e9dc7
jmp 0x6e9de3
jmp 0x6e9dc7
jmp 0x6e9de3
jmp 0x6e9dc7
jmp 0x6e9de3
jmp 0x6e9dc7
jmp 0x6e9de3
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6e9de6
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6e9de6
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6e8a5a
leaq 0x90(%rsp), %rdi
callq 0x6bda86
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::DerivedFunc<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintDefinition(std::ostream&) const
|
void doPrintDefinition (ostream& os) const
{
const ParamNames& paramNames = this->getParamNames();
initialize();
os << dataTypeNameOf<Ret>() << " " << this->getName()
<< "(";
if (isTypeValid<Arg0>())
os << dataTypeNameOf<Arg0>() << " " << paramNames.a;
if (isTypeValid<Arg1>())
os << ", " << dataTypeNameOf<Arg1>() << " " << paramNames.b;
if (isTypeValid<Arg2>())
os << ", " << dataTypeNameOf<Arg2>() << " " << paramNames.c;
if (isTypeValid<Arg3>())
os << ", " << dataTypeNameOf<Arg3>() << " " << paramNames.d;
os << ")\n{\n";
for (size_t ndx = 0; ndx < m_body.size(); ++ndx)
os << *m_body[ndx];
os << "return " << *m_ret << ";\n";
os << "}\n";
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
callq *0x50(%rax)
movq %rax, %r15
movq %r14, %rdi
callq 0x6ea72e
movl $0x3, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6ea002
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6ea019
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3afd1f(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq *0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x34d1ec(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ea07e
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x3, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6ea0a8
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6ea0bf
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3afc79(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x37bd05(%rip), %rsi # 0xa65dee
movl $0x4, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x6ea12e
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rax,%r15), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
incq %r12
movq 0x48(%r14), %rax
movq 0x50(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r15
cmpq %rcx, %r12
jb 0x6ea106
leaq 0x367d6f(%rip), %rsi # 0xa51ea4
movl $0x7, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x60(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x39d60d(%rip), %rsi # 0xa87763
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
leaq 0x37567b(%rip), %rsi # 0xa5f7e5
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ea1a1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::DerivedFunc<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
initialize();
if (dst.insert(this).second)
{
for (size_t ndx = 0; ndx < m_body.size(); ++ndx)
m_body[ndx]->getUsedFuncs(dst);
m_ret->getUsedFuncs(dst);
}
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x6ea72e
movq %rsp, %rsi
movq %r14, (%rsi)
movq %rbx, %rdi
callq 0x6b3fce
testb $0x1, %dl
je 0x6ea215
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x6ea208
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rax,%r15), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x20(%rax)
incq %r12
movq 0x48(%r14), %rax
movq 0x50(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r15
cmpq %rcx, %r12
jb 0x6ea1e0
movq 0x60(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrint(std::ostream&, std::vector<deqp::gls::BuiltinPrecisionTests::ExprBase const*, std::allocator<deqp::gls::BuiltinPrecisionTests::ExprBase const*>> const&) const
|
virtual void doPrint (ostream& os, const BaseArgExprs& args) const
{
os << getName() << "(";
if (isTypeValid<Arg0>())
os << *args[0];
if (isTypeValid<Arg1>())
os << ", " << *args[1];
if (isTypeValid<Arg2>())
os << ", " << *args[2];
if (isTypeValid<Arg3>())
os << ", " << *args[3];
os << ")";
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rsi
movq (%rdi), %rax
movq %rsp, %r15
movq %r15, %rdi
callq *0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x34ce12(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ea458
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%r14), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x3c0310(%rip), %rsi # 0xaaa77e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6ea4a3
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetParamNames[abi:cxx11]() const
|
virtual const ParamNames& doGetParamNames (void) const
{
static ParamNames names ("a", "b", "c", "d");
return names;
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movb 0x58b4b6(%rip), %al # 0xc75978
testb %al, %al
je 0x6ea4de
leaq 0x58b42b(%rip), %rax # 0xc758f8
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x58b493(%rip), %rdi # 0xc75978
callq 0x325590
testl %eax, %eax
je 0x6ea4c6
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x368107(%rip), %rsi # 0xa52605
leaq 0x368101(%rip), %rdx # 0xa52606
leaq 0x60(%rsp), %rdi
callq 0x334070
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x3680c3(%rip), %rsi # 0xa525e2
leaq 0x3680bd(%rip), %rdx # 0xa525e3
leaq 0x40(%rsp), %rdi
callq 0x334070
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x326881(%rip), %rsi # 0xa10dc2
leaq 0x32687b(%rip), %rdx # 0xa10dc3
leaq 0x20(%rsp), %rdi
callq 0x334070
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x3c12fa(%rip), %rsi # 0xaab85c
leaq 0x3c12f4(%rip), %rdx # 0xaab85d
movq %rsp, %rdi
callq 0x334070
leaq 0x58b380(%rip), %rdi # 0xc758f8
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %rsp, %r8
callq 0x6b40e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x6ea5a5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6ea5bc
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x6ea5d3
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x6ea5ea
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq -0x3640d(%rip), %rdi # 0x6b41e4
leaq 0x58b300(%rip), %rsi # 0xc758f8
leaq 0x573319(%rip), %rdx # 0xc5d918
callq 0x325d10
leaq 0x58b36d(%rip), %rdi # 0xc75978
callq 0x3258b0
jmp 0x6ea4c6
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x6ea633
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6ea633
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x6ea64f
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6ea64f
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x6ea66b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6ea66b
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x6ea687
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6ea687
movq %rax, %rbx
leaq 0x58b2ea(%rip), %rdi # 0xc75978
callq 0x3256b0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ExprP<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>::Ret> deqp::gls::BuiltinPrecisionTests::createApply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::ExprP<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>::Arg0> const&, deqp::gls::BuiltinPrecisionTests::ExprP<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>::Arg1> const&, deqp::gls::BuiltinPrecisionTests::ExprP<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>::Arg2> const&, deqp::gls::BuiltinPrecisionTests::ExprP<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>::Arg3> const&)
|
ExprP<typename Sig::Ret> createApply (
const Func<Sig>& func,
const ExprP<typename Sig::Arg0>& arg0 = voidP(),
const ExprP<typename Sig::Arg1>& arg1 = voidP(),
const ExprP<typename Sig::Arg2>& arg2 = voidP(),
const ExprP<typename Sig::Arg3>& arg3 = voidP())
{
return exprP(new Apply<Sig>(func, arg0, arg1, arg2, arg3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %r9, (%rsp)
movq %r8, %r12
movq %rcx, %r13
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %rbx
movl $0x50, %edi
callq 0x325210
movq %rax, %r14
leaq 0x559c18(%rip), %rax # 0xc44be8
movq %rax, (%r14)
movq %r15, 0x8(%r14)
leaq 0x10(%r14), %rdi
movq %rbp, %rsi
movq %r13, %rdx
movq %r12, %rcx
movq (%rsp), %r8
callq 0x6eb040
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6db7c6
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movl $0x50, %esi
movq %r14, %rdi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6eb196
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x6eb1a6
jmp 0x6eb1a6
jmp 0x6eb1a6
jmp 0x6eb1a6
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6eb1c0
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
return m_func.apply(ctx,
m_args.a->evaluate(ctx), m_args.b->evaluate(ctx),
m_args.c->evaluate(ctx), m_args.d->evaluate(ctx));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rsi
movq (%rsi), %rax
leaq 0x40(%rsp), %r13
movq %r13, %rdi
callq *0x20(%rax)
movq 0x20(%r12), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x30(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq 0x40(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
leaq 0x20(%rsp), %rcx
movq %r13, (%rcx)
movq %rbp, 0x8(%rcx)
leaq 0x7(%rsp), %rax
movq %rax, 0x10(%rcx)
leaq 0x6(%rsp), %rax
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::PrecisionCase* deqp::gls::BuiltinPrecisionTests::createFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Context const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>> const&)
|
PrecisionCase* createFuncCase (const Context& context,
const string& name,
const Func<Sig>& func)
{
switch (func.getOutParamIndex())
{
case -1:
return new FuncCase<Sig>(context, name, func);
case 1:
return new InOutFuncCase<Sig>(context, name, func);
default:
DE_FATAL("Impossible");
}
return DE_NULL;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x28(%rax)
cmpl $0x1, %eax
je 0x6f039a
cmpl $-0x1, %eax
jne 0x6f03cb
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x555898(%rip), %rax # 0xc45c30
jmp 0x6f03bf
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x555971(%rip), %rax # 0xc45d30
movq %rax, (%rbx)
movq %r14, 0x180(%rbx)
jmp 0x6f03cd
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x6f03de
movq %rax, %r14
movl $0x188, %esi # imm = 0x188
movq %rbx, %rdi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::PrecisionCase* deqp::gls::BuiltinPrecisionTests::createFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 4>, tcu::Vector<float, 4>, tcu::Vector<float, 4>, tcu::Vector<float, 4>, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Context const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 4>, tcu::Vector<float, 4>, tcu::Vector<float, 4>, tcu::Vector<float, 4>, deqp::gls::BuiltinPrecisionTests::Void>> const&)
|
PrecisionCase* createFuncCase (const Context& context,
const string& name,
const Func<Sig>& func)
{
switch (func.getOutParamIndex())
{
case -1:
return new FuncCase<Sig>(context, name, func);
case 1:
return new InOutFuncCase<Sig>(context, name, func);
default:
DE_FATAL("Impossible");
}
return DE_NULL;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x28(%rax)
cmpl $0x1, %eax
je 0x6f045f
cmpl $-0x1, %eax
jne 0x6f0490
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x555c73(%rip), %rax # 0xc460d0
jmp 0x6f0484
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x555d4c(%rip), %rax # 0xc461d0
movq %rax, (%rbx)
movq %r14, 0x180(%rbx)
jmp 0x6f0492
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x6f04a3
movq %rax, %r14
movl $0x188, %esi # imm = 0x188
movq %rbx, %rdi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6f0dcb
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x353dc6(%rip), %rsi # 0xa443b2
leaq 0x353dc3(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f067e
testq %rax, %rax
je 0x6f0659
lock
decl 0x8(%rax)
jne 0x6f0635
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0659
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0650
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x6f067e
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f06c5
lock
decl 0x8(%rax)
jne 0x6f06a1
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f06c5
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f06bc
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f06dc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x354280(%rip), %rsi # 0xa4496b
leaq 0x35427d(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f0797
testq %rax, %rax
je 0x6f0769
lock
decl 0x8(%rax)
jne 0x6f073c
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0769
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x6f075d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x6f0797
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f07de
lock
decl 0x8(%rax)
jne 0x6f07ba
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f07de
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f07d5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f07f5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x31cd58(%rip), %rsi # 0xa0d55c
leaq 0x31cd54(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f0891
testq %rax, %rax
je 0x6f086c
lock
decl 0x8(%rax)
jne 0x6f0848
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f086c
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0863
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x6f0891
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f08d8
lock
decl 0x8(%rax)
jne 0x6f08b4
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f08d8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f08cf
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f08ef
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x31d265(%rip), %rsi # 0xa0db63
leaq 0x31d261(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f098b
testq %rax, %rax
je 0x6f0966
lock
decl 0x8(%rax)
jne 0x6f0942
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0966
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6f095d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x6f098b
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f09d2
lock
decl 0x8(%rax)
jne 0x6f09ae
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f09d2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f09c9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f09e9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3217fa(%rip), %rsi # 0xa121f2
leaq 0x3217f6(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f0a85
testq %rax, %rax
je 0x6f0a60
lock
decl 0x8(%rax)
jne 0x6f0a3c
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0a60
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0a57
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x6f0a85
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f0acc
lock
decl 0x8(%rax)
jne 0x6f0aa8
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0acc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0ac3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f0ae3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x376f9d(%rip), %rsi # 0xa67a8f
leaq 0x376f99(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f0b7f
testq %rax, %rax
je 0x6f0b5a
lock
decl 0x8(%rax)
jne 0x6f0b36
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0b5a
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0b51
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x6f0b7f
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f0bc6
lock
decl 0x8(%rax)
jne 0x6f0ba2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0bc6
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0bbd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f0bec
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x6f137f
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x6b13f9
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x6f13f8
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f0c7f
lock
decl 0x8(%rax)
jne 0x6f0c5b
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0c7f
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0c76
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x6f0cc7
lock
decl 0x8(%rax)
jne 0x6f0ca3
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f0cc7
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0cbe
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x6f2ae8
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0cee
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0d0b
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0d28
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x6f0d45
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x6f0d66
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6aff42
jmp 0x6f0da7
jmp 0x6f0da4
jmp 0x6f0d88
jmp 0x6f0da4
jmp 0x6f0d88
jmp 0x6f0da4
jmp 0x6f0d88
jmp 0x6f0da4
jmp 0x6f0d88
jmp 0x6f0da4
jmp 0x6f0d88
jmp 0x6f0da4
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f0da7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f0da7
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6f2ae8
leaq 0x90(%rsp), %rdi
callq 0x6f2c7a
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<float, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<float, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4b8, %rsp # imm = 0x4B8
movq %rcx, 0x48(%rsp)
movq %rsi, (%rsp)
movq %rdi, %rbx
movq (%rdx), %r15
movq %rdx, 0x78(%rsp)
movq 0x8(%rdx), %r12
movq %r12, %rbp
subq %r15, %rbp
sarq $0x2, %rbp
leaq 0x410(%rsp), %rdi
movq %rbp, %rsi
callq 0x6b1dde
leaq 0x488(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x4a8(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%rbx), %rcx
movq %rcx, 0x280(%rsp)
movups 0xc8(%rbx), %xmm0
movupd 0xd8(%rbx), %xmm1
movapd %xmm1, 0x270(%rsp)
movaps %xmm0, 0x260(%rsp)
leaq 0x238(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xa8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x3765c1(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x3b1d84(%rip), %rsi # 0xaa328d
leaq 0xa0(%rsp), %rdi
callq 0x9aba2a
movq %rbx, 0x40(%rsp)
movq 0x56b606(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
leaq 0x290(%rsp), %rdi
callq 0x325e00
leaq 0x10(%rsp), %r13
movl $0x0, (%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
leaq 0x8(%rsp), %rsi
callq *0x20(%rax)
movq 0x20(%rsp), %rbx
cmpq %r13, %rbx
je 0x6f15a2
leaq 0x290(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r13, %rax
jne 0x6f1585
cmpq $0x0, 0x30(%rsp)
movq 0x40(%rsp), %r13
je 0x6f1652
movq 0x8(%r13), %rax
movq 0x10(%rax), %rax
leaq 0xa8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x3764de(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x298(%rsp), %rsi
leaq 0x58(%rsp), %rdi
callq 0x325660
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x3b1c7f(%rip), %rsi # 0xaa328d
leaq 0xa0(%rsp), %rdi
callq 0x9aba2a
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f1636
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x56b4eb(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
leaq 0x8(%rsp), %rdi
callq 0x6b222e
movq 0x56b4c5(%rip), %rsi # 0xc5cb28
leaq 0x290(%rsp), %rdi
callq 0x325aa0
leaq 0x300(%rsp), %rdi
callq 0x325a80
leaq 0xa0(%rsp), %rdi
callq 0x325e00
leaq 0x37643b(%rip), %rsi # 0xa67acc
leaq 0xa0(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%r13), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x6f16d4
movq %rbx, %rdi
callq 0x325680
leaq 0xa0(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f16f6
movq 0xa0(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0xa0, %rdi
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x39049e(%rip), %rsi # 0xa81b9b
leaq 0xa0(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0xa8(%rsp), %rsi
leaq 0x290(%rsp), %rdi
callq 0x325660
leaq 0x478(%rsp), %rbx
leaq 0x290(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f175f
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x56b3c2(%rip), %rsi # 0xc5cb28
leaq 0xa0(%rsp), %rdi
callq 0x325aa0
leaq 0x110(%rsp), %rdi
callq 0x325a80
movq 0x98(%r13), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq (%rsp), %r14
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x440(%rsp)
cmpq $0x0, 0x168(%r13)
je 0x6f1884
leaq 0x160(%r13), %rdx
leaq 0x39265c(%rip), %rsi # 0xa83e17
leaq 0x290(%rsp), %rdi
callq 0x33fea4
leaq 0x395cf3(%rip), %rsi # 0xa874c2
leaq 0x290(%rsp), %rdi
callq 0x3259c0
leaq 0xb0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f180c
movq %rdx, 0xa0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb0(%rsp)
jmp 0x6f1814
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0xa0(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x6f1856
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
movq 0x40(%rsp), %r13
movq (%rsp), %r14
je 0x6f1884
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x448(%rsp), %rdi
movl $0x3, %esi
callq 0x6b1e2a
movq 0x20(%r14), %rdx
leaq 0xa0(%rsp), %rdi
movq %r13, %rsi
callq 0x6b1e68
movq 0x448(%rsp), %r14
leaq 0x70(%r14), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x325800
addq $0x90, %r14
leaq 0xc0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0xb0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
movq (%rsp), %rbx
je 0x6f190a
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rbx), %rdx
leaq 0xa0(%rsp), %rdi
movq %r13, %rsi
callq 0x6b1e68
movq 0x448(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xa0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0xc0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
movq (%rsp), %rbx
je 0x6f197f
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%rbx), %rdx
leaq 0xa0(%rsp), %rdi
movq %r13, %rsi
callq 0x6b1e68
movq 0x448(%rsp), %r14
leaq 0xa0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xc0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f19ee
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x460(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq (%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0xa0(%rsp), %rdi
movq %r13, %rsi
callq 0x6b1e68
movq 0x460(%rsp), %r14
leaq 0xa0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xc0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f1a74
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xa0(%rsp), %rdi
callq 0x325e00
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
leaq 0xa0(%rsp), %rsi
callq *0x10(%rax)
leaq 0xa8(%rsp), %rsi
leaq 0x290(%rsp), %rdi
callq 0x325660
leaq 0x498(%rsp), %rbx
movq 0x56b070(%rip), %rsi # 0xc5cb28
leaq 0xa0(%rsp), %rdi
callq 0x325aa0
leaq 0x110(%rsp), %rdi
callq 0x325a80
leaq 0x290(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f1b05
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x98(%r13), %rdi
movl 0xf4(%r13), %esi
leaq 0x440(%rsp), %rdx
callq 0x878341
movq 0x78(%rsp), %rbx
movq %rax, %r14
movq (%rbx), %rax
movq %rax, 0xa0(%rsp)
movq 0x18(%rbx), %rax
movq %rax, 0xa8(%rsp)
movq 0x30(%rbx), %rax
movq %rax, 0xb0(%rsp)
movq 0x48(%rbx), %rax
movq %rax, 0xb8(%rsp)
movq 0x410(%rsp), %rax
movq 0x428(%rsp), %rcx
movq %rax, 0x290(%rsp)
movq %rcx, 0x298(%rsp)
movq 0x8(%r13), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x6f27f1
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0xa0(%rsp), %rdx
leaq 0x290(%rsp), %rcx
movq %r14, %rdi
movl %ebp, %esi
callq *0x30(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
xorl %eax, %eax
leaq 0xa0(%rsp), %rdx
movb %al, (%rdx)
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
movq %rcx, 0x8(%rdx)
movabsq $-0x10000000000000, %rsi # imm = 0xFFF0000000000000
movq %rsi, 0x10(%rdx)
movb %al, 0x290(%rsp)
movq %rcx, 0x298(%rsp)
movq %rsi, 0x2a0(%rsp)
movb %al, 0x8(%rsp)
movq %rcx, 0x10(%rsp)
movq %rsi, 0x18(%rsp)
movb %al, 0x58(%rsp)
movq %rcx, 0x60(%rsp)
movq %rsi, 0x68(%rsp)
movq (%rsp), %r14
movq (%r14), %rsi
leaq 0x230(%rsp), %rdi
callq 0x6b1806
movq 0x10(%r14), %rsi
leaq 0x230(%rsp), %rdi
leaq 0x290(%rsp), %rdx
callq 0x6b1806
movq 0x20(%r14), %rsi
leaq 0x230(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0x6b1806
movq 0x30(%r14), %rsi
leaq 0x230(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%r14), %rsi
leaq 0x230(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x6b1806
movq 0x50(%r14), %rsi
leaq 0x230(%rsp), %rdi
leaq 0x3f(%rsp), %rdx
callq 0x6b1f1c
movq %rbp, 0x98(%rsp)
cmpq %r15, %r12
je 0x6f25a3
leaq 0xa0(%r13), %r14
leaq 0x100(%r13), %rax
movq %rax, 0x228(%rsp)
leaq 0xa8(%rsp), %rbp
movq 0x98(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x220(%rsp)
xorl %r15d, %r15d
xorl %r13d, %r13d
movq $0x0, 0x50(%rsp)
movb $0x0, 0x80(%rsp)
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, 0x88(%rsp)
movabsq $-0x10000000000000, %rax # imm = 0xFFF0000000000000
movq %rax, 0x90(%rsp)
movq %r13, %rax
shlq $0x34, %rax
jne 0x6f1d42
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq (%rbx), %rax
movss (%rax,%r13,4), %xmm1
cvtss2sd %xmm1, %xmm0
ucomiss %xmm1, %xmm1
setp 0xa0(%rsp)
movsd 0x35043e(%rip), %xmm1 # 0xa421a0
jp 0x6f1d67
movaps %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0x350430(%rip), %xmm1 # 0xa421a8
leaq 0xa0(%rsp), %rdx
jp 0x6f1d85
movaps %xmm0, %xmm1
movsd %xmm1, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x99c9b2
leaq 0x290(%rsp), %rdi
movq %r14, %rsi
leaq 0x8(%rsp), %rdx
callq 0x99c760
movq (%rsp), %rax
movq (%rax), %rsi
leaq 0x230(%rsp), %rdi
callq 0x6b0556
movq 0x2a0(%rsp), %rcx
movq %rcx, 0x10(%rax)
movups 0x290(%rsp), %xmm0
movups %xmm0, (%rax)
movq 0x18(%rbx), %rax
movss (%rax,%r13,4), %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
ucomiss %xmm1, %xmm1
setp 0xa0(%rsp)
movsd 0x35039f(%rip), %xmm1 # 0xa421a0
jp 0x6f1e06
movaps %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0x350391(%rip), %xmm1 # 0xa421a8
leaq 0xa0(%rsp), %rdx
jp 0x6f1e24
movaps %xmm0, %xmm1
movsd %xmm1, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x99c9b2
leaq 0x290(%rsp), %rdi
movq %r14, %rsi
leaq 0x8(%rsp), %rdx
callq 0x99c760
movq (%rsp), %rax
movq 0x10(%rax), %rsi
leaq 0x230(%rsp), %rdi
callq 0x6b0556
movq 0x2a0(%rsp), %rcx
movq %rcx, 0x10(%rax)
movups 0x290(%rsp), %xmm0
movups %xmm0, (%rax)
movq 0x30(%rbx), %rax
movss (%rax,%r13,4), %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
ucomiss %xmm1, %xmm1
setp 0xa0(%rsp)
movsd 0x3502ff(%rip), %xmm1 # 0xa421a0
jp 0x6f1ea6
movaps %xmm0, %xmm1
movsd %xmm1, 0xa8(%rsp)
movsd 0x3502f1(%rip), %xmm1 # 0xa421a8
leaq 0x230(%rsp), %rbx
leaq 0xa0(%rsp), %rdx
jp 0x6f1ecc
movaps %xmm0, %xmm1
movsd %xmm1, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq %r14, %rsi
xorl %ecx, %ecx
callq 0x99c9b2
leaq 0x290(%rsp), %rdi
movq %r14, %rsi
leaq 0x8(%rsp), %rdx
callq 0x99c760
movq (%rsp), %rax
movq 0x20(%rax), %rsi
movq %rbx, %rdi
callq 0x6b0556
movq 0x2a0(%rsp), %rcx
movq %rcx, 0x10(%rax)
movups 0x290(%rsp), %xmm0
movups %xmm0, (%rax)
movq (%rsp), %rax
movq 0x30(%rax), %rsi
movq %rbx, %rdi
callq 0x6b0800
movq 0x40(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%r14), %rcx
movq %rcx, 0xc0(%rsp)
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm1, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movl %eax, 0xc8(%rsp)
movq %rbx, 0xd0(%rsp)
movl $0x0, 0xd8(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
leaq 0xa0(%rsp), %rsi
callq *0x18(%rax)
movq (%rsp), %rax
movq 0x40(%rax), %rsi
movq %rbx, %rdi
callq 0x6b0556
leaq 0xa0(%rsp), %rdi
leaq 0x260(%rsp), %rsi
movq %rax, %rdx
callq 0x99c760
movq 0xb0(%rsp), %rax
movq %rax, 0x90(%rsp)
movups 0xa0(%rsp), %xmm0
movaps %xmm0, 0x80(%rsp)
movq 0x410(%rsp), %rax
movss (%rax,%r13,4), %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
ucomiss %xmm0, %xmm0
movaps %xmm1, %xmm2
jnp 0x6f1ffa
movsd 0x3501a6(%rip), %xmm2 # 0xa421a0
jnp 0x6f2004
movsd 0x3501a4(%rip), %xmm1 # 0xa421a8
movsd 0x90(%rsp), %xmm3
movsd 0x88(%rsp), %xmm4
cmpnlepd %xmm2, %xmm4
cmpnlepd %xmm3, %xmm1
orpd %xmm4, %xmm1
movd %xmm1, %eax
movl %eax, %ebx
xorb $0x1, %bl
ucomiss %xmm0, %xmm0
jnp 0x6f203d
testb $0x1, %al
jne 0x6f203d
movb 0x80(%rsp), %bl
leaq 0xb0(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xa0(%rsp), %r12
movq %r12, %rdi
leaq 0x375b1d(%rip), %rsi # 0xa67b7c
leaq 0x375b41(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %bl, %esi
andl $0x1, %esi
movq 0x228(%rsp), %rdi
movq %r12, %rdx
callq 0x9a94ca
movl %eax, %ebx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f20a8
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl %ebx, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x50(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x50(%rsp)
cmpl $0x65, %ecx
setge %al
orb %bl, %al
testb $0x1, %al
jne 0x6f2587
movq 0x40(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0xa0(%rsp)
movq %rbp, %rdi
callq 0x325e00
testb %bl, %bl
leaq 0x3202e6(%rip), %rsi # 0xa123da
leaq 0x3202d8(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbp, %rdi
callq 0x325e70
movq 0x78(%rsp), %rbx
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x375a88(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36d69c(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq (%rax), %rax
leaq 0x2a0(%rsp), %rcx
movq %rcx, 0x290(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x290(%rsp), %rdi
callq 0x334442
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x359846(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq (%rbx), %rdx
addq %r15, %rdx
leaq 0x8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x6b2070
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x361d68(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f21ee
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2213
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36d5ae(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq 0x10(%rax), %rax
leaq 0x2a0(%rsp), %rcx
movq %rcx, 0x290(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x290(%rsp), %rdi
callq 0x334442
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x359757(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x18(%rbx), %rdx
addq %r15, %rdx
leaq 0x8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x6b2070
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x361c78(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f22de
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2303
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36d4be(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq 0x20(%rax), %rax
leaq 0x2a0(%rsp), %rcx
movq %rcx, 0x290(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x290(%rsp), %rdi
callq 0x334442
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x359667(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x30(%rbx), %rdx
addq %r15, %rdx
leaq 0x8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x6b2070
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x361b88(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f23ce
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f23f3
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36d3ce(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq 0x40(%rax), %rax
leaq 0x2a0(%rsp), %rcx
movq %rcx, 0x290(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x290(%rsp), %rdi
callq 0x334442
movq 0x290(%rsp), %rsi
movq 0x298(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x359577(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x410(%rsp), %rdx
addq %r15, %rdx
leaq 0x8(%rsp), %rdi
leaq 0x260(%rsp), %rsi
callq 0x6b2070
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x361a94(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbp, %rdi
leaq 0x3756fd(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x58(%rsp), %rdi
leaq 0x260(%rsp), %rsi
leaq 0x80(%rsp), %rdx
callq 0x6b20fc
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x361a40(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2516
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2532
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2557
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xa0(%rsp), %rdi
leaq 0x3b0d27(%rip), %rsi # 0xaa328d
callq 0x9aba2a
movq %rbp, %rdi
movq 0x56a5b3(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
incq %r13
addq $0x4, %r15
cmpq %r13, 0x220(%rsp)
movq 0x78(%rsp), %rbx
jne 0x6f1cff
jmp 0x6f25ac
movq $0x0, 0x50(%rsp)
movq 0x50(%rsp), %rbp
cmpl $0x64, %ebp
leaq 0x488(%rsp), %rbx
leaq 0x4a8(%rsp), %r15
movq 0x98(%rsp), %r12
movq 0x40(%rsp), %r13
jle 0x6f2652
movq 0x8(%r13), %rax
movq 0x10(%rax), %rax
leaq 0xa8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x3755ce(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%rbp), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x3755b9(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3b0c64(%rip), %rsi # 0xaa328d
leaq 0xa0(%rsp), %rdi
callq 0x9aba2a
movq 0x56a4eb(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
testl %ebp, %ebp
je 0x6f26c5
movq 0x8(%r13), %rax
movq 0x10(%rax), %rax
leaq 0xa8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %ebp, %esi
callq 0x325530
leaq 0x32a596(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %r12, %rsi
callq 0x3257b0
leaq 0x37554d(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3b0bd7(%rip), %rsi # 0xaa328d
leaq 0xa0(%rsp), %rdi
callq 0x9aba2a
jmp 0x6f2728
movq 0x8(%r13), %rax
movq 0x10(%rax), %rax
leaq 0xa8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x3754f2(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %r12, %rsi
callq 0x3257b0
leaq 0x3754d8(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3b0b72(%rip), %rsi # 0xaa328d
leaq 0xa0(%rsp), %rdi
callq 0x9aba2a
movq 0x56a3f9(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
leaq 0x230(%rsp), %rdi
callq 0x6b2588
movq 0x498(%rsp), %rdi
cmpq %r15, %rdi
je 0x6f276e
movq 0x4a8(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x478(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6f278b
movq 0x488(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x460(%rsp), %rdi
callq 0x36a7d0
leaq 0x448(%rsp), %rdi
callq 0x36a7d0
movq 0x428(%rsp), %rdi
testq %rdi, %rdi
je 0x6f27c2
movq 0x438(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x410(%rsp), %rdi
testq %rdi, %rdi
je 0x6f27df
movq 0x420(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x4b8, %rsp # imm = 0x4B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x35f1ea(%rip), %rsi # 0xa519ef
leaq 0x3752cb(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x52889d(%rip), %rsi # 0xc1b0c0
leaq -0x3c0a4a(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x6f2a95
jmp 0x6f2926
jmp 0x6f2a95
movq %rax, %rbx
movq %r15, %rdi
callq 0x325d40
jmp 0x6f2964
jmp 0x6f2a95
movq %rax, %rbx
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2ab9
movq 0x2a0(%rsp), %rsi
jmp 0x6f2a11
jmp 0x6f2a95
jmp 0x6f2886
movq %rax, %rbx
jmp 0x6f28fd
jmp 0x6f2a1e
jmp 0x6f2a95
jmp 0x6f2a95
jmp 0x6f28af
jmp 0x6f2a95
jmp 0x6f28af
jmp 0x6f2a95
jmp 0x6f28af
jmp 0x6f2a95
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x36a3d6
jmp 0x6f2ab9
jmp 0x6f2a95
jmp 0x6f293d
jmp 0x6f2a95
jmp 0x6f2a1e
jmp 0x6f2a95
jmp 0x6f2a95
movq %rax, %rbx
leaq 0x68(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f28fd
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x56a224(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
jmp 0x6f2a21
jmp 0x6f2926
jmp 0x6f2926
jmp 0x6f293d
jmp 0x6f2926
movq %rax, %rbx
movq 0x56a1f8(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x6f2aa7
jmp 0x6f2a95
movq %rax, %rbx
movq 0x56a1e1(%rip), %rsi # 0xc5cb28
leaq 0xa0(%rsp), %rdi
callq 0x325aa0
leaq 0x110(%rsp), %rdi
jmp 0x6f2ab4
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x6f2ab9
jmp 0x6f2a95
jmp 0x6f2a95
jmp 0x6f29d6
jmp 0x6f29d6
jmp 0x6f2a49
jmp 0x6f2a9a
jmp 0x6f2a9a
jmp 0x6f2a95
jmp 0x6f29d6
jmp 0x6f29d6
jmp 0x6f2a9a
jmp 0x6f2a9a
movq %rax, %rbx
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2a4c
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f2a4c
jmp 0x6f29d6
jmp 0x6f2a49
jmp 0x6f29d6
jmp 0x6f2a49
jmp 0x6f29d6
jmp 0x6f2a49
movq %rax, %rbx
jmp 0x6f2a68
jmp 0x6f2a95
jmp 0x6f2a95
jmp 0x6f2a95
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2ab9
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f2ab9
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x6b222e
movq 0x56a0f6(%rip), %rsi # 0xc5cb28
leaq 0x290(%rsp), %rdi
callq 0x325aa0
leaq 0x300(%rsp), %rdi
jmp 0x6f2ab4
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2a68
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
leaq 0x2a0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f2a9d
movq 0x2a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f2a9d
jmp 0x6f2a95
jmp 0x6f2a95
jmp 0x6f2a95
movq %rax, %rbx
jmp 0x6f2ab9
movq %rax, %rbx
movq 0x56a084(%rip), %rsi # 0xc5cb28
movq %rbp, %rdi
callq 0x325aa0
leaq 0x118(%rsp), %rdi
callq 0x325a80
leaq 0x230(%rsp), %rdi
callq 0x6b2588
leaq 0x440(%rsp), %rdi
callq 0x36a3fe
leaq 0x410(%rsp), %rdi
callq 0x6b2188
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>>::operator()(deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, float, deqp::gls::BuiltinPrecisionTests::Void>> const&) const
|
bool operator() (const float& val1, const float& val2) const
{
if (deIsNaN(val1))
return false;
if (deIsNaN(val2))
return true;
return val1 < val2;
}
|
movss (%rsi), %xmm0
ucomiss %xmm0, %xmm0
jp 0x6f2e27
movss (%rdx), %xmm1
ucomiss %xmm1, %xmm1
movb $0x1, %al
jp 0x6f2e8a
ucomiss %xmm0, %xmm1
ja 0x6f2e8a
movss (%rdx), %xmm1
ucomiss %xmm1, %xmm1
jp 0x6f2e3c
xorl %eax, %eax
ucomiss %xmm0, %xmm0
jp 0x6f2e8a
ucomiss %xmm1, %xmm0
ja 0x6f2e8a
movss 0x4(%rsi), %xmm0
ucomiss %xmm0, %xmm0
jp 0x6f2e57
movss 0x4(%rdx), %xmm1
ucomiss %xmm1, %xmm1
movb $0x1, %al
jp 0x6f2e8a
ucomiss %xmm0, %xmm1
ja 0x6f2e8a
movss 0x4(%rdx), %xmm1
ucomiss %xmm1, %xmm1
jp 0x6f2e6d
xorl %eax, %eax
ucomiss %xmm0, %xmm0
jp 0x6f2e8a
ucomiss %xmm1, %xmm0
ja 0x6f2e8a
movss 0x8(%rsi), %xmm0
ucomiss %xmm0, %xmm0
jp 0x6f2e88
movss 0x8(%rdx), %xmm1
ucomiss %xmm1, %xmm1
movb $0x1, %al
jp 0x6f2e8a
ucomiss %xmm0, %xmm1
ja 0x6f2e8a
xorl %eax, %eax
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<float> const&, deqp::gls::BuiltinPrecisionTests::VariableP<float> const&, deqp::gls::BuiltinPrecisionTests::VariableP<float> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6b0c52
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x6b0c52
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6b0c52
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x552283(%rip), %rax # 0xc45220
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x6f332c
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3006
lock
decl 0x8(%rax)
jne 0x6f2fe2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3006
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f2ffd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x6f304e
lock
decl 0x8(%rax)
jne 0x6f302a
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f304e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3045
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x6f3096
lock
decl 0x8(%rax)
jne 0x6f3072
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3096
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x6f308d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x6f30de
lock
decl 0x8(%rax)
jne 0x6f30ba
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f30de
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6f30d5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x5520d3(%rip), %rax # 0xc451b8
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x6f3106
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6aff42
jmp 0x6f3115
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6aff42
jmp 0x6f3124
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6aff42
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6f320c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x6f321c
jmp 0x6f321c
jmp 0x6f321c
jmp 0x6f321c
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3236
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
m_func.getUsedFuncs(dst);
m_args.a->getUsedFuncs(dst);
m_args.b->getUsedFuncs(dst);
m_args.c->getUsedFuncs(dst);
m_args.d->getUsedFuncs(dst);
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x30(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x6b0556
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x6b0556
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6b0556
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
return m_func.apply(ctx,
m_args.a->evaluate(ctx), m_args.b->evaluate(ctx),
m_args.c->evaluate(ctx), m_args.d->evaluate(ctx));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rsi
movq (%rsi), %rax
leaq 0x10(%rsp), %rdi
callq *0x20(%rax)
movq 0x20(%r13), %rsi
movq (%rsi), %rax
leaq 0x40(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x30(%r13), %rsi
movq (%rsi), %rax
leaq 0x28(%rsp), %r12
movq %r12, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x40(%r13), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
leaq 0x58(%rsp), %rcx
leaq 0x10(%rsp), %rax
movq %rax, (%rcx)
movq %rbp, 0x8(%rcx)
movq %r12, 0x10(%rcx)
leaq 0xf(%rsp), %rax
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6ca78d
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x350d02(%rip), %rsi # 0xa443b2
leaq 0x350cff(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f3742
testq %rax, %rax
je 0x6f371d
lock
decl 0x8(%rax)
jne 0x6f36f9
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f371d
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3714
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x6f3742
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3789
lock
decl 0x8(%rax)
jne 0x6f3765
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3789
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3780
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f37a0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x3511bc(%rip), %rsi # 0xa4496b
leaq 0x3511b9(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f385b
testq %rax, %rax
je 0x6f382d
lock
decl 0x8(%rax)
jne 0x6f3800
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f382d
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3821
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x6f385b
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f38a2
lock
decl 0x8(%rax)
jne 0x6f387e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f38a2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3899
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f38b9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x319c94(%rip), %rsi # 0xa0d55c
leaq 0x319c90(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f3955
testq %rax, %rax
je 0x6f3930
lock
decl 0x8(%rax)
jne 0x6f390c
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3930
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3927
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x6f3955
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f399c
lock
decl 0x8(%rax)
jne 0x6f3978
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f399c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3993
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f39b3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x31a1a1(%rip), %rsi # 0xa0db63
leaq 0x31a19d(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aea82
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f3a4f
testq %rax, %rax
je 0x6f3a2a
lock
decl 0x8(%rax)
jne 0x6f3a06
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3a2a
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3a21
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x6f3a4f
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3a96
lock
decl 0x8(%rax)
jne 0x6f3a72
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3a96
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3a8d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f3aad
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x31e736(%rip), %rsi # 0xa121f2
leaq 0x31e732(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f3b49
testq %rax, %rax
je 0x6f3b24
lock
decl 0x8(%rax)
jne 0x6f3b00
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3b24
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3b1b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x6f3b49
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3b90
lock
decl 0x8(%rax)
jne 0x6f3b6c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3b90
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3b87
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f3ba7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x373ed9(%rip), %rsi # 0xa67a8f
leaq 0x373ed5(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x6f3c43
testq %rax, %rax
je 0x6f3c1e
lock
decl 0x8(%rax)
jne 0x6f3bfa
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3c1e
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3c15
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x6f3c43
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3c8a
lock
decl 0x8(%rax)
jne 0x6f3c66
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3c8a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3c81
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f3cb3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x6f137f
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x6b13f9
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x6f3e94
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x6f3d46
lock
decl 0x8(%rax)
jne 0x6f3d22
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3d46
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3d3d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x6f3d8e
lock
decl 0x8(%rax)
jne 0x6f3d6a
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x6f3d8e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3d85
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x6f56aa
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3db5
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3dd2
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3def
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x6f3e0c
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x6f3e2d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6aff42
jmp 0x6f3e6e
jmp 0x6f3e6b
jmp 0x6f3e4f
jmp 0x6f3e6b
jmp 0x6f3e4f
jmp 0x6f3e6b
jmp 0x6f3e4f
jmp 0x6f3e6b
jmp 0x6f3e4f
jmp 0x6f3e6b
jmp 0x6f3e4f
jmp 0x6f3e6b
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x6f3e6e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f3e6e
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6f56aa
leaq 0x90(%rsp), %rdi
callq 0x6cc46c
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<float, float>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<float, float>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<float, float, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4d8, %rsp # imm = 0x4D8
movq %rcx, 0x70(%rsp)
movq %rsi, %r13
movq %rdi, %rbx
movq (%rdx), %r15
movq %rdx, 0x68(%rsp)
movq 0x8(%rdx), %r12
movq %r12, %rbp
subq %r15, %rbp
sarq $0x2, %rbp
leaq 0x290(%rsp), %rdi
movq %rbp, %rsi
callq 0x6cee4e
leaq 0x480(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x4a0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%rbx), %rcx
movq %rcx, 0x4d0(%rsp)
movups 0xc8(%rbx), %xmm0
movupd 0xd8(%rbx), %xmm1
movapd %xmm1, 0x4c0(%rsp)
movaps %xmm0, 0x4b0(%rsp)
leaq 0x260(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq %rbx, (%rsp)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xd8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x373b22(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x3af2e5(%rip), %rsi # 0xaa328d
leaq 0xd0(%rsp), %rdi
callq 0x9aba2a
movq %r13, 0x8(%rsp)
movq 0x568b67(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
leaq 0x2c0(%rsp), %rdi
callq 0x325e00
leaq 0x38(%rsp), %r13
movl $0x0, (%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
leaq 0x30(%rsp), %rsi
callq *0x20(%rax)
movq 0x48(%rsp), %rbx
cmpq %r13, %rbx
je 0x6f4041
leaq 0x2c0(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r13, %rax
jne 0x6f4024
cmpq $0x0, 0x58(%rsp)
movq 0x8(%rsp), %r13
je 0x6f40f5
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
leaq 0xd8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x373a3b(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x2c8(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x325660
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x3af1dc(%rip), %rsi # 0xaa328d
leaq 0xd0(%rsp), %rdi
callq 0x9aba2a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f40d9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x568a48(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
leaq 0x30(%rsp), %rdi
callq 0x6b222e
movq 0x568a22(%rip), %rsi # 0xc5cb28
leaq 0x2c0(%rsp), %rdi
callq 0x325aa0
leaq 0x330(%rsp), %rdi
callq 0x325a80
leaq 0xd0(%rsp), %rdi
callq 0x325e00
leaq 0x373998(%rip), %rsi # 0xa67acc
leaq 0xd0(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movq (%rsp), %rax
movl 0xf0(%rax), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x6f417a
movq %rbx, %rdi
callq 0x325680
leaq 0xd0(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f419c
movq 0xd0(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0xd0, %rdi
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x38d9f8(%rip), %rsi # 0xa81b9b
leaq 0xd0(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0xd8(%rsp), %rsi
leaq 0x2c0(%rsp), %rdi
callq 0x325660
leaq 0x470(%rsp), %rbx
leaq 0x2c0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4205
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x56891c(%rip), %rsi # 0xc5cb28
leaq 0xd0(%rsp), %rdi
callq 0x325aa0
leaq 0x140(%rsp), %rdi
callq 0x325a80
movq (%rsp), %rax
movq 0x98(%rax), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x438(%rsp)
movq (%rsp), %rax
cmpq $0x0, 0x168(%rax)
je 0x6f432e
movq (%rsp), %rax
leaq 0x160(%rax), %rdx
leaq 0x38fbae(%rip), %rsi # 0xa83e17
leaq 0x2c0(%rsp), %rdi
callq 0x33fea4
leaq 0x393245(%rip), %rsi # 0xa874c2
leaq 0x2c0(%rsp), %rdi
callq 0x3259c0
leaq 0xe0(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x6f42ba
movq %rdx, 0xd0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xe0(%rsp)
jmp 0x6f42c2
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0xd0(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x6f4304
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
movq 0x8(%rsp), %r13
je 0x6f432e
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x440(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x10(%r13), %rdx
leaq 0xd0(%rsp), %rdi
movq (%rsp), %rsi
callq 0x6b1e68
movq 0x440(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0xf0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0xe0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f43ae
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%r13), %rdx
leaq 0xd0(%rsp), %rdi
movq (%rsp), %rsi
callq 0x6b1e68
movq 0x440(%rsp), %r14
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xf0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f441f
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x458(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x50(%r13), %rdx
leaq 0xd0(%rsp), %rdi
movq (%rsp), %rsi
callq 0x6b1e68
movq 0x458(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0xf0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f44a3
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%r13), %rdx
leaq 0xd0(%rsp), %rdi
movq (%rsp), %rsi
callq 0x6b1e68
movq 0x458(%rsp), %r14
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xf0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4514
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xd0(%rsp), %rdi
callq 0x325e00
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
leaq 0xd0(%rsp), %rsi
callq *0x10(%rax)
leaq 0xd8(%rsp), %rsi
leaq 0x2c0(%rsp), %rdi
callq 0x325660
leaq 0x490(%rsp), %rbx
movq 0x5685d0(%rip), %rsi # 0xc5cb28
leaq 0xd0(%rsp), %rdi
callq 0x325aa0
leaq 0x140(%rsp), %rdi
callq 0x325a80
leaq 0x2c0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f45a5
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%rsp), %rbx
movq 0x98(%rbx), %rdi
movl 0xf4(%rbx), %esi
leaq 0x438(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0x68(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0xd0(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0xd8(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0xe0(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0xe8(%rsp)
movq 0x290(%rsp), %rax
movq 0x2a8(%rsp), %rcx
movq %rax, 0x2c0(%rsp)
movq %rcx, 0x2c8(%rsp)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x6f5398
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0xd0(%rsp), %rdx
leaq 0x2c0(%rsp), %rcx
movq %r14, %rdi
movl %ebp, %esi
callq *0x30(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
xorl %eax, %eax
leaq 0xd0(%rsp), %rdx
movb %al, (%rdx)
movabsq $0x7ff0000000000000, %rcx # imm = 0x7FF0000000000000
movq %rcx, 0x8(%rdx)
movabsq $-0x10000000000000, %rsi # imm = 0xFFF0000000000000
movq %rsi, 0x10(%rdx)
movb %al, 0x2c0(%rsp)
movq %rcx, 0x2c8(%rsp)
movq %rsi, 0x2d0(%rsp)
movb %al, 0x30(%rsp)
movq %rcx, 0x38(%rsp)
movq %rsi, 0x40(%rsp)
movb %al, 0x10(%rsp)
movq %rcx, 0x18(%rsp)
movq %rsi, 0x20(%rsp)
movq (%r13), %rsi
leaq 0x258(%rsp), %rdi
callq 0x6b1806
movq 0x10(%r13), %rsi
leaq 0x258(%rsp), %rdi
leaq 0x2c0(%rsp), %rdx
callq 0x6b1806
movq 0x20(%r13), %rsi
leaq 0x258(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x6b1f1c
movq 0x30(%r13), %rsi
leaq 0x258(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%r13), %rsi
leaq 0x258(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x6b1806
movq 0x50(%r13), %rsi
leaq 0x258(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x6b1806
movq %rbp, 0xb8(%rsp)
cmpq %r15, %r12
je 0x6f513b
movq (%rsp), %rax
leaq 0xa0(%rax), %r14
addq $0x100, %rax # imm = 0x100
movq %rax, 0xc8(%rsp)
movq 0xb8(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x288(%rsp)
leaq 0x30(%rsp), %r15
leaq 0xd0(%rsp), %r12
movq $0x0, 0x60(%rsp)
xorl %ebx, %ebx
movq $0x0, 0x78(%rsp)
movq %r14, 0xc0(%rsp)
xorl %edx, %edx
movb %dl, 0xa0(%rsp)
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, 0xa8(%rsp)
movabsq $-0x10000000000000, %rcx # imm = 0xFFF0000000000000
movq %rcx, 0xb0(%rsp)
movb %dl, 0x80(%rsp)
movq %rax, 0x88(%rsp)
movq %rcx, 0x90(%rsp)
movq %rbx, %rax
shlq $0x34, %rax
jne 0x6f4811
movq (%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq 0x68(%rsp), %rax
movq (%rax), %rax
movss (%rax,%rbx,4), %xmm1
cvtss2sd %xmm1, %xmm0
ucomiss %xmm1, %xmm1
setp 0xd0(%rsp)
movsd 0x34d96b(%rip), %xmm1 # 0xa421a0
jp 0x6f483a
movaps %xmm0, %xmm1
movsd %xmm1, 0xd8(%rsp)
movsd 0x34d95d(%rip), %xmm1 # 0xa421a8
jp 0x6f4850
movaps %xmm0, %xmm1
movsd %xmm1, 0xe0(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x99c9b2
leaq 0x2c0(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x99c760
movq 0x8(%rsp), %rax
movq (%rax), %rsi
leaq 0x258(%rsp), %rdi
callq 0x6b0556
movq 0x2d0(%rsp), %rcx
movq %rcx, 0x10(%rax)
movups 0x2c0(%rsp), %xmm0
movups %xmm0, (%rax)
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rax
movss (%rax,%rbx,4), %xmm1
xorps %xmm0, %xmm0
cvtss2sd %xmm1, %xmm0
ucomiss %xmm1, %xmm1
setp 0xd0(%rsp)
movsd 0x34d8d0(%rip), %xmm1 # 0xa421a0
jp 0x6f48d5
movaps %xmm0, %xmm1
movsd %xmm1, 0xd8(%rsp)
movsd 0x34d8c2(%rip), %xmm1 # 0xa421a8
jp 0x6f48eb
movaps %xmm0, %xmm1
movsd %xmm1, 0xe0(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %r13
movq %r12, %rdx
xorl %ecx, %ecx
callq 0x99c9b2
leaq 0x2c0(%rsp), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x99c760
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rsi
leaq 0x258(%rsp), %rdi
callq 0x6b0556
movq %r15, %rbp
movq 0x2d0(%rsp), %rcx
movq %rcx, 0x10(%rax)
movups 0x2c0(%rsp), %xmm0
movups %xmm0, (%rax)
movq 0x8(%rsp), %r12
movq 0x20(%r12), %rsi
leaq 0x258(%rsp), %r15
movq %r15, %rdi
callq 0x6b0800
movq 0x30(%r12), %rsi
movq %r15, %rdi
callq 0x6b0800
leaq 0x4b0(%rsp), %r14
movq (%rsp), %rax
movl 0xf0(%rax), %eax
movq 0xc0(%rsp), %rdx
movq 0x20(%rdx), %rcx
movq %rcx, 0xf0(%rsp)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movaps %xmm1, 0xe0(%rsp)
movaps %xmm0, 0xd0(%rsp)
movl %eax, 0xf8(%rsp)
movq %r15, 0x100(%rsp)
movl $0x0, 0x108(%rsp)
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
movq %r13, %rsi
callq *0x18(%rax)
movq 0x8(%rsp), %rax
movq 0x50(%rax), %rsi
movq %r15, %rdi
callq 0x6b0556
movq %r13, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x99c760
movq 0xe0(%rsp), %rax
movq %rax, 0x90(%rsp)
movups 0xd0(%rsp), %xmm0
movaps %xmm0, 0x80(%rsp)
movq 0x2a8(%rsp), %rax
movss (%rax,%rbx,4), %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
ucomiss %xmm0, %xmm0
movaps %xmm1, %xmm2
jnp 0x6f4a39
movsd 0x34d767(%rip), %xmm2 # 0xa421a0
jnp 0x6f4a43
movsd 0x34d765(%rip), %xmm1 # 0xa421a8
movsd 0x90(%rsp), %xmm3
movsd 0x88(%rsp), %xmm4
cmpnlepd %xmm2, %xmm4
cmpnlepd %xmm3, %xmm1
orpd %xmm4, %xmm1
movd %xmm1, %eax
movl %eax, %r15d
xorb $0x1, %r15b
ucomiss %xmm0, %xmm0
jnp 0x6f4a7f
testb $0x1, %al
jne 0x6f4a7f
movb 0x80(%rsp), %r15b
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq %r13, %r12
movq %r13, %rdi
leaq 0x3730b4(%rip), %rsi # 0xa67b50
leaq 0x3730d8(%rip), %rdx # 0xa67b7b
callq 0x334070
movzbl %r15b, %esi
andl $0x1, %esi
movq 0xc8(%rsp), %rdi
movq %r12, %rdx
callq 0x9a94ca
movl %eax, %r12d
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4ae7
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rsi
leaq 0x258(%rsp), %rdi
callq 0x6b0556
movq %r13, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x99c760
movq 0xe0(%rsp), %rax
movq %rax, 0xb0(%rsp)
movups 0xd0(%rsp), %xmm0
movaps %xmm0, 0xa0(%rsp)
movq 0x290(%rsp), %rax
movss (%rax,%rbx,4), %xmm0
xorps %xmm1, %xmm1
cvtss2sd %xmm0, %xmm1
ucomiss %xmm0, %xmm0
movaps %xmm1, %xmm2
jnp 0x6f4b4f
movsd 0x34d651(%rip), %xmm2 # 0xa421a0
jnp 0x6f4b59
movsd 0x34d64f(%rip), %xmm1 # 0xa421a8
movsd 0xb0(%rsp), %xmm3
movsd 0xa8(%rsp), %xmm4
cmpnlepd %xmm2, %xmm4
cmpnlepd %xmm3, %xmm1
orpd %xmm4, %xmm1
movd %xmm1, %eax
movl %eax, %r15d
xorb $0x1, %r15b
ucomiss %xmm0, %xmm0
jnp 0x6f4b95
testb $0x1, %al
jne 0x6f4b95
movb 0xa0(%rsp), %r15b
leaq 0xe0(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq %r13, %r14
movq %r13, %rdi
leaq 0x372fca(%rip), %rsi # 0xa67b7c
leaq 0x372fee(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %r15b, %esi
andl $0x1, %esi
movq 0xc8(%rsp), %rdi
movq %r14, %rdx
callq 0x9a94ca
movl %eax, %r15d
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4bfd
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
andb %r15b, %r12b
movl %r12d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x78(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x78(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r12b, %al
testb $0x1, %al
movq %rbp, %r15
leaq 0xd8(%rsp), %rbp
jne 0x6f5117
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0xd0(%rsp)
movq %rbp, %rdi
callq 0x325e00
leaq 0x4b0(%rsp), %r14
testb $0x1, %r12b
leaq 0x31d778(%rip), %rsi # 0xa123da
leaq 0x31d76a(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbp, %rdi
callq 0x325e70
leaq 0x2d0(%rsp), %r12
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x372f17(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36ab2b(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq %r12, 0x2c0(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x2c0(%rsp), %rdi
callq 0x334442
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x356cdc(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x68(%rsp), %rax
movq (%rax), %rdx
addq 0x60(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b2070
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35f1fe(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4d58
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x6f4d75
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36aa4c(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rax
movq %r12, 0x2c0(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x2c0(%rsp), %rdi
callq 0x334442
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x356bfc(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x68(%rsp), %rax
movq 0x18(%rax), %rdx
addq 0x60(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b2070
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35f11d(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4e39
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x6f4e56
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36a96b(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rax
movq %r12, 0x2c0(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x2c0(%rsp), %rdi
callq 0x334442
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x356b1b(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x290(%rsp), %rdx
addq 0x60(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b2070
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35f03d(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbp, %rdi
leaq 0x372ca6(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
leaq 0xa0(%rsp), %rdx
callq 0x6b20fc
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35efee(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4f68
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f4f84
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x6f4fa1
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x36a820(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x8(%rsp), %rax
movq 0x50(%rax), %rax
movq %r12, 0x2c0(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x2c0(%rsp), %rdi
callq 0x334442
movq 0x2c0(%rsp), %rsi
movq 0x2c8(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x3569d0(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x2a8(%rsp), %rdx
addq 0x60(%rsp), %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x6b2070
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35eef2(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbp, %rdi
leaq 0x372b5b(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
leaq 0x80(%rsp), %rdx
callq 0x6b20fc
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x35eea3(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6f50b3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f50cf
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
cmpq %r12, %rdi
je 0x6f50ec
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %r13, %rdi
leaq 0x3ae197(%rip), %rsi # 0xaa328d
callq 0x9aba2a
movq %rbp, %rdi
movq 0x567a23(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
incq %rbx
addq $0x4, 0x60(%rsp)
cmpq %rbx, 0x288(%rsp)
movq %r13, %r12
movq 0xc0(%rsp), %r14
jne 0x6f47b7
jmp 0x6f5144
movq $0x0, 0x78(%rsp)
movq 0x78(%rsp), %r13
cmpl $0x64, %r13d
leaq 0x480(%rsp), %rbx
leaq 0x4a0(%rsp), %r15
movq 0xb8(%rsp), %r12
jle 0x6f51ef
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
leaq 0xd8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x372a32(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r13), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x372a1c(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3ae0c7(%rip), %rsi # 0xaa328d
leaq 0xd0(%rsp), %rdi
callq 0x9aba2a
movq 0x56794e(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
testl %r13d, %r13d
je 0x6f5268
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
leaq 0xd8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r13d, %esi
callq 0x325530
leaq 0x3279f3(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %r12, %rsi
callq 0x3257b0
leaq 0x3729aa(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3ae034(%rip), %rsi # 0xaa328d
leaq 0xd0(%rsp), %rdi
callq 0x9aba2a
jmp 0x6f52cf
movq (%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
leaq 0xd8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x37294b(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %r12, %rsi
callq 0x3257b0
leaq 0x372931(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3adfcb(%rip), %rsi # 0xaa328d
leaq 0xd0(%rsp), %rdi
callq 0x9aba2a
movq 0x567852(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
leaq 0x258(%rsp), %rdi
callq 0x6b2588
movq 0x490(%rsp), %rdi
cmpq %r15, %rdi
je 0x6f5315
movq 0x4a0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x470(%rsp), %rdi
cmpq %rbx, %rdi
je 0x6f5332
movq 0x480(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x458(%rsp), %rdi
callq 0x36a7d0
leaq 0x440(%rsp), %rdi
callq 0x36a7d0
movq 0x2a8(%rsp), %rdi
testq %rdi, %rdi
je 0x6f5369
movq 0x2b8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x290(%rsp), %rdi
testq %rdi, %rdi
je 0x6f5386
movq 0x2a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x4d8, %rsp # imm = 0x4D8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x35c643(%rip), %rsi # 0xa519ef
leaq 0x372724(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x525cf6(%rip), %rsi # 0xc1b0c0
leaq -0x3c35f1(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x6f5673
jmp 0x6f54cd
jmp 0x6f5673
movq %rax, %rbx
movq %r15, %rdi
callq 0x325d40
jmp 0x6f550b
jmp 0x6f5673
movq %rax, %rbx
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f5676
movq 0x2d0(%rsp), %rsi
jmp 0x6f55c4
jmp 0x6f5673
jmp 0x6f542d
movq %rax, %rbx
jmp 0x6f54a4
jmp 0x6f55d6
jmp 0x6f5673
jmp 0x6f5673
jmp 0x6f5456
jmp 0x6f5673
jmp 0x6f5456
jmp 0x6f5673
jmp 0x6f5456
jmp 0x6f5673
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x36a3d6
jmp 0x6f5676
jmp 0x6f5673
jmp 0x6f54e4
jmp 0x6f5673
jmp 0x6f55d6
jmp 0x6f5673
jmp 0x6f5673
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f54a4
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x56767d(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
jmp 0x6f55d9
jmp 0x6f54cd
jmp 0x6f54cd
jmp 0x6f54e4
jmp 0x6f54cd
movq %rax, %rbx
movq 0x567651(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x6f5659
jmp 0x6f5673
movq %rax, %rbx
movq 0x56763a(%rip), %rsi # 0xc5cb28
leaq 0xd0(%rsp), %rdi
callq 0x325aa0
leaq 0x140(%rsp), %rdi
jmp 0x6f5666
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x6f5676
jmp 0x6f5673
jmp 0x6f5673
jmp 0x6f5584
jmp 0x6f5603
jmp 0x6f5584
jmp 0x6f5603
jmp 0x6f5540
jmp 0x6f5540
jmp 0x6f5673
jmp 0x6f5584
jmp 0x6f5584
jmp 0x6f5540
movq %rax, %rbx
jmp 0x6f5647
jmp 0x6f555c
jmp 0x6f55a0
jmp 0x6f5584
jmp 0x6f5603
jmp 0x6f5584
jmp 0x6f5603
jmp 0x6f5584
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x6f5606
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f5606
movq %rax, %rbx
jmp 0x6f5622
jmp 0x6f5673
jmp 0x6f5673
jmp 0x6f5673
jmp 0x6f5673
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
leaq 0xe0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f5676
movq 0xe0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x6f5676
jmp 0x6f5673
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6b222e
movq 0x56753e(%rip), %rsi # 0xc5cb28
leaq 0x2c0(%rsp), %rdi
callq 0x325aa0
leaq 0x330(%rsp), %rdi
jmp 0x6f5666
jmp 0x6f5603
movq %rax, %rbx
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x6f5622
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2c0(%rsp), %rdi
leaq 0x2d0(%rsp), %rax
cmpq %rax, %rdi
je 0x6f5647
movq 0x2d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xd8(%rsp), %rbp
movq 0x5674d2(%rip), %rsi # 0xc5cb28
movq %rbp, %rdi
callq 0x325aa0
leaq 0x148(%rsp), %rdi
callq 0x325a80
jmp 0x6f5676
jmp 0x6f5673
jmp 0x6f5673
jmp 0x6f5673
movq %rax, %rbx
leaq 0x258(%rsp), %rdi
callq 0x6b2588
leaq 0x438(%rsp), %rdi
callq 0x36a3fe
leaq 0x290(%rsp), %rdi
callq 0x6cee9a
movq %rbx, %rdi
callq 0x3259a0
movq %rax, %rbx
jmp 0x6f564f
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::DerivedFunc<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintDefinition(std::ostream&) const
|
void doPrintDefinition (ostream& os) const
{
const ParamNames& paramNames = this->getParamNames();
initialize();
os << dataTypeNameOf<Ret>() << " " << this->getName()
<< "(";
if (isTypeValid<Arg0>())
os << dataTypeNameOf<Arg0>() << " " << paramNames.a;
if (isTypeValid<Arg1>())
os << ", " << dataTypeNameOf<Arg1>() << " " << paramNames.b;
if (isTypeValid<Arg2>())
os << ", " << dataTypeNameOf<Arg2>() << " " << paramNames.c;
if (isTypeValid<Arg3>())
os << ", " << dataTypeNameOf<Arg3>() << " " << paramNames.d;
os << ")\n{\n";
for (size_t ndx = 0; ndx < m_body.size(); ++ndx)
os << *m_body[ndx];
os << "return " << *m_ret << ";\n";
os << "}\n";
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
callq *0x50(%rax)
movq %rax, %r15
movq %r14, %rdi
callq 0x6f629a
movl $0x1, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6f58ce
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f58e5
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3a4453(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
leaq 0x8(%rsp), %r12
movq %r12, %rdi
movq %r14, %rsi
callq *0x10(%rax)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x341920(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f594a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6f5974
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f598b
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3a43ad(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x390de6(%rip), %rsi # 0xa8679b
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6f59ec
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f5a03
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3a4335(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x20(%r15), %rsi
movq 0x28(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x390d6d(%rip), %rsi # 0xa8679b
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edi
callq 0x8bb810
testq %rax, %rax
je 0x6f5a65
movq %rax, %r12
movq %rax, %rdi
callq 0x325680
movq %rbx, %rdi
movq %r12, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x6f5a7c
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x3a42bc(%rip), %rsi # 0xa99d3f
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x40(%r15), %rsi
movq 0x48(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x370347(%rip), %rsi # 0xa65dee
movl $0x4, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x6f5aec
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rax,%r15), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
incq %r12
movq 0x48(%r14), %rax
movq 0x50(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r15
cmpq %rcx, %r12
jb 0x6f5ac4
leaq 0x35c3b1(%rip), %rsi # 0xa51ea4
movl $0x7, %edx
movq %rbx, %rdi
callq 0x325e70
movq 0x60(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x391c4f(%rip), %rsi # 0xa87763
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
leaq 0x369cbd(%rip), %rsi # 0xa5f7e5
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x6f5b5f
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::DerivedFunc<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
initialize();
if (dst.insert(this).second)
{
for (size_t ndx = 0; ndx < m_body.size(); ++ndx)
m_body[ndx]->getUsedFuncs(dst);
m_ret->getUsedFuncs(dst);
}
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x6f629a
movq %rsp, %rsi
movq %r14, (%rsi)
movq %rbx, %rdi
callq 0x6b3fce
testb $0x1, %dl
je 0x6f5bd3
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x6f5bc6
xorl %r15d, %r15d
xorl %r12d, %r12d
movq (%rax,%r15), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x20(%rax)
incq %r12
movq 0x48(%r14), %rax
movq 0x50(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r15
cmpq %rcx, %r12
jb 0x6f5b9e
movq 0x60(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::DerivedFunc<deqp::gls::BuiltinPrecisionTests::Signature<float, float, float, float, deqp::gls::BuiltinPrecisionTests::Void>>::doApply(deqp::gls::BuiltinPrecisionTests::EvalContext const&, deqp::gls::BuiltinPrecisionTests::Tuple4<tcu::Interval const&, tcu::Interval const&, tcu::Interval const&, deqp::gls::BuiltinPrecisionTests::Void const&> const&) const
|
IRet doApply (const EvalContext& ctx,
const IArgs& args) const
{
Environment funEnv;
IArgs& mutArgs = const_cast<IArgs&>(args);
IRet ret;
initialize();
funEnv.bind(*m_var0, args.a);
funEnv.bind(*m_var1, args.b);
funEnv.bind(*m_var2, args.c);
funEnv.bind(*m_var3, args.d);
{
EvalContext funCtx(ctx.format, ctx.floatPrecision, funEnv, ctx.callDepth);
for (size_t ndx = 0; ndx < m_body.size(); ++ndx)
m_body[ndx]->execute(funCtx);
ret = m_ret->evaluate(funCtx);
}
// \todo [lauri] Store references instead of values in environment
const_cast<IArg0&>(mutArgs.a) = funEnv.lookup(*m_var0);
const_cast<IArg1&>(mutArgs.b) = funEnv.lookup(*m_var1);
const_cast<IArg2&>(mutArgs.c) = funEnv.lookup(*m_var2);
const_cast<IArg3&>(mutArgs.d) = funEnv.lookup(*m_var3);
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movb $0x0, (%rdi)
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movq %rax, 0x8(%rdi)
movabsq $-0x10000000000000, %rax # imm = 0xFFF0000000000000
movq %rax, 0x10(%rdi)
movq %rsi, %rdi
callq 0x6f629a
movq 0x8(%r14), %rsi
movq (%r15), %rdx
movq %rsp, %rdi
callq 0x6b1806
movq 0x18(%r14), %rsi
movq 0x8(%r15), %rdx
movq %rsp, %rdi
callq 0x6b1806
movq 0x28(%r14), %rsi
movq 0x10(%r15), %rdx
movq %rsp, %rdi
callq 0x6b1806
movq 0x38(%r14), %rsi
movq 0x18(%r15), %rdx
movq %rsp, %r13
movq %r13, %rdi
callq 0x6b1f1c
movl 0x28(%r12), %eax
movl 0x38(%r12), %ecx
movq 0x20(%r12), %rdx
movq %rdx, 0x50(%rsp)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movaps %xmm1, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
movl %eax, 0x58(%rsp)
movq %r13, 0x60(%rsp)
movl %ecx, 0x68(%rsp)
movq 0x48(%r14), %rax
cmpq %rax, 0x50(%r14)
je 0x6f5cf5
xorl %r13d, %r13d
leaq 0x30(%rsp), %r12
xorl %ebp, %ebp
movq (%rax,%r13), %rdi
movq (%rdi), %rax
movq %r12, %rsi
callq *0x18(%rax)
incq %rbp
movq 0x48(%r14), %rax
movq 0x50(%r14), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
addq $0x10, %r13
cmpq %rcx, %rbp
jb 0x6f5ccd
movq 0x60(%r14), %rsi
movq (%rsi), %rax
leaq 0x70(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq *0x20(%rax)
movq 0x80(%rsp), %rax
movq %rax, 0x10(%rbx)
movups 0x70(%rsp), %xmm0
movups %xmm0, (%rbx)
movq 0x8(%r14), %rsi
movq %rsp, %rdi
callq 0x6b0556
movq (%r15), %rcx
movq 0x10(%rax), %rdx
movq %rdx, 0x10(%rcx)
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x18(%r14), %rsi
movq %rsp, %rdi
callq 0x6b0556
movq 0x8(%r15), %rcx
movq 0x10(%rax), %rdx
movq %rdx, 0x10(%rcx)
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x28(%r14), %rsi
movq %rsp, %rdi
callq 0x6b0556
movq 0x10(%r15), %rcx
movq 0x10(%rax), %rdx
movq %rdx, 0x10(%rcx)
movups (%rax), %xmm0
movups %xmm0, (%rcx)
movq 0x38(%r14), %rsi
movq %rsp, %rdi
callq 0x6b0800
movq %rsp, %rdi
callq 0x6b2588
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x6f5da3
jmp 0x6f5da3
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b2588
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 3>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 3>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 3>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6be152
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x6be152
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6be152
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x543c35(%rip), %rax # 0xc45cf8
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x702452
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x70212c
lock
decl 0x8(%rax)
jne 0x702108
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x70212c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x702123
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x702174
lock
decl 0x8(%rax)
jne 0x702150
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x702174
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x70216b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x7021bc
lock
decl 0x8(%rax)
jne 0x702198
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7021bc
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x7021b3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x702204
lock
decl 0x8(%rax)
jne 0x7021e0
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x702204
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x7021fb
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x543a85(%rip), %rax # 0xc45c90
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x70222c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6be1ea
jmp 0x70223b
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6be1ea
jmp 0x70224a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6be1ea
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x702332
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x702342
jmp 0x702342
jmp 0x702342
jmp 0x702342
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x70235c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
m_func.getUsedFuncs(dst);
m_args.a->getUsedFuncs(dst);
m_args.b->getUsedFuncs(dst);
m_args.c->getUsedFuncs(dst);
m_args.d->getUsedFuncs(dst);
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x30(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x6bdea6
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x6bdea6
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6bdea6
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Cond<tcu::Vector<float, 3>>::doPrint(std::ostream&, std::vector<deqp::gls::BuiltinPrecisionTests::ExprBase const*, std::allocator<deqp::gls::BuiltinPrecisionTests::ExprBase const*>> const&) const
|
void doPrint (ostream& os, const BaseArgExprs& args) const
{
os << "(" << *args[0] << " ? " << *args[1] << " : " << *args[2] << ")";
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %rbx
leaq 0x330e5d(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x34a733(%rip), %rsi # 0xa50b3b
movl $0x3, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x3160a6(%rip), %rsi # 0xa1c4d2
movl $0x3, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq 0x10(%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x3a432e(%rip), %rsi # 0xaaa77e
movl $0x1, %edx
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x325e70
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Matrix<float, 2, 2>, tcu::Matrix<float, 2, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x73ee0f
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x305d86(%rip), %rsi # 0xa443b2
leaq 0x305d83(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x73ac29
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73e6be
testq %rax, %rax
je 0x73e699
lock
decl 0x8(%rax)
jne 0x73e675
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e699
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x73e690
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x73e6be
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73e705
lock
decl 0x8(%rax)
jne 0x73e6e1
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e705
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73e6fc
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73e71c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x306240(%rip), %rsi # 0xa4496b
leaq 0x30623d(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x73ac29
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73e7d7
testq %rax, %rax
je 0x73e7a9
lock
decl 0x8(%rax)
jne 0x73e77c
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e7a9
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x73e79d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x73e7d7
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73e81e
lock
decl 0x8(%rax)
jne 0x73e7fa
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e81e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73e815
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73e835
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2ced18(%rip), %rsi # 0xa0d55c
leaq 0x2ced14(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x73ac29
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73e8d1
testq %rax, %rax
je 0x73e8ac
lock
decl 0x8(%rax)
jne 0x73e888
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e8ac
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x73e8a3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x73e8d1
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73e918
lock
decl 0x8(%rax)
jne 0x73e8f4
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e918
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73e90f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73e92f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2cf225(%rip), %rsi # 0xa0db63
leaq 0x2cf221(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73e9cb
testq %rax, %rax
je 0x73e9a6
lock
decl 0x8(%rax)
jne 0x73e982
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73e9a6
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x73e99d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x73e9cb
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73ea12
lock
decl 0x8(%rax)
jne 0x73e9ee
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73ea12
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73ea09
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73ea29
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2d37ba(%rip), %rsi # 0xa121f2
leaq 0x2d37b6(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73eac5
testq %rax, %rax
je 0x73eaa0
lock
decl 0x8(%rax)
jne 0x73ea7c
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73eaa0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x73ea97
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x73eac5
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73eb0c
lock
decl 0x8(%rax)
jne 0x73eae8
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73eb0c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73eb03
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73eb23
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x328f5d(%rip), %rsi # 0xa67a8f
leaq 0x328f59(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x73ebbf
testq %rax, %rax
je 0x73eb9a
lock
decl 0x8(%rax)
jne 0x73eb76
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73eb9a
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x73eb91
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x73ebbf
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73ec06
lock
decl 0x8(%rax)
jne 0x73ebe2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73ec06
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73ebfd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73ec2f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x73acd9
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x73d45b
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x73f3a6
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x73ecc2
lock
decl 0x8(%rax)
jne 0x73ec9e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73ecc2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x73ecb9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x73ed0a
lock
decl 0x8(%rax)
jne 0x73ece6
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x73ed0a
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x73ed01
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x7408ec
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x73ed31
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x73ed4e
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x73ed6b
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x73ed88
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x73eda9
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x73c138
jmp 0x73edea
jmp 0x73ede7
jmp 0x73edcb
jmp 0x73ede7
jmp 0x73edcb
jmp 0x73ede7
jmp 0x73edcb
jmp 0x73ede7
jmp 0x73edcb
jmp 0x73ede7
jmp 0x73edcb
jmp 0x73ede7
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x73edea
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x73edea
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x7408ec
leaq 0x90(%rsp), %rdi
callq 0x740a7e
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<tcu::Matrix<float, 4, 3>>::operator()(tcu::Matrix<float, 4, 3> const&, tcu::Matrix<float, 4, 3> const&) const
|
bool operator() (const Matrix<T, Rows, Cols>& mat1,
const Matrix<T, Rows, Cols>& mat2) const
{
for (int col = 0; col < Cols; ++col)
{
if (inputLess(mat1[col], mat2[col]))
return true;
if (inputLess(mat2[col], mat1[col]))
return false;
}
return false;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
leaq 0x6(%rsp), %rdi
callq 0x6c4df8
movb $0x1, %bl
testb %al, %al
jne 0x761007
xorl %ebp, %ebp
leaq 0x7(%rsp), %r12
leaq 0x6(%rsp), %r13
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6c4df8
testb %al, %al
jne 0x761001
cmpq $0x2, %rbp
setb %bl
je 0x761005
addq $0x10, %r15
addq $0x10, %r14
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x6c4df8
incq %rbp
testb %al, %al
je 0x760fc5
movb $0x1, %al
jmp 0x761005
xorl %eax, %eax
jmp 0x761005
andb %al, %bl
andb $0x1, %bl
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Traits<tcu::Matrix<float, 4, 3>>::IVal& deqp::gls::BuiltinPrecisionTests::Environment::lookup<tcu::Matrix<float, 4, 3>>(deqp::gls::BuiltinPrecisionTests::Variable<tcu::Matrix<float, 4, 3>> const&) const
|
typename Traits<T>::IVal& lookup (const Variable<T>& variable) const
{
deUint8* const data = de::lookup(m_map, variable.getName()).get();
return *reinterpret_cast<typename Traits<T>::IVal*>(data);
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x334442
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6b05d6
movq (%rax), %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x76150e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x761534
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x774fd1
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2cfbc0(%rip), %rsi # 0xa443b2
leaq 0x2cfbbd(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x775517
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x774884
testq %rax, %rax
je 0x77485f
lock
decl 0x8(%rax)
jne 0x77483b
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77485f
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x774856
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x774884
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7748cb
lock
decl 0x8(%rax)
jne 0x7748a7
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7748cb
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7748c2
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7748e2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2d007a(%rip), %rsi # 0xa4496b
leaq 0x2d0077(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77499d
testq %rax, %rax
je 0x77496f
lock
decl 0x8(%rax)
jne 0x774942
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77496f
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x774963
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x77499d
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7749e4
lock
decl 0x8(%rax)
jne 0x7749c0
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7749e4
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7749db
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7749fb
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x298b52(%rip), %rsi # 0xa0d55c
leaq 0x298b4e(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x775517
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x774a97
testq %rax, %rax
je 0x774a72
lock
decl 0x8(%rax)
jne 0x774a4e
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774a72
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x774a69
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x774a97
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x774ade
lock
decl 0x8(%rax)
jne 0x774aba
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774ade
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x774ad5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x774af5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x29905f(%rip), %rsi # 0xa0db63
leaq 0x29905b(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x775517
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x774b91
testq %rax, %rax
je 0x774b6c
lock
decl 0x8(%rax)
jne 0x774b48
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774b6c
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x774b63
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x774b91
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x774bd8
lock
decl 0x8(%rax)
jne 0x774bb4
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774bd8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x774bcf
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x774bef
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x29d5f4(%rip), %rsi # 0xa121f2
leaq 0x29d5f0(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x774c8b
testq %rax, %rax
je 0x774c66
lock
decl 0x8(%rax)
jne 0x774c42
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774c66
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x774c5d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x774c8b
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x774cd2
lock
decl 0x8(%rax)
jne 0x774cae
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774cd2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x774cc9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x774ce9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2f2d97(%rip), %rsi # 0xa67a8f
leaq 0x2f2d93(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x774d85
testq %rax, %rax
je 0x774d60
lock
decl 0x8(%rax)
jne 0x774d3c
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774d60
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x774d57
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x774d85
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x774dcc
lock
decl 0x8(%rax)
jne 0x774da8
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774dcc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x774dc3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x774df2
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x775580
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x777bdf
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x7755f8
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x774e85
lock
decl 0x8(%rax)
jne 0x774e61
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774e85
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x774e7c
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x774ecd
lock
decl 0x8(%rax)
jne 0x774ea9
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x774ecd
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x774ec4
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x776a6c
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x774ef4
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x774f11
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x774f2e
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x774f4b
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x774f6c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x776a24
jmp 0x774fad
jmp 0x774faa
jmp 0x774f8e
jmp 0x774faa
jmp 0x774f8e
jmp 0x774faa
jmp 0x774f8e
jmp 0x774faa
jmp 0x774f8e
jmp 0x774faa
jmp 0x774f8e
jmp 0x774faa
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x774fad
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x774fad
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x776a6c
leaq 0x90(%rsp), %rdi
callq 0x776bfe
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> deqp::gls::BuiltinPrecisionTests::generateInputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Samplings<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, tcu::FloatFormat const&, glu::Precision, unsigned long, de::Random&)
|
Inputs<In> generateInputs (const Samplings<In>& samplings,
const FloatFormat& floatFormat,
Precision intPrecision,
size_t numSamples,
Random& rnd)
{
Inputs<In> ret;
Inputs<In> fixedInputs;
set<InTuple<In>, InputLess<InTuple<In> > > seenInputs;
samplings.in0.genFixeds(floatFormat, fixedInputs.in0);
samplings.in1.genFixeds(floatFormat, fixedInputs.in1);
samplings.in2.genFixeds(floatFormat, fixedInputs.in2);
samplings.in3.genFixeds(floatFormat, fixedInputs.in3);
for (size_t ndx0 = 0; ndx0 < fixedInputs.in0.size(); ++ndx0)
{
for (size_t ndx1 = 0; ndx1 < fixedInputs.in1.size(); ++ndx1)
{
for (size_t ndx2 = 0; ndx2 < fixedInputs.in2.size(); ++ndx2)
{
for (size_t ndx3 = 0; ndx3 < fixedInputs.in3.size(); ++ndx3)
{
const InTuple<In> tuple (fixedInputs.in0[ndx0],
fixedInputs.in1[ndx1],
fixedInputs.in2[ndx2],
fixedInputs.in3[ndx3]);
seenInputs.insert(tuple);
ret.in0.push_back(tuple.a);
ret.in1.push_back(tuple.b);
ret.in2.push_back(tuple.c);
ret.in3.push_back(tuple.d);
}
}
}
}
for (size_t ndx = 0; ndx < numSamples; ++ndx)
{
const typename In::In0 in0 = samplings.in0.genRandom(floatFormat, intPrecision, rnd);
const typename In::In1 in1 = samplings.in1.genRandom(floatFormat, intPrecision, rnd);
const typename In::In2 in2 = samplings.in2.genRandom(floatFormat, intPrecision, rnd);
const typename In::In3 in3 = samplings.in3.genRandom(floatFormat, intPrecision, rnd);
const InTuple<In> tuple (in0, in1, in2, in3);
if (de::contains(seenInputs, tuple))
continue;
seenInputs.insert(tuple);
ret.in0.push_back(in0);
ret.in1.push_back(in1);
ret.in2.push_back(in2);
ret.in3.push_back(in3);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1e8, %rsp # imm = 0x1E8
movq %r9, 0xa8(%rsp)
movq %r8, 0x90(%rsp)
movl %ecx, 0x4(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
leaq 0x30(%rsp), %rdx
movaps %xmm0, 0x50(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xb8(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq (%rsi), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x8(%r15), %rdi
leaq 0x48(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x10(%r15), %rdi
leaq 0x60(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x18(%r15), %rdi
leaq 0x78(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq %r15, 0x98(%rsp)
movq %r14, 0xa0(%rsp)
movq 0x38(%rsp), %rax
cmpq 0x30(%rsp), %rax
je 0x775247
leaq 0x18(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x18(%rsp)
movq $0x0, 0x8(%rsp)
leaq 0x124(%rsp), %r13
movq 0x50(%rsp), %rax
cmpq 0x48(%rsp), %rax
je 0x775223
movq 0x8(%rsp), %r15
shlq $0x6, %r15
movq $0x0, 0x10(%rsp)
movq 0x68(%rsp), %rax
cmpq 0x60(%rsp), %rax
je 0x7751ff
movq 0x10(%rsp), %rbp
shlq $0x6, %rbp
xorl %r12d, %r12d
movq 0x78(%rsp), %r8
cmpq %r8, 0x80(%rsp)
je 0x7751e9
xorl %r14d, %r14d
movq 0x30(%rsp), %rsi
addq %r15, %rsi
movq 0x48(%rsp), %rdx
addq %rbp, %rdx
movq 0x60(%rsp), %rcx
addq %r12, %rcx
addq %r14, %r8
movq %r13, %rdi
callq 0x776c58
leaq 0xb0(%rsp), %rdi
movq %r13, %rsi
callq 0x776cda
movq %rbx, %rdi
movq %r13, %rsi
callq 0x484e8a
movq 0x28(%rsp), %rdi
leaq 0x164(%rsp), %rsi
callq 0x484e8a
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x775196
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x7751a8
movq 0x20(%rsp), %rdi
leaq 0x1a4(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x7751bb
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x7751cd
movq 0x18(%rsp), %rdi
leaq 0x1a5(%rsp), %rdx
callq 0x6b02c6
incq %r14
movq 0x78(%rsp), %r8
movq 0x80(%rsp), %rax
subq %r8, %rax
cmpq %rax, %r14
jb 0x775133
incq %r12
movq 0x68(%rsp), %rax
subq 0x60(%rsp), %rax
cmpq %rax, %r12
jb 0x77511d
movq 0x10(%rsp), %rdx
incq %rdx
movq 0x50(%rsp), %rax
subq 0x48(%rsp), %rax
sarq $0x6, %rax
movq %rdx, 0x10(%rsp)
cmpq %rax, %rdx
jb 0x775101
movq 0x8(%rsp), %rdx
incq %rdx
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
sarq $0x6, %rax
movq %rdx, 0x8(%rsp)
cmpq %rax, %rdx
jb 0x7750df
cmpq $0x0, 0x90(%rsp)
movl 0x4(%rsp), %r14d
je 0x7753bc
leaq 0x18(%rbx), %rax
movq %rax, 0x28(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x1a8(%rsp), %r12
movq 0x98(%rsp), %rbp
movq (%rbp), %rsi
movq (%rsi), %rax
movq %r12, %r15
movq %r12, %rdi
movq 0xa0(%rsp), %r13
movq %r13, %rdx
movl %r14d, %ecx
movl %r14d, %r12d
movq 0xa8(%rsp), %r14
movq %r14, %r8
callq *0x8(%rax)
movq 0x8(%rbp), %rsi
movq (%rsi), %rax
leaq 0xe4(%rsp), %rdi
movq %r13, %rdx
movl %r12d, %ecx
movq %r14, %r8
callq *0x8(%rax)
movq 0x10(%rbp), %rdi
movq (%rdi), %rax
movq %r13, %rsi
movl %r12d, %edx
movq %r14, %rcx
callq *0x8(%rax)
movq 0x18(%rbp), %rdi
movq (%rdi), %rax
movq %r13, %rsi
movl %r12d, %edx
movq %r14, %rcx
callq *0x8(%rax)
leaq 0x124(%rsp), %r13
movq %r13, %rdi
movq %r15, %r12
movq %r15, %rsi
leaq 0xe4(%rsp), %rdx
leaq 0x3(%rsp), %rcx
leaq 0x2(%rsp), %r8
callq 0x776c58
leaq 0xb0(%rsp), %rdi
movq %r13, %rsi
callq 0x776fdc
movl 0x4(%rsp), %r14d
leaq 0xb8(%rsp), %rcx
cmpq %rcx, %rax
jne 0x7753ae
leaq 0xb0(%rsp), %rdi
movq %r13, %rsi
callq 0x776cda
movq %rbx, %rdi
movq %r12, %rsi
callq 0x484e8a
movq 0x28(%rsp), %rdi
leaq 0xe4(%rsp), %rsi
callq 0x484e8a
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x77537d
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x77538c
movq 0x20(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x77539f
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x7753ae
movq 0x18(%rsp), %rdi
leaq 0x2(%rsp), %rdx
callq 0x6b02c6
decq 0x90(%rsp)
jne 0x775286
leaq 0xb0(%rsp), %rdi
callq 0x777048
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x7753e3
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x7753fa
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x775411
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x775428
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x1e8, %rsp # imm = 0x1E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
jmp 0x77544d
movq %rax, %r14
leaq 0xb0(%rsp), %rdi
callq 0x777048
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x775477
movq 0x88(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x77548e
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x7754a5
movq 0x58(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x7754bc
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x7754d1
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x7754e6
movq 0x40(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x7754fb
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x77550f
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Matrix<float, 4, 4>> deqp::gls::BuiltinPrecisionTests::variable<tcu::Matrix<float, 4, 4>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
|
VariableP<T> variable (const string& name)
{
return VariableP<T>(new Variable<T>(name));
}
|
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r15
movq %rdi, %rbx
movl $0x28, %edi
callq 0x325210
movq %rax, %r14
leaq 0x4d4522(%rip), %rax # 0xc49a58
movq %rax, (%r14)
leaq 0x8(%r14), %rdi
leaq 0x18(%r14), %rax
movq %rax, 0x8(%r14)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
callq 0x334442
movq %rbx, %rdi
movq %r14, %rsi
callq 0x777098
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movl $0x28, %esi
movq %r14, %rdi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x628, %rsp # imm = 0x628
movq %rcx, 0x48(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdi, %rbx
movq (%rdx), %r15
movq %rdx, 0x40(%rsp)
movq 0x8(%rdx), %r12
movq %r12, %rbp
subq %r15, %rbp
sarq $0x6, %rbp
leaq 0xc0(%rsp), %rdi
movq %rbp, %rsi
callq 0x778178
leaq 0x2f0(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x310(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%rbx), %rcx
movq %rcx, 0x110(%rsp)
movups 0xc8(%rbx), %xmm0
movups 0xd8(%rbx), %xmm1
movaps %xmm1, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
leaq 0x98(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2f23c2(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x32db85(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq %rbx, 0x8(%rsp)
movq 0x4e7407(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x320(%rsp), %rdi
callq 0x325e00
leaq 0x4b0(%rsp), %r13
movl $0x0, (%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
leaq 0x4a8(%rsp), %rsi
callq *0x20(%rax)
movq 0x4c0(%rsp), %rbx
cmpq %r13, %rbx
je 0x7757aa
leaq 0x320(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r13, %rax
jne 0x77578d
cmpq $0x0, 0x4d0(%rsp)
movq 0x8(%rsp), %r13
je 0x77585d
movq 0x8(%r13), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2f22d3(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x328(%rsp), %rsi
leaq 0x10(%rsp), %rdi
callq 0x325660
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x32da74(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x775841
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4e72e0(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x4a8(%rsp), %rdi
callq 0x6b222e
movq 0x4e72b7(%rip), %rsi # 0xc5cb28
leaq 0x320(%rsp), %rdi
callq 0x325aa0
leaq 0x390(%rsp), %rdi
callq 0x325a80
leaq 0x120(%rsp), %rdi
callq 0x325e00
leaq 0x2f222d(%rip), %rsi # 0xa67acc
leaq 0x120(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%r13), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x7758e2
movq %rbx, %rdi
callq 0x325680
leaq 0x120(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x775904
movq 0x120(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0x120, %rdi # imm = 0x120
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x30c290(%rip), %rsi # 0xa81b9b
leaq 0x120(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0x128(%rsp), %rsi
leaq 0x320(%rsp), %rdi
callq 0x325660
leaq 0x2e0(%rsp), %rbx
leaq 0x320(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x77596d
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4e71b4(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
callq 0x325a80
movq 0x98(%r13), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x2a8(%rsp)
movq 0x8(%rsp), %rax
cmpq $0x0, 0x168(%rax)
je 0x775a8a
leaq 0x160(%rax), %rdx
leaq 0x30e44d(%rip), %rsi # 0xa83e17
leaq 0x320(%rsp), %rdi
callq 0x33fea4
leaq 0x311ae4(%rip), %rsi # 0xa874c2
leaq 0x320(%rsp), %rdi
callq 0x3259c0
leaq 0x130(%rsp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x775a1b
movq %rdx, 0x120(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x130(%rsp)
jmp 0x775a23
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
leaq 0x120(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x775a65
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x775a8a
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2b0(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x38(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x7781c4
movq 0x2b0(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0x120(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0x130(%rsp), %r13
movq -0x10(%r13), %rdi
cmpq %r13, %rdi
je 0x775b10
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x38(%rsp), %rax
movq (%rax), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x7781c4
movq 0x2b0(%rsp), %r14
leaq 0x120(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0x775b7e
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2c8(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq 0x38(%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x7781c4
movq 0x2c8(%rsp), %r14
leaq 0x120(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0x120(%rsp), %rdi
cmpq %r13, %rdi
je 0x775bff
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x120(%rsp), %rdi
callq 0x325e00
movq 0x8(%rsp), %r13
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
leaq 0x120(%rsp), %rsi
callq *0x10(%rax)
leaq 0x128(%rsp), %rsi
leaq 0x320(%rsp), %rdi
callq 0x325660
leaq 0x300(%rsp), %rbx
movq 0x4e6ee0(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
callq 0x325a80
leaq 0x320(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x775c95
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x98(%r13), %rdi
movl 0xf4(%r13), %esi
leaq 0x2a8(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0x40(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0x120(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0x128(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0x130(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0x138(%rsp)
movq 0xc0(%rsp), %rax
movq 0xd8(%rsp), %rcx
movq %rax, 0x320(%rsp)
movq %rcx, 0x328(%rsp)
movq 0x8(%r13), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x77671c
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0x120(%rsp), %rdx
leaq 0x320(%rsp), %rcx
movq %r14, %rdi
movl %ebp, %esi
callq *0x30(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
leaq 0x120(%rsp), %rdi
callq 0x778278
leaq 0x320(%rsp), %rdi
callq 0x778278
leaq 0x4a8(%rsp), %rdi
callq 0x778278
movq 0x38(%rsp), %rbx
movq (%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x120(%rsp), %rdx
callq 0x77801a
movq 0x10(%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x320(%rsp), %r14
movq %r14, %rdx
callq 0x77801a
movq 0x20(%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x6b1f1c
movq 0x30(%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x60(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x4a8(%rsp), %rdx
callq 0x77801a
movq 0x50(%rbx), %rsi
leaq 0x90(%rsp), %rdi
leaq 0x37(%rsp), %rdx
callq 0x6b1f1c
movq %rbp, 0x58(%rsp)
cmpq %r15, %r12
je 0x7764c5
leaq 0xa0(%r13), %rbx
leaq 0x100(%r13), %rax
movq %rax, 0x88(%rsp)
movq 0x58(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x80(%rsp)
xorl %r13d, %r13d
movq $0x0, 0x50(%rsp)
leaq 0x120(%rsp), %rdi
callq 0x778278
movq %r13, %rax
shlq $0x34, %rax
jne 0x775e7a
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq %r13, %r15
shlq $0x6, %r15
movq 0x40(%rsp), %rax
movq (%rax), %rdx
addq %r15, %rdx
leaq 0x4a8(%rsp), %rbp
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x77838e
movq 0x38(%rsp), %r12
movq %r14, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0x77868c
movq (%r12), %rsi
leaq 0x90(%rsp), %rdi
callq 0x7771a2
movq %r14, %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%rcx,%rsi), %rdi
movq %rdi, 0x10(%rax,%rsi)
movups (%rcx,%rsi), %xmm0
movups %xmm0, (%rax,%rsi)
addq $0x60, %rsi
cmpq $0x180, %rsi # imm = 0x180
jne 0x775eca
incq %rdx
addq $0x18, %rax
addq $0x18, %rcx
cmpq $0x4, %rdx
jne 0x775ec8
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdx
addq %r15, %rdx
movq %rbp, %rdi
movq %rbx, %rsi
callq 0x77838e
movq %r14, %rdi
movq %rbx, %rsi
movq %rbp, %rdx
callq 0x77868c
movq 0x10(%r12), %rsi
leaq 0x90(%rsp), %rdi
callq 0x7771a2
movq %r14, %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%rcx,%rsi), %rdi
movq %rdi, 0x10(%rax,%rsi)
movups (%rcx,%rsi), %xmm0
movups %xmm0, (%rax,%rsi)
addq $0x60, %rsi
cmpq $0x180, %rsi # imm = 0x180
jne 0x775f38
incq %rdx
addq $0x18, %rax
addq $0x18, %rcx
cmpq $0x4, %rdx
jne 0x775f36
movq 0x20(%r12), %rsi
leaq 0x90(%rsp), %rbp
movq %rbp, %rdi
callq 0x6b0800
movq 0x30(%r12), %rsi
movq %rbp, %rdi
callq 0x6b0800
movq 0x8(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%rbx), %rcx
movq %rcx, 0x340(%rsp)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movaps %xmm1, 0x330(%rsp)
movaps %xmm0, 0x320(%rsp)
movl %eax, 0x348(%rsp)
movq %rbp, 0x350(%rsp)
movl $0x0, 0x358(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x18(%rax)
movq 0x40(%r12), %rsi
movq %rbp, %rdi
callq 0x7771a2
movq %r14, %rdi
leaq 0xf0(%rsp), %rsi
movq %rax, %rdx
callq 0x77868c
movq %r14, %rax
leaq 0x120(%rsp), %rcx
xorl %edx, %edx
leaq 0x328(%rsp), %rbp
xorl %esi, %esi
movq 0x10(%rax,%rsi), %rdi
movq %rdi, 0x10(%rcx,%rsi)
movups (%rax,%rsi), %xmm0
movups %xmm0, (%rcx,%rsi)
addq $0x60, %rsi
cmpq $0x180, %rsi # imm = 0x180
jne 0x776017
incq %rdx
addq $0x18, %rcx
addq $0x18, %rax
cmpq $0x4, %rdx
jne 0x776015
movq 0xc0(%rsp), %rsi
addq %r15, %rsi
leaq 0x120(%rsp), %rdi
callq 0x7783e8
movl %eax, %r12d
leaq 0x330(%rsp), %rax
movq %rax, 0x320(%rsp)
movq %r14, %rdi
leaq 0x2f1b00(%rip), %rsi # 0xa67b7c
leaq 0x2f1b24(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %r12b, %esi
movq 0x88(%rsp), %rdi
movq %r14, %rdx
callq 0x9a94ca
movl %eax, %r12d
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x7760c4
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl %r12d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x50(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x50(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r12b, %al
testb $0x1, %al
jne 0x7764b2
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x320(%rsp)
movq %rbp, %rdi
callq 0x325e00
testb %r12b, %r12b
leaq 0x29c2c7(%rip), %rsi # 0xa123da
leaq 0x29c2b9(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbp, %rdi
callq 0x325e70
movq 0x38(%rsp), %r12
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x2f1a69(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2e967d(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%r12), %rax
leaq 0x4b8(%rsp), %rcx
movq %rcx, 0x4a8(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x4a8(%rsp), %rdi
callq 0x334442
movq 0x4a8(%rsp), %rsi
movq 0x4b0(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2d582a(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x40(%rsp), %rax
movq (%rax), %rdx
addq %r15, %rdx
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x77843b
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2ddd47(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x77620f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4a8(%rsp), %rdi
leaq 0x4b8(%rsp), %rax
cmpq %rax, %rdi
je 0x776234
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2e958d(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x10(%r12), %rax
leaq 0x4b8(%rsp), %rcx
movq %rcx, 0x4a8(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x4a8(%rsp), %rdi
callq 0x334442
movq 0x4a8(%rsp), %rsi
movq 0x4b0(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2d5739(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x40(%rsp), %rax
movq 0x18(%rax), %rdx
addq %r15, %rdx
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x77843b
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2ddc55(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x776301
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4a8(%rsp), %rdi
leaq 0x4b8(%rsp), %rax
cmpq %rax, %rdi
je 0x776326
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2e949b(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x40(%r12), %rax
leaq 0x4b8(%rsp), %rcx
movq %rcx, 0x4a8(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x4a8(%rsp), %rdi
callq 0x334442
movq 0x4a8(%rsp), %rsi
movq 0x4b0(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2d5647(%rip), %rsi # 0xa4b9d5
callq 0x325e70
addq 0xc0(%rsp), %r15
leaq 0x10(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
movq %r15, %rdx
callq 0x77843b
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2ddb64(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbp, %rdi
leaq 0x2f17cd(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x60(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
leaq 0x120(%rsp), %rdx
callq 0x7784c7
movq 0x60(%rsp), %rsi
movq 0x68(%rsp), %rdx
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2ddb10(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x776446
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x776462
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4a8(%rsp), %rdi
leaq 0x4b8(%rsp), %rax
cmpq %rax, %rdi
je 0x776487
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %r14, %rdi
leaq 0x32cdfc(%rip), %rsi # 0xaa328d
callq 0x9aba2a
movq %rbp, %rdi
movq 0x4e6688(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x398(%rsp), %rdi
callq 0x325a80
incq %r13
cmpq 0x80(%rsp), %r13
jne 0x775e56
jmp 0x7764ce
movq $0x0, 0x50(%rsp)
movq 0x50(%rsp), %r12
cmpl $0x64, %r12d
movq 0x58(%rsp), %rbx
movq 0x8(%rsp), %r15
jle 0x776568
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2f16ba(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r12), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x2f16a3(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x32cd4e(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq 0x4e65d5(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
testl %r12d, %r12d
je 0x7765dd
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r12d, %esi
callq 0x325530
leaq 0x2a667e(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3257b0
leaq 0x2f1635(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x32ccbf(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
jmp 0x776640
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2f15da(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3257b0
leaq 0x2f15c0(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x32cc5a(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq 0x4e64e1(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x90(%rsp), %rdi
callq 0x6b2588
movq 0x300(%rsp), %rdi
leaq 0x310(%rsp), %rax
cmpq %rax, %rdi
leaq 0x2c8(%rsp), %rbx
je 0x776696
movq 0x310(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x2e0(%rsp), %rdi
leaq 0x2f0(%rsp), %rax
cmpq %rax, %rdi
je 0x7766bb
movq 0x2f0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x36a7d0
leaq 0x2b0(%rsp), %rdi
callq 0x36a7d0
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x7766ed
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x77670a
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x628, %rsp # imm = 0x628
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x2db2bf(%rip), %rsi # 0xa519ef
leaq 0x2f13a0(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x4a4972(%rip), %rsi # 0xc1b0c0
leaq -0x444975(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x7769d0
jmp 0x776835
jmp 0x7769d0
movq %rax, %rbx
movq %r15, %rdi
callq 0x325d40
jmp 0x776880
jmp 0x7769d0
jmp 0x77691f
jmp 0x7769d0
jmp 0x77678d
movq %rax, %rbx
jmp 0x77680c
jmp 0x776952
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7767be
jmp 0x7769d0
jmp 0x7767be
jmp 0x7769d0
movq %rax, %rbx
leaq 0x120(%rsp), %rdi
callq 0x36a3d6
jmp 0x7769f4
jmp 0x7769d0
jmp 0x776859
jmp 0x7769d0
jmp 0x776952
jmp 0x7769d0
jmp 0x7769d0
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77680c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4e6315(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
jmp 0x776955
jmp 0x776835
jmp 0x776835
jmp 0x776859
jmp 0x776835
movq %rax, %rbx
movq 0x4e62e9(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
jmp 0x7769ef
jmp 0x7769d0
movq %rax, %rbx
movq 0x4e62c5(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
jmp 0x7769ef
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x7769f4
jmp 0x7769d0
jmp 0x776982
jmp 0x7768e5
jmp 0x7768a7
jmp 0x7768e5
jmp 0x7769d0
jmp 0x7768e5
jmp 0x7768a7
movq %rax, %rbx
jmp 0x7769c6
jmp 0x776982
jmp 0x7768e5
jmp 0x776982
jmp 0x7768e5
movq %rax, %rbx
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x776985
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x776985
movq %rax, %rbx
jmp 0x7769a1
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
jmp 0x7769d0
movq %rax, %rbx
movq 0x320(%rsp), %rdi
leaq 0x330(%rsp), %rax
cmpq %rax, %rdi
je 0x7769f4
movq 0x330(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x7769f4
jmp 0x7769d0
movq %rax, %rbx
leaq 0x4a8(%rsp), %rdi
callq 0x6b222e
movq 0x4e61bf(%rip), %rsi # 0xc5cb28
leaq 0x320(%rsp), %rdi
callq 0x325aa0
leaq 0x390(%rsp), %rdi
jmp 0x7769ef
jmp 0x7769d0
movq %rax, %rbx
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x7769a1
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4a8(%rsp), %rdi
leaq 0x4b8(%rsp), %rax
cmpq %rax, %rdi
je 0x7769c6
movq 0x4b8(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x328(%rsp), %rbp
jmp 0x7769d8
movq %rax, %rbx
jmp 0x7769f4
movq %rax, %rbx
movq 0x4e6149(%rip), %rsi # 0xc5cb28
movq %rbp, %rdi
callq 0x325aa0
leaq 0x398(%rsp), %rdi
callq 0x325a80
leaq 0x90(%rsp), %rdi
callq 0x6b2588
leaq 0x2a8(%rsp), %rdi
callq 0x36a3fe
leaq 0xc0(%rsp), %rdi
callq 0x77856a
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
de::SharedPtr<deqp::gls::BuiltinPrecisionTests::Expr<tcu::Matrix<float, 4, 4>> const>::~SharedPtr()
|
inline void SharedPtr<T>::release (void)
{
if (m_state)
{
if (deAtomicDecrement32(&m_state->strongRefCount) == 0)
{
m_ptr = DE_NULL;
m_state->deletePtr();
}
if (deAtomicDecrement32(&m_state->weakRefCount) == 0)
{
delete m_state;
m_state = DE_NULL;
}
}
}
|
movq 0x8(%rdi), %rax
testq %rax, %rax
je 0x776a6a
pushq %rbx
movq %rdi, %rbx
lock
decl 0x8(%rax)
jne 0x776a48
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rbx), %rax
lock
decl 0xc(%rax)
jne 0x776a69
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x776a61
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rbx)
popq %rbx
retq
nop
|
/kaydenl[P]VK-GL-CTS/framework/delibs/decpp/deSharedPtr.hpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>>::operator()(deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&) const
|
bool operator() (const InTuple<In>& in1, const InTuple<In>& in2) const
{
if (inputLess(in1.a, in2.a))
return true;
if (inputLess(in2.a, in1.a))
return false;
if (inputLess(in1.b, in2.b))
return true;
if (inputLess(in2.b, in1.b))
return false;
if (inputLess(in1.c, in2.c))
return true;
if (inputLess(in2.c, in1.c))
return false;
if (inputLess(in1.d, in2.d))
return true;
return false;
}
|
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0xc(%rsp), %rdi
callq 0x776e8c
movb $0x1, %bpl
testb %al, %al
jne 0x776e81
leaq 0xd(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x776e8c
testb %al, %al
jne 0x776e7f
addq $0x40, %rbx
addq $0x40, %r14
leaq 0xe(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x776e8c
testb %al, %al
jne 0x776e81
leaq 0xf(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x776e8c
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<tcu::Matrix<float, 4, 4>>::operator()(tcu::Matrix<float, 4, 4> const&, tcu::Matrix<float, 4, 4> const&) const
|
bool operator() (const Matrix<T, Rows, Cols>& mat1,
const Matrix<T, Rows, Cols>& mat2) const
{
for (int col = 0; col < Cols; ++col)
{
if (inputLess(mat1[col], mat2[col]))
return true;
if (inputLess(mat2[col], mat1[col]))
return false;
}
return false;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
leaq 0x6(%rsp), %rdi
callq 0x6c4df8
movb $0x1, %bl
testb %al, %al
jne 0x776efb
xorl %ebp, %ebp
leaq 0x7(%rsp), %r12
leaq 0x6(%rsp), %r13
movq %r12, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6c4df8
testb %al, %al
jne 0x776ef5
cmpq $0x3, %rbp
setb %bl
je 0x776ef9
addq $0x10, %r15
addq $0x10, %r14
movq %r13, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x6c4df8
incq %rbp
testb %al, %al
je 0x776eb9
movb $0x1, %al
jmp 0x776ef9
xorl %eax, %eax
jmp 0x776ef9
andb %al, %bl
andb $0x1, %bl
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Matrix<float, 4, 4>>::VariableP(deqp::gls::BuiltinPrecisionTests::Variable<tcu::Matrix<float, 4, 4>> const*)
|
explicit VariableP (const Variable<T>* ptr) : Super(ptr) {}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rsi, (%rdi)
movl $0x20, %edi
callq 0x325210
xorl %ecx, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x4d29fc(%rip), %rcx # 0xc49ac0
movq %rcx, (%rax)
movq %r14, 0x10(%rax)
movq %rax, 0x8(%rbx)
movl $0x1, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rdi
callq 0x3250e0
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x7770f9
movq (%rdi), %rax
callq *0x8(%rax)
callq 0x325c10
movq %rax, %rbx
callq 0x325b60
movq %rbx, %rdi
callq 0x3259a0
movq %rax, %rdi
callq 0x3314f2
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Traits<tcu::Matrix<float, 4, 4>>::IVal& deqp::gls::BuiltinPrecisionTests::Environment::lookup<tcu::Matrix<float, 4, 4>>(deqp::gls::BuiltinPrecisionTests::Variable<tcu::Matrix<float, 4, 4>> const&) const
|
typename Traits<T>::IVal& lookup (const Variable<T>& variable) const
{
deUint8* const data = de::lookup(m_map, variable.getName()).get();
return *reinterpret_cast<typename Traits<T>::IVal*>(data);
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rsi), %rax
movq 0x10(%rsi), %rdx
addq %rax, %rdx
movq %rsp, %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x334442
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6b05d6
movq (%rax), %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x7771f4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x77721a
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
tcu::Matrix<tcu::Interval, 4, 4>::Matrix(tcu::Matrix<tcu::Interval, 4, 4> const&)
|
Matrix<T, Rows, Cols>::Matrix (const Matrix<T, Rows, Cols>& src)
{
*this = src;
}
|
movq %rsi, %rax
movq %rdi, %rdx
xorl %ecx, %ecx
movabsq $0x7ff0000000000000, %r9 # imm = 0x7FF0000000000000
movabsq $-0x10000000000000, %r10 # imm = 0xFFF0000000000000
movq %rdi, %rsi
movl $0x10, %edi
movb $0x0, -0x10(%rsi,%rdi)
movq %r9, -0x8(%rsi,%rdi)
movq %r10, (%rsi,%rdi)
addq $0x18, %rdi
cmpq $0x70, %rdi
jne 0x777246
movl $0x10, %edi
movb $0x0, -0x10(%rsi,%rdi)
movq %r9, -0x8(%rsi,%rdi)
movq %r10, (%rsi,%rdi)
addq $0x18, %rdi
cmpq $0x70, %rdi
jne 0x777263
addq $0x60, %rcx
addq $0x60, %rsi
cmpq $0x180, %rcx # imm = 0x180
jne 0x777241
xorl %r11d, %r11d
leaq -0x60(%rsp), %r8
movl $0x10, %ecx
movb $0x0, -0x70(%rsp,%rcx)
movq %r9, -0x68(%rsp,%rcx)
movq %r10, -0x60(%rsp,%rcx)
addq $0x18, %rcx
cmpq $0x70, %rcx
jne 0x777299
movl $0x10, %ecx
movb $0x0, -0x70(%rsp,%rcx)
movq %r9, -0x68(%rsp,%rcx)
movq %r10, -0x60(%rsp,%rcx)
addq $0x18, %rcx
cmpq $0x70, %rcx
jne 0x7772b7
leaq (%r11,%r11,2), %rdi
shlq $0x5, %rdi
addq %rdx, %rdi
movl $0xc, %ecx
movq %r8, %rsi
rep movsq (%rsi), %es:(%rdi)
incq %r11
cmpq $0x4, %r11
jne 0x777294
xorl %ecx, %ecx
xorl %esi, %esi
movq 0x10(%rax,%rsi), %rdi
movq %rdi, 0x10(%rdx,%rsi)
movups (%rax,%rsi), %xmm0
movups %xmm0, (%rdx,%rsi)
addq $0x60, %rsi
cmpq $0x180, %rsi # imm = 0x180
jne 0x7772f3
incq %rcx
addq $0x18, %rdx
addq $0x18, %rax
cmpq $0x4, %rcx
jne 0x7772f1
retq
|
/kaydenl[P]VK-GL-CTS/framework/common/tcuMatrix.hpp
|
deqp::gls::BuiltinPrecisionTests::ExprP<tcu::Matrix<float, 4, 4>> deqp::gls::BuiltinPrecisionTests::exprP<tcu::Matrix<float, 4, 4>>(deqp::gls::BuiltinPrecisionTests::Expr<tcu::Matrix<float, 4, 4>> const*)
|
ExprP<T> exprP (const Expr<T>* ptr)
{
return exprP(SharedPtr<const Expr<T> >(ptr));
}
|
pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %rsi, (%rsp)
movl $0x20, %edi
callq 0x325210
xorl %ecx, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x4d276e(%rip), %rcx # 0xc49b00
movq %rcx, (%rax)
movq %r14, 0x10(%rax)
movq %rsp, %rsi
movq %rax, 0x8(%rsi)
movl $0x1, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
movq %rbx, %rdi
callq 0x777636
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7773fa
lock
decl 0x8(%rax)
jne 0x7773d6
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7773fa
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7773f1
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r14
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x776a24
jmp 0x777437
movq %rax, %rdi
callq 0x3250e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77742a
movq (%rdi), %rax
callq *0x8(%rax)
callq 0x325c10
movq %rax, %rbx
callq 0x325b60
movq %rbx, %rdi
callq 0x3259a0
movq %rax, %rdi
callq 0x3314f2
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Matrix<float, 4, 4>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Matrix<float, 4, 4>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x7776f6
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x7776f6
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6b0cea
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x4d270b(%rip), %rax # 0xc49ba8
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x777984
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x777506
lock
decl 0x8(%rax)
jne 0x7774e2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x777506
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7774fd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x77754e
lock
decl 0x8(%rax)
jne 0x77752a
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77754e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x777545
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x777596
lock
decl 0x8(%rax)
jne 0x777572
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x777596
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x77758d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x7775de
lock
decl 0x8(%rax)
jne 0x7775ba
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7775de
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x7775d5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x4d255b(%rip), %rax # 0xc49b40
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x777606
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6b0ff8
jmp 0x777615
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x776a24
jmp 0x777624
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x776a24
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ExprP<tcu::Matrix<float, 4, 4>> deqp::gls::BuiltinPrecisionTests::exprP<tcu::Matrix<float, 4, 4>>(de::SharedPtr<deqp::gls::BuiltinPrecisionTests::Expr<tcu::Matrix<float, 4, 4>> const> const&)
|
ExprP<T> exprP (const SharedPtr<const Expr<T> >& ptr)
{
ExprP<T> ret;
static_cast<SharedPtr<const Expr<T> >&>(ret) = ptr;
return ret;
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq 0x8(%rdi), %rax
cmpq 0x8(%rsi), %rax
je 0x7776ac
movq %rsi, %r14
testq %rax, %rax
je 0x77768d
lock
decl 0x8(%rax)
jne 0x77766c
movq $0x0, (%rbx)
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rbx), %rax
lock
decl 0xc(%rax)
jne 0x77768d
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x777685
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rbx)
movq (%r14), %rax
movq %rax, (%rbx)
movq 0x8(%r14), %rax
movq %rax, 0x8(%rbx)
testq %rax, %rax
je 0x7776ac
lock
incl 0x8(%rax)
movq 0x8(%rbx), %rax
lock
incl 0xc(%rax)
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Matrix<float, 4, 4>>::operator deqp::gls::BuiltinPrecisionTests::ExprP<tcu::Matrix<float, 4, 4>>() const
|
operator ExprP<T> (void) const { return exprP(SharedPtr<const Expr<T> >(*this)); }
|
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movq (%rsi), %rax
movq %rax, (%rsp)
movq 0x8(%rsi), %rax
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x777720
lock
incl 0x8(%rax)
movq 0x8(%rsp), %rax
lock
incl 0xc(%rax)
movq %rsp, %rsi
movq %rbx, %rdi
callq 0x777636
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x777772
lock
decl 0x8(%rax)
jne 0x77774e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x777772
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x777769
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x776a24
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x777864
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x777874
jmp 0x777874
jmp 0x777874
jmp 0x777874
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x77788e
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x7771a2
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x7771a2
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6b0800
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, tcu::Matrix<float, 4, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
return m_func.apply(ctx,
m_args.a->evaluate(ctx), m_args.b->evaluate(ctx),
m_args.c->evaluate(ctx), m_args.d->evaluate(ctx));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp # imm = 0x328
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rsi
movq (%rsi), %rax
leaq 0x1a8(%rsp), %r13
movq %r13, %rdi
callq *0x20(%rax)
movq 0x20(%r12), %rsi
movq (%rsi), %rax
leaq 0x28(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x30(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq 0x40(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
leaq 0x8(%rsp), %rcx
movq %r13, (%rcx)
movq %rbp, 0x8(%rcx)
leaq 0x7(%rsp), %rax
movq %rax, 0x10(%rcx)
leaq 0x6(%rsp), %rax
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x328, %rsp # imm = 0x328
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::VariableStatement<tcu::Matrix<float, 4, 4>>::doExecute(deqp::gls::BuiltinPrecisionTests::EvalContext&) const
|
void doExecute (EvalContext& ctx) const
{
if (m_isDeclaration)
ctx.env.bind(*m_variable, m_value->evaluate(ctx));
else
ctx.env.lookup(*m_variable) = m_value->evaluate(ctx);
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x188, %rsp # imm = 0x188
movq %rsi, %r14
movq %rdi, %r15
cmpb $0x1, 0x28(%rdi)
jne 0x777fa7
movq 0x30(%r14), %rbx
movq 0x8(%r15), %r12
movq 0x18(%r15), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
callq 0x77801a
jmp 0x777ffd
movq 0x18(%r15), %rsi
movq (%rsi), %rax
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x30(%r14), %rdi
movq 0x8(%r15), %rsi
callq 0x7771a2
xorl %ecx, %ecx
xorl %edx, %edx
movq 0x10(%rbx,%rdx), %rsi
movq %rsi, 0x10(%rax,%rdx)
movups (%rbx,%rdx), %xmm0
movups %xmm0, (%rax,%rdx)
addq $0x60, %rdx
cmpq $0x180, %rdx # imm = 0x180
jne 0x777fcd
incq %rcx
addq $0x18, %rax
addq $0x18, %rbx
cmpq $0x4, %rcx
jne 0x777fcb
addq $0x188, %rsp # imm = 0x188
popq %rbx
popq %r12
popq %r14
popq %r15
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::Environment::bind<tcu::Matrix<float, 4, 4>>(deqp::gls::BuiltinPrecisionTests::Variable<tcu::Matrix<float, 4, 4>> const&, deqp::gls::BuiltinPrecisionTests::Traits<tcu::Matrix<float, 4, 4>>::IVal const&)
|
void bind (const Variable<T>& variable,
const typename Traits<T>::IVal& value)
{
deUint8* const data = new deUint8[sizeof(value)];
deMemcpy(data, &value, sizeof(value));
de::insert(m_map, variable.getName(), SharedPtr<deUint8>(data, de::ArrayDeleter<deUint8>()));
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl $0x180, %edi # imm = 0x180
callq 0x325740
movq %rax, %r14
movl $0x180, %edx # imm = 0x180
movq %rax, %rdi
movq %r15, %rsi
callq 0x325120
leaq 0x28(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
addq %rsi, %rdx
leaq 0x18(%rsp), %rdi
callq 0x334442
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %r14, (%rsp)
movl $0x20, %edi
callq 0x325210
xorl %ecx, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x4c9f59(%rip), %rcx # 0xc41fe8
movq %rcx, (%rax)
movq %r14, 0x10(%rax)
movq %rsp, %rdx
movq %rax, 0x8(%rdx)
movl $0x1, %ecx
movl %ecx, 0x8(%rax)
movl %ecx, 0xc(%rax)
leaq 0x18(%rsp), %rsi
movq %rbx, %rdi
callq 0x6b1963
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7780fc
lock
decl 0x8(%rax)
jne 0x7780d8
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7780fc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7780f3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x778113
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3251a0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b1a0c
jmp 0x778151
movq %rax, %rdi
callq 0x3250e0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x778144
movq (%rdi), %rax
callq *0x8(%rax)
callq 0x325c10
movq %rax, %rbx
callq 0x325b60
movq 0x18(%rsp), %rdi
cmpq %r15, %rdi
je 0x778168
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
movq %rax, %rdi
callq 0x3314f2
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::ShaderExecUtil::Symbol deqp::gls::BuiltinPrecisionTests::PrecisionCase::makeSymbol<tcu::Matrix<float, 4, 4>>(deqp::gls::BuiltinPrecisionTests::Variable<tcu::Matrix<float, 4, 4>> const&)
|
Symbol makeSymbol (const Variable<T>& variable)
{
return Symbol(variable.getName(), getVarTypeOf<T>(m_ctx.precision));
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x18(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x8(%rdx), %rsi
movq 0x10(%rdx), %rdx
addq %rsi, %rdx
leaq 0x8(%rsp), %rdi
callq 0x334442
movl 0xf0(%r14), %edx
leaq 0x28(%rsp), %rdi
movl $0xd, %esi
callq 0x8d997c
leaq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %rbx, %rdi
callq 0x36a382
leaq 0x28(%rsp), %rdi
callq 0x8d9a14
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x77823a
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x40, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x8d9a14
jmp 0x778259
movq %rax, %rbx
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0x778270
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Functions::CompMatFuncBase<4, 4>::doApply(deqp::gls::BuiltinPrecisionTests::EvalContext const&, deqp::gls::BuiltinPrecisionTests::Tuple4<tcu::Matrix<tcu::Interval, 4, 4> const&, tcu::Matrix<tcu::Interval, 4, 4> const&, deqp::gls::BuiltinPrecisionTests::Void const&, deqp::gls::BuiltinPrecisionTests::Void const&> const&) const
|
IRet doApply (const EvalContext& ctx, const IArgs& iargs) const
{
IRet ret;
for (int col = 0; col < Cols; ++col)
{
for (int row = 0; row < Rows; ++row)
ret[col][row] = this->doGetScalarFunc().apply(ctx,
iargs.a[col][row],
iargs.b[col][row]);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %r15
callq 0x778278
xorl %ebp, %ebp
xorl %eax, %eax
movq %rax, 0x10(%rsp)
movl $0x4, %r13d
movq %rbp, 0x18(%rsp)
movq (%r12), %rax
movq %r12, %rdi
callq *0x58(%rax)
movq (%rbx), %rcx
addq %rbp, %rcx
movq 0x8(%rbx), %rdx
addq %rbp, %rdx
movq %rcx, 0x20(%rsp)
movq %rdx, 0x28(%rsp)
leaq 0xf(%rsp), %rcx
movq %rcx, 0x30(%rsp)
leaq 0xe(%rsp), %rcx
movq %rcx, 0x38(%rsp)
movq (%rax), %r8
leaq 0x40(%rsp), %rdi
movq %rax, %rsi
movq %r14, %rdx
leaq 0x20(%rsp), %rcx
callq *0x40(%r8)
movq 0x50(%rsp), %rax
movq %rax, 0x10(%r15,%rbp)
movups 0x40(%rsp), %xmm0
movups %xmm0, (%r15,%rbp)
addq $0x18, %rbp
decq %r13
jne 0x77b491
movq 0x10(%rsp), %rax
incq %rax
movq 0x18(%rsp), %rbp
addq $0x60, %rbp
cmpq $0x4, %rax
jne 0x77b481
movq %r15, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::MatrixFuncCaseFactory<deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct>::~MatrixFuncCaseFactory()
|
MovePtr<TestNode> createCase (const Context& ctx) const
{
TestCaseGroup* const group = new TestCaseGroup(ctx.testContext,
ctx.name.c_str(), ctx.name.c_str());
this->addCase<2, 2>(ctx, group);
this->addCase<3, 2>(ctx, group);
this->addCase<4, 2>(ctx, group);
this->addCase<2, 3>(ctx, group);
this->addCase<3, 3>(ctx, group);
this->addCase<4, 3>(ctx, group);
this->addCase<2, 4>(ctx, group);
this->addCase<3, 4>(ctx, group);
this->addCase<4, 4>(ctx, group);
return MovePtr<TestNode>(group);
}
|
movl $0x8, %esi
jmp 0x3251a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::MatrixFuncCaseFactory<deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct>::addCase<2, 2>(deqp::gls::BuiltinPrecisionTests::Context const&, tcu::TestCaseGroup*) const
|
void addCase (const Context& ctx, TestCaseGroup* group) const
{
const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >();
group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >()));
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movl $0x5, %edi
callq 0x8bb810
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x333da2
callq 0x77be2e
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x77bd87
movq %rbx, %rdi
movq %rax, %rsi
callq 0x9a989a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77b897
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77b8bf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::MatrixFuncCaseFactory<deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct>::addCase<3, 2>(deqp::gls::BuiltinPrecisionTests::Context const&, tcu::TestCaseGroup*) const
|
void addCase (const Context& ctx, TestCaseGroup* group) const
{
const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >();
group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >()));
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movl $0x6, %edi
callq 0x8bb810
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x333da2
callq 0x78085e
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x7807b7
movq %rbx, %rdi
movq %rax, %rsi
callq 0x9a989a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77b92f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77b957
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::MatrixFuncCaseFactory<deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct>::addCase<2, 4>(deqp::gls::BuiltinPrecisionTests::Context const&, tcu::TestCaseGroup*) const
|
void addCase (const Context& ctx, TestCaseGroup* group) const
{
const char* const name = dataTypeNameOf<Matrix<float, Rows, Cols> >();
group->addChild(createFuncCase(ctx, name, instance<GenF<Rows, Cols> >()));
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movl $0xb, %edi
callq 0x8bb810
leaq 0x10(%rsp), %r15
leaq 0xf(%rsp), %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x333da2
callq 0x79a3a0
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0x79a2f9
movq %rbx, %rdi
movq %rax, %rsi
callq 0x9a989a
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77bc27
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x20(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77bc4f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6d08f7
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2c8454(%rip), %rsi # 0xa443b2
leaq 0x2c8451(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x73ac29
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77bff0
testq %rax, %rax
je 0x77bfcb
lock
decl 0x8(%rax)
jne 0x77bfa7
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77bfcb
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x77bfc2
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x77bff0
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c037
lock
decl 0x8(%rax)
jne 0x77c013
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c037
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c02e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c04e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2c890e(%rip), %rsi # 0xa4496b
leaq 0x2c890b(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77c109
testq %rax, %rax
je 0x77c0db
lock
decl 0x8(%rax)
jne 0x77c0ae
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c0db
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x77c0cf
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x77c109
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c150
lock
decl 0x8(%rax)
jne 0x77c12c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c150
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c147
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c167
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2913e6(%rip), %rsi # 0xa0d55c
leaq 0x2913e2(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77c203
testq %rax, %rax
je 0x77c1de
lock
decl 0x8(%rax)
jne 0x77c1ba
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c1de
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x77c1d5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x77c203
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c24a
lock
decl 0x8(%rax)
jne 0x77c226
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c24a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c241
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c261
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2918f3(%rip), %rsi # 0xa0db63
leaq 0x2918ef(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77c2fd
testq %rax, %rax
je 0x77c2d8
lock
decl 0x8(%rax)
jne 0x77c2b4
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c2d8
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x77c2cf
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x77c2fd
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c344
lock
decl 0x8(%rax)
jne 0x77c320
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c344
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c33b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c35b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x295e88(%rip), %rsi # 0xa121f2
leaq 0x295e84(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77c3f7
testq %rax, %rax
je 0x77c3d2
lock
decl 0x8(%rax)
jne 0x77c3ae
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c3d2
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x77c3c9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x77c3f7
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c43e
lock
decl 0x8(%rax)
jne 0x77c41a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c43e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c435
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c455
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2eb62b(%rip), %rsi # 0xa67a8f
leaq 0x2eb627(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77c4f1
testq %rax, %rax
je 0x77c4cc
lock
decl 0x8(%rax)
jne 0x77c4a8
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c4cc
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x77c4c3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x77c4f1
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c538
lock
decl 0x8(%rax)
jne 0x77c514
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c538
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c52f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c55e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x77c73d
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x73d45b
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x77c7b6
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77c5f1
lock
decl 0x8(%rax)
jne 0x77c5cd
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c5f1
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c5e8
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x77c639
lock
decl 0x8(%rax)
jne 0x77c615
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77c639
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x77c630
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x77dc2e
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c660
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x77c67d
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x77c69a
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x77c6b7
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x77c6d8
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x73c138
jmp 0x77c719
jmp 0x77c716
jmp 0x77c6fa
jmp 0x77c716
jmp 0x77c6fa
jmp 0x77c716
jmp 0x77c6fa
jmp 0x77c716
jmp 0x77c6fa
jmp 0x77c716
jmp 0x77c6fa
jmp 0x77c716
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77c719
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x77c719
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x77dc2e
leaq 0x90(%rsp), %rdi
callq 0x6d256c
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x6b6ac6
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x6b6ac6
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6b0800
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6b4b3b
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2c6032(%rip), %rsi # 0xa443b2
leaq 0x2c602f(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x73ac29
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e412
testq %rax, %rax
je 0x77e3ed
lock
decl 0x8(%rax)
jne 0x77e3c9
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e3ed
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x77e3e4
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x77e412
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e459
lock
decl 0x8(%rax)
jne 0x77e435
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e459
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e450
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e470
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2c64ec(%rip), %rsi # 0xa4496b
leaq 0x2c64e9(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e52b
testq %rax, %rax
je 0x77e4fd
lock
decl 0x8(%rax)
jne 0x77e4d0
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e4fd
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x77e4f1
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x77e52b
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e572
lock
decl 0x8(%rax)
jne 0x77e54e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e572
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e569
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e589
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28efc4(%rip), %rsi # 0xa0d55c
leaq 0x28efc0(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e625
testq %rax, %rax
je 0x77e600
lock
decl 0x8(%rax)
jne 0x77e5dc
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e600
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x77e5f7
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x77e625
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e66c
lock
decl 0x8(%rax)
jne 0x77e648
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e66c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e663
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e683
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28f4d1(%rip), %rsi # 0xa0db63
leaq 0x28f4cd(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e71f
testq %rax, %rax
je 0x77e6fa
lock
decl 0x8(%rax)
jne 0x77e6d6
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e6fa
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x77e6f1
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x77e71f
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e766
lock
decl 0x8(%rax)
jne 0x77e742
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e766
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e75d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e77d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x293a66(%rip), %rsi # 0xa121f2
leaq 0x293a62(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e819
testq %rax, %rax
je 0x77e7f4
lock
decl 0x8(%rax)
jne 0x77e7d0
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e7f4
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x77e7eb
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x77e819
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e860
lock
decl 0x8(%rax)
jne 0x77e83c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e860
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e857
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e877
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2e9209(%rip), %rsi # 0xa67a8f
leaq 0x2e9205(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x77e913
testq %rax, %rax
je 0x77e8ee
lock
decl 0x8(%rax)
jne 0x77e8ca
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e8ee
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x77e8e5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x77e913
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77e95a
lock
decl 0x8(%rax)
jne 0x77e936
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77e95a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77e951
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77e983
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x77c73d
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x73d45b
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x77eb64
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x77ea16
lock
decl 0x8(%rax)
jne 0x77e9f2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77ea16
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x77ea0d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x77ea5e
lock
decl 0x8(%rax)
jne 0x77ea3a
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x77ea5e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x77ea55
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x7801c6
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x77ea85
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x77eaa2
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x77eabf
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x77eadc
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x77eafd
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x73c138
jmp 0x77eb3e
jmp 0x77eb3b
jmp 0x77eb1f
jmp 0x77eb3b
jmp 0x77eb1f
jmp 0x77eb3b
jmp 0x77eb1f
jmp 0x77eb3b
jmp 0x77eb1f
jmp 0x77eb3b
jmp 0x77eb1f
jmp 0x77eb3b
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x77eb3e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x77eb3e
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x7801c6
leaq 0x90(%rsp), %rdi
callq 0x6b6674
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4f8, %rsp # imm = 0x4F8
movq %rcx, 0x70(%rsp)
movq %rsi, (%rsp)
movq %rdi, %r15
movq (%rdx), %rbx
movq %rdx, 0xd8(%rsp)
movq 0x8(%rdx), %r12
movq %r12, %rsi
subq %rbx, %rsi
sarq $0x3, %rsi
leaq 0x2d8(%rsp), %rdi
movq %rsi, 0x68(%rsp)
callq 0x780358
leaq 0x350(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x370(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%r15), %rcx
movq %rcx, 0x290(%rsp)
movups 0xc8(%r15), %xmm0
movups 0xd8(%r15), %xmm1
movaps %xmm1, 0x280(%rsp)
movaps %xmm0, 0x270(%rsp)
leaq 0x2b0(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xf8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e8e50(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x324613(%rip), %rsi # 0xaa328d
leaq 0xf0(%rsp), %rdi
callq 0x9aba2a
movq 0x4dde9a(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
leaq 0x380(%rsp), %rdi
callq 0x325e00
movq %rbx, 0x8(%rsp)
leaq 0xa8(%rsp), %r13
movl $0x0, (%r13)
xorl %eax, %eax
movq %rax, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
movq %rax, 0x20(%r13)
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
leaq 0xa0(%rsp), %rsi
callq *0x20(%rax)
movq 0xb8(%rsp), %rbx
cmpq %r13, %rbx
je 0x77ed1c
leaq 0x380(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r13, %rax
jne 0x77ecff
cmpq $0x0, 0xc8(%rsp)
je 0x77edca
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xf8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e8d66(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x388(%rsp), %rsi
leaq 0x30(%rsp), %rdi
callq 0x325660
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x324507(%rip), %rsi # 0xaa328d
leaq 0xf0(%rsp), %rdi
callq 0x9aba2a
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77edae
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4ddd73(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
leaq 0xa0(%rsp), %rdi
callq 0x6b222e
movq 0x4ddd4a(%rip), %rsi # 0xc5cb28
leaq 0x380(%rsp), %rdi
callq 0x325aa0
leaq 0x3f0(%rsp), %rdi
callq 0x325a80
leaq 0xf0(%rsp), %rdi
callq 0x325e00
leaq 0x2e8cc0(%rip), %rsi # 0xa67acc
leaq 0xf0(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%r15), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x77ee4f
movq %rbx, %rdi
callq 0x325680
leaq 0xf0(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x77ee71
movq 0xf0(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0xf0, %rdi
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x302d23(%rip), %rsi # 0xa81b9b
leaq 0xf0(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0xf8(%rsp), %rsi
leaq 0x380(%rsp), %rdi
callq 0x325660
leaq 0x340(%rsp), %rbx
leaq 0x380(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x390(%rsp), %r13
cmpq %r13, %rdi
je 0x77eeda
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4ddc47(%rip), %rsi # 0xc5cb28
leaq 0xf0(%rsp), %rdi
callq 0x325aa0
leaq 0x160(%rsp), %rdi
callq 0x325a80
movq 0x98(%r15), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x308(%rsp)
cmpq $0x0, 0x168(%r15)
je 0x77efe9
leaq 0x160(%r15), %rdx
leaq 0x304ee5(%rip), %rsi # 0xa83e17
leaq 0x380(%rsp), %rdi
callq 0x33fea4
leaq 0x30857c(%rip), %rsi # 0xa874c2
leaq 0x380(%rsp), %rdi
callq 0x3259c0
leaq 0x100(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x77ef83
movq %rdx, 0xf0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x100(%rsp)
jmp 0x77ef8a
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xf0(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %rbp, %rdi
je 0x77efcc
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x380(%rsp), %rdi
cmpq %r13, %rdi
je 0x77efe9
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x310(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq (%rsp), %rax
movq (%rax), %rdx
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x6b7316
movq 0x310(%rsp), %r14
leaq 0xf0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x110(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0x100(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77f06a
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x328(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq (%rsp), %rax
movq 0x50(%rax), %rdx
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x6b7316
movq 0x328(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0x110(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x77f0f1
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0xf0(%rsp), %rdi
movq %r15, %rsi
callq 0x73da3a
movq 0x328(%rsp), %r14
leaq 0xf0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x110(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x77f165
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xf0(%rsp), %rdi
callq 0x325e00
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
leaq 0xf0(%rsp), %rsi
callq *0x10(%rax)
leaq 0xf8(%rsp), %rsi
leaq 0x380(%rsp), %rdi
callq 0x325660
leaq 0x360(%rsp), %rbx
movq 0x4dd97f(%rip), %rsi # 0xc5cb28
leaq 0xf0(%rsp), %rdi
callq 0x325aa0
leaq 0x160(%rsp), %rdi
callq 0x325a80
leaq 0x380(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r13, %rdi
je 0x77f1ee
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x98(%r15), %rdi
movl 0xf4(%r15), %esi
leaq 0x308(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0xd8(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0xf0(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0xf8(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0x100(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0x108(%rsp)
movq 0x2d8(%rsp), %rax
movq 0x2f0(%rsp), %rcx
movq %rax, 0x380(%rsp)
movq %rcx, 0x388(%rsp)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x77fec1
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0xf0(%rsp), %rdx
leaq 0x380(%rsp), %rcx
movq %r14, %rdi
movq 0x68(%rsp), %rsi
callq *0x30(%rax)
movq %r15, 0x60(%rsp)
leaq 0xa0(%r15), %rax
movq %rax, 0x2a0(%rsp)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0x10, %eax
movabsq $0x7ff0000000000000, %r14 # imm = 0x7FF0000000000000
movabsq $-0x10000000000000, %rbp # imm = 0xFFF0000000000000
movb $0x0, 0x370(%rsp,%rax)
movq %r14, 0x378(%rsp,%rax)
movq %rbp, 0x380(%rsp,%rax)
addq $0x18, %rax
cmpq $0x40, %rax
jne 0x77f2e2
movl $0x10, %eax
movb $0x0, 0x370(%rsp,%rax)
movq %r14, 0x378(%rsp,%rax)
movq %rbp, 0x380(%rsp,%rax)
addq $0x18, %rax
cmpq $0x28, %rax
je 0x77f309
leaq 0xf0(%rsp), %rdi
callq 0x73daee
movl $0x10, %eax
movb $0x0, 0x90(%rsp,%rax)
movq %r14, 0x98(%rsp,%rax)
movq %rbp, 0xa0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x40, %rax
jne 0x77f33d
movl $0x10, %eax
movb $0x0, 0x90(%rsp,%rax)
movq %r14, 0x98(%rsp,%rax)
movq %rbp, 0xa0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x28, %rax
je 0x77f364
movq (%rsp), %rbx
movq (%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0x380(%rsp), %rdx
callq 0x6b73ca
movq 0x10(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0x30(%rsp), %rdx
callq 0x6b1f1c
movq 0x20(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x6b1f1c
movq 0x30(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0xf0(%rsp), %rdx
callq 0x73d890
movq 0x50(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x6b73ca
cmpq 0x8(%rsp), %r12
je 0x77fc6c
movq 0x60(%rsp), %rax
addq $0x100, %rax # imm = 0x100
movq %rax, 0xe8(%rsp)
movq 0x68(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x298(%rsp)
movq $0x0, 0x8(%rsp)
movq $0x0, 0x78(%rsp)
leaq 0x380(%rsp), %rdi
callq 0x73daee
movl $0x10, %eax
movb $0x0, 0x90(%rsp,%rax)
movq %r14, 0x98(%rsp,%rax)
movq %rbp, 0xa0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x40, %rax
jne 0x77f470
movl $0x10, %eax
movb $0x0, 0x90(%rsp,%rax)
movq %r14, 0x98(%rsp,%rax)
movq %rbp, 0xa0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x28, %rax
je 0x77f497
movq 0x8(%rsp), %rax
shlq $0x34, %rax
jne 0x77f4d2
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq 0xd8(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, 0x10(%rsp)
leaq 0x30(%rsp), %rdi
movq 0x2a0(%rsp), %r12
movq %r12, %rsi
leaq 0x10(%rsp), %rdx
callq 0x6b7668
movq (%rsp), %rbx
leaq 0xf0(%rsp), %r13
movq %r13, %rdi
movq %r12, %rsi
leaq 0x30(%rsp), %rdx
callq 0x6b75be
movq (%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
callq 0x6b6ac6
movups 0xf0(%rsp), %xmm0
movups 0x100(%rsp), %xmm1
movups 0x110(%rsp), %xmm2
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x10(%rbx), %rsi
leaq 0x2a8(%rsp), %r15
movq %r15, %rdi
callq 0x6b0800
movq 0x20(%rbx), %rsi
movq %r15, %rdi
callq 0x6b0800
movq 0x30(%rbx), %rsi
movq %r15, %rdi
callq 0x6b0800
movq 0x60(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%r12), %rcx
movq %rcx, 0x110(%rsp)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movaps %xmm1, 0x100(%rsp)
movaps %xmm0, 0xf0(%rsp)
movl %eax, 0x118(%rsp)
movq %r15, 0x120(%rsp)
movl $0x0, 0x128(%rsp)
movq 0x70(%rsp), %rdi
movq (%rdi), %rax
movq %r13, %rsi
callq *0x18(%rax)
movq 0x50(%rbx), %rsi
movq %r15, %rdi
callq 0x6b6ac6
movq %r13, %rdi
leaq 0x270(%rsp), %rsi
movq %rax, %rdx
callq 0x6b75be
movups 0xf0(%rsp), %xmm0
movups 0x100(%rsp), %xmm1
movups 0x110(%rsp), %xmm2
movaps %xmm2, 0xc0(%rsp)
movaps %xmm1, 0xb0(%rsp)
movaps %xmm0, 0xa0(%rsp)
movq 0x8(%rsp), %rax
leaq (,%rax,8), %rax
movq 0x2f0(%rsp), %rsi
movq %rax, 0xe0(%rsp)
addq %rax, %rsi
leaq 0xa0(%rsp), %rdi
callq 0x6d4d10
movl %eax, %ebx
leaq 0x100(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf0(%rsp), %r12
movq %r12, %rdi
leaq 0x2e84d5(%rip), %rsi # 0xa67b50
leaq 0x2e84f9(%rip), %rdx # 0xa67b7b
callq 0x334070
movzbl %bl, %esi
movq 0xe8(%rsp), %rdi
movq %r12, %rdx
callq 0x9a94ca
movq (%rsp), %rbx
movl %eax, %r13d
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x77f6c6
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rbx), %rsi
leaq 0x2a8(%rsp), %rdi
callq 0x73ca10
leaq 0xf0(%rsp), %rbx
movq %rbx, %rdi
leaq 0x270(%rsp), %rsi
movq %rax, %rdx
callq 0x73deb4
leaq 0x380(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%rbx,%rsi), %rdi
movq %rdi, 0x10(%rcx,%rsi)
movups (%rbx,%rsi), %xmm0
movups %xmm0, (%rcx,%rsi)
addq $0x30, %rsi
cmpq $0x30, %rsi
je 0x77f6fe
leaq 0x1(%rdx), %rsi
addq $0x18, %rcx
addq $0x18, %rbx
testq %rdx, %rdx
movq %rsi, %rdx
je 0x77f6fc
movq 0x8(%rsp), %r12
shlq $0x4, %r12
movq 0x2d8(%rsp), %rsi
addq %r12, %rsi
leaq 0x380(%rsp), %rdi
callq 0x73dc5e
movl %eax, %ebx
leaq 0x100(%rsp), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf0(%rsp), %r15
movq %r15, %rdi
leaq 0x2e8409(%rip), %rsi # 0xa67b7c
leaq 0x2e842d(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %bl, %esi
movq 0xe8(%rsp), %rdi
movq %r15, %rdx
callq 0x9a94ca
movl %eax, %ebx
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x77f7b9
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
andb %bl, %r13b
movl %r13d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x78(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x78(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r13b, %al
testb $0x1, %al
jne 0x77fc4f
movq 0x60(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0xf0(%rsp)
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e00
testb $0x1, %r13b
leaq 0x292bc6(%rip), %rsi # 0xa123da
leaq 0x292bb8(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbx, %rdi
callq 0x325e70
leaq 0xf0(%rsp), %r13
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x2e8365(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2dff79(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq (%rax), %rax
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x334442
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2cc12a(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0xd8(%rsp), %rax
movq (%rax), %rdx
addq 0xe0(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x6b7531
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d4637(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x77f91f
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x77f93b
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
leaq 0x2dfe7e(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq 0x40(%rax), %rax
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x334442
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2cc02e(%rip), %rsi # 0xa4b9d5
callq 0x325e70
addq 0x2d8(%rsp), %r12
leaq 0x10(%rsp), %rdi
leaq 0x270(%rsp), %rsi
movq %r12, %rdx
callq 0x73dca2
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d4543(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x2e81ac(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x80(%rsp), %rdi
leaq 0x270(%rsp), %rsi
leaq 0x380(%rsp), %rdx
callq 0x73dd2e
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d44e6(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x77fa79
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x77fa95
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x77fab1
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2dfd10(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rsp), %rax
movq 0x50(%rax), %rax
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x30(%rsp), %rdi
callq 0x334442
movq 0x30(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0xf8(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2cbec0(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0xe0(%rsp), %rdx
addq 0x2f0(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x270(%rsp), %rsi
callq 0x6b7531
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d43d8(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x2e8041(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x80(%rsp), %rdi
leaq 0x270(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x6d4c02
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d437b(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x77fbe4
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x77fc00
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x77fc1c
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %r13, %rdi
leaq 0x323667(%rip), %rsi # 0xaa328d
leaq 0xf8(%rsp), %rbx
callq 0x9aba2a
movq %rbx, %rdi
movq 0x4dceeb(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
movq 0x8(%rsp), %rcx
incq %rcx
movq %rcx, 0x8(%rsp)
cmpq 0x298(%rsp), %rcx
jne 0x77f45e
jmp 0x77fc75
movq $0x0, 0x78(%rsp)
movq 0x78(%rsp), %r15
cmpl $0x64, %r15d
movq 0x60(%rsp), %rbx
jle 0x77fd09
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xf8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e7f18(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r15), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x2e7f02(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3235ad(%rip), %rsi # 0xaa328d
leaq 0xf0(%rsp), %rdi
callq 0x9aba2a
movq 0x4dce34(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
testl %r15d, %r15d
je 0x77fd80
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xf8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r15d, %esi
callq 0x325530
leaq 0x29cedd(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x68(%rsp), %rsi
callq 0x3257b0
leaq 0x2e7e92(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x32351c(%rip), %rsi # 0xaa328d
leaq 0xf0(%rsp), %rdi
callq 0x9aba2a
jmp 0x77fde5
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xf8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e7e37(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x68(%rsp), %rsi
callq 0x3257b0
leaq 0x2e7e1b(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3234b5(%rip), %rsi # 0xaa328d
leaq 0xf0(%rsp), %rdi
callq 0x9aba2a
movq 0x4dcd3c(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
leaq 0x2a8(%rsp), %rdi
callq 0x6b2588
movq 0x360(%rsp), %rdi
leaq 0x370(%rsp), %rax
cmpq %rax, %rdi
leaq 0x328(%rsp), %rbx
je 0x77fe3b
movq 0x370(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x340(%rsp), %rdi
leaq 0x350(%rsp), %rax
cmpq %rax, %rdi
je 0x77fe60
movq 0x350(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x36a7d0
leaq 0x310(%rsp), %rdi
callq 0x36a7d0
movq 0x2f0(%rsp), %rdi
testq %rdi, %rdi
je 0x77fe92
movq 0x300(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x2d8(%rsp), %rdi
testq %rdi, %rdi
je 0x77feaf
movq 0x2e8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x4f8, %rsp # imm = 0x4F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x2d1b1a(%rip), %rsi # 0xa519ef
leaq 0x2e7bfb(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x49b1cd(%rip), %rsi # 0xc1b0c0
leaq -0x44e11a(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x780194
jmp 0x77ffec
jmp 0x780194
movq %rax, %r12
movq %r15, %rdi
callq 0x325d40
jmp 0x78002a
jmp 0x780194
movq %rax, %r12
movq 0x380(%rsp), %rdi
cmpq %r13, %rdi
je 0x780197
movq 0x390(%rsp), %rsi
jmp 0x7800e6
jmp 0x780194
jmp 0x77ff4e
movq %rax, %r12
jmp 0x77ffc3
jmp 0x7800f8
jmp 0x780194
jmp 0x780194
jmp 0x780194
jmp 0x77ff75
jmp 0x780194
jmp 0x77ff75
jmp 0x780194
movq %rax, %r12
leaq 0xf0(%rsp), %rdi
callq 0x36a3d6
jmp 0x780197
jmp 0x780194
jmp 0x780003
jmp 0x780194
jmp 0x7800f8
jmp 0x780194
jmp 0x780194
movq %rax, %r12
leaq 0x40(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x77ffc3
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4dcb5e(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
jmp 0x7800fb
jmp 0x77ffec
jmp 0x77ffec
jmp 0x780003
jmp 0x77ffec
movq %rax, %r12
movq 0x4dcb32(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x780172
jmp 0x780194
movq %rax, %r12
movq 0x4dcb1b(%rip), %rsi # 0xc5cb28
leaq 0xf0(%rsp), %rdi
callq 0x325aa0
leaq 0x160(%rsp), %rdi
jmp 0x78017f
movq %rax, %r12
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x780197
jmp 0x780194
jmp 0x78004f
jmp 0x7800a1
jmp 0x780128
jmp 0x7800a1
jmp 0x780128
jmp 0x78004f
movq %rax, %r12
jmp 0x780163
jmp 0x7800a1
jmp 0x780194
jmp 0x780070
jmp 0x780194
jmp 0x7800c2
jmp 0x780128
jmp 0x7800a1
jmp 0x7800a1
movq %rax, %r12
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x78012b
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78012b
movq %rax, %r12
jmp 0x780147
jmp 0x780194
jmp 0x780194
jmp 0x780194
jmp 0x780194
jmp 0x780194
movq %rax, %r12
movq 0xf0(%rsp), %rdi
leaq 0x100(%rsp), %rax
cmpq %rax, %rdi
je 0x780197
movq 0x100(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x780197
jmp 0x780194
movq %rax, %r12
leaq 0xa0(%rsp), %rdi
callq 0x6b222e
movq 0x4dca19(%rip), %rsi # 0xc5cb28
leaq 0x380(%rsp), %rdi
callq 0x325aa0
leaq 0x3f0(%rsp), %rdi
jmp 0x78017f
jmp 0x780128
movq %rax, %r12
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x780147
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x780163
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xf8(%rsp), %rdi
movq 0x4dc9b6(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x168(%rsp), %rdi
callq 0x325a80
jmp 0x780197
jmp 0x780194
jmp 0x780194
jmp 0x780194
movq %rax, %r12
movq %rbx, %rdi
jmp 0x78016b
movq %rax, %r12
leaq 0x2a8(%rsp), %rdi
callq 0x6b2588
leaq 0x308(%rsp), %rdi
callq 0x36a3fe
leaq 0x2d8(%rsp), %rdi
callq 0x7803a4
movq %r12, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct<2, 2>::doApply(deqp::gls::BuiltinPrecisionTests::EvalContext const&, deqp::gls::BuiltinPrecisionTests::Tuple4<tcu::Vector<tcu::Interval, 2> const&, tcu::Vector<tcu::Interval, 2> const&, deqp::gls::BuiltinPrecisionTests::Void const&, deqp::gls::BuiltinPrecisionTests::Void const&> const&) const
|
IRet doApply (const EvalContext& ctx, const IArgs& iargs) const
{
IRet ret;
for (int row = 0; row < Rows; ++row)
{
for (int col = 0; col < Cols; ++col)
ret[col][row] = call<Mul>(ctx, iargs.a[row], iargs.b[col]);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %rbx
movq %rdx, %r15
movq %rdi, %rbp
callq 0x73daee
xorl %eax, %eax
leaq 0xf(%rsp), %r14
movq %rbp, 0x10(%rsp)
movq %rax, 0x18(%rsp)
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
movq %rax, 0x20(%rsp)
xorl %r12d, %r12d
movq %rbp, 0x28(%rsp)
movq (%rbx), %r13
addq 0x20(%rsp), %r13
movq %r14, %rbp
movq %r15, %r14
movq 0x8(%rbx), %r15
addq %r12, %r15
callq 0x7146fb
movq %r13, 0x30(%rsp)
leaq 0x30(%rsp), %r9
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rcx
movq %r15, 0x38(%rsp)
movq %r14, %r15
movq %rbp, %r14
movq %rbp, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq (%rax), %r8
movq %rax, %rsi
movq %r15, %rdx
movq %r9, %rcx
callq *0x40(%r8)
movq 0x28(%rsp), %rbp
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rbp,%r12,2)
movups 0x50(%rsp), %xmm0
movups %xmm0, (%rbp,%r12,2)
addq $0x18, %r12
cmpq $0x18, %r12
je 0x780452
movq 0x18(%rsp), %rcx
leaq 0x1(%rcx), %rax
addq $0x18, %rbp
testq %rcx, %rcx
je 0x780438
movq 0x10(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrint(std::ostream&, std::vector<deqp::gls::BuiltinPrecisionTests::ExprBase const*, std::allocator<deqp::gls::BuiltinPrecisionTests::ExprBase const*>> const&) const
|
virtual void doPrint (ostream& os, const BaseArgExprs& args) const
{
os << getName() << "(";
if (isTypeValid<Arg0>())
os << *args[0];
if (isTypeValid<Arg1>())
os << ", " << *args[1];
if (isTypeValid<Arg2>())
os << ", " << *args[2];
if (isTypeValid<Arg3>())
os << ", " << *args[3];
os << ")";
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rsi
movq (%rdi), %rax
movq %rsp, %r15
movq %r15, %rdi
callq *0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x2b6d1a(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x780550
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%r14), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x306235(%rip), %rsi # 0xa8679b
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x32a1f4(%rip), %rsi # 0xaaa77e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7805bf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 2>, tcu::Vector<float, 2>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetParamNames[abi:cxx11]() const
|
virtual const ParamNames& doGetParamNames (void) const
{
static ParamNames names ("a", "b", "c", "d");
return names;
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movb 0x4f6c7a(%rip), %al # 0xc77258
testb %al, %al
je 0x7805fa
leaq 0x4f6bef(%rip), %rax # 0xc771d8
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4f6c57(%rip), %rdi # 0xc77258
callq 0x325590
testl %eax, %eax
je 0x7805e2
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2d1feb(%rip), %rsi # 0xa52605
leaq 0x2d1fe5(%rip), %rdx # 0xa52606
leaq 0x60(%rsp), %rdi
callq 0x334070
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2d1fa7(%rip), %rsi # 0xa525e2
leaq 0x2d1fa1(%rip), %rdx # 0xa525e3
leaq 0x40(%rsp), %rdi
callq 0x334070
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x290765(%rip), %rsi # 0xa10dc2
leaq 0x29075f(%rip), %rdx # 0xa10dc3
leaq 0x20(%rsp), %rdi
callq 0x334070
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x32b1de(%rip), %rsi # 0xaab85c
leaq 0x32b1d8(%rip), %rdx # 0xaab85d
movq %rsp, %rdi
callq 0x334070
leaq 0x4f6b44(%rip), %rdi # 0xc771d8
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %rsp, %r8
callq 0x6b40e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x7806c1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x7806d8
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x7806ef
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x780706
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq -0xcc529(%rip), %rdi # 0x6b41e4
leaq 0x4f6ac4(%rip), %rsi # 0xc771d8
leaq 0x4dd1fd(%rip), %rdx # 0xc5d918
callq 0x325d10
leaq 0x4f6b31(%rip), %rdi # 0xc77258
callq 0x3258b0
jmp 0x7805e2
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x78074f
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78074f
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x78076b
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78076b
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x780787
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x780787
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x7807a3
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x7807a3
movq %rax, %rbx
leaq 0x4f6aae(%rip), %rdi # 0xc77258
callq 0x3256b0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::PrecisionCase* deqp::gls::BuiltinPrecisionTests::createFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Context const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&)
|
PrecisionCase* createFuncCase (const Context& context,
const string& name,
const Func<Sig>& func)
{
switch (func.getOutParamIndex())
{
case -1:
return new FuncCase<Sig>(context, name, func);
case 1:
return new InOutFuncCase<Sig>(context, name, func);
default:
DE_FATAL("Impossible");
}
return DE_NULL;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x28(%rax)
cmpl $0x1, %eax
je 0x780802
cmpl $-0x1, %eax
jne 0x780833
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4c9850(%rip), %rax # 0xc4a050
jmp 0x780827
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4c9929(%rip), %rax # 0xc4a150
movq %rax, (%rbx)
movq %r14, 0x180(%rbx)
jmp 0x780835
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x780846
movq %rax, %r14
movl $0x188, %esi # imm = 0x188
movq %rbx, %rdi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x78116d
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2c3a24(%rip), %rsi # 0xa443b2
leaq 0x2c3a21(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x742061
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780a20
testq %rax, %rax
je 0x7809fb
lock
decl 0x8(%rax)
jne 0x7809d7
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7809fb
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x7809f2
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x780a20
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780a67
lock
decl 0x8(%rax)
jne 0x780a43
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780a67
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780a5e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780a7e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2c3ede(%rip), %rsi # 0xa4496b
leaq 0x2c3edb(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780b39
testq %rax, %rax
je 0x780b0b
lock
decl 0x8(%rax)
jne 0x780ade
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780b0b
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x780aff
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x780b39
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780b80
lock
decl 0x8(%rax)
jne 0x780b5c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780b80
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780b77
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780b97
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28c9b6(%rip), %rsi # 0xa0d55c
leaq 0x28c9b2(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6bc46d
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780c33
testq %rax, %rax
je 0x780c0e
lock
decl 0x8(%rax)
jne 0x780bea
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780c0e
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x780c05
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x780c33
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780c7a
lock
decl 0x8(%rax)
jne 0x780c56
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780c7a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780c71
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780c91
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28cec3(%rip), %rsi # 0xa0db63
leaq 0x28cebf(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780d2d
testq %rax, %rax
je 0x780d08
lock
decl 0x8(%rax)
jne 0x780ce4
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780d08
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x780cff
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x780d2d
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780d74
lock
decl 0x8(%rax)
jne 0x780d50
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780d74
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780d6b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780d8b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x291458(%rip), %rsi # 0xa121f2
leaq 0x291454(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780e27
testq %rax, %rax
je 0x780e02
lock
decl 0x8(%rax)
jne 0x780dde
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780e02
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x780df9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x780e27
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780e6e
lock
decl 0x8(%rax)
jne 0x780e4a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780e6e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780e65
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780e85
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2e6bfb(%rip), %rsi # 0xa67a8f
leaq 0x2e6bf7(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x780f21
testq %rax, %rax
je 0x780efc
lock
decl 0x8(%rax)
jne 0x780ed8
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780efc
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x780ef3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x780f21
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x780f68
lock
decl 0x8(%rax)
jne 0x780f44
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x780f68
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x780f5f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x780f8e
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x7816d5
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x7449ab
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x78174e
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x781021
lock
decl 0x8(%rax)
jne 0x780ffd
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x781021
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x781018
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x781069
lock
decl 0x8(%rax)
jne 0x781045
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x781069
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x781060
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x782bea
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x781090
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x7810ad
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x7810ca
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x7810e7
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x781108
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x743580
jmp 0x781149
jmp 0x781146
jmp 0x78112a
jmp 0x781146
jmp 0x78112a
jmp 0x781146
jmp 0x78112a
jmp 0x781146
jmp 0x78112a
jmp 0x781146
jmp 0x78112a
jmp 0x781146
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x781149
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x781149
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x782bea
leaq 0x90(%rsp), %rdi
callq 0x782d7c
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> deqp::gls::BuiltinPrecisionTests::generateInputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Samplings<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, tcu::FloatFormat const&, glu::Precision, unsigned long, de::Random&)
|
Inputs<In> generateInputs (const Samplings<In>& samplings,
const FloatFormat& floatFormat,
Precision intPrecision,
size_t numSamples,
Random& rnd)
{
Inputs<In> ret;
Inputs<In> fixedInputs;
set<InTuple<In>, InputLess<InTuple<In> > > seenInputs;
samplings.in0.genFixeds(floatFormat, fixedInputs.in0);
samplings.in1.genFixeds(floatFormat, fixedInputs.in1);
samplings.in2.genFixeds(floatFormat, fixedInputs.in2);
samplings.in3.genFixeds(floatFormat, fixedInputs.in3);
for (size_t ndx0 = 0; ndx0 < fixedInputs.in0.size(); ++ndx0)
{
for (size_t ndx1 = 0; ndx1 < fixedInputs.in1.size(); ++ndx1)
{
for (size_t ndx2 = 0; ndx2 < fixedInputs.in2.size(); ++ndx2)
{
for (size_t ndx3 = 0; ndx3 < fixedInputs.in3.size(); ++ndx3)
{
const InTuple<In> tuple (fixedInputs.in0[ndx0],
fixedInputs.in1[ndx1],
fixedInputs.in2[ndx2],
fixedInputs.in3[ndx3]);
seenInputs.insert(tuple);
ret.in0.push_back(tuple.a);
ret.in1.push_back(tuple.b);
ret.in2.push_back(tuple.c);
ret.in3.push_back(tuple.d);
}
}
}
}
for (size_t ndx = 0; ndx < numSamples; ++ndx)
{
const typename In::In0 in0 = samplings.in0.genRandom(floatFormat, intPrecision, rnd);
const typename In::In1 in1 = samplings.in1.genRandom(floatFormat, intPrecision, rnd);
const typename In::In2 in2 = samplings.in2.genRandom(floatFormat, intPrecision, rnd);
const typename In::In3 in3 = samplings.in3.genRandom(floatFormat, intPrecision, rnd);
const InTuple<In> tuple (in0, in1, in2, in3);
if (de::contains(seenInputs, tuple))
continue;
seenInputs.insert(tuple);
ret.in0.push_back(in0);
ret.in1.push_back(in1);
ret.in2.push_back(in2);
ret.in3.push_back(in3);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %r9, 0xd0(%rsp)
movq %r8, 0xa0(%rsp)
movl %ecx, 0xc(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
leaq 0x40(%rsp), %rdx
movaps %xmm0, 0x50(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xf0(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq (%rsi), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x8(%r15), %rdi
leaq 0x58(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x10(%r15), %rdi
leaq 0x70(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x18(%r15), %rdi
leaq 0x88(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq %r15, 0xc0(%rsp)
movq %r14, 0xc8(%rsp)
movq 0x48(%rsp), %rax
cmpq 0x40(%rsp), %rax
je 0x781400
leaq 0x18(%rbx), %rbp
leaq 0x30(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x18(%rsp)
xorl %r15d, %r15d
leaq 0x28(%rsp), %r12
xorl %edx, %edx
movq %rdx, 0xd8(%rsp)
movq 0x60(%rsp), %rax
cmpq 0x58(%rsp), %rax
je 0x7813cc
xorl %r14d, %r14d
xorl %ecx, %ecx
movq %rcx, 0xe0(%rsp)
movq 0x78(%rsp), %rax
cmpq 0x70(%rsp), %rax
je 0x7813a6
xorl %ecx, %ecx
movq %rcx, 0x10(%rsp)
movq 0x90(%rsp), %rax
cmpq 0x88(%rsp), %rax
je 0x78138b
xorl %r13d, %r13d
movq 0x58(%rsp), %rax
movq 0x40(%rsp), %rcx
addq %r15, %rcx
xorl %edx, %edx
movss (%rcx,%rdx,4), %xmm0
movss %xmm0, 0x28(%rsp,%rdx,4)
incq %rdx
cmpq $0x3, %rdx
jne 0x7812d6
addq %r14, %rax
xorl %ecx, %ecx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0x34(%rsp,%rcx,4)
incq %rcx
cmpq $0x1, %rcx
je 0x7812ef
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x782dd6
movq %rbx, %rdi
movq %r12, %rsi
callq 0x47d518
movq %rbp, %rdi
leaq 0x34(%rsp), %rsi
callq 0x56b5dc
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x78133e
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x78134d
movq 0x20(%rsp), %rdi
leaq 0x3c(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x781360
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x78136f
movq 0x18(%rsp), %rdi
leaq 0x3d(%rsp), %rdx
callq 0x6b02c6
incq %r13
movq 0x90(%rsp), %rax
subq 0x88(%rsp), %rax
cmpq %rax, %r13
jb 0x7812c7
movq 0x10(%rsp), %rcx
incq %rcx
movq 0x78(%rsp), %rax
subq 0x70(%rsp), %rax
cmpq %rax, %rcx
jb 0x7812a9
movq 0x60(%rsp), %rax
subq 0x58(%rsp), %rax
movq 0xe0(%rsp), %rcx
incq %rcx
sarq $0x3, %rax
addq $0x8, %r14
cmpq %rax, %rcx
jb 0x78128f
movq 0xd8(%rsp), %rdx
incq %rdx
movq 0x48(%rsp), %rax
subq 0x40(%rsp), %rax
sarq $0x2, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0xc, %r15
cmpq %rax, %rdx
jb 0x781272
cmpq $0x0, 0xa0(%rsp)
movl 0xc(%rsp), %r13d
je 0x781572
leaq 0x18(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x28(%rsp), %r12
movq 0xc0(%rsp), %r15
movq 0xc8(%rsp), %rbp
movq 0xd0(%rsp), %r14
movq (%r15), %rsi
movq (%rsi), %rax
leaq 0xb4(%rsp), %rdi
movq %rbp, %rdx
movl %r13d, %ecx
movq %r14, %r8
callq *0x8(%rax)
movq 0x8(%r15), %rsi
movq (%rsi), %rax
leaq 0xa8(%rsp), %rdi
movq %rbp, %rdx
movl %r13d, %ecx
movq %r14, %r8
callq *0x8(%rax)
movq 0x10(%r15), %rdi
movq (%rdi), %rax
movq %rbp, %rsi
movl %r13d, %edx
movq %r14, %rcx
callq *0x8(%rax)
movq 0x18(%r15), %rdi
movq (%rdi), %rax
movq %rbp, %rsi
movl %r13d, %edx
movq %r14, %rcx
callq *0x8(%rax)
movl 0xbc(%rsp), %eax
movl %eax, 0x30(%rsp)
movq 0xb4(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0xa8(%rsp), %rax
movq %rax, 0x34(%rsp)
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x782f84
movl 0xc(%rsp), %r13d
leaq 0xf0(%rsp), %rcx
cmpq %rcx, %rax
jne 0x781564
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x782dd6
movq %rbx, %rdi
leaq 0xb4(%rsp), %rsi
callq 0x47d518
movq 0x20(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x56b5dc
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x781533
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x781542
movq 0x18(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x781555
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x781564
movq 0x10(%rsp), %rdi
leaq 0xa(%rsp), %rdx
callq 0x6b02c6
decq 0xa0(%rsp)
jne 0x78144c
leaq 0xe8(%rsp), %rdi
callq 0x782ff0
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x78159c
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x7815b6
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x7815cd
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x7815e4
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x118, %rsp # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x781605
jmp 0x781605
jmp 0x781605
jmp 0x781605
jmp 0x781605
jmp 0x781605
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
callq 0x782ff0
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x781632
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x78164c
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x781663
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x78167a
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x78168f
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x7816a4
movq 0x40(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x7816b9
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x7816cd
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 3, 2>, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 3, 2>, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4c8, %rsp # imm = 0x4C8
movq %rcx, 0x90(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdi, %r15
movq (%rdx), %rbx
movq %rdx, 0x38(%rsp)
movq 0x8(%rdx), %r13
movq %r13, %rax
subq %rbx, %rax
sarq $0x2, %rax
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
leaq 0x280(%rsp), %rdi
movq %rsi, 0x88(%rsp)
callq 0x744f42
leaq 0x320(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x340(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%r15), %rcx
movq %rcx, 0x2d0(%rsp)
movups 0xc8(%r15), %xmm0
movups 0xd8(%r15), %xmm1
movaps %xmm1, 0x2c0(%rsp)
movaps %xmm0, 0x2b0(%rsp)
leaq 0x258(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e6254(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x321a14(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4db29b(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x350(%rsp), %rdi
callq 0x325e00
movq %rbx, 0x30(%rsp)
leaq 0x48(%rsp), %r12
movl $0x0, (%r12)
xorl %eax, %eax
movq %rax, 0x8(%r12)
movq %r12, 0x10(%r12)
movq %r12, 0x18(%r12)
movq %rax, 0x20(%r12)
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0x20(%rax)
movq 0x58(%rsp), %rbx
cmpq %r12, %rbx
je 0x781919
leaq 0x350(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r12, %rax
jne 0x7818fc
cmpq $0x0, 0x68(%rsp)
je 0x7819c1
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e616c(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x358(%rsp), %rsi
movq %rsp, %rdi
callq 0x325660
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x321910(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7819a5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4db17c(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x40(%rsp), %rdi
callq 0x6b222e
movq 0x4db156(%rip), %rsi # 0xc5cb28
leaq 0x350(%rsp), %rdi
callq 0x325aa0
leaq 0x3c0(%rsp), %rdi
callq 0x325a80
leaq 0xc0(%rsp), %rdi
callq 0x325e00
leaq 0x2e60cc(%rip), %rsi # 0xa67acc
leaq 0xc0(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%r15), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x781a43
movq %rbx, %rdi
callq 0x325680
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x781a65
movq 0xc0(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0xc0, %rdi
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x30012f(%rip), %rsi # 0xa81b9b
leaq 0xc0(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0xc8(%rsp), %rsi
leaq 0x350(%rsp), %rdi
callq 0x325660
leaq 0x310(%rsp), %rbx
leaq 0x350(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x360(%rsp), %r12
cmpq %r12, %rdi
je 0x781ace
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4db053(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
callq 0x325a80
movq 0x98(%r15), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x2d8(%rsp)
cmpq $0x0, 0x168(%r15)
je 0x781bdd
leaq 0x160(%r15), %rdx
leaq 0x3022f1(%rip), %rsi # 0xa83e17
leaq 0x350(%rsp), %rdi
callq 0x33fea4
leaq 0x305988(%rip), %rsi # 0xa874c2
leaq 0x350(%rsp), %rdi
callq 0x3259c0
leaq 0xd0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x781b77
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x781b7e
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %rbp, %rdi
je 0x781bc0
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x350(%rsp), %rdi
cmpq %r12, %rdi
je 0x781bdd
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2e0(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x6b7316
movq 0x2e0(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x781c61
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x28(%rsp), %rax
movq (%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x6be6f6
movq 0x2e0(%rsp), %r14
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x781cd5
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2f8(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq 0x28(%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x744f8e
movq 0x2f8(%rsp), %r14
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x781d5c
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc0(%rsp), %rdi
callq 0x325e00
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0xc0(%rsp), %rsi
callq *0x10(%rax)
leaq 0xc8(%rsp), %rsi
leaq 0x350(%rsp), %rdi
callq 0x325660
leaq 0x330(%rsp), %rbx
movq 0x4dad85(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
callq 0x325a80
leaq 0x350(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x781de8
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x98(%r15), %rdi
movl 0xf4(%r15), %esi
leaq 0x2d8(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0x38(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0xc0(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0xc8(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0xd0(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0xd8(%rsp)
movq 0x280(%rsp), %rax
movq 0x298(%rsp), %rcx
movq %rax, 0x350(%rsp)
movq %rcx, 0x358(%rsp)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x7828f9
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0xc0(%rsp), %rdx
leaq 0x350(%rsp), %rcx
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq *0x30(%rax)
leaq 0xa0(%r15), %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0x10, %edx
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movabsq $-0x10000000000000, %rcx # imm = 0xFFF0000000000000
movb $0x0, 0x340(%rsp,%rdx)
movq %rax, 0x348(%rsp,%rdx)
movq %rcx, 0x350(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x58, %rdx
jne 0x781ecf
movl $0x10, %edx
movb $0x0, 0x340(%rsp,%rdx)
movq %rax, 0x348(%rsp,%rdx)
movq %rcx, 0x350(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x58, %rdx
jne 0x781ef6
movl $0x10, %edx
movb $0x0, 0x30(%rsp,%rdx)
movq %rax, 0x38(%rsp,%rdx)
movq %rcx, 0x40(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x40, %rdx
jne 0x781f1d
movl $0x10, %edx
movb $0x0, 0x30(%rsp,%rdx)
movq %rax, 0x38(%rsp,%rdx)
movq %rcx, 0x40(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x28, %rdx
je 0x781f3b
leaq 0xc0(%rsp), %rdi
callq 0x745042
movq 0x28(%rsp), %r14
movq (%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x350(%rsp), %rdx
callq 0x6be7aa
movq 0x10(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x6b73ca
movq 0x20(%r14), %rsi
leaq 0x250(%rsp), %rdi
movq %rsp, %rdx
callq 0x6b1f1c
movq 0x30(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0xc0(%rsp), %rdx
callq 0x744de4
movq 0x50(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x27(%rsp), %rdx
callq 0x6b1f1c
cmpq 0x30(%rsp), %r13
movq %r15, 0x98(%rsp)
je 0x782697
leaq 0x100(%r15), %rax
movq %rax, 0x248(%rsp)
movq 0x88(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x240(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x30(%rsp)
leaq 0x350(%rsp), %rdi
callq 0x745042
movq %r12, %rax
shlq $0x34, %rax
jne 0x78205d
movq 0x98(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq 0x38(%rsp), %rax
movq (%rax), %rax
leaq (%r12,%r12,2), %r15
movl 0x8(%rax,%r15,4), %ecx
movl %ecx, 0x8(%rsp)
movq (%rax,%r15,4), %rax
movq %rax, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
movq %rsp, %rdx
callq 0x6bea40
movq 0x28(%rsp), %r14
leaq 0x250(%rsp), %r13
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
leaq 0x40(%rsp), %rdx
callq 0x6be994
movq (%r14), %rsi
movq %r13, %rdi
callq 0x6bdea6
movl $0x9, %ecx
movq %rax, %rdi
leaq 0xc0(%rsp), %rsi
rep movsq (%rsi), %es:(%rdi)
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rax
movq (%rax,%r12,8), %rax
movq %rax, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
movq %rsp, %rdx
callq 0x6b7668
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
leaq 0x40(%rsp), %rdx
callq 0x6b75be
movq 0x10(%r14), %rsi
movq %r13, %rdi
callq 0x6b6ac6
movups 0xc0(%rsp), %xmm0
movups 0xd0(%rsp), %xmm1
movups 0xe0(%rsp), %xmm2
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x20(%r14), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x30(%r14), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x98(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%rbx), %rcx
movq %rcx, 0xe0(%rsp)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movaps %xmm1, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movl %eax, 0xe8(%rsp)
movq %r13, 0xf0(%rsp)
movl $0x0, 0xf8(%rsp)
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0xc0(%rsp), %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rsi
movq %r13, %rdi
callq 0x743f70
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
leaq 0x2b0(%rsp), %rsi
movq %rax, %rdx
callq 0x745440
leaq 0x350(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%r14,%rsi), %rdi
movq %rdi, 0x10(%rcx,%rsi)
movups (%r14,%rsi), %xmm0
movups %xmm0, (%rcx,%rsi)
addq $0x48, %rsi
cmpq $0x48, %rsi
je 0x7821db
incq %rdx
addq $0x18, %rcx
addq $0x18, %r14
cmpq $0x3, %rdx
jne 0x7821d9
leaq (,%r15,8), %r14
movq 0x280(%rsp), %rsi
addq %r14, %rsi
leaq 0x350(%rsp), %rdi
callq 0x7451ab
movl %eax, %r13d
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc0(%rsp), %rbp
movq %rbp, %rdi
leaq 0x2e592e(%rip), %rsi # 0xa67b7c
leaq 0x2e5952(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %r13b, %esi
movq 0x248(%rsp), %rdi
movq %rbp, %rdx
callq 0x9a94ca
movl %eax, %r13d
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x782296
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl %r13d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x30(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x30(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r13b, %al
testb $0x1, %al
jne 0x782684
movq 0x98(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e00
testb %r13b, %r13b
leaq 0x2900ea(%rip), %rsi # 0xa123da
leaq 0x2900dc(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbp, %rdi
callq 0x325e70
movq 0x28(%rsp), %r13
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x2e588c(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2dd4a0(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2c9654(%rip), %rsi # 0xa4b9d5
callq 0x325e70
shlq $0x2, %r15
movq 0x38(%rsp), %rax
addq (%rax), %r15
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
movq %r15, %rdx
callq 0x6be908
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2d1b68(%rip), %rsi # 0xa53f35
callq 0x325e70
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x7823ed
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x782409
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2dd3b8(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x10(%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
callq 0x325e70
movl $0x3, %edx
movq %r15, %rdi
leaq 0x2c956c(%rip), %rsi # 0xa4b9d5
callq 0x325e70
leaq (,%r12,8), %rdx
movq 0x38(%rsp), %rax
addq 0x18(%rax), %rdx
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x6b7531
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x325e70
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2d1a86(%rip), %rsi # 0xa53f35
callq 0x325e70
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x7824cf
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x7824eb
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2dd2d6(%rip), %rsi # 0xa5f7d0
movq %r15, %rbp
callq 0x325e70
movq 0x40(%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
callq 0x325e70
movl $0x3, %edx
movq %r15, %rdi
leaq 0x2c9487(%rip), %rsi # 0xa4b9d5
callq 0x325e70
addq 0x280(%rsp), %r14
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
movq %r14, %rdx
callq 0x7451ef
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x325e70
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2d19a7(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %r15, %rdi
leaq 0x2e5610(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0xa0(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
leaq 0x350(%rsp), %rdx
callq 0x74527b
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq %r15, %rdi
callq 0x325e70
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2d194a(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x782615
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x782630
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x78264c
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc0(%rsp), %rdi
leaq 0x320c32(%rip), %rsi # 0xaa328d
leaq 0xc8(%rsp), %rbp
callq 0x9aba2a
movq %rbp, %rdi
movq 0x4da4b6(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
incq %r12
cmpq 0x240(%rsp), %r12
jne 0x782036
jmp 0x7826a0
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %r12
cmpl $0x64, %r12d
movq 0x98(%rsp), %rbx
leaq 0x2e0(%rsp), %r15
jle 0x782740
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e54e2(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r12), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x2e54cb(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x320b76(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4da3fd(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
testl %r12d, %r12d
je 0x7827ba
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r12d, %esi
callq 0x325530
leaq 0x29a4a6(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq 0x3257b0
leaq 0x2e5458(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x320ae2(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
jmp 0x782822
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2e53fd(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq 0x3257b0
leaq 0x2e53de(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x320a78(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4da2ff(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x250(%rsp), %rdi
callq 0x6b2588
movq 0x330(%rsp), %rdi
leaq 0x340(%rsp), %rax
cmpq %rax, %rdi
leaq 0x2f8(%rsp), %rbx
je 0x782878
movq 0x340(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x78289d
movq 0x320(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x36a7d0
movq %r15, %rdi
callq 0x36a7d0
movq 0x298(%rsp), %rdi
testq %rdi, %rdi
je 0x7828ca
movq 0x2a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x7828e7
movq 0x290(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x4c8, %rsp # imm = 0x4C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x2cf0e2(%rip), %rsi # 0xa519ef
leaq 0x2e51c3(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x498795(%rip), %rsi # 0xc1b0c0
leaq -0x450b52(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x782bb8
jmp 0x782a24
jmp 0x782bb8
movq %rax, %rbx
movq %r15, %rdi
callq 0x325d40
jmp 0x782a62
jmp 0x782bb8
movq %rax, %rbx
movq 0x350(%rsp), %rdi
cmpq %r12, %rdi
je 0x782bbb
movq 0x360(%rsp), %rsi
jmp 0x782b10
jmp 0x782bb8
jmp 0x782986
movq %rax, %rbx
jmp 0x7829fb
jmp 0x782b22
jmp 0x782bb8
jmp 0x782bb8
jmp 0x782bb8
jmp 0x7829ad
jmp 0x782bb8
jmp 0x7829ad
jmp 0x782bb8
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x36a3d6
jmp 0x782bbb
jmp 0x782bb8
jmp 0x782a3b
jmp 0x782bb8
jmp 0x782b22
jmp 0x782bb8
jmp 0x782bb8
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7829fb
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4da126(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
jmp 0x782b25
jmp 0x782a24
jmp 0x782a24
jmp 0x782a3b
jmp 0x782a24
movq %rax, %rbx
movq 0x4da0fa(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x782ba2
jmp 0x782bb8
movq %rax, %rbx
movq 0x4da0e3(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
jmp 0x782baf
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x782bbb
jmp 0x782bb8
jmp 0x782b4f
jmp 0x782ad0
jmp 0x782a89
jmp 0x782ad0
jmp 0x782bb8
jmp 0x782ad0
jmp 0x782a89
movq %rax, %rbx
jmp 0x782b89
jmp 0x782b4f
jmp 0x782ad0
jmp 0x782b4f
jmp 0x782ad0
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x782b52
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x782b52
movq %rax, %rbx
jmp 0x782b6d
jmp 0x782bb8
jmp 0x782bb8
jmp 0x782bb8
jmp 0x782bb8
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x782bbb
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x782bbb
jmp 0x782bb8
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x6b222e
movq 0x4d9ff2(%rip), %rsi # 0xc5cb28
leaq 0x350(%rsp), %rdi
callq 0x325aa0
leaq 0x3c0(%rsp), %rdi
jmp 0x782baf
jmp 0x782bb8
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x782b6d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x782b89
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc8(%rsp), %rdi
jmp 0x782b9b
jmp 0x782bb8
movq %rax, %rbx
movq %rbp, %rdi
movq 0x4d9f86(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
jmp 0x782bbb
jmp 0x782bb8
movq %rax, %rbx
leaq 0x250(%rsp), %rdi
callq 0x6b2588
leaq 0x2d8(%rsp), %rdi
callq 0x36a3fe
leaq 0x280(%rsp), %rdi
callq 0x74531e
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>>::operator()(deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&) const
|
bool operator() (const InTuple<In>& in1, const InTuple<In>& in2) const
{
if (inputLess(in1.a, in2.a))
return true;
if (inputLess(in2.a, in1.a))
return false;
if (inputLess(in1.b, in2.b))
return true;
if (inputLess(in2.b, in1.b))
return false;
if (inputLess(in1.c, in2.c))
return true;
if (inputLess(in2.c, in1.c))
return false;
if (inputLess(in1.d, in2.d))
return true;
return false;
}
|
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0xe(%rsp), %rdi
callq 0x6bdc5c
movb $0x1, %bpl
testb %al, %al
jne 0x782f79
leaq 0xf(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6bdc5c
testb %al, %al
jne 0x782f77
addq $0xc, %rbx
addq $0xc, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6b683a
testb %al, %al
jne 0x782f79
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6b683a
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 3>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 2>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6be152
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x6b6d72
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6b0cea
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x4c7083(%rip), %rax # 0xc4a118
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x783424
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7830fe
lock
decl 0x8(%rax)
jne 0x7830da
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7830fe
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7830f5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x783146
lock
decl 0x8(%rax)
jne 0x783122
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783146
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x78313d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x78318e
lock
decl 0x8(%rax)
jne 0x78316a
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78318e
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x783185
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x7831d6
lock
decl 0x8(%rax)
jne 0x7831b2
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7831d6
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x7831cd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x4c6ed3(%rip), %rax # 0xc4a0b0
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x7831fe
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6b0ff8
jmp 0x78320d
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b6e0a
jmp 0x78321c
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6be1ea
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x783304
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x783314
jmp 0x783314
jmp 0x783314
jmp 0x783314
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x78332e
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
m_func.getUsedFuncs(dst);
m_args.a->getUsedFuncs(dst);
m_args.b->getUsedFuncs(dst);
m_args.c->getUsedFuncs(dst);
m_args.d->getUsedFuncs(dst);
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x30(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x6bdea6
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x6b6ac6
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6b0800
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6bbf2f
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2c0c06(%rip), %rsi # 0xa443b2
leaq 0x2c0c03(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x742061
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78383e
testq %rax, %rax
je 0x783819
lock
decl 0x8(%rax)
jne 0x7837f5
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783819
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x783810
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x78383e
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783885
lock
decl 0x8(%rax)
jne 0x783861
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783885
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78387c
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78389c
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2c10c0(%rip), %rsi # 0xa4496b
leaq 0x2c10bd(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x783957
testq %rax, %rax
je 0x783929
lock
decl 0x8(%rax)
jne 0x7838fc
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783929
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x78391d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x783957
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78399e
lock
decl 0x8(%rax)
jne 0x78397a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78399e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783995
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7839b5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x289b98(%rip), %rsi # 0xa0d55c
leaq 0x289b94(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6bc46d
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x783a51
testq %rax, %rax
je 0x783a2c
lock
decl 0x8(%rax)
jne 0x783a08
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783a2c
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x783a23
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x783a51
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783a98
lock
decl 0x8(%rax)
jne 0x783a74
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783a98
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783a8f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x783aaf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28a0a5(%rip), %rsi # 0xa0db63
leaq 0x28a0a1(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x783b4b
testq %rax, %rax
je 0x783b26
lock
decl 0x8(%rax)
jne 0x783b02
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783b26
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x783b1d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x783b4b
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783b92
lock
decl 0x8(%rax)
jne 0x783b6e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783b92
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783b89
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x783ba9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28e63a(%rip), %rsi # 0xa121f2
leaq 0x28e636(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x783c45
testq %rax, %rax
je 0x783c20
lock
decl 0x8(%rax)
jne 0x783bfc
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783c20
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x783c17
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x783c45
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783c8c
lock
decl 0x8(%rax)
jne 0x783c68
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783c8c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783c83
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x783ca3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2e3ddd(%rip), %rsi # 0xa67a8f
leaq 0x2e3dd9(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x783d3f
testq %rax, %rax
je 0x783d1a
lock
decl 0x8(%rax)
jne 0x783cf6
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783d1a
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x783d11
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x783d3f
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783d86
lock
decl 0x8(%rax)
jne 0x783d62
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783d86
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783d7d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x783daf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x7816d5
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x7449ab
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x783f90
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x783e42
lock
decl 0x8(%rax)
jne 0x783e1e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783e42
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x783e39
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x783e8a
lock
decl 0x8(%rax)
jne 0x783e66
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x783e8a
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x783e81
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x78561c
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x783eb1
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x783ece
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x783eeb
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x783f08
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x783f29
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x743580
jmp 0x783f6a
jmp 0x783f67
jmp 0x783f4b
jmp 0x783f67
jmp 0x783f4b
jmp 0x783f67
jmp 0x783f4b
jmp 0x783f67
jmp 0x783f4b
jmp 0x783f67
jmp 0x783f4b
jmp 0x783f67
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x783f6a
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x783f6a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x78561c
leaq 0x90(%rsp), %rdi
callq 0x6bda86
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct<3, 2>::doApply(deqp::gls::BuiltinPrecisionTests::EvalContext const&, deqp::gls::BuiltinPrecisionTests::Tuple4<tcu::Vector<tcu::Interval, 3> const&, tcu::Vector<tcu::Interval, 2> const&, deqp::gls::BuiltinPrecisionTests::Void const&, deqp::gls::BuiltinPrecisionTests::Void const&> const&) const
|
IRet doApply (const EvalContext& ctx, const IArgs& iargs) const
{
IRet ret;
for (int row = 0; row < Rows; ++row)
{
for (int col = 0; col < Cols; ++col)
ret[col][row] = call<Mul>(ctx, iargs.a[row], iargs.b[col]);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, 0x20(%rsp)
movq %rdx, %r14
movq %rdi, %rbp
callq 0x745042
xorl %eax, %eax
leaq 0x7(%rsp), %rbx
movq %rbp, 0x8(%rsp)
movq %rax, 0x18(%rsp)
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
movq %rax, 0x28(%rsp)
movq %rbp, 0x10(%rsp)
xorl %r12d, %r12d
movq 0x20(%rsp), %rax
movq (%rax), %r13
addq 0x28(%rsp), %r13
movq 0x8(%rax), %r15
addq %r12, %r15
callq 0x7146fb
movq %r13, 0x30(%rsp)
leaq 0x30(%rsp), %r9
leaq 0x50(%rsp), %rdi
leaq 0x6(%rsp), %rcx
movq %r15, 0x38(%rsp)
movq %rbx, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq (%rax), %r8
movq %rax, %rsi
movq %r14, %rdx
movq %r9, %rcx
callq *0x40(%r8)
movq 0x60(%rsp), %rax
movq %rax, 0x10(%rbp)
movups 0x50(%rsp), %xmm0
movups %xmm0, (%rbp)
addq $0x18, %r12
addq $0x48, %rbp
cmpq $0x18, %r12
je 0x7858aa
movq 0x18(%rsp), %rax
incq %rax
movq 0x10(%rsp), %rbp
addq $0x18, %rbp
cmpq $0x3, %rax
jne 0x785890
movq 0x8(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrint(std::ostream&, std::vector<deqp::gls::BuiltinPrecisionTests::ExprBase const*, std::allocator<deqp::gls::BuiltinPrecisionTests::ExprBase const*>> const&) const
|
virtual void doPrint (ostream& os, const BaseArgExprs& args) const
{
os << getName() << "(";
if (isTypeValid<Arg0>())
os << *args[0];
if (isTypeValid<Arg1>())
os << ", " << *args[1];
if (isTypeValid<Arg2>())
os << ", " << *args[2];
if (isTypeValid<Arg3>())
os << ", " << *args[3];
os << ")";
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rsi
movq (%rdi), %rax
movq %rsp, %r15
movq %r15, %rdi
callq *0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x2b18c8(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7859a2
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%r14), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x300de3(%rip), %rsi # 0xa8679b
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x324da2(%rip), %rsi # 0xaaa77e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x785a11
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 3, 2>, tcu::Vector<float, 3>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetParamNames[abi:cxx11]() const
|
virtual const ParamNames& doGetParamNames (void) const
{
static ParamNames names ("a", "b", "c", "d");
return names;
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movb 0x4f18e0(%rip), %al # 0xc77310
testb %al, %al
je 0x785a4c
leaq 0x4f1855(%rip), %rax # 0xc77290
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4f18bd(%rip), %rdi # 0xc77310
callq 0x325590
testl %eax, %eax
je 0x785a34
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2ccb99(%rip), %rsi # 0xa52605
leaq 0x2ccb93(%rip), %rdx # 0xa52606
leaq 0x60(%rsp), %rdi
callq 0x334070
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2ccb55(%rip), %rsi # 0xa525e2
leaq 0x2ccb4f(%rip), %rdx # 0xa525e3
leaq 0x40(%rsp), %rdi
callq 0x334070
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x28b313(%rip), %rsi # 0xa10dc2
leaq 0x28b30d(%rip), %rdx # 0xa10dc3
leaq 0x20(%rsp), %rdi
callq 0x334070
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x325d8c(%rip), %rsi # 0xaab85c
leaq 0x325d86(%rip), %rdx # 0xaab85d
movq %rsp, %rdi
callq 0x334070
leaq 0x4f17aa(%rip), %rdi # 0xc77290
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %rsp, %r8
callq 0x6b40e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x785b13
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x785b2a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x785b41
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x785b58
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq -0xd197b(%rip), %rdi # 0x6b41e4
leaq 0x4f172a(%rip), %rsi # 0xc77290
leaq 0x4d7dab(%rip), %rdx # 0xc5d918
callq 0x325d10
leaq 0x4f1797(%rip), %rdi # 0xc77310
callq 0x3258b0
jmp 0x785a34
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x785ba1
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x785ba1
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x785bbd
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x785bbd
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x785bd9
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x785bd9
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x785bf5
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x785bf5
movq %rax, %rbx
leaq 0x4f1714(%rip), %rdi # 0xc77310
callq 0x3256b0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::PrecisionCase* deqp::gls::BuiltinPrecisionTests::createFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Context const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&)
|
PrecisionCase* createFuncCase (const Context& context,
const string& name,
const Func<Sig>& func)
{
switch (func.getOutParamIndex())
{
case -1:
return new FuncCase<Sig>(context, name, func);
case 1:
return new InOutFuncCase<Sig>(context, name, func);
default:
DE_FATAL("Impossible");
}
return DE_NULL;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x28(%rax)
cmpl $0x1, %eax
je 0x785c54
cmpl $-0x1, %eax
jne 0x785c85
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4c460e(%rip), %rax # 0xc4a260
jmp 0x785c79
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4c46e7(%rip), %rax # 0xc4a360
movq %rax, (%rbx)
movq %r14, 0x180(%rbx)
jmp 0x785c87
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x785c98
movq %rax, %r14
movl $0x188, %esi # imm = 0x188
movq %rbx, %rdi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x7865bf
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2be5d2(%rip), %rsi # 0xa443b2
leaq 0x2be5cf(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x749597
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x785e72
testq %rax, %rax
je 0x785e4d
lock
decl 0x8(%rax)
jne 0x785e29
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x785e4d
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x785e44
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x785e72
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x785eb9
lock
decl 0x8(%rax)
jne 0x785e95
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x785eb9
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x785eb0
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x785ed0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2bea8c(%rip), %rsi # 0xa4496b
leaq 0x2bea89(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x785f8b
testq %rax, %rax
je 0x785f5d
lock
decl 0x8(%rax)
jne 0x785f30
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x785f5d
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x785f51
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x785f8b
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x785fd2
lock
decl 0x8(%rax)
jne 0x785fae
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x785fd2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x785fc9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x785fe9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x287564(%rip), %rsi # 0xa0d55c
leaq 0x287560(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6c3627
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x786085
testq %rax, %rax
je 0x786060
lock
decl 0x8(%rax)
jne 0x78603c
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x786060
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x786057
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x786085
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7860cc
lock
decl 0x8(%rax)
jne 0x7860a8
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7860cc
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7860c3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7860e3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x287a71(%rip), %rsi # 0xa0db63
leaq 0x287a6d(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78617f
testq %rax, %rax
je 0x78615a
lock
decl 0x8(%rax)
jne 0x786136
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78615a
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x786151
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x78617f
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7861c6
lock
decl 0x8(%rax)
jne 0x7861a2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7861c6
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7861bd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7861dd
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x28c006(%rip), %rsi # 0xa121f2
leaq 0x28c002(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x786279
testq %rax, %rax
je 0x786254
lock
decl 0x8(%rax)
jne 0x786230
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x786254
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x78624b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x786279
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7862c0
lock
decl 0x8(%rax)
jne 0x78629c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7862c0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7862b7
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7862d7
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2e17a9(%rip), %rsi # 0xa67a8f
leaq 0x2e17a5(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x786373
testq %rax, %rax
je 0x78634e
lock
decl 0x8(%rax)
jne 0x78632a
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78634e
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x786345
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x786373
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7863ba
lock
decl 0x8(%rax)
jne 0x786396
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7863ba
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7863b1
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x7863e0
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x786b08
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x74be7d
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x786b80
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x786473
lock
decl 0x8(%rax)
jne 0x78644f
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x786473
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78646a
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x7864bb
lock
decl 0x8(%rax)
jne 0x786497
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7864bb
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x7864b2
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x787fda
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x7864e2
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x7864ff
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x78651c
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x786539
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x78655a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x74aaa0
jmp 0x78659b
jmp 0x786598
jmp 0x78657c
jmp 0x786598
jmp 0x78657c
jmp 0x786598
jmp 0x78657c
jmp 0x786598
jmp 0x78657c
jmp 0x786598
jmp 0x78657c
jmp 0x786598
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78659b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78659b
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x787fda
leaq 0x90(%rsp), %rdi
callq 0x78816c
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> deqp::gls::BuiltinPrecisionTests::generateInputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Samplings<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, tcu::FloatFormat const&, glu::Precision, unsigned long, de::Random&)
|
Inputs<In> generateInputs (const Samplings<In>& samplings,
const FloatFormat& floatFormat,
Precision intPrecision,
size_t numSamples,
Random& rnd)
{
Inputs<In> ret;
Inputs<In> fixedInputs;
set<InTuple<In>, InputLess<InTuple<In> > > seenInputs;
samplings.in0.genFixeds(floatFormat, fixedInputs.in0);
samplings.in1.genFixeds(floatFormat, fixedInputs.in1);
samplings.in2.genFixeds(floatFormat, fixedInputs.in2);
samplings.in3.genFixeds(floatFormat, fixedInputs.in3);
for (size_t ndx0 = 0; ndx0 < fixedInputs.in0.size(); ++ndx0)
{
for (size_t ndx1 = 0; ndx1 < fixedInputs.in1.size(); ++ndx1)
{
for (size_t ndx2 = 0; ndx2 < fixedInputs.in2.size(); ++ndx2)
{
for (size_t ndx3 = 0; ndx3 < fixedInputs.in3.size(); ++ndx3)
{
const InTuple<In> tuple (fixedInputs.in0[ndx0],
fixedInputs.in1[ndx1],
fixedInputs.in2[ndx2],
fixedInputs.in3[ndx3]);
seenInputs.insert(tuple);
ret.in0.push_back(tuple.a);
ret.in1.push_back(tuple.b);
ret.in2.push_back(tuple.c);
ret.in3.push_back(tuple.d);
}
}
}
}
for (size_t ndx = 0; ndx < numSamples; ++ndx)
{
const typename In::In0 in0 = samplings.in0.genRandom(floatFormat, intPrecision, rnd);
const typename In::In1 in1 = samplings.in1.genRandom(floatFormat, intPrecision, rnd);
const typename In::In2 in2 = samplings.in2.genRandom(floatFormat, intPrecision, rnd);
const typename In::In3 in3 = samplings.in3.genRandom(floatFormat, intPrecision, rnd);
const InTuple<In> tuple (in0, in1, in2, in3);
if (de::contains(seenInputs, tuple))
continue;
seenInputs.insert(tuple);
ret.in0.push_back(in0);
ret.in1.push_back(in1);
ret.in2.push_back(in2);
ret.in3.push_back(in3);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %r9, 0xc0(%rsp)
movq %r8, 0x80(%rsp)
movl %ecx, 0x4(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
leaq 0x20(%rsp), %rdx
movaps %xmm0, 0x50(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xf0(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq (%rsi), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x8(%r15), %rdi
leaq 0x38(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x10(%r15), %rdi
leaq 0x50(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x18(%r15), %rdi
leaq 0x68(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq %r15, 0xb0(%rsp)
movq %r14, 0xb8(%rsp)
movq 0x28(%rsp), %rax
cmpq 0x20(%rsp), %rax
je 0x786847
leaq 0x18(%rbx), %rbp
leaq 0x30(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x10(%rsp)
xorl %r15d, %r15d
leaq 0x90(%rsp), %r12
xorl %ecx, %ecx
movq %rcx, 0xc8(%rsp)
movq 0x40(%rsp), %rax
cmpq 0x38(%rsp), %rax
je 0x786821
xorl %r14d, %r14d
xorl %ecx, %ecx
movq %rcx, 0xd0(%rsp)
movq 0x58(%rsp), %rax
cmpq 0x50(%rsp), %rax
je 0x7867fb
xorl %ecx, %ecx
movq %rcx, 0x8(%rsp)
movq 0x70(%rsp), %rax
cmpq 0x68(%rsp), %rax
je 0x7867e0
xorl %r13d, %r13d
movq 0x38(%rsp), %rax
movq 0x20(%rsp), %rcx
addq %r15, %rcx
xorl %edx, %edx
movss (%rcx,%rdx,4), %xmm0
movss %xmm0, 0x90(%rsp,%rdx,4)
incq %rdx
cmpq $0x4, %rdx
jne 0x786722
addq %r14, %rax
xorl %ecx, %ecx
movss (%rax,%rcx,4), %xmm0
movss %xmm0, 0xa0(%rsp,%rcx,4)
incq %rcx
cmpq $0x1, %rcx
je 0x78673e
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x7881c6
movq %rbx, %rdi
movq %r12, %rsi
callq 0x4851d4
movq %rbp, %rdi
leaq 0xa0(%rsp), %rsi
callq 0x56b5dc
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x786793
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x7867a5
movq 0x18(%rsp), %rdi
leaq 0xa8(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x7867b8
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x7867ca
movq 0x10(%rsp), %rdi
leaq 0xa9(%rsp), %rdx
callq 0x6b02c6
incq %r13
movq 0x70(%rsp), %rax
subq 0x68(%rsp), %rax
cmpq %rax, %r13
jb 0x786713
movq 0x8(%rsp), %rcx
incq %rcx
movq 0x58(%rsp), %rax
subq 0x50(%rsp), %rax
cmpq %rax, %rcx
jb 0x7866fb
movq 0x40(%rsp), %rax
subq 0x38(%rsp), %rax
movq 0xd0(%rsp), %rcx
incq %rcx
sarq $0x3, %rax
addq $0x8, %r14
cmpq %rax, %rcx
jb 0x7866e1
movq 0x28(%rsp), %rax
subq 0x20(%rsp), %rax
movq 0xc8(%rsp), %rcx
incq %rcx
sarq $0x4, %rax
addq $0x10, %r15
cmpq %rax, %rcx
jb 0x7866c4
cmpq $0x0, 0x80(%rsp)
movl 0x4(%rsp), %r13d
je 0x7869b7
leaq 0x18(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x90(%rsp), %r12
movq 0xb0(%rsp), %r15
movq 0xb8(%rsp), %rbp
movq 0xc0(%rsp), %r14
movq (%r15), %rsi
movq (%rsi), %rax
leaq 0xd8(%rsp), %rdi
movq %rbp, %rdx
movl %r13d, %ecx
movq %r14, %r8
callq *0x8(%rax)
movq 0x8(%r15), %rsi
movq (%rsi), %rax
leaq 0x88(%rsp), %rdi
movq %rbp, %rdx
movl %r13d, %ecx
movq %r14, %r8
callq *0x8(%rax)
movq 0x10(%r15), %rdi
movq (%rdi), %rax
movq %rbp, %rsi
movl %r13d, %edx
movq %r14, %rcx
callq *0x8(%rax)
movq 0x18(%r15), %rdi
movq (%rdi), %rax
movq %rbp, %rsi
movl %r13d, %edx
movq %r14, %rcx
callq *0x8(%rax)
movups 0xd8(%rsp), %xmm0
movaps %xmm0, 0x90(%rsp)
movq 0x88(%rsp), %rax
movq %rax, 0xa0(%rsp)
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x78836c
movl 0x4(%rsp), %r13d
leaq 0xf0(%rsp), %rcx
cmpq %rcx, %rax
jne 0x7869a9
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x7881c6
movq %rbx, %rdi
leaq 0xd8(%rsp), %rsi
callq 0x4851d4
movq 0x18(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x56b5dc
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x786978
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x786987
movq 0x10(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x78699a
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x7869a9
movq 0x8(%rsp), %rdi
leaq 0x2(%rsp), %rdx
callq 0x6b02c6
decq 0x80(%rsp)
jne 0x786896
leaq 0xe8(%rsp), %rdi
callq 0x7883d8
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x7869db
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x7869f2
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x786a09
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x786a20
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x118, %rsp # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x786a41
jmp 0x786a41
jmp 0x786a41
jmp 0x786a41
jmp 0x786a41
jmp 0x786a41
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
callq 0x7883d8
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x786a68
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x786a7f
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x786a96
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x786aad
movq 0x30(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x786ac2
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x786ad7
movq 0x40(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x786aec
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x786b00
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>>::operator()(deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&) const
|
bool operator() (const InTuple<In>& in1, const InTuple<In>& in2) const
{
if (inputLess(in1.a, in2.a))
return true;
if (inputLess(in2.a, in1.a))
return false;
if (inputLess(in1.b, in2.b))
return true;
if (inputLess(in2.b, in1.b))
return false;
if (inputLess(in1.c, in2.c))
return true;
if (inputLess(in2.c, in1.c))
return false;
if (inputLess(in1.d, in2.d))
return true;
return false;
}
|
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
leaq 0xe(%rsp), %rdi
callq 0x6c4df8
movb $0x1, %bpl
testb %al, %al
jne 0x788361
leaq 0xf(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6c4df8
testb %al, %al
jne 0x78835f
addq $0x10, %rbx
addq $0x10, %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6b683a
testb %al, %al
jne 0x788361
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6b683a
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 4>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 2>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6c52ee
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x6b6d72
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6b0cea
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x4c1eab(%rip), %rax # 0xc4a328
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x78880c
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x7884e6
lock
decl 0x8(%rax)
jne 0x7884c2
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7884e6
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x7884dd
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x78852e
lock
decl 0x8(%rax)
jne 0x78850a
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78852e
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x788525
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x788576
lock
decl 0x8(%rax)
jne 0x788552
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788576
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x78856d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x7885be
lock
decl 0x8(%rax)
jne 0x78859a
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x7885be
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x7885b5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x4c1cfb(%rip), %rax # 0xc4a2c0
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x7885e6
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6b0ff8
jmp 0x7885f5
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6b6e0a
jmp 0x788604
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6c5386
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x7886ec
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x7886fc
jmp 0x7886fc
jmp 0x7886fc
jmp 0x7886fc
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x788716
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetUsedFuncs(std::set<deqp::gls::BuiltinPrecisionTests::FuncBase const*, std::less<deqp::gls::BuiltinPrecisionTests::FuncBase const*>, std::allocator<deqp::gls::BuiltinPrecisionTests::FuncBase const*>>&) const
|
void doGetUsedFuncs (FuncSet& dst) const
{
m_func.getUsedFuncs(dst);
m_args.a->getUsedFuncs(dst);
m_args.b->getUsedFuncs(dst);
m_args.c->getUsedFuncs(dst);
m_args.d->getUsedFuncs(dst);
}
|
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movq 0x10(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x20(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x30(%r14), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rdi
movq (%rdi), %rax
movq 0x18(%rax), %rax
movq %rbx, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmpq *%rax
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
const Variable<Arg0>& var0 = static_cast<const Variable<Arg0>&>(*this->m_args.a);
const Variable<Arg1>& var1 = static_cast<const Variable<Arg1>&>(*this->m_args.b);
const Variable<Arg2>& var2 = static_cast<const Variable<Arg2>&>(*this->m_args.c);
const Variable<Arg3>& var3 = static_cast<const Variable<Arg3>&>(*this->m_args.d);
return this->m_func.apply(ctx,
ctx.env.lookup(var0), ctx.env.lookup(var1),
ctx.env.lookup(var2), ctx.env.lookup(var3));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rax
movq 0x20(%rsi), %r12
movq 0x30(%rsi), %r13
movq 0x40(%rsi), %rcx
movq %rcx, (%rsp)
movq 0x30(%rdx), %rdi
movq %rax, %rsi
callq 0x6c5042
movq %rax, %rbp
movq 0x30(%r14), %rdi
movq %r12, %rsi
callq 0x6b6ac6
movq %rax, %r12
movq 0x30(%r14), %rdi
movq %r13, %rsi
callq 0x6b0800
movq %rax, %r13
movq 0x30(%r14), %rdi
movq (%rsp), %rsi
callq 0x6b0800
leaq 0x8(%rsp), %rcx
movq %rbp, (%rcx)
movq %r12, 0x8(%rcx)
movq %r13, 0x10(%rcx)
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doEvaluate(deqp::gls::BuiltinPrecisionTests::EvalContext const&) const
|
IVal doEvaluate (const EvalContext& ctx) const
{
return m_func.apply(ctx,
m_args.a->evaluate(ctx), m_args.b->evaluate(ctx),
m_args.c->evaluate(ctx), m_args.d->evaluate(ctx));
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x8(%rsi), %r15
movq 0x10(%rsi), %rsi
movq (%rsi), %rax
leaq 0x58(%rsp), %r13
movq %r13, %rdi
callq *0x20(%rax)
movq 0x20(%r12), %rsi
movq (%rsi), %rax
leaq 0x28(%rsp), %rbp
movq %rbp, %rdi
movq %r14, %rdx
callq *0x20(%rax)
movq 0x30(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
movq 0x40(%r12), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x20(%rax)
leaq 0x8(%rsp), %rcx
movq %r13, (%rcx)
movq %rbp, 0x8(%rcx)
leaq 0x7(%rsp), %rax
movq %rax, 0x10(%rcx)
leaq 0x6(%rsp), %rax
movq %rax, 0x18(%rcx)
movq (%r15), %rax
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq *0x40(%rax)
movq %rbx, %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InOutFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void InOutFuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Arg1>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg2>("in1");
variables.in2 = variable<Arg3>("in2");
variables.in3 = variable<Void>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.out1,
variables.in1, variables.in2);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x6c30f9
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2bb81e(%rip), %rsi # 0xa443b2
leaq 0x2bb81b(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x749597
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x788c26
testq %rax, %rax
je 0x788c01
lock
decl 0x8(%rax)
jne 0x788bdd
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788c01
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x788bf8
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x788c26
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x788c6d
lock
decl 0x8(%rax)
jne 0x788c49
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788c6d
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x788c64
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x788c84
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2bbcd8(%rip), %rsi # 0xa4496b
leaq 0x2bbcd5(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x788d3f
testq %rax, %rax
je 0x788d11
lock
decl 0x8(%rax)
jne 0x788ce4
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788d11
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x788d05
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x788d3f
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x788d86
lock
decl 0x8(%rax)
jne 0x788d62
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788d86
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x788d7d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x788d9d
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2847b0(%rip), %rsi # 0xa0d55c
leaq 0x2847ac(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6c3627
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x788e39
testq %rax, %rax
je 0x788e14
lock
decl 0x8(%rax)
jne 0x788df0
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788e14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x788e0b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x788e39
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x788e80
lock
decl 0x8(%rax)
jne 0x788e5c
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788e80
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x788e77
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x788e97
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x284cbd(%rip), %rsi # 0xa0db63
leaq 0x284cb9(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x788f33
testq %rax, %rax
je 0x788f0e
lock
decl 0x8(%rax)
jne 0x788eea
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788f0e
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x788f05
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x788f33
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x788f7a
lock
decl 0x8(%rax)
jne 0x788f56
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x788f7a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x788f71
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x788f91
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x289252(%rip), %rsi # 0xa121f2
leaq 0x28924e(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78902d
testq %rax, %rax
je 0x789008
lock
decl 0x8(%rax)
jne 0x788fe4
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x789008
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x788fff
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x78902d
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x789074
lock
decl 0x8(%rax)
jne 0x789050
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x789074
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78906b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78908b
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2de9f5(%rip), %rsi # 0xa67a8f
leaq 0x2de9f1(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x789127
testq %rax, %rax
je 0x789102
lock
decl 0x8(%rax)
jne 0x7890de
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x789102
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x7890f9
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x789127
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78916e
lock
decl 0x8(%rax)
jne 0x78914a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78916e
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x789165
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r15
leaq 0x50(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x789197
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x786b08
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x74be7d
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x789378
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78922a
lock
decl 0x8(%rax)
jne 0x789206
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78922a
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x789221
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x789272
lock
decl 0x8(%rax)
jne 0x78924e
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x789272
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x789269
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x78a9fa
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x789299
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x7892b6
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x7892d3
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x7892f0
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x789311
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x74aaa0
jmp 0x789352
jmp 0x78934f
jmp 0x789333
jmp 0x78934f
jmp 0x789333
jmp 0x78934f
jmp 0x789333
jmp 0x78934f
jmp 0x789333
jmp 0x78934f
jmp 0x789333
jmp 0x78934f
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x789352
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x789352
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x78a9fa
leaq 0x90(%rsp), %rdi
callq 0x6c4c2a
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 2>>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 2>>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 4>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x538, %rsp # imm = 0x538
movq %rcx, 0x40(%rsp)
movq %rsi, %rbp
movq %rdi, %rbx
movq (%rdx), %r12
movq %rdx, 0x78(%rsp)
movq 0x8(%rdx), %r13
movq %r13, %rsi
subq %r12, %rsi
sarq $0x4, %rsi
leaq 0x318(%rsp), %rdi
movq %rsi, 0x38(%rsp)
callq 0x78ab8c
leaq 0x390(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x3b0(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%rbx), %rcx
movq %rcx, 0x2c0(%rsp)
movups 0xc8(%rbx), %xmm0
movups 0xd8(%rbx), %xmm1
movaps %xmm1, 0x2b0(%rsp)
movaps %xmm0, 0x2a0(%rsp)
leaq 0x2f0(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2de642(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x40(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x319e05(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq %rbx, 0x8(%rsp)
movq 0x4d3687(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x3c0(%rsp), %rdi
callq 0x325e00
leaq 0x88(%rsp), %r15
movl $0x0, (%r15)
xorl %eax, %eax
movq %rax, 0x8(%r15)
movq %r15, 0x10(%r15)
movq %r15, 0x18(%r15)
movq %rax, 0x20(%r15)
movq 0x40(%rsp), %rdi
movq (%rdi), %rax
leaq 0x80(%rsp), %rsi
callq *0x20(%rax)
movq 0x98(%rsp), %rbx
cmpq %r15, %rbx
je 0x789529
leaq 0x3c0(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r15, %rax
jne 0x78950c
cmpq $0x0, 0xa8(%rsp)
movq 0x8(%rsp), %rbx
je 0x7895eb
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2de554(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3c8(%rsp), %rsi
leaq 0xe0(%rsp), %rdi
callq 0x325660
movq 0xe0(%rsp), %rsi
movq 0xe8(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x319cec(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7895cf
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4d3552(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x80(%rsp), %rdi
callq 0x6b222e
movq 0x4d3529(%rip), %rsi # 0xc5cb28
leaq 0x3c0(%rsp), %rdi
callq 0x325aa0
leaq 0x430(%rsp), %rdi
callq 0x325a80
leaq 0x120(%rsp), %rdi
callq 0x325e00
leaq 0x2de49f(%rip), %rsi # 0xa67acc
leaq 0x120(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%rbx), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x78966f
movq %rbx, %rdi
callq 0x325680
leaq 0x120(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x789691
movq 0x120(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0x120, %rdi # imm = 0x120
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x2f8503(%rip), %rsi # 0xa81b9b
leaq 0x120(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0x128(%rsp), %rsi
leaq 0x3c0(%rsp), %rdi
callq 0x325660
leaq 0x380(%rsp), %rbx
leaq 0x3c0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x3d0(%rsp), %r15
cmpq %r15, %rdi
je 0x7896fa
movq 0x3d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4d3427(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
callq 0x325a80
movq 0x8(%rsp), %rax
movq 0x98(%rax), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x348(%rsp)
movq 0x8(%rsp), %rax
cmpq $0x0, 0x168(%rax)
movq %rbp, 0x50(%rsp)
je 0x789822
movq 0x8(%rsp), %rax
leaq 0x160(%rax), %rdx
leaq 0x2fa6b1(%rip), %rsi # 0xa83e17
leaq 0x3c0(%rsp), %rdi
callq 0x33fea4
leaq 0x2fdd48(%rip), %rsi # 0xa874c2
leaq 0x3c0(%rsp), %rdi
callq 0x3259c0
leaq 0x130(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7897b7
movq %rdx, 0x120(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x130(%rsp)
jmp 0x7897be
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0x120(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %rbp, %rdi
je 0x789800
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x3c0(%rsp), %rdi
cmpq %r15, %rdi
movq 0x50(%rsp), %rbp
je 0x789822
movq 0x3d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x350(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq (%rbp), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x6c5898
movq 0x350(%rsp), %r14
leaq 0x120(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0x130(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x7898a2
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x368(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x50(%rbp), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x6b7316
movq 0x368(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0x120(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x789927
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rbp), %rdx
leaq 0x120(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x74c460
movq 0x368(%rsp), %r14
leaq 0x120(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0x140(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x789999
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x120(%rsp), %rdi
callq 0x325e00
movq 0x40(%rsp), %rdi
movq (%rdi), %rax
leaq 0x120(%rsp), %rsi
callq *0x10(%rax)
leaq 0x128(%rsp), %rsi
leaq 0x3c0(%rsp), %rdi
callq 0x325660
leaq 0x3a0(%rsp), %rbx
movq 0x4d314b(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
callq 0x325a80
leaq 0x3c0(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r15, %rdi
je 0x789a22
movq 0x3d0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x8(%rsp), %rbx
movq 0x98(%rbx), %rdi
movl 0xf4(%rbx), %esi
leaq 0x348(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0x78(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0x120(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0x128(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0x130(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0x138(%rsp)
movq 0x318(%rsp), %rax
movq 0x330(%rsp), %rcx
movq %rax, 0x3c0(%rsp)
movq %rcx, 0x3c8(%rsp)
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x78a6ef
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0x120(%rsp), %rdx
leaq 0x3c0(%rsp), %rcx
movq %r14, %rdi
movq 0x38(%rsp), %rsi
callq *0x30(%rax)
leaq 0xa0(%rbx), %rax
movq %rax, 0x2d0(%rsp)
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0x10, %eax
movabsq $0x7ff0000000000000, %r14 # imm = 0x7FF0000000000000
movabsq $-0x10000000000000, %r15 # imm = 0xFFF0000000000000
movb $0x0, 0x3b0(%rsp,%rax)
movq %r14, 0x3b8(%rsp,%rax)
movq %r15, 0x3c0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x70, %rax
jne 0x789b12
movl $0x10, %eax
movb $0x0, 0x3b0(%rsp,%rax)
movq %r14, 0x3b8(%rsp,%rax)
movq %r15, 0x3c0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x70, %rax
jne 0x789b39
leaq 0x120(%rsp), %rdi
callq 0x74c514
movl $0x10, %eax
movb $0x0, 0x70(%rsp,%rax)
movq %r14, 0x78(%rsp,%rax)
movq %r15, 0x80(%rsp,%rax)
addq $0x18, %rax
cmpq $0x40, %rax
jne 0x789b6d
movl $0x10, %eax
movb $0x0, 0x70(%rsp,%rax)
movq %r14, 0x78(%rsp,%rax)
movq %r15, 0x80(%rsp,%rax)
addq $0x18, %rax
cmpq $0x28, %rax
je 0x789b8e
movq (%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0x3c0(%rsp), %rdx
callq 0x6c594c
movq 0x10(%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0xe0(%rsp), %rdx
callq 0x6b1f1c
movq 0x20(%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x6b1f1c
movq 0x30(%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0x58(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0x120(%rsp), %rdx
callq 0x74c2b6
movq 0x50(%rbp), %rsi
leaq 0x2e8(%rsp), %rdi
leaq 0x80(%rsp), %rdx
callq 0x6b73ca
cmpq %r12, %r13
je 0x78a49a
movq 0x8(%rsp), %rax
addq $0x100, %rax # imm = 0x100
movq %rax, 0x118(%rsp)
movq 0x38(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x2c8(%rsp)
movq $0x0, 0x30(%rsp)
movq $0x0, 0x48(%rsp)
leaq 0x3c0(%rsp), %rdi
callq 0x74c514
movl $0x10, %eax
movb $0x0, 0xd0(%rsp,%rax)
movq %r14, 0xd8(%rsp,%rax)
movq %r15, 0xe0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x40, %rax
jne 0x789c8f
movl $0x10, %eax
movb $0x0, 0xd0(%rsp,%rax)
movq %r14, 0xd8(%rsp,%rax)
movq %r15, 0xe0(%rsp,%rax)
addq $0x18, %rax
cmpq $0x28, %rax
je 0x789cb6
movq 0x30(%rsp), %rax
shlq $0x34, %rax
jne 0x789cf1
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq 0x78(%rsp), %rax
movq (%rax), %rax
movq 0x30(%rsp), %rbp
shlq $0x4, %rbp
movups (%rax,%rbp), %xmm0
movaps %xmm0, 0x10(%rsp)
leaq 0x80(%rsp), %rdi
movq 0x2d0(%rsp), %r12
movq %r12, %rsi
leaq 0x10(%rsp), %rdx
callq 0x6c5be2
movq 0x50(%rsp), %rbx
leaq 0x120(%rsp), %rdi
movq %r12, %rsi
leaq 0x80(%rsp), %rdx
callq 0x6c5b36
movq (%rbx), %rsi
leaq 0x2e8(%rsp), %rdi
callq 0x6c5042
movl $0xc, %ecx
movq %rax, %rdi
leaq 0x120(%rsp), %rsi
rep movsq (%rsi), %es:(%rdi)
movq 0x10(%rbx), %rsi
leaq 0x2e8(%rsp), %r13
movq %r13, %rdi
callq 0x6b0800
movq 0x20(%rbx), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x30(%rbx), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x8(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%r12), %rcx
movq %rcx, 0x140(%rsp)
movups (%r12), %xmm0
movups 0x10(%r12), %xmm1
movaps %xmm1, 0x130(%rsp)
movaps %xmm0, 0x120(%rsp)
movl %eax, 0x148(%rsp)
movq %r13, 0x150(%rsp)
movl $0x0, 0x158(%rsp)
movq 0x40(%rsp), %rdi
movq (%rdi), %rax
leaq 0x120(%rsp), %r12
movq %r12, %rsi
callq *0x18(%rax)
movq %rbp, 0x2e0(%rsp)
movq 0x50(%rbx), %rsi
movq %r13, %rdi
callq 0x6b6ac6
movq %r12, %rdi
leaq 0x2a0(%rsp), %rsi
movq %rax, %rdx
callq 0x6b75be
movups 0x120(%rsp), %xmm0
movups 0x130(%rsp), %xmm1
movups 0x140(%rsp), %xmm2
movaps %xmm2, 0x100(%rsp)
movaps %xmm1, 0xf0(%rsp)
movaps %xmm0, 0xe0(%rsp)
movq 0x30(%rsp), %rax
leaq (,%rax,8), %rax
movq 0x330(%rsp), %rsi
movq %rax, 0x2d8(%rsp)
addq %rax, %rsi
leaq 0xe0(%rsp), %rdi
callq 0x6d4d10
movl %eax, %ebx
leaq 0x130(%rsp), %rax
movq %rax, 0x120(%rsp)
leaq 0x120(%rsp), %r12
movq %r12, %rdi
leaq 0x2ddcb1(%rip), %rsi # 0xa67b50
leaq 0x2ddcd5(%rip), %rdx # 0xa67b7b
callq 0x334070
movzbl %bl, %esi
movq 0x118(%rsp), %rdi
movq %r12, %rdx
callq 0x9a94ca
movq 0x50(%rsp), %r13
movl %eax, %r12d
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x789eeb
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%r13), %rsi
leaq 0x2e8(%rsp), %rdi
callq 0x74b440
leaq 0x120(%rsp), %rbx
movq %rbx, %rdi
leaq 0x2a0(%rsp), %rsi
movq %rax, %rdx
callq 0x74c908
leaq 0x3c0(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%rbx,%rsi), %rdi
movq %rdi, 0x10(%rcx,%rsi)
movups (%rbx,%rsi), %xmm0
movups %xmm0, (%rcx,%rsi)
addq $0x60, %rsi
cmpq $0x60, %rsi
je 0x789f23
incq %rdx
addq $0x18, %rcx
addq $0x18, %rbx
cmpq $0x4, %rdx
jne 0x789f21
movq 0x30(%rsp), %r13
shlq $0x5, %r13
movq 0x318(%rsp), %rsi
addq %r13, %rsi
leaq 0x3c0(%rsp), %rdi
callq 0x74c67c
movl %eax, %ebp
leaq 0x130(%rsp), %rax
movq %rax, 0x120(%rsp)
leaq 0x120(%rsp), %rbx
movq %rbx, %rdi
leaq 0x2ddbe7(%rip), %rsi # 0xa67b7c
leaq 0x2ddc0b(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %bpl, %esi
movq 0x118(%rsp), %rdi
movq %rbx, %rdx
callq 0x9a94ca
movl %eax, %ebp
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x789fdc
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
andb %bpl, %r12b
movl %r12d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x48(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x48(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r12b, %al
testb $0x1, %al
movq 0x50(%rsp), %rbp
jne 0x78a47d
movq 0x8(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0x120(%rsp)
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e00
testb $0x1, %r12b
leaq 0x28839e(%rip), %rsi # 0xa123da
leaq 0x288390(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbx, %rdi
callq 0x325e70
leaq 0x120(%rsp), %r12
movl $0x9, %edx
movq %rbx, %rdi
leaq 0x2ddb3d(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d5751(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%rbp), %rax
leaq 0x90(%rsp), %rcx
movq %rcx, 0x80(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x334442
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2c18f6(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x78(%rsp), %rax
movq 0x2e0(%rsp), %rdx
addq (%rax), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
callq 0x6c5aaa
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2c9e06(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x78a150
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x78a175
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d564c(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x40(%rbp), %rax
leaq 0x90(%rsp), %rcx
movq %rcx, 0x80(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x334442
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2c17f1(%rip), %rsi # 0xa4b9d5
callq 0x325e70
addq 0x318(%rsp), %r13
leaq 0x10(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
movq %r13, %rdx
callq 0x74c6c0
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2c9d0e(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x2dd977(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x58(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
leaq 0x3c0(%rsp), %rdx
callq 0x74c74c
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2c9cba(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x78a29c
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x78a2b8
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x78a2dd
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2d54e4(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x50(%rbp), %rax
leaq 0x90(%rsp), %rcx
movq %rcx, 0x80(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x80(%rsp), %rdi
callq 0x334442
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
leaq 0x128(%rsp), %rbx
movq %rbx, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbx, %rdi
leaq 0x2c1689(%rip), %rsi # 0xa4b9d5
callq 0x325e70
movq 0x2d8(%rsp), %rdx
addq 0x330(%rsp), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
callq 0x6b7531
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2c9ba1(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %rbx, %rdi
leaq 0x2dd80a(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0x58(%rsp), %rdi
leaq 0x2a0(%rsp), %rsi
leaq 0xe0(%rsp), %rdx
callq 0x6d4c02
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movq %rbx, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbx, %rdi
leaq 0x2c9b4d(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x78a409
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x78a425
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x78a44a
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %r12, %rdi
leaq 0x318e39(%rip), %rsi # 0xaa328d
leaq 0x128(%rsp), %rbx
callq 0x9aba2a
movq %rbx, %rdi
movq 0x4d26bd(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
movq 0x30(%rsp), %rcx
incq %rcx
movq %rcx, 0x30(%rsp)
cmpq 0x2c8(%rsp), %rcx
jne 0x789c7d
jmp 0x78a4a3
movq $0x0, 0x48(%rsp)
movq 0x48(%rsp), %r15
cmpl $0x64, %r15d
movq 0x8(%rsp), %rbx
jle 0x78a537
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2dd6ea(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r15), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x2dd6d4(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x318d7f(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq 0x4d2606(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
testl %r15d, %r15d
je 0x78a5ae
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r15d, %esi
callq 0x325530
leaq 0x2926af(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x38(%rsp), %rsi
callq 0x3257b0
leaq 0x2dd664(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x318cee(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
jmp 0x78a613
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0x128(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2dd609(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x38(%rsp), %rsi
callq 0x3257b0
leaq 0x2dd5ed(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x318c87(%rip), %rsi # 0xaa328d
leaq 0x120(%rsp), %rdi
callq 0x9aba2a
movq 0x4d250e(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
leaq 0x2e8(%rsp), %rdi
callq 0x6b2588
movq 0x3a0(%rsp), %rdi
leaq 0x3b0(%rsp), %rax
cmpq %rax, %rdi
leaq 0x368(%rsp), %rbx
je 0x78a669
movq 0x3b0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x380(%rsp), %rdi
leaq 0x390(%rsp), %rax
cmpq %rax, %rdi
je 0x78a68e
movq 0x390(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x36a7d0
leaq 0x350(%rsp), %rdi
callq 0x36a7d0
movq 0x330(%rsp), %rdi
testq %rdi, %rdi
je 0x78a6c0
movq 0x340(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x318(%rsp), %rdi
testq %rdi, %rdi
je 0x78a6dd
movq 0x328(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x538, %rsp # imm = 0x538
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x2c72ec(%rip), %rsi # 0xa519ef
leaq 0x2dd3cd(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x49099f(%rip), %rsi # 0xc1b0c0
leaq -0x458948(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x78a9c8
jmp 0x78a820
jmp 0x78a9c8
movq %rax, %r12
movq %r15, %rdi
callq 0x325d40
jmp 0x78a85e
jmp 0x78a9c8
movq %rax, %r12
movq 0x3c0(%rsp), %rdi
cmpq %r15, %rdi
je 0x78a9cb
movq 0x3d0(%rsp), %rsi
jmp 0x78a911
jmp 0x78a9c8
jmp 0x78a77c
movq %rax, %r12
jmp 0x78a7f7
jmp 0x78a923
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a7a3
jmp 0x78a9c8
jmp 0x78a7a3
jmp 0x78a9c8
movq %rax, %r12
leaq 0x120(%rsp), %rdi
callq 0x36a3d6
jmp 0x78a9cb
jmp 0x78a9c8
jmp 0x78a837
jmp 0x78a9c8
jmp 0x78a923
jmp 0x78a9c8
jmp 0x78a9c8
movq %rax, %r12
leaq 0xf0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78a7f7
movq 0xf0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4d232a(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
jmp 0x78a926
jmp 0x78a820
jmp 0x78a820
jmp 0x78a837
jmp 0x78a820
movq %rax, %r12
movq 0x4d22fe(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x78a9a6
jmp 0x78a9c8
movq %rax, %r12
movq 0x4d22e7(%rip), %rsi # 0xc5cb28
leaq 0x120(%rsp), %rdi
callq 0x325aa0
leaq 0x190(%rsp), %rdi
jmp 0x78a9b3
movq %rax, %r12
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x78a9cb
jmp 0x78a9c8
jmp 0x78a883
jmp 0x78a8cc
jmp 0x78a953
jmp 0x78a8cc
jmp 0x78a953
jmp 0x78a883
movq %rax, %r12
jmp 0x78a997
jmp 0x78a8cc
jmp 0x78a9c8
jmp 0x78a8a4
jmp 0x78a9c8
jmp 0x78a8ed
jmp 0x78a953
jmp 0x78a8cc
jmp 0x78a8cc
movq %rax, %r12
movq 0x58(%rsp), %rdi
leaq 0x68(%rsp), %rax
cmpq %rax, %rdi
je 0x78a956
movq 0x68(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78a956
movq %rax, %r12
jmp 0x78a972
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a9c8
movq %rax, %r12
movq 0x120(%rsp), %rdi
leaq 0x130(%rsp), %rax
cmpq %rax, %rdi
je 0x78a9cb
movq 0x130(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78a9cb
jmp 0x78a9c8
movq %rax, %r12
leaq 0x80(%rsp), %rdi
callq 0x6b222e
movq 0x4d21ee(%rip), %rsi # 0xc5cb28
leaq 0x3c0(%rsp), %rdi
callq 0x325aa0
leaq 0x430(%rsp), %rdi
jmp 0x78a9b3
jmp 0x78a953
movq %rax, %r12
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
je 0x78a972
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x80(%rsp), %rdi
leaq 0x90(%rsp), %rax
cmpq %rax, %rdi
je 0x78a997
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x128(%rsp), %rdi
movq 0x4d2182(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x198(%rsp), %rdi
callq 0x325a80
jmp 0x78a9cb
jmp 0x78a9c8
jmp 0x78a9c8
jmp 0x78a9c8
movq %rax, %r12
movq %rbx, %rdi
jmp 0x78a99f
movq %rax, %r12
leaq 0x2e8(%rsp), %rdi
callq 0x6b2588
leaq 0x348(%rsp), %rdi
callq 0x36a3fe
leaq 0x318(%rsp), %rdi
callq 0x78abd8
movq %r12, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Functions::OuterProduct<4, 2>::doApply(deqp::gls::BuiltinPrecisionTests::EvalContext const&, deqp::gls::BuiltinPrecisionTests::Tuple4<tcu::Vector<tcu::Interval, 4> const&, tcu::Vector<tcu::Interval, 2> const&, deqp::gls::BuiltinPrecisionTests::Void const&, deqp::gls::BuiltinPrecisionTests::Void const&> const&) const
|
IRet doApply (const EvalContext& ctx, const IArgs& iargs) const
{
IRet ret;
for (int row = 0; row < Rows; ++row)
{
for (int col = 0; col < Cols; ++col)
ret[col][row] = call<Mul>(ctx, iargs.a[row], iargs.b[col]);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rcx, %rbp
movq %rdx, %r15
movq %rdi, %r14
callq 0x74c514
xorl %eax, %eax
leaq 0xf(%rsp), %rbx
movq %r14, 0x10(%rsp)
movq %rax, 0x18(%rsp)
leaq (%rax,%rax,2), %rax
shlq $0x3, %rax
movq %rax, 0x20(%rsp)
xorl %r12d, %r12d
movq %r14, 0x28(%rsp)
movq (%rbp), %r13
addq 0x20(%rsp), %r13
movq %r15, %r14
movq 0x8(%rbp), %r15
addq %r12, %r15
callq 0x7146fb
movq %r13, 0x30(%rsp)
leaq 0x30(%rsp), %r9
leaq 0x50(%rsp), %rdi
leaq 0xe(%rsp), %rcx
movq %r15, 0x38(%rsp)
movq %r14, %r15
movq %rbx, 0x40(%rsp)
movq %rcx, 0x48(%rsp)
movq (%rax), %r8
movq %rax, %rsi
movq %r14, %rdx
movq %r9, %rcx
callq *0x40(%r8)
movq 0x28(%rsp), %r14
movq 0x60(%rsp), %rax
movq %rax, 0x10(%r14,%r12,4)
movups 0x50(%rsp), %xmm0
movups %xmm0, (%r14,%r12,4)
addq $0x18, %r12
cmpq $0x18, %r12
je 0x78ac86
movq 0x18(%rsp), %rax
incq %rax
addq $0x18, %r14
cmpq $0x4, %rax
jne 0x78ac6c
movq 0x10(%rsp), %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrint(std::ostream&, std::vector<deqp::gls::BuiltinPrecisionTests::ExprBase const*, std::allocator<deqp::gls::BuiltinPrecisionTests::ExprBase const*>> const&) const
|
virtual void doPrint (ostream& os, const BaseArgExprs& args) const
{
os << getName() << "(";
if (isTypeValid<Arg0>())
os << *args[0];
if (isTypeValid<Arg1>())
os << ", " << *args[1];
if (isTypeValid<Arg2>())
os << ", " << *args[2];
if (isTypeValid<Arg3>())
os << ", " << *args[3];
os << ")";
}
|
pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rdi, %rsi
movq (%rdi), %rax
movq %rsp, %r15
movq %r15, %rdi
callq *0x10(%rax)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rbx, %rdi
callq 0x325e70
leaq 0x2ac4ec(%rip), %rsi # 0xa37242
movl $0x1, %edx
movq %rax, %rdi
callq 0x325e70
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78ad7e
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%r14), %rax
movq (%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x2fba07(%rip), %rsi # 0xa8679b
movl $0x2, %edx
movq %rbx, %rdi
callq 0x325e70
movq (%r14), %rax
movq 0x8(%rax), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
leaq 0x31f9c6(%rip), %rsi # 0xaaa77e
movl $0x1, %edx
movq %rbx, %rdi
callq 0x325e70
addq $0x20, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78aded
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 4, 2>, tcu::Vector<float, 4>, tcu::Vector<float, 2>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doGetParamNames[abi:cxx11]() const
|
virtual const ParamNames& doGetParamNames (void) const
{
static ParamNames names ("a", "b", "c", "d");
return names;
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movb 0x4ec5bc(%rip), %al # 0xc773c8
testb %al, %al
je 0x78ae28
leaq 0x4ec531(%rip), %rax # 0xc77348
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
leaq 0x4ec599(%rip), %rdi # 0xc773c8
callq 0x325590
testl %eax, %eax
je 0x78ae10
leaq 0x70(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x2c77bd(%rip), %rsi # 0xa52605
leaq 0x2c77b7(%rip), %rdx # 0xa52606
leaq 0x60(%rsp), %rdi
callq 0x334070
leaq 0x50(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x2c7779(%rip), %rsi # 0xa525e2
leaq 0x2c7773(%rip), %rdx # 0xa525e3
leaq 0x40(%rsp), %rdi
callq 0x334070
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x285f37(%rip), %rsi # 0xa10dc2
leaq 0x285f31(%rip), %rdx # 0xa10dc3
leaq 0x20(%rsp), %rdi
callq 0x334070
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x3209b0(%rip), %rsi # 0xaab85c
leaq 0x3209aa(%rip), %rdx # 0xaab85d
movq %rsp, %rdi
callq 0x334070
leaq 0x4ec486(%rip), %rdi # 0xc77348
leaq 0x60(%rsp), %rsi
leaq 0x40(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq %rsp, %r8
callq 0x6b40e0
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x78aeef
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x78af06
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x78af1d
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x78af34
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq -0xd6d57(%rip), %rdi # 0x6b41e4
leaq 0x4ec406(%rip), %rsi # 0xc77348
leaq 0x4d29cf(%rip), %rdx # 0xc5d918
callq 0x325d10
leaq 0x4ec473(%rip), %rdi # 0xc773c8
callq 0x3258b0
jmp 0x78ae10
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x78af7d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78af7d
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x78af99
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78af99
movq %rax, %rbx
movq 0x40(%rsp), %rdi
cmpq %r15, %rdi
je 0x78afb5
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78afb5
movq %rax, %rbx
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x78afd1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78afd1
movq %rax, %rbx
leaq 0x4ec3f0(%rip), %rdi # 0xc773c8
callq 0x3256b0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::PrecisionCase* deqp::gls::BuiltinPrecisionTests::createFuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Context const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&)
|
PrecisionCase* createFuncCase (const Context& context,
const string& name,
const Func<Sig>& func)
{
switch (func.getOutParamIndex())
{
case -1:
return new FuncCase<Sig>(context, name, func);
case 1:
return new InOutFuncCase<Sig>(context, name, func);
default:
DE_FATAL("Impossible");
}
return DE_NULL;
}
|
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movq (%rdx), %rax
movq %rdx, %rdi
callq *0x28(%rax)
cmpl $0x1, %eax
je 0x78b030
cmpl $-0x1, %eax
jne 0x78b061
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4bf442(%rip), %rax # 0xc4a470
jmp 0x78b055
movl $0x188, %edi # imm = 0x188
callq 0x325210
movq %rax, %rbx
movq %rax, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %r14, %rcx
callq 0x6adac8
leaq 0x4bf51b(%rip), %rax # 0xc4a570
movq %rax, (%rbx)
movq %r14, 0x180(%rbx)
jmp 0x78b063
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x78b074
movq %rax, %r14
movl $0x188, %esi # imm = 0x188
movq %rbx, %rdi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::FuncCase<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::runTest()
|
void FuncCase<Sig>::runTest (void)
{
const Inputs<In> inputs (generateInputs(getSamplings(),
m_ctx.floatFormat,
m_ctx.precision,
m_ctx.numRandoms,
m_rnd));
Variables<In, Out> variables;
variables.out0 = variable<Ret>("out0");
variables.out1 = variable<Void>("out1");
variables.in0 = variable<Arg0>("in0");
variables.in1 = variable<Arg1>("in1");
variables.in2 = variable<Arg2>("in2");
variables.in3 = variable<Arg3>("in3");
{
ExprP<Ret> expr = applyVar(m_func,
variables.in0, variables.in1,
variables.in2, variables.in3);
StatementP stmt = variableAssignment(variables.out0, expr);
this->testStatement(variables, inputs, *stmt);
}
}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf0, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0xa0(%rbx), %rdx
movl 0xf0(%rbx), %ecx
movq 0xf8(%rbx), %r8
leaq 0x150(%rbx), %r9
leaq 0x90(%rsp), %rdi
movq %rax, %rsi
callq 0x78b99b
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
movaps %xmm0, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x30(%rsp)
leaq 0x20(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x2b91f6(%rip), %rsi # 0xa443b2
leaq 0x2b91f3(%rip), %rdx # 0xa443b6
leaq 0x10(%rsp), %rdi
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x750b02
movq 0x78(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b24e
testq %rax, %rax
je 0x78b229
lock
decl 0x8(%rax)
jne 0x78b205
movq $0x0, 0x70(%rsp)
movq 0x78(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x78(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b229
movq 0x78(%rsp), %rdi
testq %rdi, %rdi
je 0x78b220
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x78(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x70(%rsp)
movq %rax, 0x78(%rsp)
testq %rax, %rax
je 0x78b24e
lock
incl 0x8(%rax)
movq 0x78(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b295
lock
decl 0x8(%rax)
jne 0x78b271
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b295
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b28c
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b2ac
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2b96b0(%rip), %rsi # 0xa4496b
leaq 0x2b96ad(%rip), %rdx # 0xa4496f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x88(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b367
testq %rax, %rax
je 0x78b339
lock
decl 0x8(%rax)
jne 0x78b30c
movq $0x0, 0x80(%rsp)
movq 0x88(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x88(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b339
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x78b32d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x88(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x80(%rsp)
movq %rax, 0x88(%rsp)
testq %rax, %rax
je 0x78b367
lock
incl 0x8(%rax)
movq 0x88(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b3ae
lock
decl 0x8(%rax)
jne 0x78b38a
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b3ae
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b3a5
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b3c5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x282188(%rip), %rsi # 0xa0d55c
leaq 0x282184(%rip), %rdx # 0xa0d55f
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6b5060
movq 0x38(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b461
testq %rax, %rax
je 0x78b43c
lock
decl 0x8(%rax)
jne 0x78b418
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b43c
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x78b433
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x30(%rsp)
movq %rax, 0x38(%rsp)
testq %rax, %rax
je 0x78b461
lock
incl 0x8(%rax)
movq 0x38(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b4a8
lock
decl 0x8(%rax)
jne 0x78b484
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b4a8
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b49f
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b4bf
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x282695(%rip), %rsi # 0xa0db63
leaq 0x282691(%rip), %rdx # 0xa0db66
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6bc46d
movq 0x48(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b55b
testq %rax, %rax
je 0x78b536
lock
decl 0x8(%rax)
jne 0x78b512
movq $0x0, 0x40(%rsp)
movq 0x48(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x48(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b536
movq 0x48(%rsp), %rdi
testq %rdi, %rdi
je 0x78b52d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x48(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x40(%rsp)
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x78b55b
lock
incl 0x8(%rax)
movq 0x48(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b5a2
lock
decl 0x8(%rax)
jne 0x78b57e
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b5a2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b599
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b5b9
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x286c2a(%rip), %rsi # 0xa121f2
leaq 0x286c26(%rip), %rdx # 0xa121f5
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x58(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b655
testq %rax, %rax
je 0x78b630
lock
decl 0x8(%rax)
jne 0x78b60c
movq $0x0, 0x50(%rsp)
movq 0x58(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x58(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b630
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x78b627
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x58(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x50(%rsp)
movq %rax, 0x58(%rsp)
testq %rax, %rax
je 0x78b655
lock
incl 0x8(%rax)
movq 0x58(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b69c
lock
decl 0x8(%rax)
jne 0x78b678
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b69c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b693
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b6b3
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x10(%rsp), %rdi
movq %r13, (%rdi)
leaq 0x2dc3cd(%rip), %rsi # 0xa67a8f
leaq 0x2dc3c9(%rip), %rdx # 0xa67a92
callq 0x334070
movq %rsp, %rdi
leaq 0x10(%rsp), %rsi
callq 0x6aeb33
movq 0x68(%rsp), %rax
cmpq 0x8(%rsp), %rax
je 0x78b74f
testq %rax, %rax
je 0x78b72a
lock
decl 0x8(%rax)
jne 0x78b706
movq $0x0, 0x60(%rsp)
movq 0x68(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x68(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b72a
movq 0x68(%rsp), %rdi
testq %rdi, %rdi
je 0x78b721
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x68(%rsp)
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
movq %rcx, 0x60(%rsp)
movq %rax, 0x68(%rsp)
testq %rax, %rax
je 0x78b74f
lock
incl 0x8(%rax)
movq 0x68(%rsp), %rax
lock
incl 0xc(%rax)
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b796
lock
decl 0x8(%rax)
jne 0x78b772
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b796
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b78d
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
leaq 0x40(%rsp), %r14
leaq 0x50(%rsp), %r15
leaq 0x60(%rsp), %r12
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b7bc
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x180(%rbx), %rsi
leaq 0x10(%rsp), %rdi
leaq 0x30(%rsp), %rdx
movq %r14, %rcx
movq %r15, %r8
movq %r12, %r9
callq 0x78bf07
leaq 0x70(%rsp), %rsi
movq %rsp, %rdi
leaq 0x10(%rsp), %rdx
xorl %ecx, %ecx
callq 0x753391
movq (%rsp), %rcx
leaq 0x30(%rsp), %rsi
leaq 0x90(%rsp), %rdx
movq %rbx, %rdi
callq 0x78bf80
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78b84f
lock
decl 0x8(%rax)
jne 0x78b82b
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b84f
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b846
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x78b897
lock
decl 0x8(%rax)
jne 0x78b873
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78b897
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x78b88e
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
leaq 0x30(%rsp), %rdi
callq 0x78d422
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b8be
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xc0(%rsp), %rdi
testq %rdi, %rdi
je 0x78b8db
movq 0xd0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0xa8(%rsp), %rdi
testq %rdi, %rdi
je 0x78b8f8
movq 0xb8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x78b915
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0xf0, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6aceae
jmp 0x78b936
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x752034
jmp 0x78b977
jmp 0x78b974
jmp 0x78b958
jmp 0x78b974
jmp 0x78b958
jmp 0x78b974
jmp 0x78b958
jmp 0x78b974
jmp 0x78b958
jmp 0x78b974
jmp 0x78b958
jmp 0x78b974
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x78b977
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78b977
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x78d422
leaq 0x90(%rsp), %rdi
callq 0x78d5b4
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> deqp::gls::BuiltinPrecisionTests::generateInputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Samplings<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, tcu::FloatFormat const&, glu::Precision, unsigned long, de::Random&)
|
Inputs<In> generateInputs (const Samplings<In>& samplings,
const FloatFormat& floatFormat,
Precision intPrecision,
size_t numSamples,
Random& rnd)
{
Inputs<In> ret;
Inputs<In> fixedInputs;
set<InTuple<In>, InputLess<InTuple<In> > > seenInputs;
samplings.in0.genFixeds(floatFormat, fixedInputs.in0);
samplings.in1.genFixeds(floatFormat, fixedInputs.in1);
samplings.in2.genFixeds(floatFormat, fixedInputs.in2);
samplings.in3.genFixeds(floatFormat, fixedInputs.in3);
for (size_t ndx0 = 0; ndx0 < fixedInputs.in0.size(); ++ndx0)
{
for (size_t ndx1 = 0; ndx1 < fixedInputs.in1.size(); ++ndx1)
{
for (size_t ndx2 = 0; ndx2 < fixedInputs.in2.size(); ++ndx2)
{
for (size_t ndx3 = 0; ndx3 < fixedInputs.in3.size(); ++ndx3)
{
const InTuple<In> tuple (fixedInputs.in0[ndx0],
fixedInputs.in1[ndx1],
fixedInputs.in2[ndx2],
fixedInputs.in3[ndx3]);
seenInputs.insert(tuple);
ret.in0.push_back(tuple.a);
ret.in1.push_back(tuple.b);
ret.in2.push_back(tuple.c);
ret.in3.push_back(tuple.d);
}
}
}
}
for (size_t ndx = 0; ndx < numSamples; ++ndx)
{
const typename In::In0 in0 = samplings.in0.genRandom(floatFormat, intPrecision, rnd);
const typename In::In1 in1 = samplings.in1.genRandom(floatFormat, intPrecision, rnd);
const typename In::In2 in2 = samplings.in2.genRandom(floatFormat, intPrecision, rnd);
const typename In::In3 in3 = samplings.in3.genRandom(floatFormat, intPrecision, rnd);
const InTuple<In> tuple (in0, in1, in2, in3);
if (de::contains(seenInputs, tuple))
continue;
seenInputs.insert(tuple);
ret.in0.push_back(in0);
ret.in1.push_back(in1);
ret.in2.push_back(in2);
ret.in3.push_back(in3);
}
return ret;
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movq %r9, 0xd0(%rsp)
movq %r8, 0xa0(%rsp)
movl %ecx, 0xc(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x50(%rdi)
movups %xmm0, 0x40(%rdi)
movups %xmm0, 0x30(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, (%rdi)
leaq 0x40(%rsp), %rdx
movaps %xmm0, 0x50(%rdx)
movaps %xmm0, 0x40(%rdx)
movaps %xmm0, 0x30(%rdx)
movaps %xmm0, 0x20(%rdx)
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0xf0(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq (%rsi), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x8(%r15), %rdi
leaq 0x58(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x10(%r15), %rdi
leaq 0x70(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq 0x18(%r15), %rdi
leaq 0x88(%rsp), %rdx
movq (%rdi), %rax
movq %r14, %rsi
callq *(%rax)
movq %r15, 0xc0(%rsp)
movq %r14, 0xc8(%rsp)
movq 0x48(%rsp), %rax
cmpq 0x40(%rsp), %rax
je 0x78bc32
leaq 0x18(%rbx), %rbp
leaq 0x30(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x18(%rsp)
xorl %r15d, %r15d
leaq 0x28(%rsp), %r12
xorl %ecx, %ecx
movq %rcx, 0xd8(%rsp)
movq 0x60(%rsp), %rax
cmpq 0x58(%rsp), %rax
je 0x78bc0c
xorl %r14d, %r14d
xorl %edx, %edx
movq %rdx, 0xe0(%rsp)
movq 0x78(%rsp), %rax
cmpq 0x70(%rsp), %rax
je 0x78bbd8
xorl %ecx, %ecx
movq %rcx, 0x10(%rsp)
movq 0x90(%rsp), %rax
cmpq 0x88(%rsp), %rax
je 0x78bbbd
xorl %r13d, %r13d
movq 0x58(%rsp), %rax
movq 0x40(%rsp), %rcx
addq %r15, %rcx
xorl %edx, %edx
movss (%rcx,%rdx,4), %xmm0
movss %xmm0, 0x28(%rsp,%rdx,4)
incq %rdx
cmpq $0x1, %rdx
je 0x78bb04
addq %r14, %rax
movl $0x2, %ecx
movss -0x8(%rax,%rcx,4), %xmm0
movss %xmm0, 0x28(%rsp,%rcx,4)
incq %rcx
cmpq $0x5, %rcx
jne 0x78bb20
leaq 0xe8(%rsp), %rdi
movq %r12, %rsi
callq 0x78d60e
movq %rbx, %rdi
movq %r12, %rsi
callq 0x56b5dc
movq %rbp, %rdi
leaq 0x30(%rsp), %rsi
callq 0x47d518
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x78bb70
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x78bb7f
movq 0x20(%rsp), %rdi
leaq 0x3c(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x78bb92
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x78bba1
movq 0x18(%rsp), %rdi
leaq 0x3d(%rsp), %rdx
callq 0x6b02c6
incq %r13
movq 0x90(%rsp), %rax
subq 0x88(%rsp), %rax
cmpq %rax, %r13
jb 0x78baf5
movq 0x10(%rsp), %rcx
incq %rcx
movq 0x78(%rsp), %rax
subq 0x70(%rsp), %rax
cmpq %rax, %rcx
jb 0x78bad7
movq 0xe0(%rsp), %rdx
incq %rdx
movq 0x60(%rsp), %rax
subq 0x58(%rsp), %rax
sarq $0x2, %rax
movabsq $-0x5555555555555555, %rcx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rcx, %rax
addq $0xc, %r14
cmpq %rax, %rdx
jb 0x78babd
movq 0x48(%rsp), %rax
subq 0x40(%rsp), %rax
movq 0xd8(%rsp), %rcx
incq %rcx
sarq $0x3, %rax
addq $0x8, %r15
cmpq %rax, %rcx
jb 0x78baa0
cmpq $0x0, 0xa0(%rsp)
movl 0xc(%rsp), %ebp
je 0x78bda4
leaq 0x30(%rsp), %r14
leaq 0x18(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x30(%rbx), %rax
movq %rax, 0x18(%rsp)
leaq 0x48(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0xc0(%rsp), %r12
movq 0xc8(%rsp), %r15
movq 0xd0(%rsp), %r13
movq (%r12), %rsi
movq (%rsi), %rax
leaq 0xa8(%rsp), %rdi
movq %r15, %rdx
movl %ebp, %ecx
movq %r13, %r8
callq *0x8(%rax)
movq 0x8(%r12), %rsi
movq (%rsi), %rax
leaq 0xb4(%rsp), %rdi
movq %r15, %rdx
movl %ebp, %ecx
movq %r13, %r8
callq *0x8(%rax)
movq 0x10(%r12), %rdi
movq (%rdi), %rax
movq %r15, %rsi
movl %ebp, %edx
movq %r13, %rcx
callq *0x8(%rax)
movq 0x18(%r12), %rdi
movq (%rdi), %rax
movq %r15, %rsi
movl %ebp, %edx
movq %r13, %rcx
callq *0x8(%rax)
movq 0xa8(%rsp), %rax
movq %rax, 0x28(%rsp)
movl 0xbc(%rsp), %eax
movl %eax, 0x8(%r14)
movq 0xb4(%rsp), %rax
movq %rax, (%r14)
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x78d7c2
movl 0xc(%rsp), %ebp
leaq 0xf0(%rsp), %rcx
cmpq %rcx, %rax
jne 0x78bd96
leaq 0xe8(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x78d60e
movq %rbx, %rdi
leaq 0xa8(%rsp), %rsi
callq 0x56b5dc
movq 0x20(%rsp), %rdi
leaq 0xb4(%rsp), %rsi
callq 0x47d518
movq 0x38(%rbx), %rsi
cmpq 0x40(%rbx), %rsi
je 0x78bd65
incq %rsi
movq %rsi, 0x38(%rbx)
jmp 0x78bd74
movq 0x18(%rsp), %rdi
leaq 0xb(%rsp), %rdx
callq 0x6b02c6
movq 0x50(%rbx), %rsi
cmpq 0x58(%rbx), %rsi
je 0x78bd87
incq %rsi
movq %rsi, 0x50(%rbx)
jmp 0x78bd96
movq 0x10(%rsp), %rdi
leaq 0xa(%rsp), %rdx
callq 0x6b02c6
decq 0xa0(%rsp)
jne 0x78bc7d
leaq 0xe8(%rsp), %rdi
callq 0x78d82e
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x78bdce
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x78bde8
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x78bdff
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x78be16
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rax
addq $0x118, %rsp # imm = 0x118
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x78be37
jmp 0x78be37
jmp 0x78be37
jmp 0x78be37
jmp 0x78be37
jmp 0x78be37
movq %rax, %r14
leaq 0xe8(%rsp), %rdi
callq 0x78d82e
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x78be64
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x78be7e
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x78be95
movq 0x68(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x78beac
movq 0x50(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x48(%rbx), %rdi
testq %rdi, %rdi
je 0x78bec1
movq 0x58(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x30(%rbx), %rdi
testq %rdi, %rdi
je 0x78bed6
movq 0x40(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x78beeb
movq 0x28(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x78beff
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %r14, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
void deqp::gls::BuiltinPrecisionTests::PrecisionCase::testStatement<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 2, 3>, deqp::gls::BuiltinPrecisionTests::Void>>(deqp::gls::BuiltinPrecisionTests::Variables<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>, deqp::gls::BuiltinPrecisionTests::OutTypes<tcu::Matrix<float, 2, 3>, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Inputs<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::Statement const&)
|
void PrecisionCase::testStatement (const Variables<In, Out>& variables,
const Inputs<In>& inputs,
const Statement& stmt)
{
using namespace ShaderExecUtil;
typedef typename In::In0 In0;
typedef typename In::In1 In1;
typedef typename In::In2 In2;
typedef typename In::In3 In3;
typedef typename Out::Out0 Out0;
typedef typename Out::Out1 Out1;
const FloatFormat& fmt = getFormat();
const int inCount = numInputs<In>();
const int outCount = numOutputs<Out>();
const size_t numValues = (inCount > 0) ? inputs.in0.size() : 1;
Outputs<Out> outputs (numValues);
ShaderSpec spec;
const FloatFormat highpFmt = m_ctx.highpFormat;
const int maxMsgs = 100;
int numErrors = 0;
Environment env; // Hoisted out of the inner loop for optimization.
switch (inCount)
{
case 4: DE_ASSERT(inputs.in3.size() == numValues);
case 3: DE_ASSERT(inputs.in2.size() == numValues);
case 2: DE_ASSERT(inputs.in1.size() == numValues);
case 1: DE_ASSERT(inputs.in0.size() == numValues);
default: break;
}
// Print out the statement and its definitions
log() << TestLog::Message << "Statement: " << stmt << TestLog::EndMessage;
{
ostringstream oss;
FuncSet funcs;
stmt.getUsedFuncs(funcs);
for (FuncSet::const_iterator it = funcs.begin(); it != funcs.end(); ++it)
{
(*it)->printDefinition(oss);
}
if (!funcs.empty())
log() << TestLog::Message << "Reference definitions:\n" << oss.str()
<< TestLog::EndMessage;
}
// Initialize ShaderSpec from precision, variables and statement.
{
ostringstream os;
os << "precision " << glu::getPrecisionName(m_ctx.precision) << " float;\n";
spec.globalDeclarations = os.str();
}
spec.version = getContextTypeGLSLVersion(getRenderContext().getType());
if (!m_extension.empty())
spec.globalDeclarations = "#extension " + m_extension + " : require\n";
spec.inputs.resize(inCount);
switch (inCount)
{
case 4: spec.inputs[3] = makeSymbol(*variables.in3);
case 3: spec.inputs[2] = makeSymbol(*variables.in2);
case 2: spec.inputs[1] = makeSymbol(*variables.in1);
case 1: spec.inputs[0] = makeSymbol(*variables.in0);
default: break;
}
spec.outputs.resize(outCount);
switch (outCount)
{
case 2: spec.outputs[1] = makeSymbol(*variables.out1);
case 1: spec.outputs[0] = makeSymbol(*variables.out0);
default: break;
}
spec.source = de::toString(stmt);
// Run the shader with inputs.
{
UniquePtr<ShaderExecutor> executor (createExecutor(getRenderContext(),
m_ctx.shaderType,
spec));
const void* inputArr[] =
{
&inputs.in0.front(), &inputs.in1.front(), &inputs.in2.front(), &inputs.in3.front(),
};
void* outputArr[] =
{
&outputs.out0.front(), &outputs.out1.front(),
};
executor->log(log());
if (!executor->isOk())
TCU_FAIL("Shader compilation failed");
executor->useProgram();
executor->execute(int(numValues), inputArr, outputArr);
}
// Initialize environment with dummy values so we don't need to bind in inner loop.
{
const typename Traits<In0>::IVal in0;
const typename Traits<In1>::IVal in1;
const typename Traits<In2>::IVal in2;
const typename Traits<In3>::IVal in3;
const typename Traits<Out0>::IVal reference0;
const typename Traits<Out1>::IVal reference1;
env.bind(*variables.in0, in0);
env.bind(*variables.in1, in1);
env.bind(*variables.in2, in2);
env.bind(*variables.in3, in3);
env.bind(*variables.out0, reference0);
env.bind(*variables.out1, reference1);
}
// For each input tuple, compute output reference interval and compare
// shader output to the reference.
for (size_t valueNdx = 0; valueNdx < numValues; valueNdx++)
{
bool result = true;
typename Traits<Out0>::IVal reference0;
typename Traits<Out1>::IVal reference1;
if (valueNdx % (size_t)TOUCH_WATCHDOG_VALUE_FREQUENCY == 0)
m_testCtx.touchWatchdog();
env.lookup(*variables.in0) = convert<In0>(fmt, round(fmt, inputs.in0[valueNdx]));
env.lookup(*variables.in1) = convert<In1>(fmt, round(fmt, inputs.in1[valueNdx]));
env.lookup(*variables.in2) = convert<In2>(fmt, round(fmt, inputs.in2[valueNdx]));
env.lookup(*variables.in3) = convert<In3>(fmt, round(fmt, inputs.in3[valueNdx]));
{
EvalContext ctx (fmt, m_ctx.precision, env);
stmt.execute(ctx);
}
switch (outCount)
{
case 2:
reference1 = convert<Out1>(highpFmt, env.lookup(*variables.out1));
if (!m_status.check(contains(reference1, outputs.out1[valueNdx]),
"Shader output 1 is outside acceptable range"))
result = false;
case 1:
reference0 = convert<Out0>(highpFmt, env.lookup(*variables.out0));
if (!m_status.check(contains(reference0, outputs.out0[valueNdx]),
"Shader output 0 is outside acceptable range"))
result = false;
default: break;
}
if (!result)
++numErrors;
if ((!result && numErrors <= maxMsgs) || GLS_LOG_ALL_RESULTS)
{
MessageBuilder builder = log().message();
builder << (result ? "Passed" : "Failed") << " sample:\n";
if (inCount > 0)
{
builder << "\t" << variables.in0->getName() << " = "
<< valueToString(highpFmt, inputs.in0[valueNdx]) << "\n";
}
if (inCount > 1)
{
builder << "\t" << variables.in1->getName() << " = "
<< valueToString(highpFmt, inputs.in1[valueNdx]) << "\n";
}
if (inCount > 2)
{
builder << "\t" << variables.in2->getName() << " = "
<< valueToString(highpFmt, inputs.in2[valueNdx]) << "\n";
}
if (inCount > 3)
{
builder << "\t" << variables.in3->getName() << " = "
<< valueToString(highpFmt, inputs.in3[valueNdx]) << "\n";
}
if (outCount > 0)
{
builder << "\t" << variables.out0->getName() << " = "
<< valueToString(highpFmt, outputs.out0[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out0>(highpFmt, reference0) << "\n";
}
if (outCount > 1)
{
builder << "\t" << variables.out1->getName() << " = "
<< valueToString(highpFmt, outputs.out1[valueNdx]) << "\n"
<< "\tExpected range: "
<< intervalToString<typename Out::Out1>(highpFmt, reference1) << "\n";
}
builder << TestLog::EndMessage;
}
}
if (numErrors > maxMsgs)
{
log() << TestLog::Message << "(Skipped " << (numErrors - maxMsgs) << " messages.)"
<< TestLog::EndMessage;
}
if (numErrors == 0)
{
log() << TestLog::Message << "All " << numValues << " inputs passed."
<< TestLog::EndMessage;
}
else
{
log() << TestLog::Message << numErrors << "/" << numValues << " inputs failed."
<< TestLog::EndMessage;
}
}
|
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4c8, %rsp # imm = 0x4C8
movq %rcx, 0x90(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdi, %r15
movq (%rdx), %rbx
movq %rdx, 0x38(%rsp)
movq 0x8(%rdx), %r13
movq %r13, %rsi
subq %rbx, %rsi
sarq $0x3, %rsi
leaq 0x280(%rsp), %rdi
movq %rsi, 0x88(%rsp)
callq 0x75392e
leaq 0x320(%rsp), %rcx
movl $0x1, -0x48(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, -0x40(%rcx)
movups %xmm0, -0x30(%rcx)
movups %xmm0, -0x20(%rcx)
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x340(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq 0xe8(%r15), %rcx
movq %rcx, 0x2d0(%rsp)
movups 0xc8(%r15), %xmm0
movups 0xd8(%r15), %xmm1
movaps %xmm1, 0x2c0(%rsp)
movaps %xmm0, 0x2b0(%rsp)
leaq 0x258(%rsp), %rcx
movl $0x0, (%rcx)
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2dba30(%rip), %rsi # 0xa67aa8
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x10(%rax)
leaq 0x3171f0(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4d0a77(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x350(%rsp), %rdi
callq 0x325e00
movq %rbx, 0x30(%rsp)
leaq 0x48(%rsp), %r12
movl $0x0, (%r12)
xorl %eax, %eax
movq %rax, 0x8(%r12)
movq %r12, 0x10(%r12)
movq %r12, 0x18(%r12)
movq %rax, 0x20(%r12)
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0x20(%rax)
movq 0x58(%rsp), %rbx
cmpq %r12, %rbx
je 0x78c13d
leaq 0x350(%rsp), %r14
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %r14, %rsi
callq *0x30(%rax)
movq %rbx, %rdi
callq 0x325d90
movq %rax, %rbx
cmpq %r12, %rax
jne 0x78c120
cmpq $0x0, 0x68(%rsp)
je 0x78c1e5
movq 0x8(%r15), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2db948(%rip), %rsi # 0xa67ab4
movl $0x17, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x358(%rsp), %rsi
movq %rsp, %rdi
callq 0x325660
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x325e70
leaq 0x3170ec(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78c1c9
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4d0958(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x40(%rsp), %rdi
callq 0x6b222e
movq 0x4d0932(%rip), %rsi # 0xc5cb28
leaq 0x350(%rsp), %rdi
callq 0x325aa0
leaq 0x3c0(%rsp), %rdi
callq 0x325a80
leaq 0xc0(%rsp), %rdi
callq 0x325e00
leaq 0x2db8a8(%rip), %rsi # 0xa67acc
leaq 0xc0(%rsp), %rdi
movl $0xa, %edx
callq 0x325e70
movl 0xf0(%r15), %edi
callq 0x8bb7fe
movq %rax, %rbx
testq %rax, %rax
je 0x78c267
movq %rbx, %rdi
callq 0x325680
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
callq 0x325e70
jmp 0x78c289
movq 0xc0(%rsp), %rax
movq -0x18(%rax), %rax
leaq (%rsp,%rax), %rdi
addq $0xc0, %rdi
movl 0x20(%rdi), %esi
orl $0x1, %esi
callq 0x326070
leaq 0x2f590b(%rip), %rsi # 0xa81b9b
leaq 0xc0(%rsp), %rdi
movl $0x8, %edx
callq 0x325e70
leaq 0xc8(%rsp), %rsi
leaq 0x350(%rsp), %rdi
callq 0x325660
leaq 0x310(%rsp), %rbx
leaq 0x350(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
leaq 0x360(%rsp), %r12
cmpq %r12, %rdi
je 0x78c2f2
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4d082f(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
callq 0x325a80
movq 0x98(%r15), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %edi
callq 0x8bb7c2
movl %eax, 0x2d8(%rsp)
cmpq $0x0, 0x168(%r15)
je 0x78c401
leaq 0x160(%r15), %rdx
leaq 0x2f7acd(%rip), %rsi # 0xa83e17
leaq 0x350(%rsp), %rdi
callq 0x33fea4
leaq 0x2fb164(%rip), %rsi # 0xa874c2
leaq 0x350(%rsp), %rdi
callq 0x3259c0
leaq 0xd0(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x78c39b
movq %rdx, 0xc0(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xd0(%rsp)
jmp 0x78c3a2
movups (%rcx), %xmm0
movups %xmm0, (%rbp)
movq 0x8(%rax), %rdx
leaq 0xc0(%rsp), %r14
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %rbp, %rdi
je 0x78c3e4
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x350(%rsp), %rdi
cmpq %r12, %rdi
je 0x78c401
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2e0(%rsp), %rdi
movl $0x2, %esi
callq 0x6b1e2a
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x6be6f6
movq 0x2e0(%rsp), %r14
leaq 0x38(%r14), %rdi
leaq 0xc0(%rsp), %rsi
callq 0x325800
addq $0x58, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
leaq 0xd0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78c485
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x28(%rsp), %rax
movq (%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x6b7316
movq 0x2e0(%rsp), %r14
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x78c4f9
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0x2f8(%rsp), %rdi
movl $0x1, %esi
callq 0x6b1e2a
movq 0x28(%rsp), %rax
movq 0x40(%rax), %rdx
leaq 0xc0(%rsp), %rdi
movq %r15, %rsi
callq 0x75397a
movq 0x2f8(%rsp), %r14
leaq 0xc0(%rsp), %rsi
movq %r14, %rdi
callq 0x325800
addq $0x20, %r14
leaq 0xe0(%rsp), %rbx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x8d98c4
movq %rbx, %rdi
callq 0x8d9a14
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x78c580
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc0(%rsp), %rdi
callq 0x325e00
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0xc0(%rsp), %rsi
callq *0x10(%rax)
leaq 0xc8(%rsp), %rsi
leaq 0x350(%rsp), %rdi
callq 0x325660
leaq 0x330(%rsp), %rbx
movq 0x4d0561(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
callq 0x325a80
leaq 0x350(%rsp), %r14
movq %rbx, %rdi
movq %r14, %rsi
callq 0x325800
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x78c60c
movq 0x360(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x98(%r15), %rdi
movl 0xf4(%r15), %esi
leaq 0x2d8(%rsp), %rdx
callq 0x878341
movq %rax, %r14
movq 0x38(%rsp), %rcx
movq (%rcx), %rax
movq %rax, 0xc0(%rsp)
movq 0x18(%rcx), %rax
movq %rax, 0xc8(%rsp)
movq 0x30(%rcx), %rax
movq %rax, 0xd0(%rsp)
movq 0x48(%rcx), %rax
movq %rax, 0xd8(%rsp)
movq 0x280(%rsp), %rax
movq 0x298(%rsp), %rcx
movq %rax, 0x350(%rsp)
movq %rcx, 0x358(%rsp)
movq 0x8(%r15), %rax
movq 0x10(%rax), %rsi
movq (%r14), %rax
movq %r14, %rdi
callq *0x18(%rax)
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
testb %al, %al
je 0x78d130
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
movq (%r14), %rax
leaq 0xc0(%rsp), %rdx
leaq 0x350(%rsp), %rcx
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq *0x30(%rax)
leaq 0xa0(%r15), %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
movl $0x10, %edx
movabsq $0x7ff0000000000000, %rax # imm = 0x7FF0000000000000
movabsq $-0x10000000000000, %rcx # imm = 0xFFF0000000000000
movb $0x0, 0x30(%rsp,%rdx)
movq %rax, 0x38(%rsp,%rdx)
movq %rcx, 0x40(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x40, %rdx
jne 0x78c6f3
movl $0x10, %edx
movb $0x0, 0x30(%rsp,%rdx)
movq %rax, 0x38(%rsp,%rdx)
movq %rcx, 0x40(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x28, %rdx
je 0x78c711
movl $0x10, %edx
movb $0x0, 0x340(%rsp,%rdx)
movq %rax, 0x348(%rsp,%rdx)
movq %rcx, 0x350(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x58, %rdx
jne 0x78c72f
movl $0x10, %edx
movb $0x0, 0x340(%rsp,%rdx)
movq %rax, 0x348(%rsp,%rdx)
movq %rcx, 0x350(%rsp,%rdx)
addq $0x18, %rdx
cmpq $0x58, %rdx
jne 0x78c756
leaq 0xc0(%rsp), %rdi
callq 0x753a2e
movq 0x28(%rsp), %r14
movq (%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x6b73ca
movq 0x10(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x350(%rsp), %rdx
callq 0x6be7aa
movq 0x20(%r14), %rsi
leaq 0x250(%rsp), %rdi
movq %rsp, %rdx
callq 0x6b1f1c
movq 0x30(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0xa0(%rsp), %rdx
callq 0x6b1f1c
movq 0x40(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0xc0(%rsp), %rdx
callq 0x7537d0
movq 0x50(%r14), %rsi
leaq 0x250(%rsp), %rdi
leaq 0x27(%rsp), %rdx
callq 0x6b1f1c
cmpq 0x30(%rsp), %r13
movq %r15, 0x98(%rsp)
je 0x78cece
leaq 0x100(%r15), %rax
movq %rax, 0x248(%rsp)
movq 0x88(%rsp), %rax
cmpq $0x1, %rax
adcq $0x0, %rax
movq %rax, 0x240(%rsp)
xorl %r12d, %r12d
movq $0x0, 0x30(%rsp)
leaq 0x350(%rsp), %rdi
callq 0x753a2e
movq %r12, %rax
shlq $0x34, %rax
jne 0x78c881
movq 0x98(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x9a9c08
movq 0x38(%rsp), %rax
movq (%rax), %rax
movq (%rax,%r12,8), %rax
movq %rax, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
movq %rsp, %rdx
callq 0x6b7668
movq 0x28(%rsp), %r14
leaq 0x250(%rsp), %r13
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
leaq 0x40(%rsp), %rdx
callq 0x6b75be
movq (%r14), %rsi
movq %r13, %rdi
callq 0x6b6ac6
movups 0xc0(%rsp), %xmm0
movups 0xd0(%rsp), %xmm1
movups 0xe0(%rsp), %xmm2
movups %xmm2, 0x20(%rax)
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
movq 0x38(%rsp), %rax
movq 0x18(%rax), %rax
leaq (%r12,%r12,2), %r15
movl 0x8(%rax,%r15,4), %ecx
movl %ecx, 0x8(%rsp)
movq (%rax,%r15,4), %rax
movq %rax, (%rsp)
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
movq %rsp, %rdx
callq 0x6bea40
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
leaq 0x40(%rsp), %rdx
callq 0x6be994
movq 0x10(%r14), %rsi
movq %r13, %rdi
callq 0x6bdea6
movl $0x9, %ecx
movq %rax, %rdi
leaq 0xc0(%rsp), %rsi
rep movsq (%rsi), %es:(%rdi)
movq 0x20(%r14), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x30(%r14), %rsi
movq %r13, %rdi
callq 0x6b0800
movq 0x98(%rsp), %rax
movl 0xf0(%rax), %eax
movq 0x20(%rbx), %rcx
movq %rcx, 0xe0(%rsp)
movups (%rbx), %xmm0
movups 0x10(%rbx), %xmm1
movaps %xmm1, 0xd0(%rsp)
movaps %xmm0, 0xc0(%rsp)
movl %eax, 0xe8(%rsp)
movq %r13, 0xf0(%rsp)
movl $0x0, 0xf8(%rsp)
movq 0x90(%rsp), %rdi
movq (%rdi), %rax
leaq 0xc0(%rsp), %rsi
callq *0x18(%rax)
movq 0x40(%r14), %rsi
movq %r13, %rdi
callq 0x752942
leaq 0xc0(%rsp), %r14
movq %r14, %rdi
leaq 0x2b0(%rsp), %rsi
movq %rax, %rdx
callq 0x753e1a
leaq 0x350(%rsp), %rcx
xorl %edx, %edx
xorl %esi, %esi
movq 0x10(%r14,%rsi), %rdi
movq %rdi, 0x10(%rcx,%rsi)
movups (%r14,%rsi), %xmm0
movups %xmm0, (%rcx,%rsi)
addq $0x30, %rsi
cmpq $0x90, %rsi
jne 0x78c9ff
leaq 0x1(%rdx), %rsi
addq $0x18, %rcx
addq $0x18, %r14
testq %rdx, %rdx
movq %rsi, %rdx
je 0x78c9fd
leaq (,%r15,8), %r14
movq 0x280(%rsp), %rsi
addq %r14, %rsi
leaq 0x350(%rsp), %rdi
callq 0x753ba9
movl %eax, %r13d
leaq 0xd0(%rsp), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc0(%rsp), %rbp
movq %rbp, %rdi
leaq 0x2db104(%rip), %rsi # 0xa67b7c
leaq 0x2db128(%rip), %rdx # 0xa67ba7
callq 0x334070
movzbl %r13b, %esi
movq 0x248(%rsp), %rdi
movq %rbp, %rdx
callq 0x9a94ca
movl %eax, %r13d
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x78cac0
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl %r13d, %eax
notb %al
movzbl %al, %eax
andl $0x1, %eax
movq 0x30(%rsp), %rcx
addl %eax, %ecx
movq %rcx, 0x30(%rsp)
cmpl $0x65, %ecx
setge %al
orb %r13b, %al
testb $0x1, %al
jne 0x78cebb
movq 0x98(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x10(%rax), %rax
movq %rax, 0xc0(%rsp)
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e00
testb %r13b, %r13b
leaq 0x2858c0(%rip), %rsi # 0xa123da
leaq 0x2858b2(%rip), %rax # 0xa123d3
cmovneq %rax, %rsi
movl $0x6, %edx
movq %rbp, %rdi
callq 0x325e70
movq 0x28(%rsp), %r13
movl $0x9, %edx
movq %rbp, %rdi
leaq 0x2db062(%rip), %rsi # 0xa67ba8
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2d2c76(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq (%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2bee2a(%rip), %rsi # 0xa4b9d5
callq 0x325e70
leaq (,%r12,8), %rdx
movq 0x38(%rsp), %rax
addq (%rax), %rdx
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
callq 0x6b7531
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2c733d(%rip), %rsi # 0xa53f35
callq 0x325e70
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x78cc18
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x78cc34
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
leaq 0x2d2b85(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x10(%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x3, %edx
movq %rbp, %rdi
leaq 0x2bed39(%rip), %rsi # 0xa4b9d5
callq 0x325e70
shlq $0x2, %r15
movq 0x38(%rsp), %rax
addq 0x18(%rax), %r15
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
movq %r15, %rdx
callq 0x6be908
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
leaq 0xc8(%rsp), %rbp
movq %rbp, %rdi
callq 0x325e70
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2c724c(%rip), %rsi # 0xa53f35
callq 0x325e70
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x78cd09
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x78cd25
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
movl $0x1, %edx
movq %rbp, %rdi
leaq 0x2d2a9c(%rip), %rsi # 0xa5f7d0
callq 0x325e70
movq 0x40(%r13), %rax
leaq 0x50(%rsp), %rcx
movq %rcx, 0x40(%rsp)
movq 0x8(%rax), %rsi
movq 0x10(%rax), %rdx
addq %rsi, %rdx
leaq 0x40(%rsp), %rdi
callq 0x334442
movq 0x40(%rsp), %rsi
movq 0x48(%rsp), %rdx
leaq 0xc8(%rsp), %r15
movq %r15, %rdi
callq 0x325e70
movl $0x3, %edx
movq %r15, %rdi
leaq 0x2bec50(%rip), %rsi # 0xa4b9d5
callq 0x325e70
addq 0x280(%rsp), %r14
movq %rsp, %rdi
leaq 0x2b0(%rsp), %rsi
movq %r14, %rdx
callq 0x753bfc
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r15, %rdi
callq 0x325e70
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2c7170(%rip), %rsi # 0xa53f35
callq 0x325e70
movl $0x11, %edx
movq %r15, %rdi
leaq 0x2dadd9(%rip), %rsi # 0xa67bb2
callq 0x325e70
leaq 0xa0(%rsp), %rdi
leaq 0x2b0(%rsp), %rsi
leaq 0x350(%rsp), %rdx
callq 0x753c88
movq 0xa0(%rsp), %rsi
movq 0xa8(%rsp), %rdx
movq %r15, %rdi
callq 0x325e70
movl $0x1, %edx
movq %r15, %rdi
leaq 0x2c7113(%rip), %rsi # 0xa53f35
callq 0x325e70
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x78ce4c
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x78ce67
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x78ce83
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc0(%rsp), %rdi
leaq 0x3163fb(%rip), %rsi # 0xaa328d
leaq 0xc8(%rsp), %rbp
callq 0x9aba2a
movq %rbp, %rdi
movq 0x4cfc7f(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
incq %r12
cmpq 0x240(%rsp), %r12
jne 0x78c85a
jmp 0x78ced7
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %r12
cmpl $0x64, %r12d
movq 0x98(%rsp), %rbx
leaq 0x2e0(%rsp), %r15
jle 0x78cf77
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2dacab(%rip), %rsi # 0xa67bc4
movl $0x9, %edx
movq %r14, %rdi
callq 0x325e70
leal -0x64(%r12), %esi
movq %r14, %rdi
callq 0x325530
leaq 0x2dac94(%rip), %rsi # 0xa67bce
movl $0xb, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x31633f(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4cfbc6(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
testl %r12d, %r12d
je 0x78cff1
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
movq %r14, %rdi
movl %r12d, %esi
callq 0x325530
leaq 0x28fc6f(%rip), %rsi # 0xa1cc19
movl $0x1, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq 0x3257b0
leaq 0x2dac21(%rip), %rsi # 0xa67bef
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x3162ab(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
jmp 0x78d059
movq 0x8(%rbx), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %r14
movq %rax, -0x8(%r14)
movq %r14, %rdi
callq 0x325e00
leaq 0x2dabc6(%rip), %rsi # 0xa67bda
movl $0x4, %edx
movq %r14, %rdi
callq 0x325e70
movq %r14, %rdi
movq 0x88(%rsp), %rsi
callq 0x3257b0
leaq 0x2daba7(%rip), %rsi # 0xa67bdf
movl $0xf, %edx
movq %r14, %rdi
callq 0x325e70
leaq 0x316241(%rip), %rsi # 0xaa328d
leaq 0xc0(%rsp), %rdi
callq 0x9aba2a
movq 0x4cfac8(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
leaq 0x250(%rsp), %rdi
callq 0x6b2588
movq 0x330(%rsp), %rdi
leaq 0x340(%rsp), %rax
cmpq %rax, %rdi
leaq 0x2f8(%rsp), %rbx
je 0x78d0af
movq 0x340(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x310(%rsp), %rdi
leaq 0x320(%rsp), %rax
cmpq %rax, %rdi
je 0x78d0d4
movq 0x320(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x36a7d0
movq %r15, %rdi
callq 0x36a7d0
movq 0x298(%rsp), %rdi
testq %rdi, %rdi
je 0x78d101
movq 0x2a8(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq 0x280(%rsp), %rdi
testq %rdi, %rdi
je 0x78d11e
movq 0x290(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x4c8, %rsp # imm = 0x4C8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x325650
movq %rax, %r15
leaq 0x2c48ab(%rip), %rsi # 0xa519ef
leaq 0x2da98c(%rip), %rcx # 0xa67ad7
movq %rax, %rdi
xorl %edx, %edx
movl $0x11d4, %r8d # imm = 0x11D4
callq 0x99c17e
leaq 0x48df5e(%rip), %rsi # 0xc1b0c0
leaq -0x45b389(%rip), %rdx # 0x331de0
movq %r15, %rdi
callq 0x325940
jmp 0x78d3ef
jmp 0x78d25b
jmp 0x78d3ef
movq %rax, %rbx
movq %r15, %rdi
callq 0x325d40
jmp 0x78d299
jmp 0x78d3ef
movq %rax, %rbx
movq 0x350(%rsp), %rdi
cmpq %r12, %rdi
je 0x78d3f2
movq 0x360(%rsp), %rsi
jmp 0x78d347
jmp 0x78d3ef
jmp 0x78d1bd
movq %rax, %rbx
jmp 0x78d232
jmp 0x78d359
jmp 0x78d3ef
jmp 0x78d3ef
jmp 0x78d3ef
jmp 0x78d1e4
jmp 0x78d3ef
jmp 0x78d1e4
jmp 0x78d3ef
movq %rax, %rbx
leaq 0xc0(%rsp), %rdi
callq 0x36a3d6
jmp 0x78d3f2
jmp 0x78d3ef
jmp 0x78d272
jmp 0x78d3ef
jmp 0x78d359
jmp 0x78d3ef
jmp 0x78d3ef
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x78d232
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x4cf8ef(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
jmp 0x78d35c
jmp 0x78d25b
jmp 0x78d25b
jmp 0x78d272
jmp 0x78d25b
movq %rax, %rbx
movq 0x4cf8c3(%rip), %rsi # 0xc5cb28
movq %r14, %rdi
jmp 0x78d3d9
jmp 0x78d3ef
movq %rax, %rbx
movq 0x4cf8ac(%rip), %rsi # 0xc5cb28
leaq 0xc0(%rsp), %rdi
callq 0x325aa0
leaq 0x130(%rsp), %rdi
jmp 0x78d3e6
movq %rax, %rbx
movq (%r14), %rax
movq %r14, %rdi
callq *0x8(%rax)
jmp 0x78d3f2
jmp 0x78d3ef
jmp 0x78d386
jmp 0x78d307
jmp 0x78d2c0
jmp 0x78d307
jmp 0x78d3ef
jmp 0x78d307
jmp 0x78d2c0
movq %rax, %rbx
jmp 0x78d3c0
jmp 0x78d386
jmp 0x78d307
jmp 0x78d386
jmp 0x78d307
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
leaq 0xb0(%rsp), %rax
cmpq %rax, %rdi
je 0x78d389
movq 0xb0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78d389
movq %rax, %rbx
jmp 0x78d3a4
jmp 0x78d3ef
jmp 0x78d3ef
jmp 0x78d3ef
jmp 0x78d3ef
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
leaq 0xd0(%rsp), %rax
cmpq %rax, %rdi
je 0x78d3f2
movq 0xd0(%rsp), %rsi
incq %rsi
callq 0x3251a0
jmp 0x78d3f2
jmp 0x78d3ef
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x6b222e
movq 0x4cf7bb(%rip), %rsi # 0xc5cb28
leaq 0x350(%rsp), %rdi
callq 0x325aa0
leaq 0x3c0(%rsp), %rdi
jmp 0x78d3e6
jmp 0x78d3ef
movq %rax, %rbx
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x78d3a4
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x3251a0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x78d3c0
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x3251a0
leaq 0xc8(%rsp), %rdi
jmp 0x78d3d2
jmp 0x78d3ef
movq %rax, %rbx
movq %rbp, %rdi
movq 0x4cf74f(%rip), %rsi # 0xc5cb28
callq 0x325aa0
leaq 0x138(%rsp), %rdi
callq 0x325a80
jmp 0x78d3f2
jmp 0x78d3ef
movq %rax, %rbx
leaq 0x250(%rsp), %rdi
callq 0x6b2588
leaq 0x2d8(%rsp), %rdi
callq 0x36a3fe
leaq 0x280(%rsp), %rdi
callq 0x753d2a
movq %rbx, %rdi
callq 0x3259a0
nop
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::InputLess<deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>>::operator()(deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::InTuple<deqp::gls::BuiltinPrecisionTests::InTypes<tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&) const
|
bool operator() (const InTuple<In>& in1, const InTuple<In>& in2) const
{
if (inputLess(in1.a, in2.a))
return true;
if (inputLess(in2.a, in1.a))
return false;
if (inputLess(in1.b, in2.b))
return true;
if (inputLess(in2.b, in1.b))
return false;
if (inputLess(in1.c, in2.c))
return true;
if (inputLess(in2.c, in1.c))
return false;
if (inputLess(in1.d, in2.d))
return true;
return false;
}
|
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %rbx
movq %rsi, %rdi
movq %rdx, %rsi
callq 0x6b683a
movb $0x1, %bpl
testb %al, %al
jne 0x78d7b7
movq %r14, %rdi
movq %rbx, %rsi
callq 0x6b683a
testb %al, %al
jne 0x78d7b5
addq $0x8, %rbx
addq $0x8, %r14
leaq 0xe(%rsp), %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x6bdc5c
testb %al, %al
jne 0x78d7b7
leaq 0xf(%rsp), %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6bdc5c
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::ApplyVar<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::ApplyVar(deqp::gls::BuiltinPrecisionTests::Func<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 2>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<tcu::Vector<float, 3>> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&, deqp::gls::BuiltinPrecisionTests::VariableP<deqp::gls::BuiltinPrecisionTests::Void> const&)
|
ApplyVar (const ApplyFunc& func,
const VariableP<Arg0>& arg0,
const VariableP<Arg1>& arg1,
const VariableP<Arg2>& arg2,
const VariableP<Arg3>& arg3)
: Apply<Sig> (func, arg0, arg1, arg2, arg3) {}
|
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r13
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x30(%rsp), %rdi
movq %rdx, %rsi
callq 0x6b6d72
leaq 0x20(%rsp), %rdi
movq %r13, %rsi
callq 0x6be152
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x6b0cea
movq %rsp, %rdi
movq %r15, %rsi
callq 0x6b0cea
leaq 0x4bcc65(%rip), %rax # 0xc4a538
movq %rax, (%rbx)
movq %r14, 0x8(%rbx)
leaq 0x10(%rbx), %rdi
leaq 0x30(%rsp), %rsi
leaq 0x20(%rsp), %rdx
leaq 0x10(%rsp), %rcx
movq %rsp, %r8
callq 0x78dc62
movq 0x8(%rsp), %rax
testq %rax, %rax
je 0x78d93c
lock
decl 0x8(%rax)
jne 0x78d918
movq $0x0, (%rsp)
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78d93c
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x78d933
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
movq 0x18(%rsp), %rax
testq %rax, %rax
je 0x78d984
lock
decl 0x8(%rax)
jne 0x78d960
movq $0x0, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x18(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78d984
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x78d97b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x18(%rsp)
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x78d9cc
lock
decl 0x8(%rax)
jne 0x78d9a8
movq $0x0, 0x20(%rsp)
movq 0x28(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x28(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78d9cc
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x78d9c3
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x28(%rsp)
movq 0x38(%rsp), %rax
testq %rax, %rax
je 0x78da14
lock
decl 0x8(%rax)
jne 0x78d9f0
movq $0x0, 0x30(%rsp)
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
movq 0x38(%rsp), %rax
lock
decl 0xc(%rax)
jne 0x78da14
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x78da0b
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x38(%rsp)
leaq 0x4bcab5(%rip), %rax # 0xc4a4d0
movq %rax, (%rbx)
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x6b0ff8
jmp 0x78da3c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x6b0ff8
jmp 0x78da4b
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x6be1ea
jmp 0x78da5a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x6b6e0a
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
deqp::gls::BuiltinPrecisionTests::Apply<deqp::gls::BuiltinPrecisionTests::Signature<tcu::Matrix<float, 2, 3>, tcu::Vector<float, 2>, tcu::Vector<float, 3>, deqp::gls::BuiltinPrecisionTests::Void, deqp::gls::BuiltinPrecisionTests::Void>>::doPrintExpr(std::ostream&) const
|
void doPrintExpr (ostream& os) const
{
BaseArgExprs args;
args.push_back(m_args.a.get());
args.push_back(m_args.b.get());
args.push_back(m_args.c.get());
args.push_back(m_args.d.get());
m_func.print(os, args);
}
|
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
movq 0x10(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
callq 0x6b128e
movq 0x20(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x30(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x40(%r14), %rax
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x6b128e
movq 0x8(%r14), %rdi
movq (%rdi), %rax
leaq 0x10(%rsp), %rdx
movq %rbx, %rsi
callq *0x20(%rax)
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x78db42
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
addq $0x28, %rsp
popq %rbx
popq %r14
retq
jmp 0x78db52
jmp 0x78db52
jmp 0x78db52
jmp 0x78db52
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x78db6c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x3251a0
movq %rbx, %rdi
callq 0x3259a0
|
/kaydenl[P]VK-GL-CTS/modules/glshared/glsBuiltinPrecisionTests.cpp
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.