mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
save 4 bytes
committer: jreiser <jreiser> 1089733580 +0000
This commit is contained in:
parent
435c0a9e82
commit
2980a6b4bb
|
@ -111,12 +111,10 @@ move_up:
|
|||
|
||||
mov ecx,[-4+ edx] ; length of compressed data
|
||||
add ecx, byte 3
|
||||
and ecx, byte ~3 ; pad to 0 mod 4
|
||||
add edx,ecx ; unmoved top of compressed data
|
||||
shr ecx,2 ; count of .long
|
||||
; copy compressed data
|
||||
lea esi,[-4+ edx] ; unmoved top -4 of compressed data
|
||||
lea edi,[-4+ eax] ; moved top -4 of compressed data
|
||||
shr ecx,2
|
||||
lea esi,[-4+ 4*ecx + edx] ; unmoved top -4 of compressed data
|
||||
lea edi,[-4+ eax] ; moved top -4 of compressed data
|
||||
rep
|
||||
movsd
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user