Commit graph

80 commits

Author SHA1 Message Date
Andrea Mazzoleni
77117b1cd5 Add some more warning checks, and fix the ones reported 2015-08-05 09:42:11 +02:00
Andrea Mazzoleni
1c06674d1a Some comments about x86 optimizations 2015-06-20 16:47:50 +02:00
Andrea Mazzoleni
2ae9d8d41a Add recognition of new Atom CPUs 2015-06-04 22:38:32 +02:00
Andrea Mazzoleni
35b1b08b6c Clean the cpu.h header 2015-03-30 23:36:36 +02:00
Andrea Mazzoleni
8a0d49b21e Fix the selftest due missing return value 2015-03-30 22:23:23 +02:00
Andrea Mazzoleni
0ac0a8eceb Extend the raid regression test with some more case 2015-03-30 18:57:33 +02:00
Andrea Mazzoleni
dd888c30db Add better checks at the raid funtions 2015-03-27 08:44:20 +01:00
Andrea Mazzoleni
20a565a8c1 Add missing new file 2015-03-21 17:18:03 +01:00
Andrea Mazzoleni
f48c0c3cd0 Rename raid_rec_dataonly() to raid_data() 2015-03-21 17:16:16 +01:00
Andrea Mazzoleni
7bdee2c1d9 Add new raid_check() and raid_scan() functions
They are aimed to find the broken blocks using the extra
redundancy information.
2015-03-21 17:03:55 +01:00
Andrea Mazzoleni
b0891290eb More raid coverage extensions 2015-03-18 22:55:17 +01:00
Andrea Mazzoleni
a60e7a9bb5 Extend the raid coverage test 2015-03-18 19:19:32 +01:00
Andrea Mazzoleni
7fd0beb36a Review of the new alignment method 2015-03-18 08:21:28 +01:00
Andrea Mazzoleni
b0d2368cce Use a more generic approach to align the stack
This is independent of the compiler used.
2015-03-17 21:46:20 +01:00
Andrea Mazzoleni
a424772122 More comments about raid function property 2015-03-15 22:44:04 +01:00
Andrea Mazzoleni
c8558c28ac Fix some formatting issues of the code
Now it matches the Linux kernel style.
2015-03-12 18:53:36 +01:00
Andrea Mazzoleni
2bcca4f2ec Fix some formatting issues 2015-03-10 22:20:11 +01:00
Andrea Mazzoleni
1d9b0abc3f Add raid selftest for raid_rec_dataonly() 2015-03-10 22:09:48 +01:00
Andrea Mazzoleni
348ca97493 Fix some formatting issues 2015-03-10 19:30:43 +01:00
Andrea Mazzoleni
b48cb36c51 Restore the test for AVX2 2015-03-10 19:30:19 +01:00
Andrea Mazzoleni
797dab0bd7 Remove extra space in generated tables 2015-03-10 19:05:54 +01:00
Andrea Mazzoleni
a99cd9daff Use specialized assembler header and footer for sse and avx 2015-03-10 19:02:23 +01:00
Andrea Mazzoleni
555b161df1 Minor changes to make it more similar at kernel version 2015-03-09 23:39:30 +01:00
Andrea Mazzoleni
1c3000ae04 Use a better cpu detection
We now follow precisely the Intel documentation.
2015-03-09 22:28:51 +01:00
Andrea Mazzoleni
763dccaaed Use an implicit clobber list for asm snipsets
There is no speed gain in a custom clobber list.
2015-03-09 22:25:29 +01:00
Andrea Mazzoleni
95e4ed03bf Removes rand() use from the raid module. 2014-12-27 11:45:59 +01:00
Christoph Junghans
72e19d74f5 Fixes out-of-source build. 2014-12-24 11:13:37 +01:00
Leigh Phillips
2218afe163 Further fixes for x86_64 compat in tag.c 2014-12-24 10:01:19 +01:00
Andrea Mazzoleni
15e6e6d8a9 Fixes build issue with old compilers in the x64 platform. 2014-12-10 21:27:52 +01:00
Andrea Mazzoleni
a26607de8a Some more build exclusions for instructions set. 2014-11-12 21:23:21 +01:00
Andrea Mazzoleni
244ea59e65 Reviews raid documentation. 2014-11-12 21:05:31 +01:00
Andrea Mazzoleni
4a91bc1491 Beautifies the raid test programs. 2014-11-12 20:42:05 +01:00
Andrea Mazzoleni
4a92b064f4 Beautifies the raid lib. 2014-11-12 20:41:00 +01:00
Andrea Mazzoleni
6cfe0e66b2 Bautifies volatile calls. 2014-11-12 20:03:23 +01:00
Andrea Mazzoleni
7d6c30333f Uses a more precise intructions set detection.
This allows to build with old assembler programs.
2014-11-12 19:52:35 +01:00
Andrea Mazzoleni
a9ec540e79 Fixes some comments in the RAID interface. 2014-10-18 09:22:04 +02:00
Andrea Mazzoleni
2cd0ca3fa8 Fixes a typo in a comment. 2014-09-29 19:16:54 +02:00
Andrea Mazzoleni
3274b7cd2e Uses a different way to handle registers conflict with the compiler. 2014-09-21 08:45:33 +02:00
Andrea Mazzoleni
6effc8230e Aligns with the Linux Kernel about using no-sse and no-avx. 2014-09-20 10:34:28 +02:00
Andrea Mazzoleni
8a8408a5d0 Adds GCC options to disable SSE2 use by the compiler. 2014-09-19 23:38:18 +02:00
Andrea Mazzoleni
facabeb5ef Adds new speed measures with AVX2 support. 2014-09-17 22:10:09 +02:00
Andrea Mazzoleni
5dc4365394 Removes some clang warnings. 2014-09-17 21:49:37 +02:00
Andrea Mazzoleni
f21d86e999 Some semplification of the delta parity computation.
There is no functional change in the code, only made explicit
some invariants.
2014-09-17 21:48:23 +02:00
Andrea Mazzoleni
3a798cb226 Fixes inversion test due missing RAID init call. 2014-09-17 21:35:13 +02:00
Andrea Mazzoleni
4ce85be912 Fixes indentation of speed results. 2014-09-17 21:34:00 +02:00
Andrea Mazzoleni
c4db0417c4 Removes unused source file. 2014-09-16 22:03:53 +02:00
Andrea Mazzoleni
4e419aa862 Extends tests to use AVX2 functions. 2014-09-16 21:58:29 +02:00
Andrea Mazzoleni
a7cdd9cf2f Adds missing AVX2 functions. 2014-09-16 20:17:54 +02:00
Andrea Mazzoleni
0e3901ca3e Adds gen3/z support for AVX2. 2014-09-15 22:31:25 +02:00
Andrea Mazzoleni
8e97b7a248 Adds proper detection for AVX2. 2014-09-14 19:47:43 +02:00