Some time ago James Cloos proposed...
> I tested a wide array of gcc cross compilers as well as clang/llvm.
> In each case the machine code this version produces is as good as
> the hand-tuned assembly and uses the trick that adding 0x7FFF when
> the product is negative causes the same round-away-from-zero that
> the current code does.

... this patch:
http://cgit.freedesktop.org/~cloos/freetype2/commit/?id=94dc0c20554f3a3d709711f2c43ac65ab7c68afe

This went nowhere because FT_LONG64 was ignored in strict ANSI mode.
It is now allowed #if FT_SIZEOF_LONG == 8. So we should revisit.

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to