riscv: Add a simple unit test.

Since I haven't tried running these yet, at least best to validate...
This commit is contained in:
Unknown W. Brackets 2022-08-27 15:43:44 -07:00
parent 08d82ec15b
commit 216fcb228c
6 changed files with 78 additions and 0 deletions

View file

@ -754,6 +754,7 @@ struct TestItem {
bool TestArmEmitter();
bool TestArm64Emitter();
bool TestX64Emitter();
bool TestRiscVEmitter();
bool TestShaderGenerators();
bool TestSoftwareGPUJit();
bool TestIRPassSimplify();
@ -768,6 +769,9 @@ TestItem availableTests[] = {
#endif
#if PPSSPP_ARCH(AMD64) || PPSSPP_ARCH(X86)
TEST_ITEM(X64Emitter),
#endif
#if PPSSPP_ARCH(AMD64) || PPSSPP_ARCH(X86) || PPSSPP_ARCH(RISCV64)
TEST_ITEM(RiscVEmitter),
#endif
TEST_ITEM(VertexJit),
TEST_ITEM(Asin),