mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 02:33:43 +01:00
x86jit: Oops, here also.
Maybe I should kill these early returns after all..
This commit is contained in:
1 parent
5758102be6
commit
fbc453b083
1 file changed
+4
-3
@@ -225,6 +225,8 @@ bool FPURegCache::TryMapRegsVS(const u8 *v, VectorSize vsz, int flags) {
|
||||
// Already mapped then, perfect. Just mark dirty.
|
||||
if ((flags & MAP_DIRTY) != 0)
|
||||
xregs[VSX(v)].dirty = true;
|
||||
if ((flags & MAP_NOLOCK) == 0)
|
||||
SpillLockV(v, vsz);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -234,12 +236,11 @@ bool FPURegCache::TryMapRegsVS(const u8 *v, VectorSize vsz, int flags) {
|
||||
// Single is easy, just map normally but track as a SIMD reg.
|
||||
// This way V/VS can warn about improper usage properly.
|
||||
MapRegV(v[0], flags);
|
||||
if ((flags & MAP_NOLOCK) == 0) {
|
||||
SpillLockV(v, vsz);
|
||||
}
|
||||
vregs[v[0]].lane = 1;
|
||||
if ((flags & MAP_DIRTY) != 0)
|
||||
xregs[VSX(v)].dirty = true;
|
||||
if ((flags & MAP_NOLOCK) == 0)
|
||||
SpillLockV(v, vsz);
|
||||
Invariant();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user