cleanup optimizations & fix compile error

This commit is contained in:
Daniel Gimpelevich 2003-12-29 07:28:28 +00:00
parent c478995779
commit 68fd1dc95b
2 changed files with 9 additions and 4 deletions

View File

@ -8,8 +8,8 @@
# those paths to the environment variables.
set echo
CFLAGS="-pipe -O2 -I/sw/include $CFLAGS"
CPPFLAGS="$CFLAGS"
CFLAGS="-pipe -O3 -I/sw/include -finline-functions -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-labels=16 -falign-loops-max-skip=15 -falign-jumps-max-skip=15 -fprefetch-loop-arrays -fmove-all-movables $CFLAGS"
CPPFLAGS=""
CXXFLAGS="$CFLAGS"
LDFLAGS="-L/sw/lib"
@ -19,6 +19,10 @@ export CXXFLAGS
export LDFLAGS
./configure --enable-cdrom \
--enable-ne2000 \
--enable-vbe \
--enable-all-optimizations \
${CONFIGURE_ARGS}
${CONFIGURE_ARGS} \
--enable-plugins \
--enable-pci \
--enable-mmx

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: cpu.h,v 1.151 2003-12-28 18:58:15 sshwarts Exp $
// $Id: cpu.h,v 1.152 2003-12-29 07:28:28 danielg4 Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
@ -1856,6 +1856,7 @@ union {
BX_SMF void FWAIT(bxInstruction_c *);
#ifdef BX_SUPPORT_FPU
#undef FSCALE
BX_SMF void FLD_STi(bxInstruction_c *);
BX_SMF void FLD_SINGLE_REAL(bxInstruction_c *);
BX_SMF void FLD_DOUBLE_REAL(bxInstruction_c *);