Better fix for zmuldefs. Less warnings in MSVC and GCC both. :)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1957 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
Jake.Stine 2009-10-04 21:49:23 +00:00
parent 4f6d7ca776
commit 5b92054923
3 changed files with 12 additions and 7 deletions

View File

@ -379,8 +379,8 @@ __forceinline void xWrite( T val )
return *this;
}
__forceinline inline ModSibBase operator+( const s32 imm ) const { return ModSibBase( *this ).Add( imm ); }
__forceinline inline ModSibBase operator-( const s32 imm ) const { return ModSibBase( *this ).Add( -imm ); }
__forceinline ModSibBase operator+( const s32 imm ) const { return ModSibBase( *this ).Add( imm ); }
__forceinline ModSibBase operator-( const s32 imm ) const { return ModSibBase( *this ).Add( -imm ); }
protected:
void Reduce();

View File

@ -19,8 +19,11 @@
#include <time.h>
#include <sys/time.h>
extern "C" PCSX2_ALIGNED16( u8 _xmm_backup[16*2] ) = {0};
extern "C" PCSX2_ALIGNED16( u8 _mmx_backup[8*4] ) = {0};
extern "C" PCSX2_ALIGNED16( u8 _xmm_backup[16*2] );
extern "C" PCSX2_ALIGNED16( u8 _mmx_backup[8*4] );
u8 _xmm_backup[16*2];
u8 _mmx_backup[8*4];
void InitCPUTicks()
{

View File

@ -49,7 +49,9 @@ static PCSX2_ALIGNED16(u32 s_maskarr[16][4]) = {
extern u8 s_maskwrite[256];
extern "C" PCSX2_ALIGNED16(u32 s_TempDecompress[4]) = {0};
extern "C" PCSX2_ALIGNED16(u32 s_TempDecompress[4]);
u32 s_TempDecompress[4] = {0};
#ifdef __LINUX__
static void __forceinline UseOldMaskCode(u32* &vif1masks, u32 &mask);