diff src/hermes/mmxp2_32.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 15b4a74cdac1
line wrap: on
line diff
--- a/src/hermes/mmxp2_32.asm	Thu Jun 21 18:50:00 2007 +0000
+++ b/src/hermes/mmxp2_32.asm	Wed Jun 27 10:17:35 2007 +0000
@@ -28,8 +28,6 @@
 SDL_FUNC _ConvertMMXpII32_16RGB555
 SDL_FUNC _ConvertMMXpII32_16BGR555
 
-EXTERN _mmxreturn
- 
 ;; Macros for conversion routines
 
 %macro _push_immq_mask 1
@@ -121,7 +119,7 @@
         dec ecx
         jnz .L3
 .L4:
-        jmp _mmxreturn
+        return
 
 
 
@@ -190,7 +188,7 @@
         jnz .L3
 
 .L4:
-	jmp _mmxreturn
+	retn
 
 	
 _ConvertMMXpII32_16BGR565:
@@ -260,7 +258,7 @@
         jnz .L3
 
 .L4:
-        jmp _mmxreturn
+        retn
 
 _ConvertMMXpII32_16BGR555:
 
@@ -400,7 +398,7 @@
 	jnz .L3	
 
 .L4:		
-	jmp _mmxreturn
+	retn
 
 %ifidn __OUTPUT_FORMAT__,elf
 section .note.GNU-stack noalloc noexec nowrite progbits