Untitled Diff

建立於 差異永不過期
4 刪除
64 行
2 新增
62 行
; Method Miscompile.Program:Foo2()
; Method Miscompile.Program:Foo2()
G_M14217_IG01:
G_M14217_IG01:
push rbp
push rbp
sub rsp, 48
sub rsp, 48
lea rbp, [rsp+30H]
lea rbp, [rsp+30H]
mov qword ptr [rbp-10H], rsp
mov qword ptr [rbp-10H], rsp
;; bbWeight=1 PerfScore 2.75
;; bbWeight=1 PerfScore 2.75


G_M14217_IG02:
G_M14217_IG02:
xor ecx, ecx
xor ecx, ecx
xor eax, eax
xor eax, eax
mov dword ptr [rbp-04H], eax
mov dword ptr [rbp-04H], eax
align [11 bytes]
align [11 bytes]
;; bbWeight=1 PerfScore 1.75
;; bbWeight=1 PerfScore 1.75


G_M14217_IG03:
G_M14217_IG03:
xor eax, eax
mov dword ptr [rbp-04H], eax
test ecx, ecx
test ecx, ecx
jne SHORT G_M14217_IG04
jne SHORT G_M14217_IG04
mov ecx, dword ptr [rbp-04H]
mov ecx, dword ptr [rbp-04H]
add ecx, 100
add ecx, 100
mov dword ptr [rbp-04H], ecx
mov dword ptr [rbp-04H], ecx
mov ecx, 1
mov ecx, 1
jmp SHORT G_M14217_IG03
jmp SHORT G_M14217_IG03
;; bbWeight=8 PerfScore 56.00
;; bbWeight=8 PerfScore 46.00


G_M14217_IG04:
G_M14217_IG04:
mov rcx, rsp
mov rcx, rsp
call G_M14217_IG07
call G_M14217_IG07
;; bbWeight=1 PerfScore 1.25
;; bbWeight=1 PerfScore 1.25


G_M14217_IG05:
G_M14217_IG05:
nop
nop
;; bbWeight=1 PerfScore 0.25
;; bbWeight=1 PerfScore 0.25


G_M14217_IG06:
G_M14217_IG06:
lea rsp, [rbp]
lea rsp, [rbp]
pop rbp
pop rbp
ret
ret
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.00


G_M14217_IG07:
G_M14217_IG07:
push rbp
push rbp
sub rsp, 48
sub rsp, 48
mov rbp, qword ptr [rcx+32]
mov rbp, qword ptr [rcx+32]
mov qword ptr [rsp+20H], rbp
mov qword ptr [rsp+20H], rbp
lea rbp, [rbp+30H]
lea rbp, [rbp+30H]
;; bbWeight=1 PerfScore 4.75
;; bbWeight=1 PerfScore 4.75


G_M14217_IG08:
G_M14217_IG08:
mov ecx, dword ptr [rbp-04H]
mov ecx, dword ptr [rbp-04H]
call System.Console:WriteLine(int)
call System.Console:WriteLine(int)
nop
nop
;; bbWeight=1 PerfScore 2.25
;; bbWeight=1 PerfScore 2.25


G_M14217_IG09:
G_M14217_IG09:
add rsp, 48
add rsp, 48
pop rbp
pop rbp
ret
ret
;; bbWeight=1 PerfScore 1.75
;; bbWeight=1 PerfScore 1.75
; Total bytes of code: 105
; Total bytes of code: 100