x86 explicit constructor supervector

This commit is contained in:
gtsoul-tech 2024-05-14 09:28:13 +03:00
parent 96aca187bd
commit ee8bc59ee0

View File

@ -208,18 +208,18 @@ public:
SuperVector(typename base_type::type const v); SuperVector(typename base_type::type const v);
template<typename T> template<typename T>
SuperVector(T const other); explicit SuperVector(T const other);
SuperVector(SuperVector<SIZE/2> const lo, SuperVector<SIZE/2> const hi); SuperVector(SuperVector<SIZE/2> const lo, SuperVector<SIZE/2> const hi);
SuperVector(previous_type const lo, previous_type const hi); SuperVector(previous_type const lo, previous_type const hi);
static SuperVector dup_u8 (uint8_t other) { return {other}; }; static SuperVector dup_u8 (uint8_t other) { return {SuperVector(other)}; };
static SuperVector dup_s8 (int8_t other) { return {other}; }; static SuperVector dup_s8 (int8_t other) { return {other}; };
static SuperVector dup_u16(uint16_t other) { return {other}; }; static SuperVector dup_u16(uint16_t other) { return {other}; };
static SuperVector dup_s16(int16_t other) { return {other}; }; static SuperVector dup_s16(int16_t other) { return {other}; };
static SuperVector dup_u32(uint32_t other) { return {other}; }; static SuperVector dup_u32(uint32_t other) { return {other}; };
static SuperVector dup_s32(int32_t other) { return {other}; }; static SuperVector dup_s32(int32_t other) { return {other}; };
static SuperVector dup_u64(uint64_t other) { return {other}; }; static SuperVector dup_u64(uint64_t other) { return {SuperVector(other)}; };
static SuperVector dup_s64(int64_t other) { return {other}; }; static SuperVector dup_s64(int64_t other) { return {other}; };
void operator=(SuperVector const &other); void operator=(SuperVector const &other);