From 55c07ca8455109281a08661ba3a9390a9ff39b07 Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sun, 9 Dec 2007 11:12:42 +0000 Subject: Use the same define as in C++ code svn-id: r29781 --- sound/rate_arm_asm.s | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sound/rate_arm_asm.s b/sound/rate_arm_asm.s index ccfa1e1351..6ec519f922 100644 --- a/sound/rate_arm_asm.s +++ b/sound/rate_arm_asm.s @@ -203,7 +203,7 @@ SimpleRate_M_end: SimpleRate_M_read: LDR r0, [r13,#4*2] @ r0 = sr ADD r0, r0, #16 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} @@ -220,7 +220,7 @@ SimpleRate_M_read: SUBS r1, r0, #1 @ r1 = inLen-1 LDMFD r13!,{r0,r2-r3,r12,r14} BLT SimpleRate_M_end - .ifdef PALMOS + .ifdef PALMOS_MODE MOV r10,#0 .endif SUBS r2, r2, #1 @ r2 = opos-- @@ -287,7 +287,7 @@ SimpleRate_S_end: SimpleRate_S_read: LDR r0, [r13,#4*2] @ r0 = sr ADD r0, r0, #16 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} @@ -303,7 +303,7 @@ SimpleRate_S_read: SUBS r1, r0, #2 @ r1 = inLen-2 LDMFD r13!,{r0,r2-r3,r12,r14} BLT SimpleRate_S_end - .ifdef PALMOS + .ifdef PALMOS_MODE MOV r10,#0 .endif SUBS r2, r2, #1 @ r2 = opos-- @@ -371,7 +371,7 @@ SimpleRate_R_end: SimpleRate_R_read: LDR r0, [r13,#4*2] @ r0 = sr ADD r0, r0, #16 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} @@ -388,7 +388,7 @@ SimpleRate_R_read: SUBS r1, r0, #2 @ r1 = inLen-2 LDMFD r13!,{r0,r2-r3,r12,r14} BLT SimpleRate_R_end - .ifdef PALMOS + .ifdef PALMOS_MODE MOV r10,#0 .endif SUBS r2, r2, #1 @ r2 = opos-- @@ -472,7 +472,7 @@ LinearRate_M_end: LDMFD r13!,{r4-r11,PC} LinearRate_M_read: ADD r0, r2, #28 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} @@ -489,7 +489,7 @@ LinearRate_M_read: SUBS r1, r0, #1 @ r1 = inLen-1 LDMFD r13!,{r0,r2-r3,r12,r14} BLT LinearRate_M_end - .ifdef PALMOS + .ifdef PALMOS_MODE MOV r10,#0 .endif B LinearRate_M_read_return @@ -579,7 +579,7 @@ LinearRate_S_end: LDMFD r13!,{r4-r11,PC} LinearRate_S_read: ADD r0, r2, #28 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} @@ -683,7 +683,7 @@ LinearRate_R_end: LDMFD r13!,{r4-r11,PC} LinearRate_R_read: ADD r0, r2, #28 @ r0 = inPtr = inBuf - .ifdef PALMOS + .ifdef PALMOS_MODE LDR r10,[r13,#4*8] @ restore r10 .endif STMFD r13!,{r0,r2-r3,r12,r14} -- cgit v1.2.3