Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: src/core/SkMath.cpp

Issue 18539004: ARM Skia NEON patches - 04 - Clean SkFixed / SkLONGLONG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Completely remove SkLONGLONG Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/Sk64.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkMath.cpp
diff --git a/src/core/SkMath.cpp b/src/core/SkMath.cpp
index 2693e5c13c15389fb2de10e75c52bc316e7259b5..9e2794e9eddad297307f610b32bd22030bd5b0aa 100644
--- a/src/core/SkMath.cpp
+++ b/src/core/SkMath.cpp
@@ -112,8 +112,6 @@ SkFixed SkFixedMul_portable(SkFixed a, SkFixed b) {
tmp.setMul(a, b);
tmp.shiftRight(16);
return tmp.fLo;
-#elif defined(SkLONGLONG)
- return static_cast<SkFixed>((SkLONGLONG)a * b >> 16);
reed1 2013/08/07 13:59:05 You have removed the longlong version. Is that bec
#else
int sa = SkExtractSign(a);
int sb = SkExtractSign(b);
@@ -137,8 +135,6 @@ SkFract SkFractMul_portable(SkFract a, SkFract b) {
Sk64 tmp;
tmp.setMul(a, b);
return tmp.getFract();
-#elif defined(SkLONGLONG)
- return static_cast<SkFract>((SkLONGLONG)a * b >> 30);
#else
int sa = SkExtractSign(a);
int sb = SkExtractSign(b);
« no previous file with comments | « src/core/Sk64.cpp ('k') | tests/MathTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698