Mesa (master): mesa: s/movzxw/movzwl/ in read_rgba_span_x86.S

Brian Paul brianp at kemper.freedesktop.org
Mon Jan 24 21:38:20 UTC 2011


Module: Mesa
Branch: master
Commit: 811ee32a9ef177bec46c82692eeac8bc7297753c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=811ee32a9ef177bec46c82692eeac8bc7297753c

Author: Dimitry Andric <dimitry at andric.com>
Date:   Mon Jan 24 14:36:37 2011 -0700

mesa: s/movzxw/movzwl/ in read_rgba_span_x86.S

Fixes http://bugs.freedesktop.org/show_bug.cgi?id=33386
NOTE: This is a candidate for the 7.9 and 7.10 branches

Signed-off-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/x86/read_rgba_span_x86.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/x86/read_rgba_span_x86.S b/src/mesa/x86/read_rgba_span_x86.S
index 3886a51..8177299 100644
--- a/src/mesa/x86/read_rgba_span_x86.S
+++ b/src/mesa/x86/read_rgba_span_x86.S
@@ -648,7 +648,7 @@ _generic_read_RGBA_span_RGB565_MMX:
 	testl	$0x01, %ecx
 	je	.L01
 
-	movzxw	(%eax), %ecx
+	movzwl	(%eax), %ecx
 	movd	%ecx, %mm4
 
 	pshufw	$0x00, %mm4, %mm0




More information about the mesa-commit mailing list