Mercurial > sdl-ios-xcode
comparison src/hermes/mmx_main.asm @ 2134:180fa05e98e2
Merged r3106:3107 from branches/SDL-1.2: Hermes PIC fixes.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 27 Jun 2007 10:17:35 +0000 |
parents | eb4d9d99849b |
children |
comparison
equal
deleted
inserted
replaced
2133:03715e20ec3c | 2134:180fa05e98e2 |
---|---|
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 |