[ARM] Fix FT_MulFix_arm.
* include/freetype/config/ftconfig.h (FT_MulFix_arm) [__arm__]: Avoid ADDS instruction to clobber condition codes.
This commit is contained in:
parent
b6978dd0c9
commit
fec113d724
|
@ -1,3 +1,10 @@
|
||||||
|
2012-07-07 Dave Thomas <dave.thomas@metaforic.com>
|
||||||
|
|
||||||
|
[ARM] Fix FT_MulFix_arm.
|
||||||
|
|
||||||
|
* include/freetype/config/ftconfig.h (FT_MulFix_arm) [__arm__]:
|
||||||
|
Avoid ADDS instruction to clobber condition codes.
|
||||||
|
|
||||||
2012-07-06 Werner Lemberg <wl@gnu.org>
|
2012-07-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[autofit] Do some code cleanup.
|
[autofit] Do some code cleanup.
|
||||||
|
|
|
@ -355,7 +355,8 @@ FT_BEGIN_HEADER
|
||||||
"mov %0, %1, lsr #16\n\t" /* %0 = %1 >> 16 */
|
"mov %0, %1, lsr #16\n\t" /* %0 = %1 >> 16 */
|
||||||
"orr %0, %0, %2, lsl #16\n\t" /* %0 |= %2 << 16 */
|
"orr %0, %0, %2, lsl #16\n\t" /* %0 |= %2 << 16 */
|
||||||
: "=r"(a), "=&r"(t2), "=&r"(t)
|
: "=r"(a), "=&r"(t2), "=&r"(t)
|
||||||
: "r"(a), "r"(b) );
|
: "r"(a), "r"(b)
|
||||||
|
: "cc" );
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue