]> Cypherpunks repositories - gostls13.git/commit
internal/bytealg: add wasm architecture
authorRichard Musiol <mail@richard-musiol.de>
Sun, 4 Mar 2018 12:38:57 +0000 (13:38 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 May 2018 13:28:18 +0000 (13:28 +0000)
commitb382fe28a79d97d3ee1f3b79548d63929b0119b1
tree8708788608a1f695b987cf8b173e56a038f4ffca
parent28edaf4584c4cbfb0ed03692108ebc90db039d17
internal/bytealg: add wasm architecture

This commit adds the wasm architecture to the internal/bytealg package.

Some parts of the assembly code have been extracted from WebAssembly
bytecode generated with Emscripten (which uses musl libc).

Updates #18892

Change-Id: Iba7f7158356b816c9ad03ca9223903a41a024da6
Reviewed-on: https://go-review.googlesource.com/103915
Reviewed-by: Keith Randall <khr@golang.org>
src/internal/bytealg/compare_generic.go
src/internal/bytealg/compare_native.go
src/internal/bytealg/compare_wasm.s [new file with mode: 0644]
src/internal/bytealg/equal_wasm.s [new file with mode: 0644]
src/internal/bytealg/indexbyte_generic.go
src/internal/bytealg/indexbyte_native.go
src/internal/bytealg/indexbyte_wasm.s [new file with mode: 0644]