mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
Fix compiler warnings about unused args for aarch64
This commit is contained in:
parent
fbcd8e32b8
commit
c2f5de1c55
7 changed files with 23 additions and 4 deletions
|
|
@ -129,7 +129,9 @@ struct ppu_exec_select
|
|||
}; \
|
||||
}
|
||||
|
||||
#ifdef ARCH_X64
|
||||
static constexpr ppu_opcode_t s_op{};
|
||||
#endif
|
||||
|
||||
namespace asmjit
|
||||
{
|
||||
|
|
@ -293,7 +295,7 @@ struct ppu_abstract_t
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
void operator=(T&& _val) const
|
||||
void operator=([[maybe_unused]] T&& _val) const
|
||||
{
|
||||
FOR_X64(store_op, kIdMovaps, kIdVmovaps, static_cast<asmjit::ppu_builder*>(g_vc)->ppu_vr(bf_t<u32, I, N>{}, true), std::forward<T>(_val));
|
||||
}
|
||||
|
|
@ -316,11 +318,9 @@ struct ppu_abstract_t
|
|||
}
|
||||
|
||||
template <typename T>
|
||||
void operator=(T&& _val) const
|
||||
void operator=([[maybe_unused]] T&& _val) const
|
||||
{
|
||||
#if defined(ARCH_X64)
|
||||
FOR_X64(store_op, kIdMovaps, kIdVmovaps, *this, std::forward<T>(_val));
|
||||
#endif
|
||||
}
|
||||
} sat{};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue