Skip to content

Commit 1a0c185

Browse files
authored
Support cross-compiling for Apple Vortex
1 parent 89eea6b commit 1a0c185

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

getarch.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,20 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12221222
#else
12231223
#endif
12241224

1225+
#ifdef FORCE_VORTEX
1226+
#define FORCE
1227+
#define ARCHITECTURE "ARM64"
1228+
#define SUBARCHITECTURE "VORTEX"
1229+
#define SUBDIRNAME "arm64"
1230+
#define ARCHCONFIG "-DVORTEX " \
1231+
"-DL1_DATA_SIZE=32768 -DL1_DATA_LINESIZE=64 " \
1232+
"-DL2_SIZE=262144 -DL2_LINESIZE=64 " \
1233+
"-DDTB_DEFAULT_ENTRIES=64 -DDTB_SIZE=4096 -DL2_ASSOCIATIVE=32 " \
1234+
"-DHAVE_VFPV4 -DHAVE_VFPV3 -DHAVE_VFP -DHAVE_NEON -DARMV8"
1235+
#define LIBNAME "vortex"
1236+
#define CORENAME "VORTEX"
1237+
#endif
1238+
12251239
#ifdef FORCE_ZARCH_GENERIC
12261240
#define FORCE
12271241
#define ARCHITECTURE "ZARCH"

0 commit comments

Comments
 (0)