Skip to content

Implement Wasm proposal: simd128 #263

@cmichi

Description

@cmichi

Implementing the simd128 Wasm extension in wasmi would enable us to build smart contracts with this extension, resulting in overall smaller contract sizes.

I've built the ink! example contracts with simd128 on an experimental branch here.

We would gain size reductions for basically all contracts, most noteworthy are contracts which have more complex storage and logic:

Example master simd128
delegator 10.7 K 9.1 K
dns 24.97 K 21.7 K
erc20 30.1 K 27.3 K

I would have liked to run the comparison with multivalue as well, but a bug in rustc currently prevents this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions