add compress128 function and implementation

This commit is contained in:
Konstantinos Margaritis
2020-11-05 19:20:06 +02:00
parent 5e2d704bcd
commit c728b76898
4 changed files with 142 additions and 4 deletions

View File

@@ -214,6 +214,11 @@ u64a compress64_impl(u64a x, u64a m) {
#endif
}
static really_inline
u64a compress128_impl(m128 x, m128 m) {
compress128_impl_c(x, m);
}
static really_inline
u32 expand32_impl(u32 x, u32 m) {
#if defined(HAVE_BMI2)