mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 15:36:33 -05:00
Removes legacy MMX support.
This commit is contained in:
parent
96796b0717
commit
7057d97999
4 changed files with 10 additions and 150 deletions
35
speed.c
35
speed.c
|
|
@ -221,7 +221,6 @@ void speed(void)
|
|||
printf("%7s", "int32");
|
||||
printf("%7s", "int64");
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
printf("%7s", "mmx");
|
||||
printf("%7s", "sse2");
|
||||
#if defined(__x86_64__)
|
||||
printf("%7s", "sse2e");
|
||||
|
|
@ -255,15 +254,6 @@ void speed(void)
|
|||
fflush(stdout);
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_mmx()) {
|
||||
SPEED_START {
|
||||
raid5_mmx(buffer, diskmax, block_size);
|
||||
} SPEED_STOP
|
||||
|
||||
printf("%7"PRIu64, ds / dt);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
SPEED_START {
|
||||
raid5_sse2(buffer, diskmax, block_size);
|
||||
|
|
@ -297,15 +287,6 @@ void speed(void)
|
|||
fflush(stdout);
|
||||
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
if (cpu_has_mmx()) {
|
||||
SPEED_START {
|
||||
raid6_mmx(buffer, diskmax, block_size);
|
||||
} SPEED_STOP
|
||||
|
||||
printf("%7"PRIu64, ds / dt);
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
SPEED_START {
|
||||
raid6_sse2(buffer, diskmax, block_size);
|
||||
|
|
@ -341,10 +322,6 @@ void speed(void)
|
|||
printf("%7s", "");
|
||||
printf("%7s", "");
|
||||
|
||||
if (cpu_has_mmx()) {
|
||||
printf("%7s", "");
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%7s", "");
|
||||
|
||||
|
|
@ -389,10 +366,6 @@ void speed(void)
|
|||
printf("%7s", "");
|
||||
printf("%7s", "");
|
||||
|
||||
if (cpu_has_mmx()) {
|
||||
printf("%7s", "");
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%7s", "");
|
||||
|
||||
|
|
@ -437,10 +410,6 @@ void speed(void)
|
|||
printf("%7s", "");
|
||||
printf("%7s", "");
|
||||
|
||||
if (cpu_has_mmx()) {
|
||||
printf("%7s", "");
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%7s", "");
|
||||
|
||||
|
|
@ -485,10 +454,6 @@ void speed(void)
|
|||
printf("%7s", "");
|
||||
printf("%7s", "");
|
||||
|
||||
if (cpu_has_mmx()) {
|
||||
printf("%7s", "");
|
||||
}
|
||||
|
||||
if (cpu_has_sse2()) {
|
||||
printf("%7s", "");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue