First stage of dynamic recompiler rewrite.
Basic IR generation calls C implementation of all instructions. Backend generation implemented for x86, x86-64, ARM and ARM64.
This commit is contained in:
parent
e6dce0920b
commit
03fe25d818
46 changed files with 4134 additions and 17767 deletions
14
configure.ac
14
configure.ac
|
|
@ -64,15 +64,25 @@ case "${host_cpu}" in
|
|||
CPU=x86_64
|
||||
AC_MSG_RESULT(${host_cpu})
|
||||
;;
|
||||
armv7l)
|
||||
CPU=arm
|
||||
AC_MSG_RESULT(${host_cpu})
|
||||
;;
|
||||
aarch64)
|
||||
CPU=arm64
|
||||
AC_MSG_RESULT(${host_cpu})
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unsupported CPU.])
|
||||
AC_MSG_ERROR([Unsupported CPU. ${host_cpu}])
|
||||
;;
|
||||
esac
|
||||
|
||||
AM_CONDITIONAL(CPU_I386, test "$CPU" = "i386")
|
||||
AM_CONDITIONAL(CPU_X86_64, test "$CPU" = "x86_64")
|
||||
AM_CONDITIONAL(CPU_ARM, test "$CPU" = "arm")
|
||||
AM_CONDITIONAL(CPU_ARM64, test "$CPU" = "arm64")
|
||||
|
||||
AC_MSG_CHECKING([for off64_t])
|
||||
AC_MSG_CHECKING([for off64_t $CPU])
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]],[[off64_t n=0;]])],[has_lfs="yes"],[has_lfs="no"])
|
||||
case "$host" in
|
||||
*-*-freebsd*) # has off64_t but no fopen64/etc.
|
||||
|
|
|
|||
Loading…
Reference in a new issue