Re: [AD] mmxtest rewrite.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Henrik Stokseth wrote:

[snip]
Bob, can you put in some #ifdef ALLEGRO_SSEs in your optimized assembler blitting code now?


Here it is.


--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/
--- iblit8.s	2001/10/04 06:04:09	1.9
+++ iblit8.s	2001/10/21 22:50:01
@@ -521,7 +521,7 @@
    movw %ds, %bx 
    cld 
 
-#ifdef ALLEGRO_MMX  /* Use MMX if the compiler supports it */
+#ifdef ALLEGRO_SSE  /* Use SSE if the compiler supports it */
       
    movl GLOBL(cpu_sse), %ecx     /* if SSE is enabled (or not disabled :) */
    orl %ecx, %ecx

--- iblit16.s	2001/10/04 06:04:09	1.9
+++ iblit16.s	2001/10/21 22:50:03
@@ -561,7 +561,7 @@
    movl %eax, V_MASK
 
    
-#ifdef ALLEGRO_MMX  /* Use MMX if the compiler supports it */
+#ifdef ALLEGRO_SSE  /* Use SSE if the compiler supports it */
       
    movl GLOBL(cpu_sse), %ecx     /* if SSE is enabled (or not disabled :) */
    orl %ecx, %ecx

--- iblit32.s	2001/10/04 06:04:09	1.7
+++ iblit32.s	2001/10/21 22:50:04
@@ -205,7 +205,7 @@
    movw %ds, %bx 
    cld 
 
-#ifdef ALLEGRO_MMX  /* Use MMX if the compiler supports it */
+#ifdef ALLEGRO_SSE  /* Use SSE if the compiler supports it */
       
    movl GLOBL(cpu_sse), %ecx      /* if SSE is enabled (or not disabled :) */
    orl %ecx, %ecx


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/