mirror of https://github.com/PCSX2/pcsx2.git
spu2-x/ZeroSPU2: Let's add in clobber lists, and take out volatile on the rng as well...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3253 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
10576c5b01
commit
8bbb5848af
|
@ -274,7 +274,7 @@ static s32 __forceinline GetNoiseValues()
|
|||
MOV Seed,eax
|
||||
}
|
||||
#else
|
||||
__asm__ __volatile__ (
|
||||
__asm__ (
|
||||
".intel_syntax\n"
|
||||
"MOV %%eax,%1\n"
|
||||
"ROR %%eax,5\n"
|
||||
|
@ -286,6 +286,7 @@ static s32 __forceinline GetNoiseValues()
|
|||
"ROR %%eax,3\n"
|
||||
"MOV %0,%%eax\n"
|
||||
".att_syntax\n" : "=r"(Seed) :"r"(Seed)
|
||||
: "%eax", "%esi"
|
||||
);
|
||||
#endif
|
||||
return retval;
|
||||
|
|
|
@ -204,7 +204,7 @@ static void __forceinline GetNoiseValues(s32& VD)
|
|||
MOV Seed,eax
|
||||
}
|
||||
#else
|
||||
__asm__ __volatile__ (
|
||||
__asm__ (
|
||||
".intel_syntax\n"
|
||||
"MOV %%eax,%1\n"
|
||||
"ROR %%eax,5\n"
|
||||
|
@ -216,6 +216,7 @@ static void __forceinline GetNoiseValues(s32& VD)
|
|||
"ROR %%eax,3\n"
|
||||
"MOV %0,%%eax\n"
|
||||
".att_syntax\n" : "=r"(Seed) :"r"(Seed)
|
||||
:"%eax", "%esi"
|
||||
);
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue