Hi,
I hit a bug in an iOS + ARM build of FreeType where the ADDS instruction in the
FT_MulFix_arm assembly fragment was clobbering condition codes. The following
patch adds cc to its clobber list.
Regards,
Dave
---
include/freetype/config/ftconfig.h |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/freetype/config/ftconfig.h
b/include/freetype/config/ftconfig.h
index 5628569..4502fd8 100644
--- a/include/freetype/config/ftconfig.h
+++ b/include/freetype/config/ftconfig.h
@@ -355,7 +355,8 @@ FT_BEGIN_HEADER
mov%0, %1, lsr #16\n\t /* %0 = %1 16 */
orr%0, %0, %2, lsl #16\n\t /* %0 |= %2 16 */
: =r(a), =r(t2), =r(t)
- : r(a), r(b) );
+ : r(a), r(b)
+ : cc );
return a;
}
--
1.7.7.5 (Apple Git-26)
___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel