diff --git a/Android.mk b/Android.mk index dfc98dc..5f01b16 100644 --- a/Android.mk +++ b/Android.mk @@ -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) diff --git a/src/mont/fp_montgomery_reduce.c b/src/mont/fp_montgomery_reduce.c index b36b10a..71d9499 100644 --- a/src/mont/fp_montgomery_reduce.c +++ b/src/mont/fp_montgomery_reduce.c @@ -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");