- 16 Nov, 2021 1 commit
-
-
Thomas Goirand authored
* Apply patch from Kaminskiy for SSE runtime detection (Closes: #921874). Thanks to him, and see below for details. [ Yuriy M. Kaminskiy ] * Fix i386 simd compilation. * Fix runtime cpudetection. * Fix neon for armhf. * Run complete test suite under qemu.
-
- 27 Aug, 2021 1 commit
-
-
Thomas Goirand authored
-
- 18 Jul, 2019 1 commit
-
-
Ondřej Nový authored
-
- 03 Aug, 2018 1 commit
-
-
Ondřej Nový authored
-
- 22 May, 2018 9 commits
-
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
- 03 Apr, 2018 7 commits
-
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Disable SSE3+ on amd64 (Closes: #894670). Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
it failed to build and buggy in runtime detection. Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
- 29 Mar, 2018 12 commits
-
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Signed-off-by:Shengjing Zhu <i@zhsj.me>
-
Shengjing Zhu authored
Revert "Also build a libgf-complete1-sse package, which contains the optimized version of the library." This reverts commit 30528bf5. Conflicts: debian/changelog resolved by merging changelog
-
Shengjing Zhu authored
tag 1.0.2+2017.04.10.git.ea75cdff from upstream/master
-
- 10 Apr, 2017 2 commits
-
-
Loic Dachary authored
Wip signed integer overflow cppcheck Fix for cppcheck signed integer overflow errors See merge request !21
-
Brad Hubbard authored
The type of expression '1<<31' is signed int and this causes cppcheck to issue the following warning. src/gf_w32.c:681]: (error) Signed integer overflow for expression '1<<31'. Signed-off-by:Brad Hubbard <bhubbard@redhat.com>
-
- 08 Dec, 2016 2 commits
-
-
Loic Dachary authored
gf_cpu.c: fix pclmul detection and add portable cpuid feature bit defs See merge request !20
-
John Coyle authored
Correct invalid check for pclmul support. Was checking SSE3 (1 << 0) vs. PCLMUL (1 << 1). Fixes: http://tracker.ceph.com/issues/18092 Signed-off-by:
John Coyle <dx9err@gmail.com>
-
- 23 Nov, 2016 1 commit
-
-
Loic Dachary authored
Gf32 mul silence warning silence warning like ``` /slow/kchai/ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c: In function ‘gf_w32_cfmgk_multiply_region_from_single’: /slow/kchai/ceph/src/erasure-code/jerasure/gf-complete/src/gf_w32.c:410:5: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized] g = _mm_insert_epi64 (a, g_star, 0); ^ ``` See merge request !19
-
- 18 Nov, 2016 1 commit
-
-
Kefu Chai authored
in gf_w32_cfmgk_multiply_region_from_single(), follow warning is reported by gcc: gf-complete/src/gf_w32.c:410:5: warning: ‘a’ may be used uninitialized in this function [-Wmaybe-uninitialized] g = _mm_insert_epi64 (a, g_star, 0); ^ actually, we are using `a` as a dummy parameter for initializing `g` and `q`. and only the lower lower 64 bits of them are used when doing calculation. but their lower 64 bits are always initialized using _mm_insert_epi64(). so this is a false alarm. but we can silence this warning by moving the statement initializing `a` up before passing it to _mm_insert_epi64(). this change does not hurt the performance. Signed-off-by:Kefu Chai <kchai@redhat.com>
-
- 14 Sep, 2016 1 commit
-
-
bassamtabbara authored
Support for runtime detection of SIMD This merge request adds support for runtime SIMD detection. The idea is that you would build gf-complete with full SIMD support, and gf_init will select the appropriate function at runtime based on the capabilities of the target machine. This would eliminate the need to build different versions of the code for different processors (you still need to build for different archs). Ceph for example has 3-4 flavors of jerasure on Intel (and does not support PCLMUL optimizations as a result of using to many binaries). Numerous libraries have followed as similar approach include zlib. When reviewing this merge request I recommend that you look at each of the 5 commits independently. The first 3 commits don't change the existing logic. Instead they add debugging functions and test scripts that facilitate testing of the 4th and commit. The 4th commit is where all the new logic goes along with tests. The 5th commit fixes build scripts. I've tested this on x86_64, arm, and aarch64 using QEMU. Numerous tests have been added that help this code and could help with future testing of gf-complete. Also I've compared the functions selected with the old code (prior to runtime SIMD support) with the new code and all functions are identical. Here's a gist with the test results prior to SIMD extensions: https://gist.github.com/bassamtabbara/d9a6dcf0a749b7ab01bc2953a359edec. See merge request !18
-
- 13 Sep, 2016 1 commit
-
-
Bassam Tabbara authored
-