|
From: | Alexei Podtelezhnikov |
Subject: | Re: [ft-devel] [PATCH] Improve FT_MulFix |
Date: | Fri, 3 Oct 2014 15:27:19 -0400 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |