]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid6 algorithms: xor_syndrome() for SSE2
authorMarkus Stockhausen <stockhausen@collogia.de>
Mon, 15 Dec 2014 01:57:05 +0000 (12:57 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 8 Apr 2015 02:57:55 +0000 (12:57 +1000)
commit436a61d8008b8916015c538bcc8ff6c28caf609c
treec9f78d1546a3c282f1b815a28fae1fffec5f3d8e
parenta99d99b6a37b1bd0a39336db36080a0a86ca8a19
md/raid6 algorithms: xor_syndrome() for SSE2

The second and (last) optimized XOR syndrome calculation. This version
supports right and left side optimization. All CPUs with architecture
older than Haswell will benefit from it.

It should be noted that SSE2 movntdq kills performance for memory areas
that are read and written simultaneously in chunks smaller than cache
line size. So use movdqa instead for P/Q writes in sse21 and sse22 XOR
functions.

Signed-off-by: Markus Stockhausen <stockhausen@collogia.de>
Signed-off-by: NeilBrown <neilb@suse.de>
lib/raid6/sse2.c