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
Odin
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Slang
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
Vyper
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 @store_i32_stride6_vf16(<16 x i32>* %in.vecptr0, <16 x i32>* %in.vecptr1, <16 x i32>* %in.vecptr2, <16 x i32>* %in.vecptr3, <16 x i32>* %in.vecptr4, <16 x i32>* %in.vecptr5, <96 x i32>* %out.vec) nounwind { %in.vec0 = load <16 x i32>, <16 x i32>* %in.vecptr0, align 32 %in.vec1 = load <16 x i32>, <16 x i32>* %in.vecptr1, align 32 %in.vec2 = load <16 x i32>, <16 x i32>* %in.vecptr2, align 32 %in.vec3 = load <16 x i32>, <16 x i32>* %in.vecptr3, align 32 %in.vec4 = load <16 x i32>, <16 x i32>* %in.vecptr4, align 32 %in.vec5 = load <16 x i32>, <16 x i32>* %in.vecptr5, align 32 tail call void asm sideeffect "# LLVM-MCA-BEGIN", "~{dirflag},~{fpsr},~{flags}"() %concat01 = shufflevector <16 x i32> %in.vec0, <16 x i32> %in.vec1, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31> %concat23 = shufflevector <16 x i32> %in.vec2, <16 x i32> %in.vec3, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31> %concat45 = shufflevector <16 x i32> %in.vec4, <16 x i32> %in.vec5, <32 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31> %concat0123 = shufflevector <32 x i32> %concat01, <32 x i32> %concat23, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63> %concat45uu = shufflevector <32 x i32> %concat45, <32 x i32> poison, <64 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef> %concat012345 = shufflevector <64 x i32> %concat0123, <64 x i32> %concat45uu, <96 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17, i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25, i32 26, i32 27, i32 28, i32 29, i32 30, i32 31, i32 32, i32 33, i32 34, i32 35, i32 36, i32 37, i32 38, i32 39, i32 40, i32 41, i32 42, i32 43, i32 44, i32 45, i32 46, i32 47, i32 48, i32 49, i32 50, i32 51, i32 52, i32 53, i32 54, i32 55, i32 56, i32 57, i32 58, i32 59, i32 60, i32 61, i32 62, i32 63, i32 64, i32 65, i32 66, i32 67, i32 68, i32 69, i32 70, i32 71, i32 72, i32 73, i32 74, i32 75, i32 76, i32 77, i32 78, i32 79, i32 80, i32 81, i32 82, i32 83, i32 84, i32 85, i32 86, i32 87, i32 88, i32 89, i32 90, i32 91, i32 92, i32 93, i32 94, i32 95> %interleaved.vec = shufflevector <96 x i32> %concat012345, <96 x i32> poison, <96 x i32> <i32 0, i32 16, i32 32, i32 48, i32 64, i32 80, i32 1, i32 17, i32 33, i32 49, i32 65, i32 81, i32 2, i32 18, i32 34, i32 50, i32 66, i32 82, i32 3, i32 19, i32 35, i32 51, i32 67, i32 83, i32 4, i32 20, i32 36, i32 52, i32 68, i32 84, i32 5, i32 21, i32 37, i32 53, i32 69, i32 85, i32 6, i32 22, i32 38, i32 54, i32 70, i32 86, i32 7, i32 23, i32 39, i32 55, i32 71, i32 87, i32 8, i32 24, i32 40, i32 56, i32 72, i32 88, i32 9, i32 25, i32 41, i32 57, i32 73, i32 89, i32 10, i32 26, i32 42, i32 58, i32 74, i32 90, i32 11, i32 27, i32 43, i32 59, i32 75, i32 91, i32 12, i32 28, i32 44, i32 60, i32 76, i32 92, i32 13, i32 29, i32 45, i32 61, i32 77, i32 93, i32 14, i32 30, i32 46, i32 62, i32 78, i32 94, i32 15, i32 31, i32 47, i32 63, i32 79, i32 95> tail call void asm sideeffect "# LLVM-MCA-END", "~{dirflag},~{fpsr},~{flags}"() store <96 x i32> %interleaved.vec, <96 x i32>* %out.vec, 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
vunpcklps xmm14, xmm1, xmm11 # xmm14 = xmm1[0],xmm11[0],xmm1[1],xmm11[1] vpermilps xmm0, xmm12, 164 # xmm0 = xmm12[0,1,2,2] vpermilps xmm2, xmm9, 229 # xmm2 = xmm9[1,1,2,3] vblendps xmm0, xmm2, xmm0, 10 # xmm0 = xmm2[0],xmm0[1],xmm2[2],xmm0[3] vpermpd ymm0, ymm0, 100 # ymm0 = ymm0[0,1,2,1] vblendps ymm0, ymm0, ymm14, 12 # ymm0 = ymm0[0,1],ymm14[2,3],ymm0[4,5,6,7] vunpckhps xmm15, xmm3, xmm10 # xmm15 = xmm3[2],xmm10[2],xmm3[3],xmm10[3] vinsertf128 ymm2, ymm0, xmm15, 1 vblendps ymm0, ymm0, ymm2, 48 # ymm0 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7] vpermilps xmm0, xmm6, 164 # xmm0 = xmm6[0,1,2,2] vpermilps xmm2, xmm4, 229 # xmm2 = xmm4[1,1,2,3] vblendps xmm0, xmm2, xmm0, 10 # xmm0 = xmm2[0],xmm0[1],xmm2[2],xmm0[3] vunpcklps xmm4, xmm5, xmm7 # xmm4 = xmm5[0],xmm7[0],xmm5[1],xmm7[1] vpermpd ymm0, ymm0, 100 # ymm0 = ymm0[0,1,2,1] vblendps ymm0, ymm0, ymm4, 12 # ymm0 = ymm0[0,1],ymm4[2,3],ymm0[4,5,6,7] vunpckhps xmm13, xmm2, xmm8 # xmm13 = xmm2[2],xmm8[2],xmm2[3],xmm8[3] vinsertf128 ymm8, ymm0, xmm13, 1 vblendps ymm0, ymm0, ymm8, 48 # ymm0 = ymm0[0,1,2,3],ymm8[4,5],ymm0[6,7] vbroadcastss xmm0, xmm0 vbroadcastss xmm6, xmm6 vunpcklps xmm0, xmm6, xmm0 # xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1] vunpcklps xmm3, xmm3, xmm10 # xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1] vpermpd ymm3, ymm3, 100 # ymm3 = ymm3[0,1,2,1] vblendps ymm0, ymm3, ymm0, 12 # ymm0 = ymm3[0,1],ymm0[2,3],ymm3[4,5,6,7] vinsertf128 ymm3, ymm0, xmm14, 1 vblendps ymm0, ymm0, ymm3, 48 # ymm0 = ymm0[0,1,2,3],ymm3[4,5],ymm0[6,7] vunpckhps xmm0, xmm1, xmm11 # xmm0 = xmm1[2],xmm11[2],xmm1[3],xmm11[3] vpermpd ymm0, ymm0, 100 # ymm0 = ymm0[0,1,2,1] vblendps ymm0, ymm0, ymm15, 12 # ymm0 = ymm0[0,1],ymm15[2,3],ymm0[4,5,6,7] vunpckhps xmm1, xmm9, xmm12 # xmm1 = xmm9[2],xmm12[2],xmm9[3],xmm12[3] vpmovzxdq xmm3, xmm3 # xmm3 = mem[0],zero,mem[1],zero vpermilps xmm1, xmm1, 238 # xmm1 = xmm1[2,3,2,3] vinsertf128 ymm1, ymm0, xmm1, 1 vblendps ymm0, ymm0, ymm1, 48 # ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7] vpbroadcastd ymm0, xmm0 vpblendd xmm0, xmm3, xmm0, 8 # xmm0 = xmm3[0,1,2],xmm0[3] vpshufd ymm1, ymm11, 164 # ymm1 = ymm11[0,1,2,2,4,5,6,6] vpshufd ymm3, ymm10, 229 # ymm3 = ymm10[1,1,2,3,5,5,6,7] vpblendd ymm1, ymm3, ymm1, 170 # ymm1 = ymm3[0],ymm1[1],ymm3[2],ymm1[3],ymm3[4],ymm1[5],ymm3[6],ymm1[7] vpermq ymm1, ymm1, 230 # ymm1 = ymm1[2,1,2,3] vpblendd ymm0, ymm1, ymm0, 12 # ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5,6,7] vpunpckhdq ymm1, ymm14, ymm3 # ymm1 = ymm14[2],ymm3[2],ymm14[3],ymm3[3],ymm14[6],ymm3[6],ymm14[7],ymm3[7] vpblendd ymm0, ymm0, ymm1, 48 # ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7] vextracti128 xmm0, ymm1, 1 vpunpckhdq ymm6, ymm15, ymm9 # ymm6 = ymm15[2],ymm9[2],ymm15[3],ymm9[3],ymm15[6],ymm9[6],ymm15[7],ymm9[7] vpermq ymm6, ymm6, 230 # ymm6 = ymm6[2,1,2,3] vpblendd ymm0, ymm6, ymm0, 12 # ymm0 = ymm6[0,1],ymm0[2,3],ymm6[4,5,6,7] vpunpckhdq ymm6, ymm10, ymm11 # ymm6 = ymm10[2],ymm11[2],ymm10[3],ymm11[3],ymm10[6],ymm11[6],ymm10[7],ymm11[7] vpshufd ymm6, ymm6, 238 # ymm6 = ymm6[2,3,2,3,6,7,6,7] vpblendd ymm0, ymm0, ymm6, 48 # ymm0 = ymm0[0,1,2,3],ymm6[4,5],ymm0[6,7] vbroadcastss xmm0, xmm0 vbroadcastss xmm6, xmm6 vunpcklps xmm0, xmm6, xmm0 # xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1] vunpcklps xmm2, xmm2, xmm2 # 16-byte Folded Reload # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1] vpermpd ymm2, ymm2, 100 # ymm2 = ymm2[0,1,2,1] vblendps ymm0, ymm2, ymm0, 12 # ymm0 = ymm2[0,1],ymm0[2,3],ymm2[4,5,6,7] vinsertf128 ymm2, ymm0, xmm4, 1 vblendps ymm0, ymm0, ymm2, 48 # ymm0 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7] vunpckhps xmm0, xmm5, xmm7 # xmm0 = xmm5[2],xmm7[2],xmm5[3],xmm7[3] vpermpd ymm0, ymm0, 100 # ymm0 = ymm0[0,1,2,1] vblendps ymm0, ymm0, ymm13, 12 # ymm0 = ymm0[0,1],ymm13[2,3],ymm0[4,5,6,7] vunpckhps xmm2, xmm1, xmm2 # 16-byte Folded Reload # xmm2 = xmm1[2],mem[2],xmm1[3],mem[3] vpmovzxdq xmm4, xmm4 # xmm4 = mem[0],zero,mem[1],zero vpermilps xmm2, xmm2, 238 # xmm2 = xmm2[2,3,2,3] vinsertf128 ymm2, ymm0, xmm2, 1 vblendps ymm6, ymm0, ymm2, 48 # ymm6 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7] vpbroadcastd ymm2, xmm2 vpblendd xmm2, xmm4, xmm2, 8 # xmm2 = xmm4[0,1,2],xmm2[3] vpshufd ymm7, ymm5, 164 # ymm7 = ymm5[0,1,2,2,4,5,6,6] vpshufd ymm8, ymm4, 229 # ymm8 = ymm4[1,1,2,3,5,5,6,7] vpblendd ymm7, ymm8, ymm7, 170 # ymm7 = ymm8[0],ymm7[1],ymm8[2],ymm7[3],ymm8[4],ymm7[5],ymm8[6],ymm7[7] vpermq ymm7, ymm7, 230 # ymm7 = ymm7[2,1,2,3] vpblendd ymm2, ymm7, ymm2, 12 # ymm2 = ymm7[0,1],ymm2[2,3],ymm7[4,5,6,7] vpunpckhdq ymm13, ymm7, ymm8 # ymm13 = ymm7[2],ymm8[2],ymm7[3],ymm8[3],ymm7[6],ymm8[6],ymm7[7],ymm8[7] vpblendd ymm2, ymm2, ymm13, 48 # ymm2 = ymm2[0,1,2,3],ymm13[4,5],ymm2[6,7] vextracti128 xmm13, ymm13, 1 vpunpckhdq ymm12, ymm1, ymm0 # ymm12 = ymm1[2],ymm0[2],ymm1[3],ymm0[3],ymm1[6],ymm0[6],ymm1[7],ymm0[7] vpermq ymm12, ymm12, 230 # ymm12 = ymm12[2,1,2,3] vpblendd ymm12, ymm12, ymm13, 12 # ymm12 = ymm12[0,1],ymm13[2,3],ymm12[4,5,6,7] vpunpckhdq ymm13, ymm4, ymm5 # ymm13 = ymm4[2],ymm5[2],ymm4[3],ymm5[3],ymm4[6],ymm5[6],ymm4[7],ymm5[7] vpshufd ymm13, ymm13, 238 # ymm13 = ymm13[2,3,2,3,6,7,6,7] vpblendd ymm12, ymm12, ymm13, 48 # ymm12 = ymm12[0,1,2,3],ymm13[4,5],ymm12[6,7] vpunpckldq ymm10, ymm10, ymm11 # ymm10 = ymm10[0],ymm11[0],ymm10[1],ymm11[1],ymm10[4],ymm11[4],ymm10[5],ymm11[5] vpunpckldq ymm3, ymm14, ymm3 # ymm3 = ymm14[0],ymm3[0],ymm14[1],ymm3[1],ymm14[4],ymm3[4],ymm14[5],ymm3[5] vpermq ymm10, ymm10, 170 # ymm10 = ymm10[2,2,2,2] vpermq ymm3, ymm3, 230 # ymm3 = ymm3[2,1,2,3] vpblendd ymm3, ymm3, ymm10, 12 # ymm3 = ymm3[0,1],ymm10[2,3],ymm3[4,5,6,7] vpunpckldq ymm9, ymm15, ymm9 # ymm9 = ymm15[0],ymm9[0],ymm15[1],ymm9[1],ymm15[4],ymm9[4],ymm15[5],ymm9[5] vpblendd ymm3, ymm3, ymm9, 48 # ymm3 = ymm3[0,1,2,3],ymm9[4,5],ymm3[6,7] vpunpckldq ymm4, ymm4, ymm5 # ymm4 = ymm4[0],ymm5[0],ymm4[1],ymm5[1],ymm4[4],ymm5[4],ymm4[5],ymm5[5] vpunpckldq ymm5, ymm7, ymm8 # ymm5 = ymm7[0],ymm8[0],ymm7[1],ymm8[1],ymm7[4],ymm8[4],ymm7[5],ymm8[5] vpermq ymm4, ymm4, 170 # ymm4 = ymm4[2,2,2,2] vpermq ymm5, ymm5, 230 # ymm5 = ymm5[2,1,2,3] vpblendd ymm4, ymm5, ymm4, 12 # ymm4 = ymm5[0,1],ymm4[2,3],ymm5[4,5,6,7] vpunpckldq ymm0, ymm1, ymm0 # ymm0 = ymm1[0],ymm0[0],ymm1[1],ymm0[1],ymm1[4],ymm0[4],ymm1[5],ymm0[5] vpblendd ymm0, ymm4, ymm0, 48 # ymm0 = ymm4[0,1,2,3],ymm0[4,5],ymm4[6,7]
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
CE on Bluesky
About the author
Statistics
Changelog
Version tree