aboutsummaryrefslogtreecommitdiff
path: root/src/wasm32_simd.rs
diff options
context:
space:
mode:
authorIvan Boldyrev <[email protected]>2023-09-10 18:57:24 +0400
committerJack O'Connor <[email protected]>2025-03-16 21:24:06 -0700
commit29846bed88b3c50d51562110f6e0f242c908a014 (patch)
tree68b1ee0e387ca9dd20f76621eac6f8b9a432eb86 /src/wasm32_simd.rs
parentd4aed8145b5478d62308319d2ad849e2a1e371db (diff)
Misc textual improvements
Diffstat (limited to 'src/wasm32_simd.rs')
-rw-r--r--src/wasm32_simd.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wasm32_simd.rs b/src/wasm32_simd.rs
index 184072d..531b600 100644
--- a/src/wasm32_simd.rs
+++ b/src/wasm32_simd.rs
@@ -5,11 +5,11 @@
* Performance measurements with a primitive benchmark with ~16Kb of data:
*
* | M1 native | 11,610 ns |
- * | M1 WASM SIMD | 13,355 ns |
- * | M1 WASM | 22,037 ns |
+ * | M1 Wasm SIMD | 13,355 ns |
+ * | M1 Wasm | 22,037 ns |
* | x64 native | 6,713 ns |
- * | x64 WASM SIMD | 11,985 ns |
- * | x64 WASM | 25,978 ns |
+ * | x64 Wasm SIMD | 11,985 ns |
+ * | x64 Wasm | 25,978 ns |
*
* wasmtime v12.0.1 was used on both platforms.
*/
@@ -690,7 +690,7 @@ unsafe fn hash1<const N: usize>(
block_flags = flags;
slice = &slice[BLOCK_LEN..];
}
- *out = core::mem::transmute(cv); // x86 is little-endian
+ *out = core::mem::transmute(cv);
}
#[target_feature(enable = "simd128")]