- Remove Valgrind macros from the (Win64-only) asm_x86_64/tmap3.asm

SVN r1161 (trunk)
This commit is contained in:
Randy Heit 2008-08-12 03:20:50 +00:00
parent 942c8f5e87
commit 765ccd0100

View file

@ -1,9 +1,10 @@
%ifnidn __OUTPUT_FORMAT__,win64 %ifnidn __OUTPUT_FORMAT__,win64
%error tmap3.asm is for Win64 output. You should use tmap.s for other systems. %error tmap3.asm is for Win64 output. You should use tmap.s for other systems.
%endif %endif
BITS 64 BITS 64
DEFAULT REL DEFAULT REL
EXTERN vplce EXTERN vplce
EXTERN vince EXTERN vince
EXTERN palookupoffse EXTERN palookupoffse
@ -20,8 +21,7 @@ ASM_PatchPitch:
mov ecx, [dc_pitch] mov ecx, [dc_pitch]
mov [pm+3], ecx mov [pm+3], ecx
mov [vltpitch+3], ecx mov [vltpitch+3], ecx
selfmod pm, vltpitch+6 ret
ret
align 16 align 16
GLOBAL setupvlinetallasm GLOBAL setupvlinetallasm
@ -30,8 +30,7 @@ setupvlinetallasm:
mov [shifter2+2], cl mov [shifter2+2], cl
mov [shifter3+2], cl mov [shifter3+2], cl
mov [shifter4+2], cl mov [shifter4+2], cl
selfmod shifter1, shifter4+3 ret
ret
align 16 align 16
; Yasm can't do progbits alloc exec for win64? ; Yasm can't do progbits alloc exec for win64?
@ -97,7 +96,6 @@ pm: imul rcx, 320
mov r9d, [vplce+4] mov r9d, [vplce+4]
mov r10d, [vplce+8] mov r10d, [vplce+8]
mov r11d, [vplce+12] mov r11d, [vplce+12]
selfmod loopit, vltepilog
jmp loopit jmp loopit
ALIGN 16 ALIGN 16
@ -145,8 +143,8 @@ vltepilog:
pop r15 pop r15
pop rdi pop rdi
pop rbx pop rbx
ret ret
vlinetallasm4_end: vlinetallasm4_end:
ENDPROC_FRAME ENDPROC_FRAME
ALIGN 16 ALIGN 16