546 |
|
DEFINES="$DEFINES -DREGPARAM=\"__attribute__((regparm(3)))\"" |
547 |
|
if [[ "x$HAVE_GAS" = "xyes" ]]; then |
548 |
|
ASM_OPTIMIZATIONS=i386 |
549 |
< |
DEFINES="$DEFINES -DX86_ASSEMBLY -DOPTFLAGS" |
549 |
> |
DEFINES="$DEFINES -DX86_ASSEMBLY -DUNALIGNED_PROFITABLE -DOPTIMIZED_FLAGS" |
550 |
|
CPUSRCS="../uae_cpu/compiler.cpp cpufast1.s cpufast2.s cpufast3.s cpufast4.s cpufast5.s cpufast6.s cpufast7.s cpufast8.s" |
551 |
|
FPUSRCS="../uae_cpu/fpu_x86.cpp" |
552 |
|
fi |
560 |
|
case "$SPARC_TYPE" in |
561 |
|
SPARC_V8) |
562 |
|
ASM_OPTIMIZATIONS="SPARC V8 architecture" |
563 |
< |
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTFLAGS" |
563 |
> |
DEFINES="$DEFINES -DSPARC_V8_ASSEMBLY" dnl -DOPTIMIZED_FLAGS" |
564 |
|
CFLAGS="$CFLAGS -Wa,-Av8" |
565 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av8" |
566 |
|
;; |
567 |
|
SPARC_V9) |
568 |
|
ASM_OPTIMIZATIONS="SPARC V9 architecture" |
569 |
< |
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTFLAGS" |
569 |
> |
DEFINES="$DEFINES -DSPARC_V9_ASSEMBLY" dnl -DOPTIMIZED_FLAGS" |
570 |
|
CFLAGS="$CFLAGS -Wa,-Av9" |
571 |
|
CXXFLAGS="$CXXFLAGS -Wa,-Av9" |
572 |
|
;; |