Diff
checker
文本
文本
圖像
文檔
Excel
文件夾
Legal
Enterprise
桌面版
定價
登入
下載 Diffchecker 桌面版
比較文本
尋找兩個文字檔案之間的差異
工具
歷史
即時編輯器
摺疊未變更行
關閉換行
檢視
拆分
統一
比對精度
智能
單詞
字符
語法突出顯示
選擇語法
忽略
文字轉換
前往第一個差異
編輯輸入
Diffchecker Desktop
執行Diffchecker最安全的方式。取得Diffchecker桌面應用程式:您的差異永遠不會離開您的電腦!
取得桌面版
Untitled Diff
建立於
5 年前
差異永不過期
清除
匯出
分享
解釋
17 刪除
行
總計
刪除
字符
總計
刪除
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
84 行
全部複製
18 新增
行
總計
新增
字符
總計
新增
要繼續使用此功能,請升級到
Diff
checker
Pro
查看價格
83 行
全部複製
; Assembly listing for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int
; Assembly listing for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int
; Emitting BLENDED_CODE for generic ARM64 CPU - Unix
; Emitting BLENDED_CODE for generic ARM64 CPU - Unix
; optimized code
; optimized code
; fp based frame
; fp based frame
; fully interruptible
; fully interruptible
; No matching PGO data
; No matching PGO data
; Final local variable assignments
; Final local variable assignments
;
;
; V00 arg0 [V00,T01] ( 5, 7.50) ref -> x0 class-hnd single-def
; V00 arg0 [V00,T01] ( 5, 7.50) ref -> x0 class-hnd single-def
; V01 loc0 [V01,T02] ( 4, 9.50) int -> x1 must-init
; V01 loc0 [V01,T02] ( 4, 9.50) int -> x1 must-init
; V02 loc1 [V02,T00] ( 5, 16.50) int -> x2
; V02 loc1 [V02,T00] ( 5, 16.50) int -> x2
;# V03 OutArgs [V03 ] ( 1, 1 ) lclBlk ( 0) [sp+00H] "OutgoingArgSpace"
;# V03 OutArgs [V03 ] ( 1, 1 ) lclBlk ( 0) [sp+00H] "OutgoingArgSpace"
; V04 cse0 [V04,T04] ( 2, 4.50) int -> x4 "CSE - aggressive"
; V04 cse0 [V04,T04] ( 2, 4.50) int -> x4 "CSE - aggressive"
; V05 cse1 [V05,T03] ( 3, 5 ) int -> x3 "CSE - aggressive"
; V05 cse1 [V05,T03] ( 3, 5 ) int -> x3 "CSE - aggressive"
;
;
; Lcl frame size = 0
; Lcl frame size = 0
G_M61339_IG01: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref, nogc <-- Prolog IG
G_M61339_IG01: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref, nogc <-- Prolog IG
stp fp, lr, [sp,#-16]!
stp fp, lr, [sp,#-16]!
mov fp, sp
mov fp, sp
mov x1, #0
mov x1, #0
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.00
G_M61339_IG02: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz
G_M61339_IG02: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz
; gcrRegs +[x0]
; gcrRegs +[x0]
cbz x0, G_M61339_IG05
cbz x0, G_M61339_IG05
;; bbWeight=1 PerfScore 1.00
;; bbWeight=1 PerfScore 1.00
複製
已複製
複製
已複製
G_M61339_IG03: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz
G_M61339_IG03: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz
, align
movz w1, #0xd1ffab1e
movz w1, #0xd1ffab1e
movk w1, #0xd1ffab1e LSL #16
movk w1, #0xd1ffab1e LSL #16
mov w2, wzr
mov w2, wzr
ldr w3, [x0,#8]
ldr w3, [x0,#8]
cmp w3, #0
cmp w3, #0
ble G_M61339_IG05
ble G_M61339_IG05
movz w4, #0xd1ffab1e
movz w4, #0xd1ffab1e
movk w4, #0xd1ffab1e LSL #16
movk w4, #0xd1ffab1e LSL #16
複製
已複製
複製
已複製
align [
0
bytes]
align [
4
bytes]
align [
0
bytes]
align [
4
bytes]
align [
0
bytes]
align [
4
bytes]
align [
0
bytes]
align [
4
bytes]
;; bbWeight=0.50 PerfScore
3
.50
;; bbWeight=0.50 PerfScore
4
.50
G_M61339_IG04: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, loop=IG04, byref, isz
G_M61339_IG04: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, loop=IG04, byref, isz
複製
已複製
複製
已複製
mov w5, w2
ubfiz
x5,
x2
, #1
, #32
lsl
x5,
x5
, #1
add x5, x5, #12
add x5, x5, #12
ldrh w5, [x0, x5]
ldrh w5, [x0, x5]
eor w1, w5, w1
eor w1, w5, w1
mul w1, w1, w4
mul w1, w1, w4
add w2, w2, #1
add w2, w2, #1
cmp w3, w2
cmp w3, w2
bgt G_M61339_IG04
bgt G_M61339_IG04
複製
已複製
複製
已複製
;; bbWeight=4 PerfScore
38
.00
;; bbWeight=4 PerfScore
36
.00
G_M61339_IG05: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref
G_M61339_IG05: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref
; gcrRegs -[x0]
; gcrRegs -[x0]
mov w0, w1
mov w0, w1
;; bbWeight=1 PerfScore 0.50
;; bbWeight=1 PerfScore 0.50
G_M61339_IG06: ; , epilog, nogc, extend
G_M61339_IG06: ; , epilog, nogc, extend
ldp fp, lr, [sp],#16
ldp fp, lr, [sp],#16
ret lr
ret lr
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.00
複製
已複製
複製
已複製
; Total bytes of code
96
, prolog size 12, PerfScore 56.
60
, instruction count
28
, allocated bytes for code
96
(MethodHash=d7591064) for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int
; Total bytes of code
108
, prolog size 12, PerfScore 56.
80
, instruction count
27
, allocated bytes for code
108
(MethodHash=d7591064) for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int
; ============================================================
; ============================================================
Unwind Info:
Unwind Info:
>> Start offset : 0x000000 (not in unwind data)
>> Start offset : 0x000000 (not in unwind data)
>> End offset : 0xd1ffab1e (not in unwind data)
>> End offset : 0xd1ffab1e (not in unwind data)
Code Words : 1
Code Words : 1
Epilog Count : 1
Epilog Count : 1
E bit : 0
E bit : 0
X bit : 0
X bit : 0
Vers : 0
Vers : 0
複製
已複製
複製
已複製
Function Length :
24
(0x0001
8
) Actual length =
96
(0x00006
0
)
Function Length :
27
(0x0001
b
) Actual length =
108
(0x00006
c
)
---- Epilog scopes ----
---- Epilog scopes ----
---- Scope 0
---- Scope 0
Epilog Start Offset : 3523193630 (0xd1ffab1e) Actual offset = 3523193630 (0xd1ffab1e) Offset from main function begin = 3523193630 (0xd1ffab1e)
Epilog Start Offset : 3523193630 (0xd1ffab1e) Actual offset = 3523193630 (0xd1ffab1e) Offset from main function begin = 3523193630 (0xd1ffab1e)
Epilog Start Index : 1 (0x01)
Epilog Start Index : 1 (0x01)
---- Unwind codes ----
---- Unwind codes ----
E1 set_fp; mov fp, sp
E1 set_fp; mov fp, sp
---- Epilog start at index 1 ----
---- Epilog start at index 1 ----
81 save_fplr_x #1 (0x01); stp fp, lr, [sp, #-16]!
81 save_fplr_x #1 (0x01); stp fp, lr, [sp, #-16]!
E4 end
E4 end
E4 end
E4 end
已保存差異
原始文本
開啟檔案
; Assembly listing for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int ; Emitting BLENDED_CODE for generic ARM64 CPU - Unix ; optimized code ; fp based frame ; fully interruptible ; No matching PGO data ; Final local variable assignments ; ; V00 arg0 [V00,T01] ( 5, 7.50) ref -> x0 class-hnd single-def ; V01 loc0 [V01,T02] ( 4, 9.50) int -> x1 must-init ; V02 loc1 [V02,T00] ( 5, 16.50) int -> x2 ;# V03 OutArgs [V03 ] ( 1, 1 ) lclBlk ( 0) [sp+00H] "OutgoingArgSpace" ; V04 cse0 [V04,T04] ( 2, 4.50) int -> x4 "CSE - aggressive" ; V05 cse1 [V05,T03] ( 3, 5 ) int -> x3 "CSE - aggressive" ; ; Lcl frame size = 0 G_M61339_IG01: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref, nogc <-- Prolog IG stp fp, lr, [sp,#-16]! mov fp, sp mov x1, #0 ;; bbWeight=1 PerfScore 2.00 G_M61339_IG02: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz ; gcrRegs +[x0] cbz x0, G_M61339_IG05 ;; bbWeight=1 PerfScore 1.00 G_M61339_IG03: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz movz w1, #0xd1ffab1e movk w1, #0xd1ffab1e LSL #16 mov w2, wzr ldr w3, [x0,#8] cmp w3, #0 ble G_M61339_IG05 movz w4, #0xd1ffab1e movk w4, #0xd1ffab1e LSL #16 align [0 bytes] align [0 bytes] align [0 bytes] align [0 bytes] ;; bbWeight=0.50 PerfScore 3.50 G_M61339_IG04: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, loop=IG04, byref, isz mov w5, w2 lsl x5, x5, #1 add x5, x5, #12 ldrh w5, [x0, x5] eor w1, w5, w1 mul w1, w1, w4 add w2, w2, #1 cmp w3, w2 bgt G_M61339_IG04 ;; bbWeight=4 PerfScore 38.00 G_M61339_IG05: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref ; gcrRegs -[x0] mov w0, w1 ;; bbWeight=1 PerfScore 0.50 G_M61339_IG06: ; , epilog, nogc, extend ldp fp, lr, [sp],#16 ret lr ;; bbWeight=1 PerfScore 2.00 ; Total bytes of code 96, prolog size 12, PerfScore 56.60, instruction count 28, allocated bytes for code 96 (MethodHash=d7591064) for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int ; ============================================================ Unwind Info: >> Start offset : 0x000000 (not in unwind data) >> End offset : 0xd1ffab1e (not in unwind data) Code Words : 1 Epilog Count : 1 E bit : 0 X bit : 0 Vers : 0 Function Length : 24 (0x00018) Actual length = 96 (0x000060) ---- Epilog scopes ---- ---- Scope 0 Epilog Start Offset : 3523193630 (0xd1ffab1e) Actual offset = 3523193630 (0xd1ffab1e) Offset from main function begin = 3523193630 (0xd1ffab1e) Epilog Start Index : 1 (0x01) ---- Unwind codes ---- E1 set_fp; mov fp, sp ---- Epilog start at index 1 ---- 81 save_fplr_x #1 (0x01); stp fp, lr, [sp, #-16]! E4 end E4 end
更改後文本
開啟檔案
; Assembly listing for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int ; Emitting BLENDED_CODE for generic ARM64 CPU - Unix ; optimized code ; fp based frame ; fully interruptible ; No matching PGO data ; Final local variable assignments ; ; V00 arg0 [V00,T01] ( 5, 7.50) ref -> x0 class-hnd single-def ; V01 loc0 [V01,T02] ( 4, 9.50) int -> x1 must-init ; V02 loc1 [V02,T00] ( 5, 16.50) int -> x2 ;# V03 OutArgs [V03 ] ( 1, 1 ) lclBlk ( 0) [sp+00H] "OutgoingArgSpace" ; V04 cse0 [V04,T04] ( 2, 4.50) int -> x4 "CSE - aggressive" ; V05 cse1 [V05,T03] ( 3, 5 ) int -> x3 "CSE - aggressive" ; ; Lcl frame size = 0 G_M61339_IG01: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref, nogc <-- Prolog IG stp fp, lr, [sp,#-16]! mov fp, sp mov x1, #0 ;; bbWeight=1 PerfScore 2.00 G_M61339_IG02: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz ; gcrRegs +[x0] cbz x0, G_M61339_IG05 ;; bbWeight=1 PerfScore 1.00 G_M61339_IG03: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, byref, isz, align movz w1, #0xd1ffab1e movk w1, #0xd1ffab1e LSL #16 mov w2, wzr ldr w3, [x0,#8] cmp w3, #0 ble G_M61339_IG05 movz w4, #0xd1ffab1e movk w4, #0xd1ffab1e LSL #16 align [4 bytes] align [4 bytes] align [4 bytes] align [4 bytes] ;; bbWeight=0.50 PerfScore 4.50 G_M61339_IG04: ; gcrefRegs=0001 {x0}, byrefRegs=0000 {}, loop=IG04, byref, isz ubfiz x5, x2, #1, #32 add x5, x5, #12 ldrh w5, [x0, x5] eor w1, w5, w1 mul w1, w1, w4 add w2, w2, #1 cmp w3, w2 bgt G_M61339_IG04 ;; bbWeight=4 PerfScore 36.00 G_M61339_IG05: ; gcrefRegs=0000 {}, byrefRegs=0000 {}, byref ; gcrRegs -[x0] mov w0, w1 ;; bbWeight=1 PerfScore 0.50 G_M61339_IG06: ; , epilog, nogc, extend ldp fp, lr, [sp],#16 ret lr ;; bbWeight=1 PerfScore 2.00 ; Total bytes of code 108, prolog size 12, PerfScore 56.80, instruction count 27, allocated bytes for code 108 (MethodHash=d7591064) for method <PrivateImplementationDetails>:ComputeStringHash(System.String):int ; ============================================================ Unwind Info: >> Start offset : 0x000000 (not in unwind data) >> End offset : 0xd1ffab1e (not in unwind data) Code Words : 1 Epilog Count : 1 E bit : 0 X bit : 0 Vers : 0 Function Length : 27 (0x0001b) Actual length = 108 (0x00006c) ---- Epilog scopes ---- ---- Scope 0 Epilog Start Offset : 3523193630 (0xd1ffab1e) Actual offset = 3523193630 (0xd1ffab1e) Offset from main function begin = 3523193630 (0xd1ffab1e) Epilog Start Index : 1 (0x01) ---- Unwind codes ---- E1 set_fp; mov fp, sp ---- Epilog start at index 1 ---- 81 save_fplr_x #1 (0x01); stp fp, lr, [sp, #-16]! E4 end E4 end
尋找差異