mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 13:21:14 +00:00
SPU: Silence some warnings
This commit is contained in:
parent
c15121377f
commit
5a13c02774
@ -6310,8 +6310,6 @@ spu_program spu_recompiler_base::analyse(const be_t<u32>* ls, u32 entry_point, s
|
||||
ra.value = ra.is_const() ? spu_ls_target(ra.value, op.si10 * 4) : 0;
|
||||
const u32 offs = ra.is_const() ? 0 : spu_ls_target(0, op.si10 * 4);
|
||||
const u32 abs_diff = calculate_absolute_ls_difference(offs, 0);
|
||||
const u32 const_flags = u32{ra.is_const()} + u32{atomic16.ls.is_const()};
|
||||
const u32 const_lsa_flags = u32{ra.is_const()} + u32{_lsa.is_const()};
|
||||
|
||||
if ((_lsa.unequal_with_mask_indifference(ra, SPU_LS_MASK_128) && offs == 0) ||
|
||||
(_lsa.compare_with_mask_indifference(ra, SPU_LS_MASK_1) && abs_diff >= 128u) ||
|
||||
|
@ -1089,7 +1089,7 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
|
||||
m_ir->SetInsertPoint(_body);
|
||||
}
|
||||
|
||||
void putllc16_pattern(const spu_program& prog, utils::address_range range)
|
||||
void putllc16_pattern(const spu_program& /*prog*/, utils::address_range range)
|
||||
{
|
||||
// Prevent store elimination
|
||||
m_block->store_context_ctr[s_reg_mfc_eal]++;
|
||||
@ -1231,7 +1231,6 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
|
||||
return;
|
||||
}
|
||||
|
||||
const u64 rtime = _spu->rtime;
|
||||
rsx::reservation_lock rsx_lock(raddr, 128);
|
||||
|
||||
// Touch memory
|
||||
@ -1399,7 +1398,7 @@ class spu_llvm_recompiler : public spu_recompiler_base, public cpu_translator
|
||||
m_ir->SetInsertPoint(_final);
|
||||
}
|
||||
|
||||
void putllc0_pattern(const spu_program& prog, utils::address_range range)
|
||||
void putllc0_pattern(const spu_program& /*prog*/, utils::address_range /*range*/)
|
||||
{
|
||||
// Prevent store elimination
|
||||
m_block->store_context_ctr[s_reg_mfc_eal]++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user