[BUILD] Fix miscellaneous build failures on Linux part 2
Missed a couple of changes required that didn't fit on any other category.
This commit is contained in:
parent
8193805584
commit
1e3f256bb7
|
@ -724,11 +724,17 @@ static void ReadLineNT(CacheLine* XE_RESTRICT destination,
|
||||||
const CacheLine* XE_RESTRICT source) {
|
const CacheLine* XE_RESTRICT source) {
|
||||||
assert_true((reinterpret_cast<uintptr_t>(source) & 63ULL) == 0);
|
assert_true((reinterpret_cast<uintptr_t>(source) & 63ULL) == 0);
|
||||||
|
|
||||||
|
#ifdef XENIA_PLATFORM_WINDOWS
|
||||||
__m128i first = _mm_stream_load_si128(&source->xmms[0]);
|
__m128i first = _mm_stream_load_si128(&source->xmms[0]);
|
||||||
__m128i second = _mm_stream_load_si128(&source->xmms[1]);
|
__m128i second = _mm_stream_load_si128(&source->xmms[1]);
|
||||||
__m128i third = _mm_stream_load_si128(&source->xmms[2]);
|
__m128i third = _mm_stream_load_si128(&source->xmms[2]);
|
||||||
__m128i fourth = _mm_stream_load_si128(&source->xmms[3]);
|
__m128i fourth = _mm_stream_load_si128(&source->xmms[3]);
|
||||||
|
#else
|
||||||
|
__m128i first = _mm_stream_load_si128(const_cast<__m128i*>(&source->xmms[0]));
|
||||||
|
__m128i second = _mm_stream_load_si128(const_cast<__m128i*>(&source->xmms[1]));
|
||||||
|
__m128i third = _mm_stream_load_si128(const_cast<__m128i*>(&source->xmms[2]));
|
||||||
|
__m128i fourth = _mm_stream_load_si128(const_cast<__m128i*>(&source->xmms[3]));
|
||||||
|
#endif
|
||||||
destination->xmms[0] = first;
|
destination->xmms[0] = first;
|
||||||
destination->xmms[1] = second;
|
destination->xmms[1] = second;
|
||||||
destination->xmms[2] = third;
|
destination->xmms[2] = third;
|
||||||
|
|
|
@ -153,14 +153,11 @@ struct DPCImpersonationScope {
|
||||||
struct KernelVersion {
|
struct KernelVersion {
|
||||||
union {
|
union {
|
||||||
xe::be<uint64_t> value;
|
xe::be<uint64_t> value;
|
||||||
|
|
||||||
struct {
|
|
||||||
xe::be<uint16_t> major;
|
xe::be<uint16_t> major;
|
||||||
xe::be<uint16_t> minor;
|
xe::be<uint16_t> minor;
|
||||||
xe::be<uint16_t> build;
|
xe::be<uint16_t> build;
|
||||||
xe::be<uint16_t> qfe;
|
xe::be<uint16_t> qfe;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
KernelVersion(uint16_t build_ver = kBaseKernelBuildVersion) {
|
KernelVersion(uint16_t build_ver = kBaseKernelBuildVersion) {
|
||||||
major = 2;
|
major = 2;
|
||||||
|
|
Loading…
Reference in New Issue