impl: Improve Vpart setter
This commit is contained in:
parent
e858ce0b35
commit
653c82d8f0
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ void TranslatorVisitor::Vpart(size_t bitsize, Vec vec, size_t part, IR::U128 val
|
||||||
V(128, vec, value);
|
V(128, vec, value);
|
||||||
} else {
|
} else {
|
||||||
ASSERT(bitsize == 64);
|
ASSERT(bitsize == 64);
|
||||||
V(128, vec, ir.VectorSetElement(64, V(128, vec), 1, ir.VectorGetElement(64, value, 0)));
|
V(128, vec, ir.VectorInterleaveLower(64, V(128, vec), value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue