blob: 355aec66e1fdfb79726ec8bc7063e721446f4053 [file] [log] [blame] [raw]
{
"asm": [
{
"labels": [],
"source": null,
"text": ".text"
},
{
"labels": [],
"source": null,
"text": " .file \"/tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp\""
},
{
"labels": [],
"source": null,
"text": " .section .debug_info,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Lsection_info:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_abbrev,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Lsection_abbrev:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_line,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Lsection_line:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_pubnames,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": " .section .debug_pubtypes,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": " .section .debug_str,\"MS\",@progbits,1"
},
{
"labels": [],
"source": null,
"text": ".Linfo_string:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_loc,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Lsection_debug_loc:"
},
{
"labels": [],
"source": null,
"text": " .section .debug_ranges,\"\",@progbits"
},
{
"labels": [],
"source": null,
"text": ".Ldebug_range:"
},
{
"labels": [],
"source": null,
"text": " .text"
},
{
"labels": [
{
"name": "_Z8maxArrayPdS_",
"range": {
"endCol": 32,
"startCol": 17
}
}
],
"source": null,
"text": " .globl _Z8maxArrayPdS_"
},
{
"labels": [],
"source": null,
"text": " .align 16, 0x90"
},
{
"labels": [
{
"name": "_Z8maxArrayPdS_",
"range": {
"endCol": 32,
"startCol": 17
}
}
],
"source": null,
"text": " .type _Z8maxArrayPdS_,@function"
},
{
"labels": [],
"source": null,
"text": "_Z8maxArrayPdS_: # @_Z8maxArrayPdS_"
},
{
"labels": [],
"source": null,
"text": ".Lfunc_begin0:"
},
{
"labels": [],
"source": null,
"text": " .file 1 \"/tmp/compiler-explorer-compiler1151011-11958-1r6gk9o\" \"example.cpp\""
},
{
"labels": [],
"source": null,
"text": " .loc 1 1 0 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:1:0"
},
{
"labels": [],
"source": null,
"text": " .cfi_startproc"
},
{
"labels": [],
"source": null,
"text": "# BB#0:"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": {
"file": null,
"line": 1
},
"text": " xor eax, eax"
},
{
"labels": [],
"source": null,
"text": ".Ltmp0:"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .align 16, 0x90"
},
{
"labels": [],
"source": null,
"text": ".LBB0_1: # =>This Inner Loop Header: Depth=1"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 13 prologue_end # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13"
},
{
"labels": [],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " movsd xmm0, qword ptr [rsi + 8*rax]"
},
{
"labels": [],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " ucomisd xmm0, qword ptr [rdi + 8*rax]"
},
{
"labels": [
{
"name": ".LBB0_3",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " jbe .LBB0_3"
},
{
"labels": [],
"source": null,
"text": "# BB#2: # in Loop: Header=BB0_1 Depth=1"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 26 discriminator 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26"
},
{
"labels": [],
"source": null,
"text": ".Ltmp1:"
},
{
"labels": [],
"source": {
"column": 26,
"file": null,
"line": 3
},
"text": " movsd qword ptr [rdi + 8*rax], xmm0"
},
{
"labels": [],
"source": null,
"text": ".Ltmp2:"
},
{
"labels": [],
"source": null,
"text": ".LBB0_3: # in Loop: Header=BB0_1 Depth=1"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .loc 1 2 10 discriminator 2 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10"
},
{
"labels": [],
"source": {
"column": 10,
"file": null,
"line": 2
},
"text": " lea rcx, qword ptr [rax + 1]"
},
{
"labels": [],
"source": null,
"text": ".Ltmp3:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 13 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13"
},
{
"labels": [],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " movsd xmm0, qword ptr [rsi + 8*rax + 8]"
},
{
"labels": [],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " ucomisd xmm0, qword ptr [rdi + 8*rax + 8]"
},
{
"labels": [
{
"name": ".LBB0_5",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": {
"column": 13,
"file": null,
"line": 3
},
"text": " jbe .LBB0_5"
},
{
"labels": [],
"source": null,
"text": "# BB#4: # in Loop: Header=BB0_1 Depth=1"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .loc 1 3 26 discriminator 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26"
},
{
"labels": [],
"source": null,
"text": ".Ltmp4:"
},
{
"labels": [],
"source": {
"column": 26,
"file": null,
"line": 3
},
"text": " movsd qword ptr [rdi + 8*rax + 8], xmm0"
},
{
"labels": [],
"source": null,
"text": ".Ltmp5:"
},
{
"labels": [],
"source": null,
"text": ".LBB0_5: # in Loop: Header=BB0_1 Depth=1"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:x <- RDI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: maxArray:y <- RSI"
},
{
"labels": [],
"source": null,
"text": " #DEBUG_VALUE: i <- 0"
},
{
"labels": [],
"source": null,
"text": " .loc 1 2 10 discriminator 2 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10"
},
{
"labels": [],
"source": {
"column": 10,
"file": null,
"line": 2
},
"text": " inc rcx"
},
{
"labels": [],
"source": {
"column": 10,
"file": null,
"line": 2
},
"text": " cmp rcx, 65536"
},
{
"labels": [],
"source": {
"column": 10,
"file": null,
"line": 2
},
"text": " mov rax, rcx"
},
{
"labels": [
{
"name": ".LBB0_1",
"range": {
"endCol": 24,
"startCol": 17
}
}
],
"source": {
"column": 10,
"file": null,
"line": 2
},
"text": " jne .LBB0_1"
},
{
"labels": [],
"source": null,
"text": ".Ltmp6:"
},
{
"labels": [],
"source": null,
"text": "# BB#6:"
},
{
"labels": [],
"source": null,
"text": " .loc 1 5 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:5:1"
},
{
"labels": [],
"source": {
"column": 1,
"file": null,
"line": 5
},
"text": " ret"
},
{
"labels": [],
"source": null,
"text": ".Ltmp7:"
},
{
"labels": [],
"source": null,
"text": ".Ltmp8:"
},
{
"labels": [
{
"name": ".Ltmp8",
"range": {
"endCol": 51,
"startCol": 45
}
}
],
"source": null,
"text": " .size maxArray(double*, double*), .Ltmp8-maxArray(double*, double*)"
},
{
"labels": [],
"source": null,
"text": ".Lfunc_end0:"
},
{
"labels": [],
"source": null,
"text": " .cfi_endproc"
}
],
"labelDefinitions": {
".LBB0_1": 33,
".LBB0_3": 49,
".LBB0_5": 68,
".Ltmp8": 82,
"_Z8maxArrayPdS_": 21
}
}