mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-16 16:21:02 +00:00
fix GCC warnings
This commit is contained in:
parent
75b2dfa66d
commit
c567c92d4b
@ -171,7 +171,7 @@ void cpu_translator::initialize(llvm::LLVMContext& context, llvm::ExecutionEngin
|
|||||||
cpu == "tigerlake" ||
|
cpu == "tigerlake" ||
|
||||||
cpu == "rocketlake" ||
|
cpu == "rocketlake" ||
|
||||||
cpu == "sapphirerapids" ||
|
cpu == "sapphirerapids" ||
|
||||||
(cpu.startswith("znver") && cpu != "znver1" && cpu != "znver2" && cpu != "znver3"))
|
(cpu.starts_with("znver") && cpu != "znver1" && cpu != "znver2" && cpu != "znver3"))
|
||||||
{
|
{
|
||||||
m_use_avx = true;
|
m_use_avx = true;
|
||||||
m_use_fma = true;
|
m_use_fma = true;
|
||||||
|
@ -5253,7 +5253,7 @@ s64 spu_thread::get_ch_value(u32 ch)
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
const bool reservation_busy_waiting = false;
|
const bool reservation_busy_waiting = false;
|
||||||
#else
|
#else
|
||||||
const bool reservation_busy_waiting = (seed + ((raddr == spurs_addr) ? 50 : 0)) < g_cfg.core.spu_reservation_busy_waiting_percentage;
|
const bool reservation_busy_waiting = (seed + ((raddr == spurs_addr) ? 50u : 0u)) < g_cfg.core.spu_reservation_busy_waiting_percentage;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (; !events.count; events = get_events(mask1 & ~SPU_EVENT_LR, true, true))
|
for (; !events.count; events = get_events(mask1 & ~SPU_EVENT_LR, true, true))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user