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#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
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
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
WASM
Zig
Javascript
GIMPLE
Ygen
llvm 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
clang (assertions trunk)
clang (trunk)
clang 10.0.0
clang 10.0.1
clang 11.0.0
clang 11.0.1
clang 12.0.0
clang 12.0.1
clang 13.0.0
clang 14.0.0
clang 15.0.0
clang 16.0.0
clang 17.0.1
clang 18.1.0
clang 19.1.0
clang 4.0.1
clang 5.0.0
clang 6.0.0
clang 7.0.0
clang 8.0.0
clang 9.0.0
llc (assertions trunk)
llc (trunk)
llc 10.0.0
llc 10.0.1
llc 11.0.0
llc 11.0.1
llc 12.0.0
llc 12.0.1
llc 13.0.0
llc 14.0.0
llc 15.0.0
llc 16.0.0
llc 17.0.1
llc 18.1.0
llc 19.1.0
llc 3.2
llc 3.3
llc 3.9.1
llc 4.0.0
llc 4.0.1
llc 5.0.0
llc 6.0.0
llc 7.0.0
llc 8.0.0
llc 9.0.0
opt (assertions trunk)
opt (trunk)
opt 10.0.0
opt 10.0.1
opt 11.0.0
opt 11.0.1
opt 12.0.0
opt 12.0.1
opt 13.0.0
opt 14.0.0
opt 15.0.0
opt 16.0.0
opt 17.0.1
opt 18.1.0
opt 19.1.0
opt 3.2
opt 3.3
opt 3.9.1
opt 4.0.0
opt 4.0.1
opt 5.0.0
opt 6.0.0
opt 7.0.0
opt 8.0.0
opt 9.0.0
Options
Source code
define void @load_i64_stride4_vf8(<32 x i64>* %in.vec, <8 x i64>* %out.vec0, <8 x i64>* %out.vec1, <8 x i64>* %out.vec2, <8 x i64>* %out.vec3) nounwind { %wide.vec = load <32 x i64>, <32 x i64>* %in.vec, align 32 tail call void asm sideeffect "# LLVM-MCA-BEGIN", "~{dirflag},~{fpsr},~{flags}"() %strided.vec0 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28> %strided.vec1 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29> %strided.vec2 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30> %strided.vec3 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31> tail call void asm sideeffect "# LLVM-MCA-END", "~{dirflag},~{fpsr},~{flags}"() store <8 x i64> %strided.vec0, <8 x i64>* %out.vec0, align 32 store <8 x i64> %strided.vec1, <8 x i64>* %out.vec1, align 32 store <8 x i64> %strided.vec2, <8 x i64>* %out.vec2, align 32 store <8 x i64> %strided.vec3, <8 x i64>* %out.vec3, align 32 ret void }
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.6.1)
llvm-mca (assertions trunk)
llvm-mca (trunk)
Options
Source code
vmovlhps xmm6, xmm3, xmm2 # xmm6 = xmm3[0],xmm2[0] vmovlhps xmm15, xmm5, xmm4 # xmm15 = xmm5[0],xmm4[0] vunpckhpd xmm2, xmm3, xmm2 # xmm2 = xmm3[1],xmm2[1] vmovlhps xmm3, xmm1, xmm14 # xmm3 = xmm1[0],xmm14[0] vunpckhpd xmm2, xmm5, xmm4 # xmm2 = xmm5[1],xmm4[1] vmovlhps xmm5, xmm7, xmm0 # xmm5 = xmm7[0],xmm0[0] vunpckhpd xmm4, xmm1, xmm14 # xmm4 = xmm1[1],xmm14[1] vunpckhpd xmm2, xmm7, xmm0 # xmm2 = xmm7[1],xmm0[1] vunpcklpd ymm6, ymm13, ymm12 # ymm6 = ymm13[0],ymm12[0],ymm13[2],ymm12[2] vunpcklpd ymm7, ymm11, ymm10 # ymm7 = ymm11[0],ymm10[0],ymm11[2],ymm10[2] vperm2f128 ymm6, ymm7, ymm6, 49 # ymm6 = ymm7[2,3],ymm6[2,3] vunpcklpd ymm1, ymm0, ymm7 # ymm1 = ymm0[0],ymm7[0],ymm0[2],ymm7[2] vunpcklpd ymm14, ymm9, ymm8 # ymm14 = ymm9[0],ymm8[0],ymm9[2],ymm8[2] vperm2f128 ymm1, ymm14, ymm1, 49 # ymm1 = ymm14[2,3],ymm1[2,3] vunpckhpd ymm12, ymm13, ymm12 # ymm12 = ymm13[1],ymm12[1],ymm13[3],ymm12[3] vunpckhpd ymm10, ymm11, ymm10 # ymm10 = ymm11[1],ymm10[1],ymm11[3],ymm10[3] vperm2f128 ymm10, ymm10, ymm12, 49 # ymm10 = ymm10[2,3],ymm12[2,3] vunpckhpd ymm0, ymm0, ymm7 # ymm0 = ymm0[1],ymm7[1],ymm0[3],ymm7[3] vunpckhpd ymm7, ymm9, ymm8 # ymm7 = ymm9[1],ymm8[1],ymm9[3],ymm8[3] vperm2f128 ymm0, ymm7, ymm0, 49 # ymm0 = ymm7[2,3],ymm0[2,3]
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