mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-24 10:32:32 +00:00
- Added UNALIGNED_PROFITABLE to the list of i386 macro definitions
- Changed OPTFLAGS macro definitions to OPTIMIZED_FLAGS
This commit is contained in:
parent
bd3734e10a
commit
5d671689db
@ -546,7 +546,7 @@ if [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_I386" = "xyes" ]]; then
|
|||||||
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\""
|
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\""
|
||||||
if [[ "x$HAVE_GAS" = "xyes" ]]; then
|
if [[ "x$HAVE_GAS" = "xyes" ]]; then
|
||||||
ASM_OPTIMIZATIONS=i386
|
ASM_OPTIMIZATIONS=i386
|
||||||
DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTFLAGS"
|
DEFINES="$DEFINES -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS"
|
||||||
CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
|
CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s"
|
||||||
FPUSRCS="../uae_cpu/fpu_x86.cpp"
|
FPUSRCS="../uae_cpu/fpu_x86.cpp"
|
||||||
fi
|
fi
|
||||||
@ -560,13 +560,13 @@ elif [[ "x$HAVE_GCC27" = "xyes" -a "x$HAVE_SPARC" = "xyes" -a "x$HAVE_GAS" = "xy
|
|||||||
case "$SPARC_TYPE" in
|
case "$SPARC_TYPE" in
|
||||||
SPARC_V8)
|
SPARC_V8)
|
||||||
ASM_OPTIMIZATIONS="SPARC V8 architecture"
|
ASM_OPTIMIZATIONS="SPARC V8 architecture"
|
||||||
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTFLAGS"
|
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTIMIZED_FLAGS"
|
||||||
CFLAGS="$CFLAGS -Wa,-Av8"
|
CFLAGS="$CFLAGS -Wa,-Av8"
|
||||||
CXXFLAGS="$CXXFLAGS -Wa,-Av8"
|
CXXFLAGS="$CXXFLAGS -Wa,-Av8"
|
||||||
;;
|
;;
|
||||||
SPARC_V9)
|
SPARC_V9)
|
||||||
ASM_OPTIMIZATIONS="SPARC V9 architecture"
|
ASM_OPTIMIZATIONS="SPARC V9 architecture"
|
||||||
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTFLAGS"
|
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTIMIZED_FLAGS"
|
||||||
CFLAGS="$CFLAGS -Wa,-Av9"
|
CFLAGS="$CFLAGS -Wa,-Av9"
|
||||||
CXXFLAGS="$CXXFLAGS -Wa,-Av9"
|
CXXFLAGS="$CXXFLAGS -Wa,-Av9"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user