mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-18 05:51:49 +01:00
Common: Remove the unused x86-specific 128-bit float type.
This commit is contained in:
parent
8b1ec1a82a
commit
ffe4cc9c5a
@ -26,7 +26,6 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <xmmintrin.h> // data_types__m128.cpp
|
|
||||||
|
|
||||||
typedef std::uint8_t u8; ///< 8-bit unsigned byte
|
typedef std::uint8_t u8; ///< 8-bit unsigned byte
|
||||||
typedef std::uint16_t u16; ///< 16-bit unsigned short
|
typedef std::uint16_t u16; ///< 16-bit unsigned short
|
||||||
@ -67,16 +66,6 @@ union t64 {
|
|||||||
u8 _u8[8]; ///< 8-bit unsigned char(s)
|
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 {
|
namespace Common {
|
||||||
/// Rectangle data structure
|
/// Rectangle data structure
|
||||||
class Rect {
|
class Rect {
|
||||||
|
Loading…
Reference in New Issue
Block a user