Test
This commit is contained in:
@@ -1890,32 +1890,34 @@ u16 thread_ctrl::get_affinity_mask(thread_class group)
|
|||||||
}
|
}
|
||||||
case native_core_arrangement::amd_ccx:
|
case native_core_arrangement::amd_ccx:
|
||||||
{
|
{
|
||||||
u16 spu_mask, ppu_mask, rsx_mask;
|
u16 spu_mask, ppu_mask, rsx_mask, general;
|
||||||
if (thread_count >= 16)
|
if (thread_count >= 16)
|
||||||
{
|
{
|
||||||
// Threadripper, R7
|
// Threadripper, R7
|
||||||
// Assign threads 8-16
|
// Assign threads 1-16
|
||||||
// It appears some windows code is bound to lower core addresses, binding 8-16 is alot faster than 0-7
|
// It appears some windows code is bound to lower core addresses, binding 8-16 is alot faster than 0-7
|
||||||
ppu_mask = spu_mask = 0b1111111100000000;
|
ppu_mask = spu_mask = 0b1111111100000000;
|
||||||
rsx_mask = all_cores_mask;
|
rsx_mask = 0b11110000;
|
||||||
|
general = 0b00001111;
|
||||||
}
|
}
|
||||||
else if (thread_count == 12)
|
else if (thread_count == 12)
|
||||||
{
|
{
|
||||||
// 1600/2600 (x)
|
// 1600/2600 (x)
|
||||||
ppu_mask = spu_mask = 0b111111000000;
|
ppu_mask = spu_mask = 0b111111000000;
|
||||||
rsx_mask = all_cores_mask;
|
rsx_mask = 0b111000;
|
||||||
|
general = 0b000111;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// R5 & R3 don't seem to improve performance no matter how these are shuffled
|
// R5 & R3 don't seem to improve performance no matter how these are shuffled
|
||||||
ppu_mask = spu_mask = rsx_mask = 0b11111111 & all_cores_mask;
|
ppu_mask = spu_mask = rsx_mask = general = 0b11111111;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (group)
|
switch (group)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
case thread_class::general:
|
case thread_class::general:
|
||||||
return all_cores_mask;
|
return general = all_cores_mask;
|
||||||
case thread_class::rsx:
|
case thread_class::rsx:
|
||||||
return rsx_mask;
|
return rsx_mask;
|
||||||
case thread_class::ppu:
|
case thread_class::ppu:
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
#include "Emu/System.h"
|
#include "Emu/System.h"
|
||||||
#include "Emu/Cell/PPUModule.h"
|
#include "Emu/Cell/PPUModule.h"
|
||||||
|
|
||||||
@@ -554,7 +554,7 @@ s32 cellFontExtend(u32 a1, u32 a2, u32 a3)
|
|||||||
//Something happens
|
//Something happens
|
||||||
}
|
}
|
||||||
//Something happens?
|
//Something happens?
|
||||||
return CELL_OK;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 cellFontRenderCharGlyphImageVertical()
|
s32 cellFontRenderCharGlyphImageVertical()
|
||||||
|
|||||||
Reference in New Issue
Block a user