change to allow compilation on latest linux. Only tested on xubuntu 8.10, 32 bit so far.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@403 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
bigianb 2008-11-25 22:15:21 +00:00
parent a5b07e46e2
commit b0907169a4
2 changed files with 6 additions and 4 deletions

View File

@ -25,6 +25,8 @@
#endif
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <list>

View File

@ -579,14 +579,14 @@ static void VIFunpack(u32 *data, vifCode *v, int size, const unsigned int VIFdma
#else
if( VIFdmanum ) {
__asm__(".intel_syntax\n"
"movaps %%xmm6, qword ptr [%0]\n"
"movaps %%xmm7, qword ptr [%1]\n"
"movaps %%xmm6, xmmword ptr [%0]\n"
"movaps %%xmm7, xmmword ptr [%1]\n"
".att_syntax\n" : :"r"(g_vifRow1), "r"(g_vifCol1) );
}
else {
__asm__(".intel_syntax\n"
"movaps %%xmm6, qword ptr [%0]\n"
"movaps %%xmm7, qword ptr [%1]\n"
"movaps %%xmm6, xmmword ptr [%0]\n"
"movaps %%xmm7, xmmword ptr [%1]\n"
".att_syntax\n" : : "r"(g_vifRow0), "r"(g_vifCol0) );
}
#endif