Index: src/core/SkMath.cpp |
diff --git a/src/core/SkMath.cpp b/src/core/SkMath.cpp |
index e33fe55e015a26f684424efcd8c5820b25c23cd7..af93d7ecb2cf850f00745c01783ca123621606e4 100644 |
--- a/src/core/SkMath.cpp |
+++ b/src/core/SkMath.cpp |
@@ -43,27 +43,6 @@ int SkCLZ_portable(uint32_t x) { |
return zeros; |
} |
-SkFixed SkFixedMul_portable(SkFixed a, SkFixed b) { |
-#if defined(SkLONGLONG) |
- return static_cast<SkFixed>((int64_t)a * b >> 16); |
-#else |
- int sa = SkExtractSign(a); |
- int sb = SkExtractSign(b); |
- // now make them positive |
- a = SkApplySign(a, sa); |
- b = SkApplySign(b, sb); |
- |
- uint32_t ah = a >> 16; |
- uint32_t al = a & 0xFFFF; |
- uint32_t bh = b >> 16; |
- uint32_t bl = b & 0xFFFF; |
- |
- uint32_t R = ah * b + al * bh + (al * bl >> 16); |
- |
- return SkApplySign(R, sa ^ sb); |
-#endif |
-} |
- |
/////////////////////////////////////////////////////////////////////////////// |
#define DIVBITS_ITER(n) \ |