[Base] Remove redundant copy and move operators
- Compiler is smart enough to use 128bit vector regs by itself
This commit is contained in:
parent
4d0d3f3ad4
commit
d8cfeac79f
|
@ -106,18 +106,6 @@ typedef struct alignas(16) vec128_s {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
vec128_s() = default;
|
|
||||||
vec128_s(const vec128_s& other) {
|
|
||||||
high = other.high;
|
|
||||||
low = other.low;
|
|
||||||
}
|
|
||||||
|
|
||||||
vec128_s& operator=(const vec128_s& b) {
|
|
||||||
high = b.high;
|
|
||||||
low = b.low;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool operator==(const vec128_s& b) const {
|
bool operator==(const vec128_s& b) const {
|
||||||
return low == b.low && high == b.high;
|
return low == b.low && high == b.high;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue