Untitled Diff

Created Diff never expires
24 删除
总计
删除
单词
总计
删除
要继续使用此功能,请升级到
Diffchecker logo
Diffchecker Pro
65
14 添加
总计
添加
单词
总计
添加
要继续使用此功能,请升级到
Diffchecker logo
Diffchecker Pro
59
; Method Program:CopyArray(System.Int32[],System.Int32[]):this
; Method Program:CopyArray(System.Int32[],System.Int32[]):this
G_M39385_IG01:
G_M39385_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_M39385_IG02:
G_M39385_IG02:
mov w0, wzr
mov w0, wzr
ldr w3, [x1,#8]
ldr w3, [x1,#8]
cmp w3, #0
cmp w3, #0
ble G_M39385_IG06
ble G_M39385_IG06
cbz x2, G_M39385_IG05
cbz x2, G_M39385_IG05
ldr w4, [x2,#8]
ldr w4, [x2,#8]


cmp w4, w3
cmp w4, w3
blt G_M39385_IG05
blt G_M39385_IG05
;; bbWeight=1 PerfScore 10.50
;; bbWeight=1 PerfScore 10.50


G_M39385_IG03:
G_M39385_IG03:
mov w4, w0
ubfiz x4, x0, #2, #32
lsl x4, x4, #2
add x4, x4, #16
mov x5, #16
add x4, x4, x5
ldr w5, [x1, x4]
ldr w5, [x1, x4]
str w5, [x2, x4]
str w5, [x2, x4]

add w0, w0, #1
mov w5, #1
add w0, w0, w5
cmp w3, w0
cmp w3, w0

bgt G_M39385_IG03
bgt G_M39385_IG03
;; bbWeight=3.96 PerfScore 35.64
;; bbWeight=3.96 PerfScore 29.70


G_M39385_IG04:
G_M39385_IG04:
b G_M39385_IG06
b G_M39385_IG06
;; bbWeight=1 PerfScore 1.00
;; bbWeight=1 PerfScore 1.00


G_M39385_IG05:
G_M39385_IG05:
mov w4, w0
ubfiz x5, x0, #2, #32
lsl x4, x4, #2
add x4, x5, #16
mov x5, #16

add x4, x4, x5
ldr w5, [x1, x4]
ldr w5, [x1, x4]
ldr w6, [x2,#8]
ldr w6, [x2,#8]
cmp w0, w6
cmp w0, w6
bhs G_M39385_IG07
bhs G_M39385_IG07

str w5, [x2, x4]
str w5, [x2, x4]
mov w4, #1
add w0, w0, #1
add w0, w0, w4

cmp w3, w0
cmp w3, w0
bgt G_M39385_IG05
bgt G_M39385_IG05
;; bbWeight=0.04 PerfScore 0.54
;; bbWeight=0.04 PerfScore 0.48


G_M39385_IG06:
G_M39385_IG06:
ldp fp, lr, [sp],#16
ldp fp, lr, [sp],#16
ret lr
ret lr
;; bbWeight=1 PerfScore 2.00
;; bbWeight=1 PerfScore 2.00


G_M39385_IG07:
G_M39385_IG07:
bl CORINFO_HELP_RNGCHKFAIL
bl CORINFO_HELP_RNGCHKFAIL
bkpt
bkpt

;; bbWeight=0 PerfScore 0.00
;; bbWeight=0 PerfScore 0.00
; Total bytes of code: 152
; Total bytes of code: 128