Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled Diff
Created
5 years ago
Diff never expires
Clear
Export
Share
Explain
15 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
65 lines
Copy
30 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
81 lines
Copy
; Method Program:Test(System.Byte[],System.Byte[]):bool
; Method Program:Test(System.Byte[],System.Byte[]):bool
G_M12635_IG01:
G_M12635_IG01:
stp fp, lr, [sp,#-16]!
stp fp, lr, [sp,#-16]!
mov fp, sp
mov fp, sp
;; bbWeight=1 PerfScore 1.50
;; bbWeight=1 PerfScore 1.50
G_M12635_IG02:
G_M12635_IG02:
cbz x0, G_M12635_IG04
cbz x0, G_M12635_IG04
;; bbWeight=1 PerfScore 1.00
;; bbWeight=1 PerfScore 1.00
G_M12635_IG03:
G_M12635_IG03:
cbz x1, G_M12635_IG04
cbz x1, G_M12635_IG04
ldr w2, [x0,#8]
ldr w2, [x0,#8]
ldr w3, [x1,#8]
ldr w3, [x1,#8]
cmp w2, w3
cmp w2, w3
ble G_M12635_IG06
ble G_M12635_IG06
;; bbWeight=0.50 PerfScore 4.25
;; bbWeight=0.50 PerfScore 4.25
G_M12635_IG04:
G_M12635_IG04:
mov w0, #0
mov w0, #0
;; bbWeight=0.50 PerfScore 0.25
;; bbWeight=0.50 PerfScore 0.25
G_M12635_IG05:
G_M12635_IG05:
ldp fp, lr, [sp],#16
ldp fp, lr, [sp],#16
ret lr
ret lr
;; bbWeight=0.50 PerfScore 1.00
;; bbWeight=0.50 PerfScore 1.00
G_M12635_IG06:
G_M12635_IG06:
mov w3, wzr
mov w3, wzr
cmp w2, #0
cmp w2, #0
Copy
Copied
Copy
Copied
ble G_M12635_IG
08
ble G_M12635_IG
10
;; bbWeight=0.50 PerfScore 1.
00
add x4, x0, #16
add x1, x1, #16
;; bbWeight=0.50 PerfScore 1.
50
G_M12635_IG07:
G_M12635_IG07:
Copy
Copied
Copy
Copied
mov
w4
, w3
mov
w0
, w3
add x4, x4, #16
ldrb w5, [
x4, x0
]
ldrb w5, [
x0, x4
]
ldrb
w0
, [x1,
x0
]
ldrb
w4
, [x1,
x4
]
cmp w5,
w0
cmp w5,
w4
bne G_M12635_IG1
2
bne G_M12635_IG1
0
add w3, w3, #1
add w3, w3, #1
cmp w2, w3
cmp w2, w3
bgt G_M12635_IG07
bgt G_M12635_IG07
Copy
Copied
Copy
Copied
;; bbWeight=3.96 PerfScore
41.58
;; bbWeight=3.96 PerfScore
39.60
G_M12635_IG08:
G_M12635_IG08:
Copy
Copied
Copy
Copied
b G_M12635_IG10
;; bbWeight=0.50 PerfScore 0.50
G_M12635_IG09:
mov w0, w3
ldrb w0, [x4, x0]
mov w2, w3
ldrb w2, [x1, x2]
cmp w0, w2
bne G_M12635_IG12
add w3, w3, #1
b G_M12635_IG09
;; bbWeight=0.04 PerfScore 0.40
G_M12635_IG10:
mov w0, #1
mov w0, #1
;; bbWeight=0.50 PerfScore 0.25
;; bbWeight=0.50 PerfScore 0.25
Copy
Copied
Copy
Copied
G_M12635_
IG09
:
G_M12635_
IG11
:
ldp fp, lr, [sp],#16
ldp fp, lr, [sp],#16
ret lr
ret lr
;; bbWeight=0.50 PerfScore 1.00
;; bbWeight=0.50 PerfScore 1.00
Copy
Copied
Copy
Copied
G_M12635_IG1
0
:
G_M12635_IG1
2
:
mov w0, #0
mov w0, #0
;; bbWeight=0.50 PerfScore 0.25
;; bbWeight=0.50 PerfScore 0.25
Copy
Copied
Copy
Copied
G_M12635_IG1
1
:
G_M12635_IG1
3
:
ldp fp, lr, [sp],#16
ldp fp, lr, [sp],#16
ret lr
ret lr
;; bbWeight=0.50 PerfScore 1.00
;; bbWeight=0.50 PerfScore 1.00
Copy
Copied
Copy
Copied
; Total bytes of code: 1
1
6
; Total bytes of code: 1
5
6
Saved diffs
Original text
Open file
; Method Program:Test(System.Byte[],System.Byte[]):bool G_M12635_IG01: stp fp, lr, [sp,#-16]! mov fp, sp ;; bbWeight=1 PerfScore 1.50 G_M12635_IG02: cbz x0, G_M12635_IG04 ;; bbWeight=1 PerfScore 1.00 G_M12635_IG03: cbz x1, G_M12635_IG04 ldr w2, [x0,#8] ldr w3, [x1,#8] cmp w2, w3 ble G_M12635_IG06 ;; bbWeight=0.50 PerfScore 4.25 G_M12635_IG04: mov w0, #0 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG05: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 G_M12635_IG06: mov w3, wzr cmp w2, #0 ble G_M12635_IG08 ;; bbWeight=0.50 PerfScore 1.00 G_M12635_IG07: mov w4, w3 add x4, x4, #16 ldrb w5, [x0, x4] ldrb w4, [x1, x4] cmp w5, w4 bne G_M12635_IG10 add w3, w3, #1 cmp w2, w3 bgt G_M12635_IG07 ;; bbWeight=3.96 PerfScore 41.58 G_M12635_IG08: mov w0, #1 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG09: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 G_M12635_IG10: mov w0, #0 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG11: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 ; Total bytes of code: 116
Changed text
Open file
; Method Program:Test(System.Byte[],System.Byte[]):bool G_M12635_IG01: stp fp, lr, [sp,#-16]! mov fp, sp ;; bbWeight=1 PerfScore 1.50 G_M12635_IG02: cbz x0, G_M12635_IG04 ;; bbWeight=1 PerfScore 1.00 G_M12635_IG03: cbz x1, G_M12635_IG04 ldr w2, [x0,#8] ldr w3, [x1,#8] cmp w2, w3 ble G_M12635_IG06 ;; bbWeight=0.50 PerfScore 4.25 G_M12635_IG04: mov w0, #0 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG05: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 G_M12635_IG06: mov w3, wzr cmp w2, #0 ble G_M12635_IG10 add x4, x0, #16 add x1, x1, #16 ;; bbWeight=0.50 PerfScore 1.50 G_M12635_IG07: mov w0, w3 ldrb w5, [x4, x0] ldrb w0, [x1, x0] cmp w5, w0 bne G_M12635_IG12 add w3, w3, #1 cmp w2, w3 bgt G_M12635_IG07 ;; bbWeight=3.96 PerfScore 39.60 G_M12635_IG08: b G_M12635_IG10 ;; bbWeight=0.50 PerfScore 0.50 G_M12635_IG09: mov w0, w3 ldrb w0, [x4, x0] mov w2, w3 ldrb w2, [x1, x2] cmp w0, w2 bne G_M12635_IG12 add w3, w3, #1 b G_M12635_IG09 ;; bbWeight=0.04 PerfScore 0.40 G_M12635_IG10: mov w0, #1 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG11: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 G_M12635_IG12: mov w0, #0 ;; bbWeight=0.50 PerfScore 0.25 G_M12635_IG13: ldp fp, lr, [sp],#16 ret lr ;; bbWeight=0.50 PerfScore 1.00 ; Total bytes of code: 156
Find difference