Add V128 to wasmer runtime. Unimplemented in clif-backend. Other backends don't build.

This commit is contained in:
Nick Lewycky
2019-07-02 14:55:10 -07:00
parent 0a1bdd449e
commit df5c12cbe1
6 changed files with 23 additions and 6 deletions

View File

@ -551,6 +551,7 @@ fn call_func_with_index(
Value::I64(i) => *i as u64,
Value::F32(f) => f.to_bits() as u64,
Value::F64(f) => f.to_bits(),
Value::V128(_) => unimplemented!(),
})
.collect();
@ -595,6 +596,7 @@ fn call_func_with_index(
Type::I64 => Value::I64(raw as i64),
Type::F32 => Value::F32(f32::from_bits(raw as u32)),
Type::F64 => Value::F64(f64::from_bits(raw)),
Type::V128 => unimplemented!(),
};
match signature.returns() {