Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Algol68
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C with Coccinelle
C++ with Coccinelle
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#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Mojo
Nim
Numba
Nix
Objective-C
Objective-C++
OCaml
Odin
OpenCL C
Pascal
Pony
PTX
Python
Racket
Raku
Ruby
Rust
Sail
Snowball
Scala
Slang
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
Triton
TypeScript Native
V
Vala
Visual Basic
Vyper
WASM
Zig
Javascript
GIMPLE
Ygen
sway
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.7.0)
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.7.0)
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
Compiler Explorer Shop
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
CE on Bluesky
Statistics
Changelog
Version tree