aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOystein Eftevaag2007-12-31 01:50:18 +0000
committerOystein Eftevaag2007-12-31 01:50:18 +0000
commit1c88ab2c47ff5f4ec80df2ba029b81642e28dfca (patch)
tree2b5ecb782553c6a461daec88d36a1d9ddd2c87af /configure
parenta38fa007bb0f2e82435b290e70b831a7ddf180dd (diff)
downloadscummvm-rg350-1c88ab2c47ff5f4ec80df2ba029b81642e28dfca.tar.gz
scummvm-rg350-1c88ab2c47ff5f4ec80df2ba029b81642e28dfca.tar.bz2
scummvm-rg350-1c88ab2c47ff5f4ec80df2ba029b81642e28dfca.zip
Enabling the SMUSH/sound ARM optimizations for the iPhone. Converting any numerical expressions in the asm to absolute values (moving the expression to comments) since the iPhone assembler can't handle them, and prepending an underscore to the exported symbols (with some preprocessor magic similar to the hq3x asm for handle ports where it's not needed)
svn-id: r30093
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 16aa38c817..8dd062f69e 100755
--- a/configure
+++ b/configure
@@ -1077,12 +1077,14 @@ if test -n "$_host"; then
;;
iphone)
echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
- DEFINES="$DEFINES -DIPHONE -DUNIX"
+ DEFINES="$DEFINES -DIPHONE -DUNIX -DUSE_ARM_SOUND_ASM -DUSE_ARM_SMUSH_ASM"
_endian=little
_need_memalign=yes
type_1_byte='char'
type_2_byte='short'
type_4_byte='int'
+ add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1'
+ add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1'
_backend="iphone"
_mak_hq_scalers='DISABLE_HQ_SCALERS = 1'
_build_hq_scalers="no"