Enable VME by default for Pentium+ CPU

This commit is contained in:
Stanislav Shwartsman 2006-01-27 21:45:50 +00:00
parent 7974f9135d
commit 95a392eddc
2 changed files with 20 additions and 2 deletions

14
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.308 2006/01/25 22:19:57 sshwarts Exp .
# From configure.in Id: configure.in,v 1.309 2006/01/27 19:50:00 sshwarts Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
@ -35731,6 +35731,18 @@ _ACEOF
fi
else
if test "$bx_cpu_level" -ge 5; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
cat >>confdefs.h <<\_ACEOF
#define BX_SUPPORT_VME 1
_ACEOF
fi
fi;
echo "$as_me:$LINENO: checking for MMX support" >&5

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.309 2006-01-27 19:50:00 sshwarts Exp $]])
AC_REVISION([[$Id: configure.in,v 1.310 2006-01-27 21:45:50 sshwarts Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -1493,6 +1493,12 @@ AC_ARG_ENABLE(vme,
AC_DEFINE(BX_SUPPORT_VME, 0)
fi
],
[
if test "$bx_cpu_level" -ge 5; then
AC_MSG_RESULT(yes)
AC_DEFINE(BX_SUPPORT_VME, 1)
fi
]
)
AC_MSG_CHECKING(for MMX support)