mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 00:47:56 +01:00
std/crc64: optimize for x86+SSE4.2
name old speed new speed delta wuffs_crc64_ecma_10k/clang14 1.78GB/s ± 0% 5.79GB/s ± 0% +225.48% (p=0.008 n=5+5) wuffs_crc64_ecma_100k/clang14 1.78GB/s ± 0% 6.09GB/s ± 0% +241.67% (p=0.008 n=5+5) wuffs_crc64_ecma_10k/gcc12 2.05GB/s ± 1% 5.79GB/s ± 1% +182.80% (p=0.008 n=5+5) wuffs_crc64_ecma_100k/gcc12 2.01GB/s ± 0% 6.09GB/s ± 0% +202.64% (p=0.008 n=5+5) wuffs_xz_decode_100k/clang14 57.9MB/s ± 1% 60.2MB/s ± 0% +4.11% (p=0.008 n=5+5) wuffs_xz_decode_100k/gcc12 57.0MB/s ± 0% 57.8MB/s ± 1% +1.39% (p=0.008 n=5+5) $ time example-mzcat < linux-6.8.2.tar.xz > /dev/null Before: user 0m8.122s After: user 0m8.115s
This commit is contained in:
1 parent
5c693c9de8
commit
f32bfe95c6
5 files changed
+466
-24
No files matched your search
@@ -648,7 +648,7 @@ func (g *gen) writeBuiltinCPUArchX86(b *buffer, recv *a.Expr, method t.ID, retur
|
||||
case "make_m128i_single_u32":
|
||||
fName, tName = "_mm_cvtsi32_si128", "int32_t"
|
||||
case "make_m128i_single_u64":
|
||||
fName, tName = "_mm_cvtsi64x_si128", "int64_t"
|
||||
fName, tName = "_mm_cvtsi64_si128", "int64_t"
|
||||
case "make_m128i_slice128", "make_m128i_slice_u16lex8":
|
||||
fName, tName, ptr = "_mm_lddqu_si128", "const __m128i*)(const void*", true
|
||||
case "make_m128i_zeroes":
|
||||
|
||||
Reference in new issue
Block a user