mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 09:01:35 +01:00
wuffsfmt: double-indents hanging lines
This commit is contained in:
1 parent
d910658bce
commit
9c03b8c71d
40 files changed
+2579
-2571
No files matched your search
@@ -13,7 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
pri func hasher.up_x86_sse42!(x: slice base.u8),
|
||||
choose cpu_arch >= x86_sse42,
|
||||
choose cpu_arch >= x86_sse42,
|
||||
{
|
||||
// These variables are the same as the non-SIMD version.
|
||||
var s1 : base.u32
|
||||
@@ -44,15 +44,15 @@ pri func hasher.up_x86_sse42!(x: slice base.u8),
|
||||
|
||||
// weights__left and weights_right form the sequence 32, 31, 30, ..., 1.
|
||||
weights__left = util.make_m128i_multiple_u8(
|
||||
a00: 0x20, a01: 0x1F, a02: 0x1E, a03: 0x1D,
|
||||
a04: 0x1C, a05: 0x1B, a06: 0x1A, a07: 0x19,
|
||||
a08: 0x18, a09: 0x17, a10: 0x16, a11: 0x15,
|
||||
a12: 0x14, a13: 0x13, a14: 0x12, a15: 0x11)
|
||||
a00: 0x20, a01: 0x1F, a02: 0x1E, a03: 0x1D,
|
||||
a04: 0x1C, a05: 0x1B, a06: 0x1A, a07: 0x19,
|
||||
a08: 0x18, a09: 0x17, a10: 0x16, a11: 0x15,
|
||||
a12: 0x14, a13: 0x13, a14: 0x12, a15: 0x11)
|
||||
weights_right = util.make_m128i_multiple_u8(
|
||||
a00: 0x10, a01: 0x0F, a02: 0x0E, a03: 0x0D,
|
||||
a04: 0x0C, a05: 0x0B, a06: 0x0A, a07: 0x09,
|
||||
a08: 0x08, a09: 0x07, a10: 0x06, a11: 0x05,
|
||||
a12: 0x04, a13: 0x03, a14: 0x02, a15: 0x01)
|
||||
a00: 0x10, a01: 0x0F, a02: 0x0E, a03: 0x0D,
|
||||
a04: 0x0C, a05: 0x0B, a06: 0x0A, a07: 0x09,
|
||||
a08: 0x08, a09: 0x07, a10: 0x06, a11: 0x05,
|
||||
a12: 0x04, a13: 0x03, a14: 0x02, a15: 0x01)
|
||||
|
||||
// Decompose this.state.
|
||||
s1 = this.state.low_bits(n: 16)
|
||||
@@ -138,9 +138,9 @@ pri func hasher.up_x86_sse42!(x: slice base.u8),
|
||||
//
|
||||
// Ditto again for q_right's elements.
|
||||
v2k = v2k._mm_add_epi32(b: ones._mm_madd_epi16(b:
|
||||
q__left._mm_maddubs_epi16(b: weights__left)))
|
||||
q__left._mm_maddubs_epi16(b: weights__left)))
|
||||
v2k = v2k._mm_add_epi32(b: ones._mm_madd_epi16(b:
|
||||
q_right._mm_maddubs_epi16(b: weights_right)))
|
||||
q_right._mm_maddubs_epi16(b: weights_right)))
|
||||
}
|
||||
|
||||
// Merge the four parallel u32 sums (v1) into the single u32 sum (s1).
|
||||
|
||||
Reference in new issue
Block a user