First steps

This commit is contained in:
JusicP
2020-11-19 22:37:27 +02:00
parent 6920a3bd08
commit 3434111923
1341 changed files with 883624 additions and 46746 deletions
+4 -4
View File
@@ -22,7 +22,7 @@
// For rand(). We really need a library!
#include <stdlib.h>
#ifndef _X360
#if !defined(_X360) && !defined(__arm__)
// For MMX intrinsics
#include <xmmintrin.h>
#endif
@@ -210,7 +210,7 @@ private:
FORCEINLINE void NetworkVarConstruct( Vector &v ) { v.Zero(); }
#define USE_M64S ( ( !defined( _X360 ) ) )
#define USE_M64S ( ( !defined( _X360 ) && !defined(__arm__) ) )
@@ -227,7 +227,7 @@ public:
void Init(short ix = 0, short iy = 0, short iz = 0, short iw = 0 );
#ifdef USE_M64S
#if USE_M64S
__m64 &AsM64() { return *(__m64*)&x; }
const __m64 &AsM64() const { return *(const __m64*)&x; }
#endif
@@ -284,7 +284,7 @@ public:
// Initialization
void Init(int ix = 0, int iy = 0, int iz = 0, int iw = 0 );
#ifdef USE_M64S
#if USE_M64S
__m64 &AsM64() { return *(__m64*)&x; }
const __m64 &AsM64() const { return *(const __m64*)&x; }
#endif