Whoops (again)

This commit is contained in:
Dr. Chat 2015-05-02 01:37:04 -05:00
parent 7844dfa034
commit 850e80396f
1 changed files with 2 additions and 2 deletions

View File

@ -5579,12 +5579,12 @@ EMITTER(PERMUTE_I32, MATCH(I<OPCODE_PERMUTE, V128<>, I32<>, V128<>, V128<>>)) {
if (i.dest != src3) { if (i.dest != src3) {
e.vpshufd(i.dest, src2, src_control); e.vpshufd(i.dest, src2, src_control);
e.vpshufd(e.xmm0, src3, src_control); e.vpshufd(e.xmm0, src3, src_control);
//e.vpblendd(i.dest, e.xmm0, blend_control); // $0 = $1 <blend> $2 e.vpblendd(i.dest, e.xmm0, blend_control); // $0 = $1 <blend> $2
} else { } else {
e.vmovaps(e.xmm0, src3); e.vmovaps(e.xmm0, src3);
e.vpshufd(i.dest, src2, src_control); e.vpshufd(i.dest, src2, src_control);
e.vpshufd(e.xmm0, e.xmm0, src_control); e.vpshufd(e.xmm0, e.xmm0, src_control);
//e.vpblendd(i.dest, e.xmm0, blend_control); e.vpblendd(i.dest, e.xmm0, blend_control);
} }
} else { } else {
// Permute by non-constant. // Permute by non-constant.