mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +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
|
mov ecx,[-4+ edx] ; length of compressed data
|
||||||
add ecx, byte 3
|
add ecx, byte 3
|
||||||
and ecx, byte ~3 ; pad to 0 mod 4
|
shr ecx,2 ; count of .long
|
||||||
add edx,ecx ; unmoved top of compressed data
|
|
||||||
; copy compressed data
|
; copy compressed data
|
||||||
lea esi,[-4+ edx] ; unmoved top -4 of compressed data
|
lea esi,[-4+ 4*ecx + edx] ; unmoved top -4 of compressed data
|
||||||
lea edi,[-4+ eax] ; moved top -4 of compressed data
|
lea edi,[-4+ eax] ; moved top -4 of compressed data
|
||||||
shr ecx,2
|
|
||||||
rep
|
rep
|
||||||
movsd
|
movsd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user