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
add edi, dword ptr [rsi + 4*rcx] mov dword ptr [rsi + 4*rcx], edi add edi, dword ptr [rsi + 4*rcx + 4] mov dword ptr [rsi + 4*rcx + 4], edi add edi, dword ptr [rsi + 4*rcx + 8] mov dword ptr [rsi + 4*rcx + 8], edi add edi, dword ptr [rsi + 4*rcx + 12] mov dword ptr [rsi + 4*rcx + 12], edi add rcx, 4
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
vpbroadcastd xmm4, dword ptr [rsi + 4*rdi] vpbroadcastd xmm5, dword ptr [rsi + 4*rdi + 4] vmovdqu xmm3, xmmword ptr [rsi + 4*rdi] vpshufd xmm0, xmm0, 255 # xmm0 = xmm0[3,3,3,3] vpblendd xmm4, xmm4, xmm1, 1 # xmm4 = xmm1[0],xmm4[1,2,3] vpaddd xmm0, xmm3, xmm0 vpblendd xmm5, xmm1, xmm5, 12 # xmm5 = xmm1[0,1],xmm5[2,3] vpshufb xmm6, xmm3, xmm2 vpaddd xmm5, xmm5, xmm6 vpaddd xmm0, xmm0, xmm4 vpaddd xmm0, xmm0, xmm5 vmovdqu xmmword ptr [rsi + 4*rdi], xmm0 add rdi, 4
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