eden/src/dynarmic/tests
lizzie f9773fa908
[dynarmic] simplify assert macro usage (Only ASSERT/DEBUG_ASSERT are needed) (#2890)
- replace instances of ASSERT() with those where UNREACHABLE() should be used instead
- debuggers exist for a reason, you can't just debug an issue in dynarmic with just printing fancy text... you need to inspect values and alldat - while yes the asserts are "useful"; there is this beautiful thing called backtraces
- this will indirectly speedup the main decoder loop because of the added UNREACHABLE()
- this also removes a bunch of macros that were redundant
- the weird trick of [&](){}() is really funky, just do what everyone has done for the past 30 years and use a `do { <thing> } while(0)` :)

I may or may not have missed one assert or messed up my regex substitutions...

Signed-off-by: lizzie <lizzie@eden-emu.dev>

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2890
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Reviewed-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
2025-10-31 17:22:06 +01:00
..
A32 [dynarmic] simplify assert macro usage (Only ASSERT/DEBUG_ASSERT are needed) (#2890) 2025-10-31 17:22:06 +01:00
A64 [dynarmic] simplify assert macro usage (Only ASSERT/DEBUG_ASSERT are needed) (#2890) 2025-10-31 17:22:06 +01:00
fp [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
native [common] replace Common::BitCast with libc++ provided one (#2774) 2025-10-22 02:56:28 +02:00
unicorn_emu [dynarmic] simplify assert macro usage (Only ASSERT/DEBUG_ASSERT are needed) (#2890) 2025-10-31 17:22:06 +01:00
CMakeLists.txt [cmake, dynarmic/tests] do not enable avx2, remove unused cmake opts (#2844) 2025-10-27 04:52:27 +01:00
decoder_tests.cpp [dynarmic] Refactoring to reduce latency hit from recompilation (#358) 2025-10-28 23:42:31 +01:00
fuzz_util.cpp [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
fuzz_util.h [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
print_info.cpp [dynarmic] Refactoring to reduce latency hit from recompilation (#358) 2025-10-28 23:42:31 +01:00
rand_int.h [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
rsqrt_test.cpp [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
rsqrt_test_fn.s [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
test_generator.cpp [dynarmic] simplify assert macro usage (Only ASSERT/DEBUG_ASSERT are needed) (#2890) 2025-10-31 17:22:06 +01:00
test_reader.cpp [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00
x64_cpu_info.cpp [cmake] refactor: Use CPM over submodules (#143) 2025-08-04 04:50:14 +02:00