mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Fixes build on ARM.
This commit is contained in:
parent
2499bdada0
commit
e8e7ef114e
2 changed files with 12 additions and 0 deletions
10
speed.c
10
speed.c
|
|
@ -385,6 +385,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
printf("%8s", "");
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%8s", "");
|
||||
|
||||
|
|
@ -392,6 +393,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_ssse3()) {
|
||||
|
|
@ -429,6 +431,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
printf("%8s", "");
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%8s", "");
|
||||
|
||||
|
|
@ -436,6 +439,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_ssse3()) {
|
||||
|
|
@ -473,6 +477,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
printf("%8s", "");
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%8s", "");
|
||||
|
||||
|
|
@ -480,6 +485,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_ssse3()) {
|
||||
|
|
@ -517,6 +523,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
printf("%8s", "");
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%8s", "");
|
||||
|
||||
|
|
@ -524,6 +531,7 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_ssse3()) {
|
||||
|
|
@ -552,7 +560,9 @@ void speed(void)
|
|||
printf("%8s", "");
|
||||
printf("%8s", "best");
|
||||
printf("%8s", "int8");
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
printf("%8s", "ssse3");
|
||||
#endif
|
||||
printf("\n");
|
||||
|
||||
printf("%8s", "rec1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue