aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-11 06:38:00 -0700
committerChris Robinson <[email protected]>2015-10-11 06:38:00 -0700
commit0211831858fe42b5a95f6992bbdc3d925d589a75 (patch)
tree7845ccbc2388623fe0a2aeebf0eb91d1fb2613ca /utils
parent75d8e5989f737326b216b46e0a5184501fc8315f (diff)
Move the FIR4 from SSE2 to SSE3
SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds.
Diffstat (limited to 'utils')
-rw-r--r--utils/alsoft-config/mainwindow.cpp3
-rw-r--r--utils/alsoft-config/mainwindow.ui22
2 files changed, 22 insertions, 3 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp
index 24372688..73773836 100644
--- a/utils/alsoft-config/mainwindow.cpp
+++ b/utils/alsoft-config/mainwindow.cpp
@@ -362,6 +362,7 @@ void MainWindow::loadConfig(const QString &fname)
disabledCpuExts.begin(), std::mem_fun_ref(&QString::trimmed));
ui->enableSSECheckBox->setChecked(!disabledCpuExts.contains("sse", Qt::CaseInsensitive));
ui->enableSSE2CheckBox->setChecked(!disabledCpuExts.contains("sse2", Qt::CaseInsensitive));
+ ui->enableSSE3CheckBox->setChecked(!disabledCpuExts.contains("sse3", Qt::CaseInsensitive));
ui->enableSSE41CheckBox->setChecked(!disabledCpuExts.contains("sse4.1", Qt::CaseInsensitive));
ui->enableNeonCheckBox->setChecked(!disabledCpuExts.contains("neon", Qt::CaseInsensitive));
@@ -527,6 +528,8 @@ void MainWindow::saveConfig(const QString &fname) const
strlist.append("sse");
if(!ui->enableSSE2CheckBox->isChecked())
strlist.append("sse2");
+ if(!ui->enableSSE3CheckBox->isChecked())
+ strlist.append("sse3");
if(!ui->enableSSE41CheckBox->isChecked())
strlist.append("sse4.1");
if(!ui->enableNeonCheckBox->isChecked())
diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui
index 0612a385..7747f16f 100644
--- a/utils/alsoft-config/mainwindow.ui
+++ b/utils/alsoft-config/mainwindow.ui
@@ -711,7 +711,7 @@ value currently possible is 4.</string>
<x>10</x>
<y>150</y>
<width>511</width>
- <height>91</height>
+ <height>121</height>
</rect>
</property>
<property name="toolTip">
@@ -757,8 +757,8 @@ be useful for preventing those extensions from being used.</string>
<widget class="QCheckBox" name="enableNeonCheckBox">
<property name="geometry">
<rect>
- <x>260</x>
- <y>50</y>
+ <x>180</x>
+ <y>80</y>
<width>71</width>
<height>31</height>
</rect>
@@ -786,6 +786,22 @@ be useful for preventing those extensions from being used.</string>
<bool>true</bool>
</property>
</widget>
+ <widget class="QCheckBox" name="enableSSE3CheckBox">
+ <property name="geometry">
+ <rect>
+ <x>260</x>
+ <y>50</y>
+ <width>71</width>
+ <height>31</height>
+ </rect>
+ </property>
+ <property name="text">
+ <string>SSE3</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
</widget>
</widget>
<widget class="QWidget" name="tab">