This commit is contained in:
Stanislav Shwartsman 2010-02-26 12:10:17 +00:00
parent 927c3594d6
commit 84ba84ea9d
3 changed files with 10 additions and 7 deletions

View File

@ -13,12 +13,10 @@
--enable-debugger \
--enable-disasm \
--enable-debugger-gui \
--enable-vbe \
--enable-mmx \
--enable-fpu \
--enable-misaligned-sse \
--enable-alignment-check \
--enable-sep \
--enable-3dnow \
--enable-monitor-mwait \
--enable-xsave \
@ -26,6 +24,7 @@
--enable-x86-debugger \
--enable-a20-pin \
--enable-instrumentation=instrument/example1 \
--enable-vbe \
--enable-ne2000 \
--enable-pci \
--enable-acpi \

View File

@ -59,6 +59,7 @@ Detailed change log :
[2908481] USB Printer by Ben Lunt
- these S.F. bugs were closed/fixed
[913419] configure options and build process needs some work
[2938398] gdbstub compile error with x86_64 enabled
[2374455] shutdown/reset type 05 should reinit the PICs
[1921294] extended memory less than 1M wrong size

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: dbg_main.cc,v 1.230 2010-02-25 22:04:30 sshwarts Exp $
// $Id: dbg_main.cc,v 1.231 2010-02-26 12:10:17 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001-2009 The Bochs Project
@ -663,12 +663,10 @@ void bx_dbg_exit(int code)
void bx_dbg_print_sse_state(void)
{
#if BX_CPU_LEVEL >= 6
Bit32u cpuid_features_bitmask = SIM->get_param_num("cpuid_features_bitmask", dbg_cpu_list)->get();
if ((cpuid_features_bitmask & BX_CPU_SSE) == 0) {
dbg_printf("The CPU doesn't support SSE state !\n");
}
else {
if ((cpuid_features_bitmask & BX_CPU_SSE) != 0) {
Bit32u mxcsr = SIM->get_param_num("SSE.mxcsr", dbg_cpu_list)->get();
dbg_printf("MXCSR: 0x%08x: %s %s RC:%d %s %s %s %s %s %s %s %s %s %s %s %s %s\n", mxcsr,
(mxcsr & (1<<17)) ? "ULE" : "ule",
@ -698,6 +696,11 @@ void bx_dbg_print_sse_state(void)
GET32H(hi), GET32L(hi), GET32H(lo), GET32L(lo));
}
}
else
#endif
{
dbg_printf("The CPU doesn't support SSE state !\n");
}
}
void bx_dbg_print_mmx_state(void)