mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-01-01 03:12:18 +08:00
* Small optimization in code generation for auto vectorization.
This commit is contained in:
parent
f42c8802af
commit
600f236fd8
@ -336,19 +336,9 @@ template <typename T> struct span {
|
||||
}
|
||||
};
|
||||
|
||||
struct value128 {
|
||||
union {
|
||||
struct {
|
||||
uint64_t low;
|
||||
uint64_t high;
|
||||
};
|
||||
#ifdef FASTFLOAT_SSE2
|
||||
__m128i full; // trick for test only
|
||||
#endif
|
||||
#ifdef FASTFLOAT_NEON
|
||||
uint16x8_t full; // trick for test only
|
||||
#endif
|
||||
};
|
||||
struct alignas(16) value128 {
|
||||
uint64_t low;
|
||||
uint64_t high;
|
||||
|
||||
constexpr value128(uint64_t _low, uint64_t _high) noexcept
|
||||
: low(_low), high(_high) {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user