mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-07 11:32:55 +00:00
A64: Add Step
Allow for stepping instruction-by-instruction
This commit is contained in:
@@ -23,7 +23,7 @@ constexpr size_t BitSize() {
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
inline T Ones(size_t count) {
|
||||
constexpr T Ones(size_t count) {
|
||||
ASSERT_MSG(count <= BitSize<T>(), "count larger than bitsize of T");
|
||||
if (count == BitSize<T>())
|
||||
return static_cast<T>(~static_cast<T>(0));
|
||||
|
||||
Reference in New Issue
Block a user