{"id":17723883,"url":"https://github.com/nemequ/wasm-simd-data","last_synced_at":"2025-07-13T10:33:07.361Z","repository":{"id":47715810,"uuid":"376115237","full_name":"nemequ/wasm-simd-data","owner":"nemequ","description":"Performance data for WASM SIMD instructions.","archived":false,"fork":false,"pushed_at":"2021-08-16T20:33:20.000Z","size":394,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2023-03-24T04:48:50.402Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nemequ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-11T18:46:30.000Z","updated_at":"2022-07-24T00:34:09.000Z","dependencies_parsed_at":"2022-08-22T19:40:37.509Z","dependency_job_id":null,"html_url":"https://github.com/nemequ/wasm-simd-data","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/nemequ/wasm-simd-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fwasm-simd-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fwasm-simd-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fwasm-simd-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fwasm-simd-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemequ","download_url":"https://codeload.github.com/nemequ/wasm-simd-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fwasm-simd-data/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128209,"owners_count":23715621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-25T15:44:16.534Z","updated_at":"2025-07-13T10:33:07.310Z","avatar_url":"https://github.com/nemequ.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WASM SIMD Data\n\nThis repository contains code and data which can be used to generate\na JSON file containing information about the WASM SIMD proposal.  The\ngenerated data is published to\nhttps://nemequ.github.io/wasm-simd-data/wasm-simd-data.json\n\nCurrently, we have complete data for the [WebAssembly 128-bit packed\nSIMD Extension](https://github.com/WebAssembly/simd/blob/main/proposals/simd/SIMD.md).\nWe intend to add data for other proposals, such as the [Relaxed SIMD\nproposal for WebAssembly](https://github.com/WebAssembly/relaxed-simd)\nand the [Flexible Vectors Proposal for\nWebAssembly](https://github.com/WebAssembly/flexible-vectors/) as they\nmature.\n\nThe data/ directory contains descriptions of the API, including\nopcodes, instruction names and parameters, as well as data about the\ncorresponding higher-level APIs in both\n[wasm_simd128.h](https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/wasm_simd128.h)\nand [WAV](https://github.com/nemequ/wav); we are open to adding data\nfor APIs in other languages (*e.g.*, Rust).\n\nThe lowering/ directory then uses that information to generate more\ndata on which instructions are expected to be used on various\narchitectures to implement the WASM SIMD instructions, as well as\nperformance data (number of uOps and latency).  Note that this data\nshould not currently be considered accurate; the lowering/ directory\nhas more  information, but basically many of the functions have not\nyet been optimized and engines such as V8 are likely to contain *much*\nbetter implementations.\n\nFor information on how to generate the lowering data, please see the\nREADME in the lowering/ directory.\n\nOnce you have generated the lowering data, you can generate the final\noutput using `scripts/generate.py`.  If you provide an argument to that\nscrip it will be used as an output file for a minified (no extra\nwhitespace) JSON dump.  If you do not provide an argument a\nnon-minified JSON dump of the same data intended to be (relatively\nspeaking) human-readable will be sent to stdout.\n\nPlease note that the format of this data should not be considered\nstable (yet?).\n\n## License\n\nThe license for the data has not yet been determined.  Currently, copy\nsome information from the [WebAssembly 128-bit packed SIMD Extension\nproposal](https://github.com/WebAssembly/simd/blob/main/proposals/simd/SIMD.md),\nwhich means it would be subject to the [W3C\nlicense](https://github.com/WebAssembly/simd/blob/main/document/core/LICENSE),\nbut I'm leaning towards re-writing those sections anyways.  Not only\nwould this allow us to use a more permissive license (perhaps even\na public domain dedication), it would allow more flexibility in how the\ncontent is organized.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemequ%2Fwasm-simd-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemequ%2Fwasm-simd-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemequ%2Fwasm-simd-data/lists"}