Untitled Diff

作成日 差分は期限切れになりません
33 削除
43 行
354 追加
361 行
; Method Program:Format(System.Span`1[Byte],int):bool
; Method Program:Format(System.Span`1[Byte],int):bool
G_M58631_IG01:
G_M58631_IG01:
push rdi
push rsi
push rbp
push rbx
sub rsp, 88
sub rsp, 88
vxorps xmm4, xmm4
vxorps xmm4, xmm4
vmovdqa xmmword ptr [rsp+30H], xmm4
vmovdqa xmmword ptr [rsp+30H], xmm4
vmovdqa xmmword ptr [rsp+40H], xmm4
vmovdqa xmmword ptr [rsp+40H], xmm4
xor eax, eax
xor eax, eax
mov qword ptr [rsp+50H], rax
mov qword ptr [rsp+50H], rax
mov rsi, rcx
mov edi, edx
;; bbWeight=1 PerfScore 3.83
;; bbWeight=1 PerfScore 8.33


G_M58631_IG02:
G_M58631_IG02:
mov word ptr [rsp+48H], 0
lea rcx, bword ptr [rsp+48H]
mov edx, 68
mov r8d, 2
call System.Buffers.StandardFormat:.ctor(ushort,ubyte):this
mov r8, bword ptr [rcx]
mov rbx, bword ptr [rsi]
mov ecx, dword ptr [rcx+8]
mov esi, dword ptr [rsi+8]
movzx rax, byte ptr [rsp+48H]
movzx rdx, byte ptr [rsp+49H]
movsxd rdx, edx
movsxd rdi, edi
mov byte ptr [rsp+40H], al
mov byte ptr [rsp+41H], dl
cmp byte ptr [rsp+40H], 0
jmp SHORT G_M58631_IG04
jne G_M58631_IG20
;; bbWeight=1 PerfScore 6.25
;; bbWeight=1 PerfScore 13.25


G_M58631_IG03:
G_M58631_IG03:
add rsp, 88
cmp byte ptr [rsp+41H], 0
sete al
movzx rax, al
test eax, eax
je G_M58631_IG20
cmp rdi, 10
jae SHORT G_M58631_IG06
ret
test esi, esi
jne SHORT G_M58631_IG04
xor eax, eax
mov dword ptr [rsp+50H], eax
jmp SHORT G_M58631_IG05
;; bbWeight=1 PerfScore 1.25
;; bbWeight=0.50 PerfScore 4.62


G_M58631_IG04:
G_M58631_IG04:
xor r9d, r9d
add edi, 48
test rdx, rdx
mov byte ptr [rbx], dil
jge SHORT G_M58631_IG05
mov dword ptr [rsp+50H], 1
mov r9d, 1
mov eax, 1
;; bbWeight=0.50 PerfScore 1.25

G_M58631_IG05:
neg rdx
jmp G_M58631_IG19
;; bbWeight=0.50 PerfScore 1.00
;; bbWeight=0.50 PerfScore 1.00


G_M58631_IG05:
G_M58631_IG06:
test rdi, rdi
jge G_M58631_IG18
neg rdi
mov ebp, 1
cmp rdi, 0xD1FFAB1E
jb SHORT G_M58631_IG08
mov rax, 0xD1FFAB1E
cmp rdi, rax
jb SHORT G_M58631_IG07
mov rdx, 0xD1FFAB1E
mov rax, rdi
mul rdx:rax, rdx
shr rdx, 42
mov ecx, edx
mov ebp, 15
jmp SHORT G_M58631_IG09
;; bbWeight=0.50 PerfScore 5.50

G_M58631_IG07:
mov rdx, 0xD1FFAB1E
mov rax, rdi
mul rdx:rax, rdx
shr rdx, 23
mov ecx, edx
mov ebp, 8
jmp SHORT G_M58631_IG09
;; bbWeight=0.50 PerfScore 3.25

G_M58631_IG08:
mov ecx, edi
;; bbWeight=0.50 PerfScore 0.12

G_M58631_IG09:
cmp ecx, 10
jb SHORT G_M58631_IG16
cmp ecx, 100
jae SHORT G_M58631_IG10
inc ebp
jmp SHORT G_M58631_IG16
;; bbWeight=0.50 PerfScore 2.38