|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
.text
|
|
|
|
|
.file "/tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp"
|
|
|
|
|
.file "/tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp"
|
|
|
|
|
.section .debug_info,"",@progbits
|
|
|
|
|
.Lsection_info:
|
|
|
|
|
.section .debug_abbrev,"",@progbits
|
|
|
|
@ -20,8 +20,8 @@
|
|
|
|
|
.type maxArray(double*, double*),@function
|
|
|
|
|
maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
.Lfunc_begin0:
|
|
|
|
|
.file 1 "/tmp/gcc-explorer-compiler1151011-11958-1r6gk9o" "example.cpp"
|
|
|
|
|
.loc 1 1 0 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:1:0
|
|
|
|
|
.file 1 "/tmp/compiler-explorer-compiler1151011-11958-1r6gk9o" "example.cpp"
|
|
|
|
|
.loc 1 1 0 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:1:0
|
|
|
|
|
.cfi_startproc
|
|
|
|
|
# BB#0:
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
@ -34,7 +34,7 @@ maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
|
#DEBUG_VALUE: maxArray:y <- RSI
|
|
|
|
|
#DEBUG_VALUE: i <- 0
|
|
|
|
|
.loc 1 3 13 prologue_end # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13
|
|
|
|
|
.loc 1 3 13 prologue_end # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13
|
|
|
|
|
movsd xmm0, qword ptr [rsi + 8*rax]
|
|
|
|
|
ucomisd xmm0, qword ptr [rdi + 8*rax]
|
|
|
|
|
jbe .LBB0_3
|
|
|
|
@ -42,7 +42,7 @@ maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
|
#DEBUG_VALUE: maxArray:y <- RSI
|
|
|
|
|
#DEBUG_VALUE: i <- 0
|
|
|
|
|
.loc 1 3 26 discriminator 1 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26
|
|
|
|
|
.loc 1 3 26 discriminator 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26
|
|
|
|
|
.Ltmp1:
|
|
|
|
|
movsd qword ptr [rdi + 8*rax], xmm0
|
|
|
|
|
.Ltmp2:
|
|
|
|
@ -50,10 +50,10 @@ maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
|
#DEBUG_VALUE: maxArray:y <- RSI
|
|
|
|
|
#DEBUG_VALUE: i <- 0
|
|
|
|
|
.loc 1 2 10 discriminator 2 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10
|
|
|
|
|
.loc 1 2 10 discriminator 2 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10
|
|
|
|
|
lea rcx, qword ptr [rax + 1]
|
|
|
|
|
.Ltmp3:
|
|
|
|
|
.loc 1 3 13 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13
|
|
|
|
|
.loc 1 3 13 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:13
|
|
|
|
|
movsd xmm0, qword ptr [rsi + 8*rax + 8]
|
|
|
|
|
ucomisd xmm0, qword ptr [rdi + 8*rax + 8]
|
|
|
|
|
jbe .LBB0_5
|
|
|
|
@ -61,7 +61,7 @@ maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
|
#DEBUG_VALUE: maxArray:y <- RSI
|
|
|
|
|
#DEBUG_VALUE: i <- 0
|
|
|
|
|
.loc 1 3 26 discriminator 1 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26
|
|
|
|
|
.loc 1 3 26 discriminator 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:3:26
|
|
|
|
|
.Ltmp4:
|
|
|
|
|
movsd qword ptr [rdi + 8*rax + 8], xmm0
|
|
|
|
|
.Ltmp5:
|
|
|
|
@ -69,14 +69,14 @@ maxArray(double*, double*): # @maxArray(double*, double*)
|
|
|
|
|
#DEBUG_VALUE: maxArray:x <- RDI
|
|
|
|
|
#DEBUG_VALUE: maxArray:y <- RSI
|
|
|
|
|
#DEBUG_VALUE: i <- 0
|
|
|
|
|
.loc 1 2 10 discriminator 2 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10
|
|
|
|
|
.loc 1 2 10 discriminator 2 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:2:10
|
|
|
|
|
inc rcx
|
|
|
|
|
cmp rcx, 65536
|
|
|
|
|
mov rax, rcx
|
|
|
|
|
jne .LBB0_1
|
|
|
|
|
.Ltmp6:
|
|
|
|
|
# BB#6:
|
|
|
|
|
.loc 1 5 1 # /tmp/gcc-explorer-compiler1151011-11958-1r6gk9o/example.cpp:5:1
|
|
|
|
|
.loc 1 5 1 # /tmp/compiler-explorer-compiler1151011-11958-1r6gk9o/example.cpp:5:1
|
|
|
|
|
ret
|
|
|
|
|
.Ltmp7:
|
|
|
|
|
.Ltmp8:
|
|
|
|
|