oops, fix inline assembly from last commit

This commit is contained in:
Michael Mohr 2010-12-28 11:33:25 -08:00
parent 1933d52832
commit 8ec8e78bc7

View File

@ -296,9 +296,9 @@ asm( \
asm( \ asm( \
" LDR r0,%1 \n\t" \ " LDR r0,%1 \n\t" \
" ADDS r0,r0,%0 \n\t" \ " ADDS r0,r0,%0 \n\t" \
#if defined(__thumb2__) #if defined(__thumb2__) \
" ITE CS \n\t" \ " ITE CS \n\t" \
#endif #endif \
" MOVCS %0,#1 \n\t" \ " MOVCS %0,#1 \n\t" \
" MOVCC %0,#0 \n\t" \ " MOVCC %0,#0 \n\t" \
" UMLAL r0,%0,%3,%4 \n\t" \ " UMLAL r0,%0,%3,%4 \n\t" \
@ -310,9 +310,9 @@ asm( \
" LDR r0,%1 \n\t" \ " LDR r0,%1 \n\t" \
" ADDS r0,r0,%0 \n\t" \ " ADDS r0,r0,%0 \n\t" \
" STR r0,%1 \n\t" \ " STR r0,%1 \n\t" \
#if defined(__thumb2__) #if defined(__thumb2__) \
" ITE CS \n\t" \ " ITE CS \n\t" \
#endif #endif \
" MOVCS %0,#1 \n\t" \ " MOVCS %0,#1 \n\t" \
" MOVCC %0,#0 \n\t" \ " MOVCC %0,#0 \n\t" \
:"=r"(cy),"=g"(_c[0]):"0"(cy),"1"(_c[0]):"r0","%cc"); :"=r"(cy),"=g"(_c[0]):"0"(cy),"1"(_c[0]):"r0","%cc");