diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-02-26 13:49:00 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-02-26 13:49:00 -0600 |
| commit | 717b9768750dfef39120d4457a832ce7558bd879 (patch) | |
| tree | 4353d8ee51af2b19b0726de81fbc118fa8d62d19 /Source/Core/Common/Src/MathUtil.cpp | |
| parent | 46adbfa9ede116aaed876ecf1d3a21002e399910 (diff) | |
ARM Support without GLSL
Diffstat (limited to 'Source/Core/Common/Src/MathUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/MathUtil.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/Core/Common/Src/MathUtil.cpp b/Source/Core/Common/Src/MathUtil.cpp index e078db2e9d..b97d55e62c 100644 --- a/Source/Core/Common/Src/MathUtil.cpp +++ b/Source/Core/Common/Src/MathUtil.cpp @@ -21,13 +21,6 @@ #include <cmath> #include <numeric> -namespace { - -static u32 saved_sse_state = _mm_getcsr(); -static const u32 default_sse_state = _mm_getcsr(); - -} - namespace MathUtil { @@ -114,23 +107,6 @@ u32 ClassifyFloat(float fvalue) } // namespace -void LoadDefaultSSEState() -{ - _mm_setcsr(default_sse_state); -} - - -void LoadSSEState() -{ - _mm_setcsr(saved_sse_state); -} - - -void SaveSSEState() -{ - saved_sse_state = _mm_getcsr(); -} - inline void MatrixMul(int n, const float *a, const float *b, float *result) { for (int i = 0; i < n; ++i) |
