[JIT] Add FIXME on constant Vector F2I (saturation unsupported)
This commit is contained in:
parent
6fd75cea91
commit
4766a5ec24
|
@ -1088,6 +1088,8 @@ void Value::VectorConvertI2F(Value* other) {
|
||||||
|
|
||||||
void Value::VectorConvertF2I(Value* other) {
|
void Value::VectorConvertF2I(Value* other) {
|
||||||
assert_true(type == VEC128_TYPE);
|
assert_true(type == VEC128_TYPE);
|
||||||
|
|
||||||
|
// FIXME(DrChat): This does not saturate!
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
constant.v128.i32[i] = (int32_t)other->constant.v128.f32[i];
|
constant.v128.i32[i] = (int32_t)other->constant.v128.f32[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue