Disables SSSE3 on Atom and Jaguar CPU.

It's slower than plain SSE2.
This commit is contained in:
Andrea Mazzoleni 2013-10-07 22:21:26 +02:00
parent 0d3ec44803
commit e33a916295
3 changed files with 69 additions and 5 deletions

2
raid.c
View file

@ -2914,7 +2914,7 @@ void raid_init(void)
#endif
}
if (cpu_has_ssse3()) {
if (cpu_has_ssse3() && !cpu_has_slowpshufb()) {
#if defined(__x86_64__)
raidTP_gen = raidTP_ssse3ext;
raidQP_gen = raidQP_ssse3ext;