mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
64bcd8c030
This PR does the following: - Designs a mechanism by which arm64 instructions can be encoded and emitted - Dispatch our higher-level instruction emitting calls to either x86 or arm64 instructions depending on what the compiler is set to (defaults to x86) - Bare minimum scaffolding to get the arm64 instructions successfully executing atleast on apple silicon - Implement enough instructions to get the codetester test suite passing on arm
8 lines
253 B
C++
8 lines
253 B
C++
#include "goalc/compiler/Compiler.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
TEST(CompilerAndRuntime, ConstructCompiler) {
|
|
Compiler compiler1(GameVersion::Jak1, emitter::InstructionSet::X86);
|
|
Compiler compiler2(GameVersion::Jak2, emitter::InstructionSet::X86);
|
|
}
|