Samples: 25K of event 'cpu-clock', 4999 Hz, Event count (approx.): 5004200640, [percent: local period] void [System.Private.CoreLib] System.SpanHelpers::Reverse(int64&,native uint)[OptimizedTier1]() /tmp/jitted-80598-27233.so 1.36 push rbp 1.31 mov rbp,rsp mov rax,rsi xor ecx,ecx cmp rax,0x10 ↓ jl 65 add rsi,0xfffffffffffffff8 vmovups zmm0,ZMMWORD PTR [rip+0x123] # 1c0 nop 20: vmovups zmm1,ZMMWORD PTR [rdi+rcx*8] 21.22 vpermq zmm2,zmm0,ZMMWORD PTR [rdi+rsi*8] 2.34 vmovups ZMMWORD PTR [rdi+rcx*8],zmm2 61.78 vpermq zmm1,zmm0,zmm1 8.10 vmovups ZMMWORD PTR [rdi+rsi*8],zmm1 1.28 add rcx,0x8 1.27 add rsi,0xfffffffffffffff8 cmp rsi,rcx ↑ jge 20 lea rax,[rsi+0x8] sub rax,rcx 1.34 56: cmp rax,0x1 ↓ jg dc 60: vzeroupper pop rbp ← ret 65: cmp rax,0x8 ↓ jl 9d lea rax,[rsi-0x4] 6f: vpermq ymm0,YMMWORD PTR [rdi+rcx*8],0x1b vpermq ymm1,YMMWORD PTR [rdi+rax*8],0x1b vmovups YMMWORD PTR [rdi+rcx*8],ymm1 vmovups YMMWORD PTR [rdi+rax*8],ymm0 add rcx,0x4 add rax,0xfffffffffffffffc cmp rax,rcx ↑ jge 6f add rax,0x4 sub rax,rcx ↑ jmp 56 9d: cmp rax,0x4 ↑ jl 56 lea rax,[rsi-0x2] a7: vmovups xmm0,XMMWORD PTR [rdi+rcx*8] vpermilpd xmm1,XMMWORD PTR [rdi+rax*8],0x1 vmovups XMMWORD PTR [rdi+rcx*8],xmm1 vpermilpd xmm0,xmm0,0x1 vmovups XMMWORD PTR [rdi+rax*8],xmm0 add rcx,0x2 add rax,0xfffffffffffffffe cmp rax,rcx ↑ jge a7 add rax,0x2 sub rax,rcx ↑ jmp 56 dc: lea rcx,[rdi+rcx*8] lea rax,[rcx+rax*8-0x8] e5: mov rdx,QWORD PTR [rcx] mov rdi,QWORD PTR [rax] mov QWORD PTR [rcx],rdi mov QWORD PTR [rax],rdx add rcx,0x8 add rax,0xfffffffffffffff8 cmp rcx,rax ↑ jb e5 ↑ jmp 60 Samples: 25K of event 'cpu-clock', 4999 Hz, Event count (approx.): 5004200640, [percent: local period] instance void [benchapp] Bench::Long64()[OptimizedTier1]() /tmp/jitted-80598-27228.so 53.69 push rbp 46.31 mov rbp,rsp mov rsi,QWORD PTR [rdi+0x10] test rsi,rsi ↓ je 2a lea rdi,[rsi+0x10] mov esi,DWORD PTR [rsi+0x8] 14: cmp esi,0x1 ↓ jle 27 mov esi,esi movabs rax,0x703892d67e58 → call QWORD PTR [rax] 27: nop pop rbp ← ret 2a: xor edi,edi xor esi,esi ↑ jmp 14