GSdx: Re-add __forceinline to GSVector functions

Looks like MSVC isn't smart enough to inline things properly
This commit is contained in:
TellowKrinkle 2021-03-15 19:16:31 -05:00 committed by Kojin
parent fcee1e5496
commit 9a435c1a7e
4 changed files with 5 additions and 5 deletions

View File

@ -135,7 +135,7 @@ public:
m = _mm_cvtepi32_ps(_mm_loadl_epi64((__m128i*)&v));
}
constexpr explicit GSVector4(__m128 m)
__forceinline constexpr explicit GSVector4(__m128 m)
: m(m)
{
}

View File

@ -70,7 +70,7 @@ public:
__m128i m;
};
constexpr GSVector4i(): x(0), y(0), z(0), w(0)
__forceinline constexpr GSVector4i(): x(0), y(0), z(0), w(0)
{
}
@ -129,7 +129,7 @@ public:
*this = i;
}
constexpr explicit GSVector4i(__m128i m)
__forceinline constexpr explicit GSVector4i(__m128i m)
: m(m)
{
}

View File

@ -164,7 +164,7 @@ public:
*this = m;
}
constexpr explicit GSVector8(__m256 m)
__forceinline constexpr explicit GSVector8(__m256 m)
: m(m)
{
}

View File

@ -154,7 +154,7 @@ public:
*this = m;
}
constexpr explicit GSVector8i(__m256i m)
__forceinline constexpr explicit GSVector8i(__m256i m)
: m(m)
{
}