summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-19 10:03:03 +0200
committerLuca Barbieri <[email protected]>2010-08-19 10:04:07 +0200
commit18f207310b3c7dd7207d56e86a80b2e1d23c5364 (patch)
tree9614da2577de5361c153e2f7ffdf7fd7699b3561 /src/gallium/auxiliary/translate
parent11726c4e867c78c4b7aca2ea04d1dfa19ae622fb (diff)
translate_sse: fix emit_load_sse2
Diffstat (limited to 'src/gallium/auxiliary/translate')
-rw-r--r--src/gallium/auxiliary/translate/translate_sse.c2
1 files changed, 2 insertions, 0 deletions
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;