let gcc handle the IT blocks implicitly

This commit is contained in:
Michael Mohr 2010-12-28 10:57:24 -08:00
parent 7164d56129
commit ea0658df06
2 changed files with 1 additions and 3 deletions

View File

@ -100,7 +100,7 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
# -ftree-vectorizer-verbose=2: verbose output during compile
# Note: not all V7a targets support NEON!
# LOCAL_ARM_NEON := true
LOCAL_CFLAGS += -DTFM_ARM
LOCAL_CFLAGS += -DTFM_ARM -mimplicit-it=thumb
endif
include $(BUILD_STATIC_LIBRARY)

View File

@ -296,7 +296,6 @@ asm( \
asm( \
" LDR r0,%1 \n\t" \
" ADDS r0,r0,%0 \n\t" \
" ITE CS \n\t" \
" MOVCS %0,#1 \n\t" \
" MOVCC %0,#0 \n\t" \
" UMLAL r0,%0,%3,%4 \n\t" \
@ -308,7 +307,6 @@ asm( \
" LDR r0,%1 \n\t" \
" ADDS r0,r0,%0 \n\t" \
" STR r0,%1 \n\t" \
" ITE CS \n\t" \
" MOVCS %0,#1 \n\t" \
" MOVCC %0,#0 \n\t" \
:"=r"(cy),"=g"(_c[0]):"0"(cy),"1"(_c[0]):"r0","%cc");