From: Luca Barbieri Date: Thu, 19 Aug 2010 08:03:03 +0000 (+0200) Subject: translate_sse: fix emit_load_sse2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18f207310b3c7dd7207d56e86a80b2e1d23c5364;p=mesa.git translate_sse: fix emit_load_sse2 --- diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c index 48e59590bc2..06b8f32fe6b 100644 --- a/src/gallium/auxiliary/translate/translate_sse.c +++ b/src/gallium/auxiliary/translate/translate_sse.c @@ -190,11 +190,13 @@ static boolean emit_load_sse2( struct translate_sse *p, case 2: x86_movzx16(p->func, tmp, src); sse2_movd(p->func, data, tmp); + break; case 3: x86_movzx8(p->func, tmp, x86_make_disp(src, 2)); x86_shl_imm(p->func, tmp, 16); x86_mov16(p->func, tmp, src); sse2_movd(p->func, data, tmp); + break; case 4: sse2_movd(p->func, data, src); break;