Untitled Diff

Created Diff never expires
15 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
65 lines
30 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
81 lines
; 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
ble G_M12635_IG08
ble G_M12635_IG10
;; 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:
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_IG12
bne G_M12635_IG10
add w3, w3, #1
add w3, w3, #1
cmp w2, w3
cmp w2, w3
bgt G_M12635_IG07
bgt G_M12635_IG07
;; bbWeight=3.96 PerfScore 41.58
;; bbWeight=3.96 PerfScore 39.60


G_M12635_IG08:
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
mov w0, #1
;; bbWeight=0.50 PerfScore 0.25
;; bbWeight=0.50 PerfScore 0.25


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


G_M12635_IG10:
G_M12635_IG12:
mov w0, #0
mov w0, #0
;; bbWeight=0.50 PerfScore 0.25
;; bbWeight=0.50 PerfScore 0.25


G_M12635_IG11:
G_M12635_IG13:
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
; Total bytes of code: 116
; Total bytes of code: 156