mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 00:32:11 +01:00
Add x86_sse42_utility.make_m128i_slice128
This commit is contained in:
1 parent
d4c23d091a
commit
fa774e647f
6 files changed
+31
-73
No files matched your search
@@ -97,8 +97,8 @@ pri func hasher.up_x86_sse42!(x: slice base.u8),
|
||||
//
|
||||
// Let p__left = [u8×16: p00, p01, p02, ..., p15]
|
||||
// Let p_right = [u8×16: p16, p17, p18, ..., p31]
|
||||
p__left.load_slice128!(a: p[.. 16])
|
||||
p_right.load_slice128!(a: p[16 .. 32])
|
||||
p__left = util.make_m128i_slice128(a: p[.. 16])
|
||||
p_right = util.make_m128i_slice128(a: p[16 .. 32])
|
||||
|
||||
// For v2j, we need to calculate the sums of the s1j terms for each
|
||||
// of p's 32 elements. This is simply 32 times the same number,
|
||||
|
||||
Reference in new issue
Block a user