[JIT] Add FIXME on constant Vector F2I (saturation unsupported)

This commit is contained in:
DrChat 2018-03-01 21:15:54 -06:00
parent 6fd75cea91
commit 4766a5ec24
1 changed files with 2 additions and 0 deletions

View File

@ -1088,6 +1088,8 @@ void Value::VectorConvertI2F(Value* other) {
void Value::VectorConvertF2I(Value* other) {
assert_true(type == VEC128_TYPE);
// FIXME(DrChat): This does not saturate!
for (int i = 0; i < 4; i++) {
constant.v128.i32[i] = (int32_t)other->constant.v128.f32[i];
}