[ABI] Initial AArch64 support

This commit is contained in:
kobalicek
2022-02-08 16:25:47 +01:00
parent 45b0114781
commit 23ddf56b00
81 changed files with 22020 additions and 265 deletions

View File

@@ -16,6 +16,10 @@ using namespace asmjit;
void benchmarkX86Emitters(uint32_t numIterations, bool testX86, bool testX64) noexcept;
#endif
#if !defined(ASMJIT_NO_AARCH64)
void benchmarkA64Emitters(uint32_t numIterations);
#endif
int main(int argc, char* argv[]) {
CmdLine cmdLine(argc, argv);
uint32_t numIterations = 20000;
@@ -47,5 +51,12 @@ int main(int argc, char* argv[]) {
benchmarkX86Emitters(numIterations, testX86, testX64);
#endif
#if !defined(ASMJIT_NO_AARCH64)
bool testAArch64 = strcmp(arch, "all") == 0 || strcmp(arch, "aarch64") == 0;
if (testAArch64)
benchmarkA64Emitters(numIterations);
#endif
return 0;
}