fix mmx code (bug 12614)
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 21:38:27 +0000 (14:38 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 21:44:01 +0000 (14:44 -0700)
src/mesa/x86/read_rgba_span_x86.S

index 3cbcd719960e13b7d8739e9cdb8a2404677411fa..8509df60049e962f9ba4f2164c7501a4835a1d59 100644 (file)
@@ -587,17 +587,17 @@ _generic_read_RGBA_span_RGB565_MMX:
        movq    prescale, %mm6
        movq    scale, %mm7
  */
-       pushl   MASK_565_H
-       pushl   MASK_565_L
+       pushl   $MASK_565_H
+       pushl   $MASK_565_L
        movq    (%esp), %mm5
-       pushl   PRESCALE_H
-       pushl   PRESCALE_L
+       pushl   $PRESCALE_H
+       pushl   $PRESCALE_L
        movq    (%esp), %mm6
-       pushl   SCALE_H
-       pushl   SCALE_L
+       pushl   $SCALE_H
+       pushl   $SCALE_L
        movq    (%esp), %mm7
-       pushl   ALPHA_H
-       pushl   ALPHA_L
+       pushl   $ALPHA_H
+       pushl   $ALPHA_L
        movq    (%esp), %mm3
        addl    $32,%esp