projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
skia
/
src
/
core
/
SkConvolver.cpp
diff --git
a/src/third_party/skia/src/core/SkConvolver.cpp
b/src/third_party/skia/src/core/SkConvolver.cpp
index
23a1ee3
..
49688db
100644
(file)
--- a/
src/third_party/skia/src/core/SkConvolver.cpp
+++ b/
src/third_party/skia/src/core/SkConvolver.cpp
@@
-158,9
+158,12
@@
template<bool hasAlpha>
}
}
}
}
- // There's a bug somewhere here with GCC autovectorization (-ftree-vectorize) on 32 bit builds.
+ // There's a bug somewhere here with GCC autovectorization (-ftree-vectorize). We originally
+ // thought this was 32 bit only, but subsequent tests show that some 64 bit gcc compiles
+ // suffer here too.
+ //
// Dropping to -O2 disables -ftree-vectorize. GCC 4.6 needs noinline. http://skbug.com/2575
// Dropping to -O2 disables -ftree-vectorize. GCC 4.6 needs noinline. http://skbug.com/2575
- #if
defined(__i386) &&
SK_HAS_ATTRIBUTE(optimize) && defined(SK_RELEASE)
+ #if SK_HAS_ATTRIBUTE(optimize) && defined(SK_RELEASE)
#define SK_MAYBE_DISABLE_VECTORIZATION __attribute__((optimize("O2"), noinline))
#else
#define SK_MAYBE_DISABLE_VECTORIZATION
#define SK_MAYBE_DISABLE_VECTORIZATION __attribute__((optimize("O2"), noinline))
#else
#define SK_MAYBE_DISABLE_VECTORIZATION