summaryrefslogtreecommitdiff
path: root/apps/codecs/demac/libdemac/predictor-arm.S
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/demac/libdemac/predictor-arm.S')
-rw-r--r--apps/codecs/demac/libdemac/predictor-arm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/codecs/demac/libdemac/predictor-arm.S b/apps/codecs/demac/libdemac/predictor-arm.S
index f1d3bc3739..28808c8e96 100644
--- a/apps/codecs/demac/libdemac/predictor-arm.S
+++ b/apps/codecs/demac/libdemac/predictor-arm.S
@@ -61,13 +61,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
61@ Registers must start with an even register, and must be consecutive. 61@ Registers must start with an even register, and must be consecutive.
62 62
63.macro LDR2OFS reg1, reg2, base, offset 63.macro LDR2OFS reg1, reg2, base, offset
64#if ARM_ARCH >= 5 64#if ARM_ARCH >= 6
65 ldrd \reg1, [\base, \offset] 65 ldrd \reg1, [\base, \offset]
66#else /* ARM_ARCH < 5 */ 66#else /* ARM_ARCH < 6 */
67#ifdef CPU_ARM7TDMI 67#ifdef CPU_ARM7TDMI
68 add \reg1, \base, \offset 68 add \reg1, \base, \offset
69 ldmia \reg1, {\reg1, \reg2} 69 ldmia \reg1, {\reg1, \reg2}
70#else 70#else /* ARM9 (v4 and v5) is faster this way */
71 ldr \reg1, [\base, \offset] 71 ldr \reg1, [\base, \offset]
72 ldr \reg2, [\base, \offset+4] 72 ldr \reg2, [\base, \offset+4]
73#endif 73#endif
@@ -78,7 +78,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
78@ Registers must start with an even register, and must be consecutive. 78@ Registers must start with an even register, and must be consecutive.
79 79
80.macro STR2OFS reg1, reg2, base, offset 80.macro STR2OFS reg1, reg2, base, offset
81#if ARM_ARCH >= 5 81#if ARM_ARCH >= 6
82 strd \reg1, [\base, \offset] 82 strd \reg1, [\base, \offset]
83#else 83#else
84 str \reg1, [\base, \offset] 84 str \reg1, [\base, \offset]