Initial implementation of SIMD in the LLVM backend.

This commit is contained in:
Nick Lewycky
2019-07-02 15:50:33 -07:00
parent 3ba8100e98
commit fdc13563b8
3 changed files with 1980 additions and 16 deletions

View File

@ -7,12 +7,7 @@ pub fn type_to_type(ty: WpType) -> Result<Type, BinaryReaderError> {
WpType::I64 => Type::I64,
WpType::F32 => Type::F32,
WpType::F64 => Type::F64,
WpType::V128 => {
return Err(BinaryReaderError {
message: "the wasmer llvm backend does not yet support the simd extension",
offset: -1isize as usize,
});
}
WpType::V128 => Type::V128,
_ => {
return Err(BinaryReaderError {
message: "that type is not supported as a wasmer type",