aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/common/common_types.h
diff options
context:
space:
mode:
authorGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-05 15:03:50 +0000
committerGravatar Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-05 15:03:50 +0000
commitffe4cc9c5a0038dc7b721acb362867e5b1fd18b9 (patch)
tree4dacc04bb56dfb5bb4ba12348deeb2cad99bb8d1 /src/common/common_types.h
parent8b1ec1a82a73e38754d1932b24b1c0fd7293e02b (diff)
Common: Remove the unused x86-specific 128-bit float type.
Diffstat (limited to 'src/common/common_types.h')
-rw-r--r--src/common/common_types.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/common/common_types.h b/src/common/common_types.h
index c74c74f0..0e86cb2c 100644
--- a/src/common/common_types.h
+++ b/src/common/common_types.h
@@ -26,7 +26,6 @@
#include <cmath>
#include <cstdint>
-#include <xmmintrin.h> // data_types__m128.cpp
typedef std::uint8_t u8; ///< 8-bit unsigned byte
typedef std::uint16_t u16; ///< 16-bit unsigned short
@@ -67,16 +66,6 @@ union t64 {
u8 _u8[8]; ///< 8-bit unsigned char(s)
};
-/// Union for fast 128-bit type casting
-union t128 {
- struct
- {
- t64 ps0; ///< 64-bit paired single 0
- t64 ps1; ///< 64-bit paired single 1
- };
- __m128 a; ///< 128-bit floating point (__m128 maps to the XMM[0-7] registers)
-};
-
namespace Common {
/// Rectangle data structure
class Rect {