fixed cpu:avx option crash. fixed handlers-chaining configure option name

This commit is contained in:
Stanislav Shwartsman 2011-09-01 13:59:35 +00:00
parent cf56ffb6e0
commit c85da98ce5
3 changed files with 7 additions and 7 deletions

View File

@ -377,7 +377,7 @@ void bx_init_options()
"Support for XSAVEOPT instruction",
0);
#if BX_SUPPORT_AVX
new bx_param_num_c(cpu_param,
new bx_param_num_c(cpuid_param,
"avx", "Support for AVX instruction set",
"Support for AVX instruction set",
0, 2,

10
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in 10630 2011-08-27 13:55:40Z sshwarts .
# From configure.in Id: configure.in 10631 2011-08-27 14:29:11Z sshwarts .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68.
#
@ -963,7 +963,7 @@ enable_usb_xhci
enable_pnic
enable_repeat_speedups
enable_fast_function_calls
enable_handlers_chaining_speedups
enable_handlers_chaining
enable_configurable_msrs
enable_show_ips
enable_cpp
@ -22429,9 +22429,9 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for handlers chaining speedups" >&5
$as_echo_n "checking for handlers chaining speedups... " >&6; }
# Check whether --enable-handlers-chaining-speedups was given.
if test "${enable_handlers_chaining_speedups+set}" = set; then :
enableval=$enable_handlers_chaining_speedups; if test "$enableval" = yes; then
# Check whether --enable-handlers-chaining was given.
if test "${enable_handlers_chaining+set}" = set; then :
enableval=$enable_handlers_chaining; if test "$enableval" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
speedup_handlers_chaining=1

View File

@ -943,7 +943,7 @@ AC_ARG_ENABLE(fast-function-calls,
)
AC_MSG_CHECKING(for handlers chaining speedups)
AC_ARG_ENABLE(handlers-chaining-speedups,
AC_ARG_ENABLE(handlers-chaining,
[ --enable-handlers-chaining support handlers-chaining emulation speedups],
[if test "$enableval" = yes; then
AC_MSG_RESULT(yes)