vshufps accident broke things, this fixes

This commit is contained in:
chss95cs@gmail.com 2022-07-17 14:44:09 -07:00
parent 3717167bbe
commit 11817f0a3b
1 changed files with 2 additions and 2 deletions

View File

@ -1984,10 +1984,10 @@ struct SWIZZLE
} else {
src1 = i.src1;
}
if (element_type == INT32_TYPE && true) {
if (element_type == INT32_TYPE) {
e.vpshufd(i.dest, src1, swizzle_mask);
} else if (element_type == FLOAT32_TYPE) {
e.vshufps(i.dest, src1, swizzle_mask);
e.vshufps(i.dest, src1, src1, swizzle_mask);
}
} else if (element_type == INT64_TYPE || element_type == FLOAT64_TYPE) {
assert_always();