From 37658cb4f7c9072942e5008292b44683fb7f17cc Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 5 Jan 2011 04:26:04 +0000 Subject: [PATCH] - Make the assembly span drawers compatible with newer NASM's default optimization level. SVN r3090 (trunk) --- src/asm_ia32/tmap.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/asm_ia32/tmap.asm b/src/asm_ia32/tmap.asm index a32b1492e..00e633354 100644 --- a/src/asm_ia32/tmap.asm +++ b/src/asm_ia32/tmap.asm @@ -342,13 +342,13 @@ dsy3: shr ebp,26 mov edx,[ds_ystep] mov ecx,[ds_xfrac] dsy4: shr ecx,26 -dsm8: and edx,0xffffffc0 +dsm8: and edx,strict dword 0xffffffc0 or ebp,edx mov [esp+4],ebp mov ebp,[ds_yfrac] mov edx,[ds_xfrac] dsy2: shl edx,6 -dsm9: and ebp,0xffffffc0 +dsm9: and ebp,strict dword 0xffffffc0 or ecx,ebp shr esi,1 jnc dseven1 @@ -485,13 +485,13 @@ dmsy3: shr ebp,26 mov edx,[ds_ystep] mov ecx,[ds_xfrac] dmsy4: shr ecx,26 -dmsm8: and edx,0xffffffc0 +dmsm8: and edx,strict dword 0xffffffc0 or ebp,edx mov [esp+4],ebp mov ebp,[ds_yfrac] mov edx,[ds_xfrac] dmsy2: shl edx,6 -dmsm9: and ebp,0xffffffc0 +dmsm9: and ebp,strict dword 0xffffffc0 or ecx,ebp shr esi,1 jnc dmseven1