From d8cfeac79f488900b09f58111a9ef7590a03ac86 Mon Sep 17 00:00:00 2001 From: Joel Linn Date: Wed, 5 May 2021 14:51:15 +0200 Subject: [PATCH] [Base] Remove redundant copy and move operators - Compiler is smart enough to use 128bit vector regs by itself --- src/xenia/base/vec128.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/xenia/base/vec128.h b/src/xenia/base/vec128.h index 46f0527fb..cfba512a0 100644 --- a/src/xenia/base/vec128.h +++ b/src/xenia/base/vec128.h @@ -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 { return low == b.low && high == b.high; }