mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
Get the project compiling on Apple Silicon macOS natively (arm64) (#2827)
I havn't tested it yet, but I can almost guarantee that atleast `goalc` will not work in the slightest! But the project is atleast fully compiling. My hope is to start translating some AVX to NEON next / get `goalc` working...eventually.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#ifdef __arm__
|
||||
#ifdef __aarch64__
|
||||
#include <arm_acle.h>
|
||||
u32 crc32(const u8* data, size_t size) {
|
||||
u32 result = 0xffffffff;
|
||||
@@ -22,7 +22,6 @@ u32 crc32(const u8* data, size_t size) {
|
||||
}
|
||||
#else
|
||||
#include <immintrin.h>
|
||||
|
||||
u32 crc32(const u8* data, size_t size) {
|
||||
u32 result = 0xffffffff;
|
||||
while (size >= 4) {
|
||||
|
||||
Reference in New Issue
Block a user