mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 15:02:01 -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
7 lines
112 B
C
7 lines
112 B
C
#pragma once
|
|
|
|
#ifndef __aarch64__
|
|
#include <immintrin.h>
|
|
#else
|
|
#include "third-party/sse2neon/sse2neon.h"
|
|
#endif |