Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/intgemm/intgemm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2022-03-30 19:48:16 +0300
committerKenneth Heafield <github@kheafield.com>2022-03-30 19:48:16 +0300
commit2d76dbb7268cb7be42c751de45c1dd916fe9a0f0 (patch)
tree8bb4aa9c90f67d1f8172f087b4565c076d3cb8b1
parentbaa6bdf18ff0ee649977c40dd2e9fe8e10c550ef (diff)
Remove wormhole wrapper around PMADDWD. Fixes #100
-rw-r--r--intgemm/intrinsics.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/intgemm/intrinsics.h b/intgemm/intrinsics.h
index 9f370cd..8db234e 100644
--- a/intgemm/intrinsics.h
+++ b/intgemm/intrinsics.h
@@ -95,12 +95,7 @@ template <> INTGEMM_SSE2 inline __m128 loadu_ps(const float* mem_addr) {
return _mm_loadu_ps(mem_addr);
}
INTGEMM_SSE2 static inline __m128i madd_epi16(__m128i first, __m128i second) {
-// https://bugzilla.mozilla.org/show_bug.cgi?id=1672160
-#ifdef INTGEMM_WORMHOLE
- return wasm_v8x16_shuffle(first, second, 31, 0, 30, 2, 29, 4, 28, 6, 27, 8, 26, 10, 25, 12, 24, 2 /* PMADDWD */);
-#else
return _mm_madd_epi16(first, second);
-#endif
}
INTGEMM_SSSE3 static inline __m128i maddubs_epi16(__m128i first, __m128i second) {
// https://bugzilla.mozilla.org/show_bug.cgi?id=1672160