Samples: 25K of event 'cpu-clock', 4999 Hz, Event count (approx.): 5002200240, [percent: local period] instance void [benchapp] Bench::Char4096()[OptimizedTier1]() /tmp/jitted-80468-27463.so 0.25 push rbp 0.22 mov rbp,rsp mov rax,QWORD PTR [rdi+0x18] test rax,rax ↓ je bd lea rcx,[rax+0x10] mov eax,DWORD PTR [rax+0x8] 18: cmp eax,0x1 ↓ jle b8 cmp eax,0x4 ↓ jl 1fd mov rdx,rcx mov edi,eax 0.23 vmovups zmm0,ZMMWORD PTR [rip+0x207] # 2c0 cmp edi,0x40 ↓ jl 73 xchg ax,ax 40: add edi,0xffffffe0 1.66 mov esi,edi 0.14 lea rsi,[rdx+rsi*2] vmovups zmm1,ZMMWORD PTR [rdx] 0.26 vpermw zmm2,zmm0,ZMMWORD PTR [rsi] 15.44 vmovups ZMMWORD PTR [rdx],zmm2 41.50 vpermw zmm1,zmm0,zmm1 0.64 vmovups ZMMWORD PTR [rsi],zmm1 38.02 add rdx,0x40 0.10 add edi,0xffffffe0 cmp edi,0x40 1.10 ↑ jge 40 73: cmp edi,0x20 ↓ jge d3 78: cmp edi,0x10 ↓ jge 116 81: cmp edi,0x8 ↓ jge 153 8a: cmp edi,0x4 ↓ jge 1b3 93: mov edx,eax 0.26 sub edx,edi shr edx,1 cmp edx,eax ↓ ja c6 mov edi,edx lea rcx,[rcx+rdi*2] sub eax,edx mov edi,eax sub edi,edx 0.04 cmp edi,eax ↓ ja c6 mov eax,edi 0.12 cmp eax,0x1 ↓ jg 1e1 b8: vzeroupper pop rbp ← ret bd: xor ecx,ecx xor eax,eax ↑ jmp 18 c6: movabs rax,0x71c2104be6d0 → call QWORD PTR [rax] int3 d3: lea esi,[rdi-0x10] lea rsi,[rdx+rsi*2] vmovups ymm0,YMMWORD PTR [rdx] vmovups ymm1,YMMWORD PTR [rip+0x19a] # 300 vpermw ymm1,ymm1,YMMWORD PTR [rsi] vmovups YMMWORD PTR [rdx],ymm1 vmovups ymm1,YMMWORD PTR [rip+0x188] # 300 vpermw ymm0,ymm1,ymm0 vmovups YMMWORD PTR [rsi],ymm0 add rdx,0x20 add edi,0xfffffff0 add edi,0xfffffff0 cmp edi,0x20 ↑ jge d3 ↑ jmp 78 116: lea esi,[rdi-0x8] lea rsi,[rdx+rsi*2] vmovups xmm0,XMMWORD PTR [rdx] vmovups xmm1,XMMWORD PTR [rsi] vpshufb xmm1,xmm1,XMMWORD PTR [rip+0x172] # 320 vmovups XMMWORD PTR [rdx],xmm1 vpshufb xmm0,xmm0,XMMWORD PTR [rip+0x165] # 320 vmovups XMMWORD PTR [rsi],xmm0 add rdx,0x10 add edi,0xfffffff8 add edi,0xfffffff8 cmp edi,0x10 ↑ jge 116 ↑ jmp 81 153: lea esi,[rdi-0x4] lea rsi,[rdx+rsi*2] mov r8,QWORD PTR [rdx] rorx r9,QWORD PTR [rsi],0x20 mov r10,r9 shr r10,0x10 movabs r11,0xffff0000ffff and r10,r11 and r9,r11 shl r9,0x10 or r9,r10 mov QWORD PTR [rdx],r9 rol r8,0x20 mov r9,r8 shr r9,0x10 and r9,r11 and r8,r11 shl r8,0x10 or r8,r9 mov QWORD PTR [rsi],r8 add rdx,0x8 add edi,0xfffffffc add edi,0xfffffffc cmp edi,0x8 ↑ jge 153 ↑ jmp 8a 1b3: lea esi,[rdi-0x2] lea rsi,[rdx+rsi*2] mov r8d,DWORD PTR [rdx] rorx r9d,DWORD PTR [rsi],0x10 mov DWORD PTR [rdx],r9d rol r8d,0x10 mov DWORD PTR [rsi],r8d add rdx,0x4 add edi,0xfffffffe add edi,0xfffffffe cmp edi,0x4 ↑ jge 1b3 ↑ jmp 93 1e1: movzx edx,WORD PTR [rcx] lea edi,[rax-0x1] movzx edi,WORD PTR [rcx+rdi*2] mov WORD PTR [rcx],di lea edi,[rax-0x1] mov WORD PTR [rcx+rdi*2],dx add rcx,0x2 dec eax dec eax 1fd: cmp eax,0x1 ↑ jg 1e1 ↑ jmp b8