Add 64-bit ARM (ARMv8, little endian) by M-HT. Thanks M-HT!
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4117
This commit is contained in:
parent
1afaf28921
commit
e20cc10750
4 changed files with 1247 additions and 1 deletions
|
@ -289,6 +289,12 @@ case "$host_cpu" in
|
|||
c_targetcpu="arm"
|
||||
dnl c_unalignedmemory=yes
|
||||
;;
|
||||
aarch64)
|
||||
AC_DEFINE(C_TARGETCPU,ARMV8LE)
|
||||
AC_MSG_RESULT(ARMv8 Little Endian 64-bit)
|
||||
c_targetcpu="arm"
|
||||
c_unalignedmemory=yes
|
||||
;;
|
||||
*)
|
||||
AC_DEFINE(C_TARGETCPU,UNKNOWN)
|
||||
AC_MSG_RESULT(unknown)
|
||||
|
|
|
@ -139,6 +139,7 @@ static struct {
|
|||
#define ARMV4LE 0x04
|
||||
#define ARMV7LE 0x05
|
||||
#define POWERPC 0x04
|
||||
#define ARMV8LE 0x07
|
||||
|
||||
#if C_TARGETCPU == X86_64
|
||||
#include "core_dynrec/risc_x64.h"
|
||||
|
@ -150,6 +151,8 @@ static struct {
|
|||
#include "core_dynrec/risc_armv4le.h"
|
||||
#elif C_TARGETCPU == POWERPC
|
||||
#include "core_dynrec/risc_ppc.h"
|
||||
#elif C_TARGETCPU == ARMV8LE
|
||||
#include "core_dynrec/risc_armv8le.h"
|
||||
#endif
|
||||
|
||||
#include "core_dynrec/decoder.h"
|
||||
|
|
|
@ -2,4 +2,4 @@ noinst_HEADERS = cache.h decoder.h decoder_basic.h decoder_opcodes.h \
|
|||
dyn_fpu.h operators.h risc_x64.h risc_x86.h risc_mipsel32.h \
|
||||
risc_armv4le.h risc_armv4le-common.h \
|
||||
risc_armv4le-o3.h risc_armv4le-thumb.h \
|
||||
risc_armv4le-thumb-iw.h risc_armv4le-thumb-niw.h
|
||||
risc_armv4le-thumb-iw.h risc_armv4le-thumb-niw.h risc_armv8le.h
|
||||
|
|
1237
src/cpu/core_dynrec/risc_armv8le.h
Normal file
1237
src/cpu/core_dynrec/risc_armv8le.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue