blob: ccd610c7ef41f680d7a7929fcdbcb6d9f571d89f [file]
Iterations: 100
Instructions: 2000
Total Cycles: 675
Total uOps: 2300
Dispatch Width: 4
uOps Per Cycle: 3.41
IPC: 2.96
Block RThroughput: 5.8
Instruction Info:
[1]: #uOps
[2]: Latency
[3]: RThroughput
[4]: MayLoad
[5]: MayStore
[6]: HasSideEffects (U)
[1] [2] [3] [4] [5] [6] Instructions:
1 1 0.33 cmp rsi, 12
1 1 0.50 setae al
1 1 0.33 mov ecx, esi
1 1 0.33 or ecx, edi
1 1 0.33 test cl, 3
1 1 0.50 sete cl
1 1 0.33 and cl, al
1 1 0.33 cmp cl, 1
1 1 1.00 je .LBB5_2
1 0 0.25 xor eax, eax
1 1 1.00 U ret
1 1 0.33 add rsi, -9
1 1 0.33 movabs rcx, -6148914691236517205
1 1 0.33 mov rax, rsi
2 4 1.00 mul rcx
1 1 0.50 shr rdx
1 0 0.25 xor eax, eax
2 6 0.50 * cmp word ptr [rdi], -16192
2 2 0.67 cmove rax, rdi
1 1 1.00 U ret
Resources:
[0] - SBDivider
[1] - SBFPDivider
[2] - SBPort0
[3] - SBPort1
[4] - SBPort4
[5] - SBPort5
[6.0] - SBPort23
[6.1] - SBPort23
Resource pressure per iteration:
[0] [1] [2] [3] [4] [5] [6.0] [6.1]
- - 6.67 6.66 - 6.67 0.50 0.50
Resource pressure by instruction:
[0] [1] [2] [3] [4] [5] [6.0] [6.1] Instructions:
- - 0.33 0.66 - 0.01 - - cmp rsi, 12
- - 1.00 - - - - - setae al
- - 0.66 0.34 - - - - mov ecx, esi
- - - 0.99 - 0.01 - - or ecx, edi
- - - 0.67 - 0.33 - - test cl, 3
- - 0.67 - - 0.33 - - sete cl
- - 0.33 0.34 - 0.33 - - and cl, al
- - 0.33 - - 0.67 - - cmp cl, 1
- - - - - 1.00 - - je .LBB5_2
- - - - - - - - xor eax, eax
- - - - - 1.00 - - ret
- - 0.67 0.33 - - - - add rsi, -9
- - 0.99 0.01 - - - - movabs rcx, -6148914691236517205
- - - 0.99 - 0.01 - - mov rax, rsi
- - 1.00 1.00 - - - - mul rcx
- - 0.01 - - 0.99 - - shr rdx
- - - - - - - - xor eax, eax
- - 0.67 0.33 - - 0.50 0.50 cmp word ptr [rdi], -16192
- - 0.01 1.00 - 0.99 - - cmove rax, rdi
- - - - - 1.00 - - ret