mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- Remove Valgrind macros from the (Win64-only) asm_x86_64/tmap3.asm
SVN r1161 (trunk)
This commit is contained in:
parent
942c8f5e87
commit
765ccd0100
1 changed files with 11 additions and 13 deletions
|
@ -1,9 +1,10 @@
|
|||
%ifnidn __OUTPUT_FORMAT__,win64
|
||||
%error tmap3.asm is for Win64 output. You should use tmap.s for other systems.
|
||||
%endif
|
||||
|
||||
%ifnidn __OUTPUT_FORMAT__,win64
|
||||
%error tmap3.asm is for Win64 output. You should use tmap.s for other systems.
|
||||
%endif
|
||||
|
||||
BITS 64
|
||||
DEFAULT REL
|
||||
DEFAULT REL
|
||||
|
||||
EXTERN vplce
|
||||
EXTERN vince
|
||||
EXTERN palookupoffse
|
||||
|
@ -20,8 +21,7 @@ ASM_PatchPitch:
|
|||
mov ecx, [dc_pitch]
|
||||
mov [pm+3], ecx
|
||||
mov [vltpitch+3], ecx
|
||||
selfmod pm, vltpitch+6
|
||||
ret
|
||||
ret
|
||||
align 16
|
||||
|
||||
GLOBAL setupvlinetallasm
|
||||
|
@ -30,8 +30,7 @@ setupvlinetallasm:
|
|||
mov [shifter2+2], cl
|
||||
mov [shifter3+2], cl
|
||||
mov [shifter4+2], cl
|
||||
selfmod shifter1, shifter4+3
|
||||
ret
|
||||
ret
|
||||
align 16
|
||||
|
||||
; Yasm can't do progbits alloc exec for win64?
|
||||
|
@ -97,7 +96,6 @@ pm: imul rcx, 320
|
|||
mov r9d, [vplce+4]
|
||||
mov r10d, [vplce+8]
|
||||
mov r11d, [vplce+12]
|
||||
selfmod loopit, vltepilog
|
||||
jmp loopit
|
||||
|
||||
ALIGN 16
|
||||
|
@ -145,8 +143,8 @@ vltepilog:
|
|||
pop r15
|
||||
pop rdi
|
||||
pop rbx
|
||||
ret
|
||||
ret
|
||||
vlinetallasm4_end:
|
||||
ENDPROC_FRAME
|
||||
ENDPROC_FRAME
|
||||
ALIGN 16
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue