comparison src/hermes/mmx_main.asm @ 3983:540466e900db SDL-1.2

Removed textrels from hermes code. Partially fixes Bugzilla #418.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 27 Jun 2007 10:12:49 +0000
parents eb4d9d99849b
children
comparison
equal deleted inserted replaced
3982:0a0f8cccc77c 3983:540466e900db
10 BITS 32 10 BITS 32
11 11
12 %include "common.inc" 12 %include "common.inc"
13 13
14 SDL_FUNC _ConvertMMX 14 SDL_FUNC _ConvertMMX
15 SDL_FUNC _mmxreturn
16 15
17 SECTION .text 16 SECTION .text
18 17
19 ;; _ConvertMMX: 18 ;; _ConvertMMX:
20 ;; [ESP+8] ConverterInfo* 19 ;; [ESP+8] ConverterInfo*
49 mov edi,[ebp+16] 48 mov edi,[ebp+16]
50 49
51 y_loop: 50 y_loop:
52 mov ecx,[ebp+4] 51 mov ecx,[ebp+4]
53 52
54 jmp [ebp+32] 53 call [ebp+32]
55 54
56 _mmxreturn:
57 add esi,[ebp+12] 55 add esi,[ebp+12]
58 add edi,[ebp+28] 56 add edi,[ebp+28]
59 57
60 dec dword [ebp+8] 58 dec dword [ebp+8]
61 jnz y_loop 59 jnz y_loop