mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Move align helpers to util/asm.hpp
Also add some files: GLTextureCache.cpp VKTextureCache.cpp
This commit is contained in:
parent
d254a5736b
commit
eec11bfba9
52 changed files with 794 additions and 713 deletions
|
@ -15,6 +15,8 @@
|
|||
#include <errno.h>
|
||||
#endif
|
||||
|
||||
#include "util/asm.hpp"
|
||||
|
||||
inline std::array<u32, 4> utils::get_cpuid(u32 func, u32 subfunc)
|
||||
{
|
||||
int regs[4];
|
||||
|
@ -298,7 +300,7 @@ std::string utils::get_OS_version()
|
|||
|
||||
static constexpr ullong round_tsc(ullong val)
|
||||
{
|
||||
return ::rounded_div(val, 1'000'000) * 1'000'000;
|
||||
return utils::rounded_div(val, 1'000'000) * 1'000'000;
|
||||
}
|
||||
|
||||
ullong utils::get_tsc_freq()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue