blob: 785d5214c4f63fac034571bd1b64ffa2d3d0c2de [file] [log] [blame] [raw]
[
{
"text": "_Z12testFunctionPii:",
"source": null
},
{
"text": " pushq %rbp",
"source": {
"file": null,
"line": 1
}
},
{
"text": " movq %rsp, %rbp",
"source": {
"file": null,
"line": 1
}
},
{
"text": " movq %rdi, -24(%rbp)",
"source": {
"file": null,
"line": 1
}
},
{
"text": " movl %esi, -28(%rbp)",
"source": {
"file": null,
"line": 1
}
},
{
"text": " movl $0, -8(%rbp)",
"source": {
"file": null,
"line": 2
}
},
{
"text": " movl $0, -4(%rbp)",
"source": {
"file": null,
"line": 3
}
},
{
"text": ".L3:",
"source": null
},
{
"text": " movl -4(%rbp), %eax",
"source": {
"file": null,
"line": 3
}
},
{
"text": " cmpl -28(%rbp), %eax",
"source": {
"file": null,
"line": 3
}
},
{
"text": " jge .L2",
"source": {
"file": null,
"line": 3
}
},
{
"text": " movl -4(%rbp), %eax",
"source": {
"file": null,
"line": 4
}
},
{
"text": " cltq",
"source": {
"file": null,
"line": 4
}
},
{
"text": " leaq 0(,%rax,4), %rdx",
"source": {
"file": null,
"line": 4
}
},
{
"text": " movq -24(%rbp), %rax",
"source": {
"file": null,
"line": 4
}
},
{
"text": " addq %rdx, %rax",
"source": {
"file": null,
"line": 4
}
},
{
"text": " movl (%rax), %eax",
"source": {
"file": null,
"line": 4
}
},
{
"text": " addl %eax, -8(%rbp)",
"source": {
"file": null,
"line": 4
}
},
{
"text": " addl $1, -4(%rbp)",
"source": {
"file": null,
"line": 3
}
},
{
"text": " jmp .L3",
"source": {
"file": null,
"line": 3
}
},
{
"text": ".L2:",
"source": null
},
{
"text": " movl -8(%rbp), %eax",
"source": {
"file": null,
"line": 6
}
},
{
"text": " popq %rbp",
"source": {
"file": null,
"line": 7
}
},
{
"text": " ret",
"source": {
"file": null,
"line": 7
}
}
]