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

Unified Diff: source/libvpx/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.c

Issue 597033002: Make sure gcc4.6 is not used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 3 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 | « source/libvpx/vp8/common/arm/neon/loopfilter_neon.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/libvpx/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.c
===================================================================
--- source/libvpx/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.c (revision 292104)
+++ source/libvpx/vp8/encoder/arm/neon/vp8_shortwalsh4x4_neon.c (working copy)
@@ -10,10 +10,22 @@
#include <arm_neon.h>
+#if (__GNUC__ == 4 && (__GNUC_MINOR__ == 6))
+#warning Using GCC 4.6 is not recommended
+// Some versions of gcc4.6 do not correctly process this function. When built
+// with any gcc4.6, use the C code.
+#include "./vp8_rtcd.h"
void vp8_short_walsh4x4_neon(
int16_t *input,
int16_t *output,
int pitch) {
+ vp8_short_walsh4x4_c(input, output, pitch);
+}
+#else
+void vp8_short_walsh4x4_neon(
+ int16_t *input,
+ int16_t *output,
+ int pitch) {
uint16x4_t d16u16;
int16x8_t q0s16, q1s16;
int16x4_t dEmptys16, d0s16, d1s16, d2s16, d3s16, d4s16, d5s16, d6s16, d7s16;
@@ -116,3 +128,4 @@
vst1q_s16(output + 8, q1s16);
return;
}
+#endif // (__GNUC__ == 4 && (__GNUC_MINOR__ == 6))
« no previous file with comments | « source/libvpx/vp8/common/arm/neon/loopfilter_neon.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698