Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
Go
Haskell
HLSL
Hook
Hylo
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Nim
Objective-C
Objective-C++
OCaml
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Solidity
Spice
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
Zig
Javascript
GIMPLE
analysis source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
OSACA (0.5.2)
llvm-mca (assertions trunk)
llvm-mca (trunk)
Options
Source code
sumafew_double(double, double, double, double, double): subq $8, %rsp vaddsd %xmm1, %xmm0, %xmm1 vmovq .LC0(%rip), %xmm5 vmovsd .LC1(%rip), %xmm6 vandpd %xmm5, %xmm1, %xmm0 vcomisd %xmm6, %xmm0 ja .L4 vaddsd %xmm2, %xmm1, %xmm0 vandpd %xmm5, %xmm0, %xmm1 vcomisd %xmm6, %xmm1 ja .L4 vaddsd %xmm3, %xmm0, %xmm0 vandpd %xmm5, %xmm0, %xmm1 vcomisd %xmm6, %xmm1 ja .L4 vaddsd %xmm4, %xmm0, %xmm0 vandpd %xmm5, %xmm0, %xmm5 vcomisd %xmm6, %xmm5 ja .L4 addq $8, %rsp ret sumafew_double(double, double, double, double, double) [clone .cold]: .L4: call overflowerror() .LC0: .long -1 .long 2147483647 .long 0 .long 0 .LC1: .long -1 .long 2146435071
analysis source #2
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
OSACA (0.5.2)
llvm-mca (assertions trunk)
llvm-mca (trunk)
Options
Source code
.LCPI0_0: .quad 9223372036854775807 # double NaN .quad 9223372036854775807 # double NaN .LCPI0_1: .quad 9218868437227405312 # double +Inf sumafew_double(double, double, double, double, double): # @sumafew_double(double, double, double, double, double) pushq %rax vaddsd %xmm1, %xmm0, %xmm0 vandpd .LCPI0_0(%rip), %xmm0, %xmm1 vucomisd .LCPI0_1(%rip), %xmm1 jae .LBB0_5 vaddsd %xmm2, %xmm0, %xmm0 vandpd .LCPI0_0(%rip), %xmm0, %xmm1 vucomisd .LCPI0_1(%rip), %xmm1 jae .LBB0_5 vaddsd %xmm3, %xmm0, %xmm0 vandpd .LCPI0_0(%rip), %xmm0, %xmm1 vucomisd .LCPI0_1(%rip), %xmm1 jae .LBB0_5 vaddsd %xmm4, %xmm0, %xmm0 vandpd .LCPI0_0(%rip), %xmm0, %xmm1 vucomisd .LCPI0_1(%rip), %xmm1 jae .LBB0_5 popq %rax retq .LBB0_5: callq overflowerror()
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
About the author
Statistics
Changelog
Version tree