- Make the assembly span drawers compatible with newer NASM's default optimization level.

SVN r3090 (trunk)
This commit is contained in:
Randy Heit 2011-01-05 04:26:04 +00:00
parent 82d0a0a98c
commit 37658cb4f7

View file

@ -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