mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 05:21:25 +12:00
PPU: refactor vector rounding instructions
Fix: nearbyint -> roundeven
This commit is contained in:
parent
248f9424ac
commit
14cca55b50
5 changed files with 190 additions and 72 deletions
|
@ -270,7 +270,7 @@ public:
|
|||
|
||||
built_function& operator=(const built_function&) = delete;
|
||||
|
||||
template <typename F> requires (std::is_invocable_v<F, native_asm&, native_args&>)
|
||||
template <typename F>
|
||||
built_function(std::string_view name, F&& builder,
|
||||
u32 line = __builtin_LINE(),
|
||||
u32 col = __builtin_COLUMN(),
|
||||
|
@ -280,16 +280,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
template <typename F> requires (std::is_invocable_v<F>)
|
||||
built_function(std::string_view, F&& getter,
|
||||
u32 line = __builtin_LINE(),
|
||||
u32 col = __builtin_COLUMN(),
|
||||
const char* file = __builtin_FILE(),
|
||||
const char* func = __builtin_FUNCTION())
|
||||
: m_func(ensure(getter(), const_str(), line, col, file, func))
|
||||
{
|
||||
}
|
||||
|
||||
operator FT() const noexcept
|
||||
{
|
||||
return m_func;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue