mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- Make the assembly span drawers compatible with newer NASM's default optimization level.
SVN r3090 (trunk)
This commit is contained in:
parent
82d0a0a98c
commit
37658cb4f7
1 changed files with 4 additions and 4 deletions
|
@ -342,13 +342,13 @@ dsy3: shr ebp,26
|
||||||
mov edx,[ds_ystep]
|
mov edx,[ds_ystep]
|
||||||
mov ecx,[ds_xfrac]
|
mov ecx,[ds_xfrac]
|
||||||
dsy4: shr ecx,26
|
dsy4: shr ecx,26
|
||||||
dsm8: and edx,0xffffffc0
|
dsm8: and edx,strict dword 0xffffffc0
|
||||||
or ebp,edx
|
or ebp,edx
|
||||||
mov [esp+4],ebp
|
mov [esp+4],ebp
|
||||||
mov ebp,[ds_yfrac]
|
mov ebp,[ds_yfrac]
|
||||||
mov edx,[ds_xfrac]
|
mov edx,[ds_xfrac]
|
||||||
dsy2: shl edx,6
|
dsy2: shl edx,6
|
||||||
dsm9: and ebp,0xffffffc0
|
dsm9: and ebp,strict dword 0xffffffc0
|
||||||
or ecx,ebp
|
or ecx,ebp
|
||||||
shr esi,1
|
shr esi,1
|
||||||
jnc dseven1
|
jnc dseven1
|
||||||
|
@ -485,13 +485,13 @@ dmsy3: shr ebp,26
|
||||||
mov edx,[ds_ystep]
|
mov edx,[ds_ystep]
|
||||||
mov ecx,[ds_xfrac]
|
mov ecx,[ds_xfrac]
|
||||||
dmsy4: shr ecx,26
|
dmsy4: shr ecx,26
|
||||||
dmsm8: and edx,0xffffffc0
|
dmsm8: and edx,strict dword 0xffffffc0
|
||||||
or ebp,edx
|
or ebp,edx
|
||||||
mov [esp+4],ebp
|
mov [esp+4],ebp
|
||||||
mov ebp,[ds_yfrac]
|
mov ebp,[ds_yfrac]
|
||||||
mov edx,[ds_xfrac]
|
mov edx,[ds_xfrac]
|
||||||
dmsy2: shl edx,6
|
dmsy2: shl edx,6
|
||||||
dmsm9: and ebp,0xffffffc0
|
dmsm9: and ebp,strict dword 0xffffffc0
|
||||||
or ecx,ebp
|
or ecx,ebp
|
||||||
shr esi,1
|
shr esi,1
|
||||||
jnc dmseven1
|
jnc dmseven1
|
||||||
|
|
Loading…
Reference in a new issue